Raised This Month: $12 Target: $400
 3% 

error item count is over 512


Post New Thread Reply   
 
Thread Tools Display Modes
ehha
SourceMod Donor
Join Date: Apr 2006
Location: Sibiu
Old 01-15-2010 , 18:02   Re: error item count is over 512
Reply With Quote #21

Shouldn't the client be altered too since it precaches stuff?
__________________
ehha is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-15-2010 , 18:16   Re: error item count is over 512
Reply With Quote #22

It is hard to notify the client if the server crashes.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
HLM
Senior Member
Join Date: Apr 2008
Location: C:\WINDOWS\System32
Old 01-15-2010 , 18:31   Re: error item count is over 512
Reply With Quote #23

Quote:
Originally Posted by Arkshine View Post
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.



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?
Arkshine, I have been interested with this limit for the longest time, if there is anything I can do to help you test things, im here, if there is even a small glimmer of a chance that this limit can be removed (or even just increased) I would be forever grateful!

(I have a linux server I can use to help if you need something tested)
__________________
+|- KARMA Respectively

HLM is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-15-2010 , 19:02   Re: error item count is over 512
Reply With Quote #24

Testing is not a problem. What it needs is to understand how works the precache. Reading a disassembled code is quite hard. Right now, I don't know where I should search.
__________________
Arkshine is offline
01101101
BANNED
Join Date: Nov 2009
Location: 9`su 09`n0n7e`r0f76a
Old 01-15-2010 , 19:17   Re: error item count is over 512
Reply With Quote #25

Quote:
Originally Posted by Arkshine View Post
Testing is not a problem. What it needs is to understand how works the precache. Reading a disassembled code is quite hard. Right now, I don't know where I should search.
Anyway, if the server could precache lots of shit, would the client still be able?
01101101 is offline
platzpatrone
Veteran Member
Join Date: Apr 2007
Location: Germany
Old 01-15-2010 , 19:54   Re: error item count is over 512
Reply With Quote #26

Quote:
Originally Posted by 01101101 View Post
Anyway, if the server could precache lots of shit, would the client still be able?
The Server crashs, since the server cant precache it. so its not on client side.
platzpatrone is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 01-15-2010 , 20:59   Re: error item count is over 512
Reply With Quote #27

http://forums.alliedmods.net/showthread.php?t=113003

Try to see if this helps you out.
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
01101101
BANNED
Join Date: Nov 2009
Location: 9`su 09`n0n7e`r0f76a
Old 01-15-2010 , 23:30   Re: error item count is over 512
Reply With Quote #28

Quote:
Originally Posted by platzpatrone View Post
The Server crashs, since the server cant precache it. so its not on client side.
You don't understand.

Maybe there is a way to make the server precache more shit, so it wouldn't crash

But, the client also has to precache shit, why do you think it doesn't also have that limit?
01101101 is offline
platzpatrone
Veteran Member
Join Date: Apr 2007
Location: Germany
Old 01-15-2010 , 23:47   Re: error item count is over 512
Reply With Quote #29

Quote:
Originally Posted by 01101101 View Post
But, the client also has to precache shit, why do you think it doesn't also have that limit?
i think that since i precached more as 512 Models in a map .res file with fastdownload. the client still loads that shit and doesnt crash. or am i wrong yet ? if so then sorry for that
platzpatrone is offline
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 01-16-2010 , 03:31   Re: error item count is over 512
Reply With Quote #30

Quote:
Originally Posted by platzpatrone View Post
i think that since i precached more as 512 Models in a map .res file with fastdownload. the client still loads that shit and doesnt crash. or am i wrong yet ? if so then sorry for that
You can only load in a map max. 512 models, sounds and sprites...
And btw, cs does itself precache it's own models, sounds, sprites..
KadiR is offline
Reply


Thread Tools
Display Modes

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 06:28.


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