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

confused about precache_limits and entity maximums


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
genesis
Senior Member
Join Date: Oct 2004
Location: CALIFORNIA, USA
Old 07-24-2008 , 13:16   confused about precache_limits and entity maximums
Reply With Quote #1

I am quite confused maybe someone can help...

There is something called a precache limit and it is set to 512 you can't precache more than 512 objects

Then there is a entity maximum as well? I thought this to be 512 but on a map i loaded the entity_count was over 512 around 560, so what is the entity_max

also the thing that confuses me is that I have a mod called dookie (a way to humiliate your victims, its not important) but what is important is that it creates a model and if people spam the create dookie function the server crashes. i've seen it crash with less than 512 entities (or so I believe). The dookies do raise the entity count for sure...

maybe someone can help clear this up??

so a few questions too, can i detect how many precaches total there are, can I detect the number of free entities left
__________________
CS 1.6 cali.radclan.net:27015
I have a feeling we're not in cs anymore.
I take pride that all my AMXX plugins were writen in notepad.
genesis is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-24-2008 , 13:32   Re: confused about precache_limits and entity maximums
Reply With Quote #2

As far I'm remember, the max of entities is 1060 . You can use `global_get ( glb_maxEntities )`

To increase the max, read this : http://forums.alliedmods.net/showthr...613#post556613
__________________

Last edited by Arkshine; 07-24-2008 at 13:37.
Arkshine is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 07-24-2008 , 14:43   Re: confused about precache_limits and entity maximums
Reply With Quote #3

This post has a little more info on max entites: http://forums.alliedmods.net/showthread.php?t=54117

Note: precache limit and entity limit are not related. You can change entity limit with a command line, however precache limit is not editable.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
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 04:27.


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