hi , there is a magic to fix that ? specially when server have 30+ players, respawning makes lag so much. ty for help
Printable View
hi , there is a magic to fix that ? specially when server have 30+ players, respawning makes lag so much. ty for help
i am using voron00's libcod, running my own mod for tdm and pam mod for sd server. there are also lag on sd server while round starting bcs of all players respawning in same time. but its not important. i dont have any cpu problem. i think its a global problem lagging while so much respawning ?
don't have .Quote:
There might be script runtime errors in the console log that could solve the lag.
You proably doing too many servercommands durning a player spawn. Any iprintln/localsound/setclientcvar adds a servercommand. Try not to exceed a 5-6 server commands in a frame, otherwise it can cause lag when there are many players on server. You can check how many commands you are reveiving with cg_drawSnapshot 1
Also it can be a slow cpu core since cod2 is single core only.
Also it can be too many code executed on player spawn with your mods.
Also it can be some script runtime errors as Mitch said above.
Also it can be pretty standard archivedtime lag which is caused by the killcam, this stuff has always been laggy, nothing can be done with it.
Set your client rate higher (/rate 25000 for example)
everything is fine what all of you write in above . cod2 uses less than %50 cpu in single core when there are 40 players even . seems like nothing we can do about it except disabling nades. i fixed my problem with disabling nades while there 26+ players also it leads better gameplay. thank you all