Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 16,005 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Too much traffic in fact of too many server entites... #257952
03/26/09 21:00
03/26/09 21:00
Joined: Feb 2009
Posts: 6
Österreich, St. Pölten
doom4 Offline OP
Newbie
doom4  Offline OP
Newbie

Joined: Feb 2009
Posts: 6
Österreich, St. Pölten
Hi again!

In my network test game i have some factories (1 per network player).
These factories steam clouds if they're working.
The cloudes have no big job - only fade away.

The problem now is that I get A LOT of entites to be controlled by the server (what creates a lot of traffic).

Is it possible to create (and controll) the cloudes of (all) the factories on the client not on the server because they needn't to be synchronised?

Always when a client factory's skill10 > 0 it should steam out cloudes (on every client) but not serverside generated.

How can I realize this?

Re: Too much traffic in fact of too many server entites... [Re: doom4] #257961
03/26/09 21:44
03/26/09 21:44
Joined: Apr 2005
Posts: 4,506
Germany
F
fogman Offline
Expert
fogman  Offline
Expert
F

Joined: Apr 2005
Posts: 4,506
Germany
look at "ent_createlocal(STRING* filename, VECTOR* position, function);"

Last edited by fogman; 03/26/09 21:45.

no science involved
Re: Too much traffic in fact of too many server entites... [Re: fogman] #260718
04/13/09 08:09
04/13/09 08:09
Joined: Jul 2002
Posts: 2,002
Europe
ShoreVietam Offline
Expert
ShoreVietam  Offline
Expert

Joined: Jul 2002
Posts: 2,002
Europe
Jup, do as much as possible local.

Effects and stuff can be (in normal case) made server-independent.
But it is not only up to effects, many other things can be reduced to only "triggers" to targets or handles, so that the rest is calculated local. The advantage is huge:
1. less traffic
2. less complicated game network control
3. less lag/jumps

One nice example is my game Starbattle I think, which was intended to send as few values as possible while keeping the gameplay smooth and filled with action using just trigger values, few vectors and handles.






My project Schlacht um Kyoto - Das Samurai Browsergame! (sorry, german only)

Moderated by  HeelX, Spirit 

Gamestudio download | 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