Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AndrewAMD, 7th_zorro, VoroneTZ, Quad), 901 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
A7 network traffic #264060
05/04/09 06:40
05/04/09 06:40
Joined: Sep 2003
Posts: 929
Spirit Offline OP

Moderator
Spirit  Offline OP

Moderator

Joined: Sep 2003
Posts: 929
I have a question about A7 network traffic. Even when I set the ping rate in the multiplayer tutorial to 99999, A7 still sends 20 bps permanently even if nothing moves. Only when I also set the entity update rate to -1, then really nothing is sent.

What is causing the 20 bps traffic?

Second, has dplay more overhead than Enet, and causes more traffic?

Re: A7 network traffic [Re: Spirit] #264069
05/04/09 07:19
05/04/09 07:19
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
The 20 bps are caused by synchronizing the system time from server to the clients. The time is needed for dead reckoning. I admit that this is sort of superfluous when nothing moves. 20 bps are not much, but we'll change that so that nothing is sent when nothing moves or dead reckoning is switched off.

Setting the ping rate to 99999 won't have any effect. The ping rate is only used when no entity updates are sent.

DirectPlay causes not more traffic than Enet. The "overhead" of DirectPlay is a programming overhead, not a traffic overhead. The "bad Directplay traffic" is one of the typical rumors circulating among newbie developers. Some time ago there was a forum uproar about the use of Directplay and subsequently we tested DirectPlay against Enet in the engine. It turned out that there was no difference in traffic and packet length. Still, we'll probably switch to Enet or Raknet some day for psychological reasons.

Re: A7 network traffic [Re: jcl] #264077
05/04/09 08:02
05/04/09 08:02
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline
Serious User
Dark_samurai  Offline
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
But why is DirectPlay not used by any well known Multiplayer games nowdays?


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: A7 network traffic [Re: Dark_samurai] #264079
05/04/09 08:06
05/04/09 08:06
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Because of the mentioned programming overhead. From a programmer's point of view, Directplay is the worst library that I've ever seen. No one would implement Directplay when there is any alternative. At the time we implemented it, there was none.

Re: A7 network traffic [Re: jcl] #264081
05/04/09 08:20
05/04/09 08:20
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Online
Senior Expert
Quad  Online
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Hey JCL,

considering current TODOs and priorities of them, what would be the shortest time for GS to get a new mp system?(enet or raknet)[You may also think of dropping backwards compatiblity or you can make both dplay and raknet included or keep current mp system but use raknet as a core and add new funtions?]

Last edited by Quadraxas; 05/04/09 08:21.

3333333333
Re: A7 network traffic [Re: Quad] #264086
05/04/09 08:32
05/04/09 08:32
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
We have already produced an Enet version for a customer who needed that for integration in his own system, and has paid for it. But changing the general engine to Enet would require lengthy compatibility tests. Although we'll certainly do that some day, it has low priority because it has no technical advantage whatsoever. Besides, I don't want to spoil the business of people offering external Enet libraries for Gamestudio smile.

Re: A7 network traffic [Re: jcl] #264087
05/04/09 08:37
05/04/09 08:37
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Online
Senior Expert
Quad  Online
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
yeah, Thanks, i understand that. smile


3333333333
Re: A7 network traffic [Re: Quad] #264136
05/04/09 15:24
05/04/09 15:24
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline
Serious User
Dark_samurai  Offline
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
Quote:
Besides, I don't want to spoil the business of people offering external Enet libraries for Gamestudio.


You are a real gentleman jcl! smile


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version

Moderated by  old_bill, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1