View Single Post
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-13-2010 , 06:37   Re: error item count is over 512
Reply With Quote #18

There are limits for specific reasons. I'm not sure also it's legal to do that, but you could use module to alter the memory instead of altering the file.

Quote:
should every entry with: 81FFFF01 be edited ? there are more as 1 :/
You have 3 values to changes. One by function PF_precache_*(). ( generic, model, sound ). In these functions there is a check like if ( objets > 511 ) and this 511 you need to change three times.


EDIT : I can't connect to my server. I'm going to try a lower value.
EDIT2 : for some reason I was getting "Host_Error: Unknown consistency type 16695152" error ; use mp_consistency to 0 and you won't get this error.
EDIT3 : it actually may not working as expected. I've tried to spawn all monters one by one, and for some monsters it crashes saying such sound has to be precached in spawn function. Something is fucked up. :/
EDIT4 : well after a lot of search, i've altering more references (15) related to precache, still not results, it crashes when it tries to precache the 512th model. It sounds like there is somewhere something which initialises the size of the array. It needs probably to be altered, but where?
__________________

Last edited by Arkshine; 01-13-2010 at 15:48.
Arkshine is offline