Raised This Month: $ Target: $400
 0% 

Number of Edicts?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Humming Bird
Junior Member
Join Date: May 2007
Old 06-21-2007 , 13:42   Number of Edicts?
Reply With Quote #1

Is there anyway to monitor the number of edicts with AMXX? We're trying to debug this HL1 mod which gets a lot of free edict errors.
Humming Bird is offline
Drak
Veteran Member
Join Date: Jul 2005
Old 06-21-2007 , 14:37   Re: Number of Edicts?
Reply With Quote #2

Code:
new iNum = engfunc(EngFunc_NumberOfEntities) // Get's the current Ent's active new iMax = global_get(glb_maxEntities) // Get's the limit

Fakemeta way.
__________________
Oh yeah
Drak is offline
Send a message via MSN to Drak
Humming Bird
Junior Member
Join Date: May 2007
Old 06-21-2007 , 14:55   Re: Number of Edicts?
Reply With Quote #3

But, thats only counting entities? And I think that not all edicts are entities?
Humming Bird is offline
Drak
Veteran Member
Join Date: Jul 2005
Old 06-21-2007 , 14:59   Re: Number of Edicts?
Reply With Quote #4

Well i noticed, when setting the limit of edicts "-max_edicits" ( don't remember )
Whatever that's set as, is the max entities. So, in terms. I would assume, edicts are entities.
__________________
Oh yeah
Drak is offline
Send a message via MSN to Drak
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 06-21-2007 , 15:08   Re: Number of Edicts?
Reply With Quote #5

No free edicts usually comes from spawning a mass of entities all at once.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX 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 21:28.


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