View Single Post
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 07-08-2012 , 07:55   Re: Module: Parachute (not fake)
Reply With Quote #14

Quote:
Originally Posted by joropito View Post
not fake thing: there was a fake parachute module with slowhack to forward players to some server

FNullEnt: it just check for entity equal to null. I prefer to check for less or equal zero. It's just different opcode, and don't change anything at asm code level.
It's more easy for people to understand the code.
There is a different thing:

FNullEnt != 0 checks whether g_engfuncs.pfnEntOffsetOfPEntity is not null.
ENTINDEX > 0 checks whether g_engfuncs.pfnIndexOfEdict is higher than zero.

By the way, FNullEnt works with entities from -99999999 to 99999999 without crashing server.
__________________
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks