Raised This Month: $ Target: $400
 0% 

Counter-Strike GoldSrc server crashing due 512 limit solded unprecaching sounds


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 10-13-2015 , 11:17   Counter-Strike GoldSrc server crashing due 512 limit solded unprecaching sounds
Reply With Quote #1

I am unprecaching everything that the clients must have to avoid server crash due its 512 entities precache limit.

Then I can use plugins that precache a lot of things at maps that precache a lots of things too.

This is not the only approach, I can by-map plugins file, to disable almost all amxmodx plugins at problematic maps. This is better then unprecache trivial stuff? I think this is harder as I have to get to figure out all monster maps, as I have lots of them.

I find this plugin some time ago, to unprecache sounds that I know, everybody has as default counter-strike install. And anyone that do not have, should repair their install, and it is not the server problem to supply their missing default sounds, that should not be missing.

Alright that, I have those boring messages at my server console, would this hurt? Seen working fine. Or is there something I don't know about such approach and did wrong?
Quote:
L 10/13/2015 - 11:06:53: World triggered "Round_End"
SV_StartSound: player/pl_dirt1.wav not precached (0)
SV_StartSound: player/pl_dirt4.wav not precached (0)
SV_StartSound: player/pl_dirt3.wav not precached (0)
SV_StartSound: player/pl_dirt4.wav not precached (0)
SV_StartSound: player/pl_dirt3.wav not precached (0)
SV_StartSound: player/pl_dirt2.wav not precached (0)
SV_StartSound: player/pl_dirt1.wav not precached (0)
SV_StartSound: player/pl_dirt2.wav not precached (0)
SV_StartSound: player/pl_dirt3.wav not precached (0)
SV_StartSound: player/pl_dirt2.wav not precached (0)
SV_StartSound: player/pl_dirt1.wav not precached (0)
SV_StartSound: player/pl_dirt4.wav not precached (0)
L 10/13/2015 - 11:07:04: World triggered "Round_Start"
SV_StartSound: player/pl_dirt3.wav not precached (0)
SV_StartSound: player/pl_dirt4.wav not precached (0)
SV_StartSound: player/pl_dirt3.wav not precached (0)
SV_StartSound: player/pl_dirt4.wav not precached (0)
SV_StartSound: player/pl_dirt1.wav not precached (0)
SV_StartSound: player/pl_dirt2.wav not precached (0)
SV_StartSound: player/pl_dirt3.wav not precached (0)
SV_StartSound: player/pl_dirt2.wav not precached (0)
SV_StartSound: player/pl_dirt1.wav not precached (0)
SV_StartSound: player/pl_dirt2.wav not precached (0)
SV_StartSound: player/pl_dirt3.wav not precached (0)
SV_StartSound: player/pl_dirt2.wav not precached (0)
SV_StartSound: player/pl_dirt1.wav not precached (0)
SV_StartSound: player/pl_dirt2.wav not precached (0)
Attached Files
File Type: sma Get Plugin or Get Source (UnPrecacher.sma - 1142 views - 9.5 KB)
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective

Last edited by addons_zz; 12-22-2015 at 19:10.
addons_zz is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 10-14-2015 , 04:55   Re: Counter-Strike GoldSrc 512 limit solved. Or is there something wrong?
Reply With Quote #2

why do you unprecache footstep sounds? In order to get rid of this crap you need to hook EmitSound and block sound from being played.
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 10-14-2015 , 07:29   Re: Counter-Strike GoldSrc 512 limit solved. Or is there something wrong?
Reply With Quote #3

Quote:
Originally Posted by NiHiLaNTh View Post
why do you unprecache footstep sounds? In order to get rid of this crap you need to hook EmitSound and block sound from being played.
I am unprecaching everything that the clients must have to avoid server crash due its 512 entities precache limit.

Then I can use plugins that precache a lot of things at maps that precache a lot of things too.

Quote:
Originally Posted by Krtola View Post
These alerts that get in the console are normal because you gave the command to the server using the plugin "UnPrecacher" to block certain sounds to be precached(r).
would this hurt? = No
Are this is messages boring? = Yes

Last edited by addons_zz; 10-14-2015 at 07:35.
addons_zz is offline
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 10-14-2015 , 06:56   Re: Counter-Strike GoldSrc 512 limit solved. Or is there something wrong?
Reply With Quote #4

These alerts that get in the console are normal because you gave the command to the server using the plugin "UnPrecacher" to block certain sounds to be precached(r).
would this hurt? = No
Krtola is offline
Send a message via Skype™ to Krtola
Old 10-14-2015, 07:35
addons_zz
This message has been deleted by addons_zz. Reason: repeated post
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 10-14-2015 , 08:03   Re: Counter-Strike GoldSrc 512 limit solved. Or is there something wrong?
Reply With Quote #6

No, if you do not pay attention to them
Krtola is offline
Send a message via Skype™ to Krtola
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 10-14-2015 , 10:16   Re: Counter-Strike GoldSrc 512 limit solved. Or is there something wrong?
Reply With Quote #7

Quote:
Originally Posted by Krtola View Post
No, if you do not pay attention to them
Well, sometimes is like they they never existed, others is like they are everywhere every time, there is no how not pay attention. But just easy just ignore them and be happy that, never more will crash my server due this 512 entities limit (disgrace).

Last edited by addons_zz; 10-14-2015 at 10:46.
addons_zz is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 10-16-2015 , 03:15   Re: [Solved for yes] Counter-Strike GoldSrc 512 limit solved or is there something wr
Reply With Quote #8

why do you even need to unprecache? just remove extra sounds/sprites/models that are not needed from your plugins...
Depresie is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 10-16-2015 , 05:57   Re: [Solved for yes] Counter-Strike GoldSrc 512 limit solved or is there something wr
Reply With Quote #9

Quote:
Originally Posted by Depresie View Post
why do you even need to unprecache? just remove extra sounds/sprites/models that are not needed from your plugins...
Hhahahahhhahahah, extra and unneeded? There is not, and condition zero is extremely full by its default. For example, to run a very limited superheros, I have to disable almost all AMXX plugins. And unnecessary stuff is all that 300 ~ 400 entities the game precache itself alone, when its limit is just 512.

Last edited by addons_zz; 10-16-2015 at 06:01.
addons_zz is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-16-2015 , 08:32   Re: [Solved for yes] Counter-Strike GoldSrc 512 limit solved or is there something wr
Reply With Quote #10

Your title is misleading. Just because you unprecached some sounds doesn't mean you won't hit the limit anymore. You have the limit on models and less used generic resources as well. It also largely depends of the map and your config (amxx, plugins, modules).

If you want to avoid to hit the limit, it's all about configuring intelligently depending a given map.

Unprecaching is fine as long you know what you're doing. It's likely fine for example for any sounds which are played client-side, like most of weapons, but it would be probably safer to redirect to PrecacheGeneric in case someone doesn't have the file. If for some reasons you want to block some sounds played server-side, then as it has been said, you should hook EmitSound. Letting spamming the console is silly, especially you will run internal code for nothing.

Anyway I just wanted to nuance you did not really solved something, you just used one of possible way to configure "your" server. Your case is not a generality.
__________________

Last edited by Arkshine; 10-16-2015 at 09:32.
Arkshine 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 22:16.


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