View Single Post
kadet.89
Veteran Member
Join Date: Nov 2012
Location: Serbia
Old 03-11-2015 , 12:47   Re: Create Edict Fixer.
Reply With Quote #151

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