PDA

View Full Version : massive lag on zombie overlay


strika
02-10-2010, 15:44
When I was testing my server today, I got a complete freeze of my game when I got infected, it would stay for like 10 seconds, and then the game is back to normal.
What could be wrong :/ Doesn't happen on other server running this mod, just on mine. Its not a home server.
Running Linux.
plz help

rhelgeby
02-10-2010, 16:28
I'll quote a part of section 5.4 Common Problems in the manual (zrdocs/zr_manual.htm):

Freeze/lag on infection

When a human get infected the server freeze for a short amount of time. This might be caused by too detailed models, or a cache problem.

Solution: Try "sv_forcepreload 1" in the server's configuration file. "cl_forcepreload 1" on the client might help too, but servers can't set that console variable on clients.

You should check out these cvars. I never had this problem myself, but I got reports it helped on some servers.

Greyscale
02-10-2010, 18:33
Does it happen every time? Errors in the logs?

strika
02-14-2010, 07:13
It doesnt happen every time, its like it happens on certain models.

I get this error:
[Player Classes] [Config Validation] Warning: Invalid class at index 3, disabled class. Class error flags: 128.
L 02/14/2010 - 12:04:49: [zombiereloaded.smx] [Player Classes] [Config Validation] Warning: Invalid class at index 8, disabled class. Class error flags: 128.

in the log.

rhelgeby
02-14-2010, 07:35
Flag 128 is model_path. That class is disabled, but this isn't the cause of your freeze problems.

strika
02-14-2010, 13:08
Thanks for help, I've added the "sv_forcepreload 1"
I will let u know if it helps.

rhelgeby
02-14-2010, 13:48
sv_forcepreload 1 had negative impact on some servers, so if your players are getting connection issues on map change you should turn it off again. cl_forcepreload 1 might work, but players gotta set that manually.

Greyscale
02-14-2010, 14:37
sv_forcepreload just changes the client's cl_forcepreload to its value.

It would cause the same results. I think it's only causing problems in biigg servers when changing maps, or if you have a lot of models. 20+ models I'd estimate.