AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=7)
-   -   Exceeding precache limits (https://forums.alliedmods.net/showthread.php?t=317731)

SomewhereLost 07-26-2019 12:55

Exceeding precache limits
 
Hello,

Ive been wondering if there is any consequence in case you exceed the precache limit, does that mean as long as they are exceeded some of them won't get precached?

Theres an example, these are the results of resource counter

Code:

Type    : Total Limit

  model  : 293  510 
  sound  : 323  511 
  generic : 17    4096
  event  : 29    255 
  decal  : 673  511 
------------------------
1335 Total of precached resource count


CrazY. 07-26-2019 15:07

Re: Exceeding precache limits
 
Yes, what will cause the server to crash.

Celena Luna 07-26-2019 16:04

Re: Exceeding precache limits
 
It will give a quite common error dialog

Quote:

Host_Error: PF_precache_model_I: Model 'models/p_elite.mdl' failed to precache because the item count is over the 512 limit.
Reduce the number of brush models and/or regular models in the map to correct this.

SomewhereLost 07-26-2019 17:08

Re: Exceeding precache limits
 
According to those decal counts, server should have crashed many times by now since theyre over 511.
I suppose default files which come with cs are precached too because I certainly do not use nor 293 models or 323 sounds.

Why arent decals crashing it? What are they even?

CrazY. 07-26-2019 19:14

Re: Exceeding precache limits
 
Yes, everything which come with cs are precached.
Not sure about decals and event, but everything else will crash the server if exceeds the limit.

Both, ReHLDS rescount and Precache Kit plugin doesn't seems to count the precached resources properly, so you'll only notice if something exceeded the limit when you receive errors like what Celena posted.

SomewhereLost 07-27-2019 14:42

Re: Exceeding precache limits
 
And theres no chance to increase those limits is there?

meTaLiCroSS 07-27-2019 16:29

Re: Exceeding precache limits
 
Quote:

Originally Posted by SomewhereLost (Post 2660837)
And theres no chance to increase those limits is there?

Values are shared and hardcoded on client's binaries. That's the issue.

SomewhereLost 07-27-2019 17:39

Re: Exceeding precache limits
 
In other words, could still be done but noone bothers to do it.

HamletEagle 07-27-2019 17:56

Re: Exceeding precache limits
 
Quote:

Originally Posted by SomewhereLost (Post 2660866)
In other words, could still be done but noone bothers to do it.

In other words, no. Only Valve can change that.

SomewhereLost 07-28-2019 14:39

Re: Exceeding precache limits
 
Thanks lads.

Spoiler


All times are GMT -4. The time now is 16:20.

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