cache_free: not Created 3 years ago2020-12-17 02:53:49 UTC by meow_moment meow_moment

Created 3 years ago2020-12-17 02:53:49 UTC by meow_moment meow_moment

Posted 3 years ago2020-12-17 02:53:49 UTC Post #345079
occasionally when i try to run my mod, it will come up with an error halfway through a large scripted sequence. All it says is "Error: cache_free: not." and an "OK" button, which closes the game when i click it. What does this mean, and will it have consequences to my mod?
Posted 3 years ago2020-12-17 19:15:59 UTC Post #345081
I can't find that error in the game code, so I guess it's some kind of buffer in the engine that's too small to handle whatever you're doing. When you talk about a large sequence, do you mean a model animation that's very long?
Posted 3 years ago2020-12-18 03:27:29 UTC Post #345083
no, i just have a few multi_managers controlling a lot of things at once.
Posted 3 years ago2020-12-19 11:53:22 UTC Post #345089
Is the message cache_free: not, or does it read Cache_Free: not allocated? Because that gives a match in the Quake engine code (which HL is based on): Cache_Free: not allocated. I think this will only be triggered by a bug, not by a lack of memory. That file also explains the purpose of this cache memory:
Cache_??? Cache memory is for objects that can be dynamically loaded and
can usefully stay persistant between levels. The size of the cache
fluctuates from level to level.
In another post you mentioned not knowing the difference between the Name and Global Entity Name attributes, so do you perhaps have a lot of entities with a global name? That might cause this bug to be triggered more easily. Only use Global Entity Name if you have to.

Another hunch: are you loading previous savegames when testing? I don't know how robust HL is in this regard, but I suspect it might be causing issues if new (global-named) entities have been added to or removed from a map.
Posted 3 years ago2020-12-22 01:19:13 UTC Post #345094
could it be happening because i named too many things the same thing and asked one thing to target all of them?
You must be logged in to post a response.