View Single Post
VEN
Veteran Member
Join Date: Jan 2005
Old 03-20-2006 , 04:16  
Reply With Quote #8

No, you didn't get it.

Lets say:
maxents == 5
entcount == 4
Entlist: 1, 2, 3, 5
4 is empty slot.

Now if you would use loop, you'll get:

From 1 to 4, i.e 1, 2, 3, 4.

Yes, your script would pass 1, 2, 3 and detect that 4 is invalid BUT script wouldn't detect 5.
Why? Yes, because of that "hole".
And look what if maxents instead of entcount is used?
Yes, no such problem.
VEN is offline