![]() |
|
Help Overflow Server Commands - Printable Version +- ItsMods (https://www.itsmods.com) +-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html) +--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html) +--- Thread: Help Overflow Server Commands (/Thread-Help-Overflow-Server-Commands.html) |
Overflow Server Commands - FRAN710 - 08-05-2011 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! RE: Overflow Server Commands - iBanana - 08-05-2011 On all the maps? RE: Overflow Server Commands - FRAN710 - 08-05-2011 (08-05-2011, 01:04)iBanana Wrote: On all the maps?Dunno tried on hanoi, mountain and other one, but not all. RE: Overflow Server Commands - Tomsen1410 - 08-05-2011 So they will be kicked or they cant connect? RE: Overflow Server Commands - FRAN710 - 08-05-2011 (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 RE: Overflow Server Commands - Nukem - 08-05-2011 (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. 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;
...RE: Overflow Server Commands - koil - 08-05-2011 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? RE: Overflow Server Commands - FRAN710 - 08-05-2011 It's solved. Had a loop without wait statement. RE: Overflow Server Commands - koil - 08-05-2011 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.. |