Raised This Month: $ Target: $400
 0% 

massive lag on zombie overlay


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
strika
Junior Member
Join Date: Feb 2010
Old 02-10-2010 , 15:44   massive lag on zombie overlay
Reply With Quote #1

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
strika is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 02-10-2010 , 16:28   Re: massive lag on zombie overlay
Reply With Quote #2

I'll quote a part of section 5.4 Common Problems in the manual (zrdocs/zr_manual.htm):

Quote:
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.
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)
rhelgeby is offline
Send a message via MSN to rhelgeby
Greyscale
SourceMod Plugin Approver
Join Date: Dec 2007
Location: strYoMommasHouse[you];
Old 02-10-2010 , 18:33   Re: massive lag on zombie overlay
Reply With Quote #3

Does it happen every time? Errors in the logs?
__________________
Greyscale is offline
strika
Junior Member
Join Date: Feb 2010
Old 02-14-2010 , 07:13   Re: massive lag on zombie overlay
Reply With Quote #4

It doesnt happen every time, its like it happens on certain models.

I get this error:
Quote:
[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.
strika is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 02-14-2010 , 07:35   Re: massive lag on zombie overlay
Reply With Quote #5

Flag 128 is model_path. That class is disabled, but this isn't the cause of your freeze problems.
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)
rhelgeby is offline
Send a message via MSN to rhelgeby
strika
Junior Member
Join Date: Feb 2010
Old 02-14-2010 , 13:08   Re: massive lag on zombie overlay
Reply With Quote #6

Thanks for help, I've added the "sv_forcepreload 1"
I will let u know if it helps.
strika is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 02-14-2010 , 13:48   Re: massive lag on zombie overlay
Reply With Quote #7

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.
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)
rhelgeby is offline
Send a message via MSN to rhelgeby
Greyscale
SourceMod Plugin Approver
Join Date: Dec 2007
Location: strYoMommasHouse[you];
Old 02-14-2010 , 14:37   Re: massive lag on zombie overlay
Reply With Quote #8

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.
__________________
Greyscale is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:55.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode