Crashing when preache certain spr
Crashes when i precache a certain sprite both with precache_model + fakemeta alternative in a certain map. Tried recompiling the sprite too.
Not working spr: Download sprite (Zippyshare)
Working spr: Download sprite (Zippyshare) Download sprite (Zippyshare)
- Doesnt crash if i disable this module.
- Only crashes on cs_havana.
- Doesnt crash if i change sprite to a lowres/lower size one.
- Tried both single frame + multi frame sprite. Still crash if its too large/highres.
MM ver: 1.21p38 AMXX ver: 1.9.0.5294
AMXX Code:
new const g_szMedkitSprite[] = "sprites/zr2/voodoo_heal_fix.spr";
public plugin_precache()
{
g_iIDHealSpr = precache_model( g_szMedkitSprite );
}
Server commandline:
hlds.exe -console -game cstrike +port 27015 +sys_ticrate 10000 +heapsize 1048576 +maxplayers 32 +map cs_havana -bots -debug -condebug
Error in command window:
L 01/26/2023 - 20:40:43: FATAL ERROR (shutting down): Cache_TryAlloc: 5668880 is greater then free hunk FATAL ERROR (shutting down): Cache_TryAlloc: 5668880 is greater then free hunk src\tier1\fileio.cpp (5307) : m_vecRegisteredWriters.Count() == 0 src\tier1\fileio.cpp (5307) : m_vecRegisteredWriters.Count() == 0