AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=7)
-   -   Precache Limit 512 (https://forums.alliedmods.net/showthread.php?t=337715)

MeliMeli 05-09-2022 20:50

Precache Limit 512
 
Hello, I have a doubt that has been bothering me a lot in CS 1.6, which is an error that happens a lot to me. And I believe some of you have seen that. The following appears in the console:

"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"

I would like to ask the more experienced here in the community, the reason why this happens?

How to solve this?

Does it only happen on dedicated/single player servers or on purchased servers too?

Is the max limit 512 valid also for purchased servers?

How to avoid this error?

I searched a lot for this but never had a simple answer. I asked some questions and wanted to understand if possible, thanks for your attention.

Supremache 05-09-2022 21:21

Re: Precache Limit 512
 
Search, there is many threads was created for the same request

fysiks 05-09-2022 22:26

Re: Precache Limit 512
 
Basically, 512 is the hard coded limit. It cannot be changed. Reduce the number of items (e.g. models). Maps can have many models that take up a bunch of this limit leaving fewer to be used by plugins. Find the other threads discussing the various solutions. When this happened to me on a particular map, I simply disabled some plugins that precache models for that specific map.

MeliMeli 05-10-2022 04:40

Re: Precache Limit 512
 
I see, I saw it here, I'm even using a precache control, but I get messages from (0) precached on my console, for example the sound when pressing the "E" button that activates parachutes, calls hostages, etc. In the parachute plugin, this sound is not used. But the console says it is precached, will this show up for other players? or prevents a file from being downloaded?

MeliMeli 05-10-2022 04:41

Re: Precache Limit 512
 
Quote:

Originally Posted by Supremache (Post 2779033)
Search, there is many threads was created for the same request

Yes, that's what I'm doing, unfortunately there are limitations in CS 1.6, even using a precache control. Very sad

OciXCrom 05-10-2022 14:43

Re: Precache Limit 512
 
Using plugins that redundantly precache files is also a common issue.
Many people and plugin makers still don't know that not all files need to be precached.
Player models, client-side sounds, etc, can be precached with precache_generic() that does not count towards the 512 limit.

MeliMeli 05-10-2022 15:47

Re: Precache Limit 512
 
Quote:

Originally Posted by OciXCrom (Post 2779096)
Using plugins that redundantly precache files is also a common issue.
Many people and plugin makers still don't know that not all files need to be precached.
Player models, client-side sounds, etc, can be precached with precache_generic() that does not count towards the 512 limit.

This is interesting, I'm using a precache control plugin that disables HL and CZ models/sounds. But I believe that even adding simple things this error will still come.

simanovich 05-14-2022 05:57

Re: Precache Limit 512
 
It's a hardcoded limit of the engine (or maybe the dll) itself


All times are GMT -4. The time now is 14:40.

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