ItsMods

Full Version: Overflow Server Commands
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
All clients that connect to my mod with the game started can not join the game. People are thrown out after loading the map and gives a little lagg those who are playing.
The problem they are having is Overflow Server Commands. Any idea on how to fix that?
Thanks!
On all the maps?
(08-05-2011, 01:04)iBanana Wrote: [ -> ]On all the maps?
Dunno tried on hanoi, mountain and other one, but not all.

So they will be kicked or they cant connect?
(08-05-2011, 01:12)Tomsen1410 Wrote: [ -> ]So they will be kicked or they cant connect?
They connect but before the main menu shows them are getting out by Overflow Server Commands. Read something on other forums and people said that is related to the code timing.
How can i fix that? adding more wait sentences or something like that? Thanks again
(08-05-2011, 01:17)FRAN710 Wrote: [ -> ]
(08-05-2011, 01:12)Tomsen1410 Wrote: [ -> ]So they will be kicked or they cant connect?
They connect but before the main menu shows them are getting out by Overflow Server Commands. Read something on other forums and people said that is related to the code timing.
How can i fix that? adding more wait sentences or something like that? Thanks again

Full error name: Client command overflow

yes adding waits in your setClientDvar and/or setDvars will help solve this error

example:

Code:
setClientDvar("bla", "blabla");
setClientDvar("bla", "blabla");
setClientDvar("bla", "blabla");
setClientDvar("bla", "blabla");

wait 0.3;

setClientDvar("bla", "blabla");
setClientDvar("bla", "blabla");
setClientDvar("bla", "blabla");
setClientDvar("bla", "blabla");

wait 0.3;

...
any while loops made from on spawned / player threads / connected threads can cause this as well, they also increase risk of it happening while alt tabd.. im guessing this only happens on the first initial download of the mod, then it gets better?
It's solved. Had a loop without wait statement.
Yah, i also have 50+ dvars which go all at once and cause no problems @ nukem.. the error is generally caused by a lack of communication between client/server which lets the commands build up, then once they can communicate again, the influx of commands makes the server terminate them.


thats what i THINK happens... and its generally in alt tab'd or on connecting loops..