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

Create Edict Fixer.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
kadet.89
Veteran Member
Join Date: Nov 2012
Location: Serbia
Old 03-11-2015 , 12:47   Re: Create Edict Fixer.
Reply With Quote #11

How to count the real number of existed entitis?

My today's result (ze_predator_ultimate_v2, third round) :
L 03/11/2015 - 15:433: World triggered "Round_Start"
L 03/11/2015 - 15:433: "Warning: free edicts below threshold. 99 free edicts remaining"
L 03/11/2015 - 15:433: OnEdictsThreshold count 985 highindex 1947


Should not count be (2048-99) = 1949?
Here is my algorithm:

PHP Code:
        for(new 0!= 2047i++) {
            if(
IsValidEntity(i)) {
                
count++;
                
highindex i
            
}
        } 
Does that mean that "invalid entity" !== "nonexistent entity" ?

Last edited by kadet.89; 03-11-2015 at 12:51.
kadet.89 is offline
Send a message via Skype™ to kadet.89
 



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 02:58.


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