Raised This Month: $32 Target: $400
 8% 

error item count is over 512


Post New Thread Reply   
 
Thread Tools Display Modes
Leon M.
Senior Member
Join Date: Apr 2009
Location: Germany
Old 10-28-2009 , 12:37   Re: error item count is over 512
Reply With Quote #11

Quote:
Originally Posted by morfin View Post
You can patch your engine.dll with hex editor(search something like this: 81FFFF01 where FF01 is number 511 in hex with reversed byte order)and server will precache more
And this should work? Any experience with this solution?
Leon M. is offline
Jack86
Veteran Member
Join Date: Dec 2008
Location: Belgrade, Serbia
Old 11-02-2009 , 03:52   Re: error item count is over 512
Reply With Quote #12

Quote:
Originally Posted by morfin View Post
You can patch your engine.dll with hex editor(search something like this: 81FFFF01 where FF01 is number 511 in hex with reversed byte order)and server will precache more
Did u tried it or u just think it will work, cause i dont wanna test it on my own server
__________________

Jack86 is offline
quofuvad
New Member
Join Date: Nov 2009
Old 11-03-2009 , 00:39   Re: error item count is over 512
Reply With Quote #13

Try to remove some preloading files ( sounds, models ... from some plugins )
__________________
quofuvad is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-13-2010 , 06:09   Re: error item count is over 512
Reply With Quote #14

Quote:
Originally Posted by Jack86 View Post
Did u tried it or u just think it will work, cause i dont wanna test it on my own server
Yes, it works. I've tested with the max we can write FFFF, and the limit is now around ~65535. ( I've tested with MonsterMod by declaring all the monsters at once )
__________________
Arkshine is offline
platzpatrone
Veteran Member
Join Date: Apr 2007
Location: Germany
Old 01-13-2010 , 06:15   Re: error item count is over 512
Reply With Quote #15

should it work for linux too ?
platzpatrone is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-13-2010 , 06:19   Re: error item count is over 512
Reply With Quote #16

I've tested only for linux.
__________________
Arkshine is offline
platzpatrone
Veteran Member
Join Date: Apr 2007
Location: Germany
Old 01-13-2010 , 06:21   Re: error item count is over 512
Reply With Quote #17

nice Arkshine. just laughing now a bit and wondering when Valve will prevent this hint too in future updates

EDIT:
should every entry with: 81FFFF01 be edited ? there are more as 1 :/

Last edited by platzpatrone; 01-13-2010 at 06:37.
platzpatrone is offline
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
Old 01-15-2010, 08:43
zombikiller
This message has been deleted by zombikiller. Reason: unnecessary
platzpatrone
Veteran Member
Join Date: Apr 2007
Location: Germany
Old 01-15-2010 , 09:40   Re: error item count is over 512
Reply With Quote #19

Sorry to hear Arkshine.

maybe someone can code a cool module to alter this, if it can be altered.
but as u says: Where?

i can't understand why Valve sets those Limit, is it so usefull ?
i dont think so, it limits the ability to play nice maded maps
platzpatrone is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-15-2010 , 11:28   Re: error item count is over 512
Reply With Quote #20

Well I guess it's because it costs some more resources on the client so there is a limit. But now, they should increase at least with 1023. It would be nice and would not hurt.

About the crash, I don't get anymore the 512 blabla error ; just when it starts to precache the 512th, there is a crash, without error. If precache is an array, it would be like an "out of bound" error I guess. With IDA i've checked all the 511 or 512 reference to not miss any reference to change but I did not found any reference about setting an array size or something like. It's quite hard to understand some function with no solid knowledge, so right now I'm blocked.
__________________
Arkshine is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:58.


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