Hey guys!
I'd like to know if there's any function in the source that I can use to check if a mob is alive or dead or at least it's current HP.
I'm making a simple waithack, but when I send too many packets to the server I get disconnected. I think that if I stop send packets after the mobs are dead, I can increase the speed of the cheat, cause in the current state my hack keeps sending packets for a few seconds after the mobs died until their VID is 'unregistered'.
My first approach was hooking the RecvDeadPacket and get the VID of the mob. But I think this is too slow, cause I need to iterate through the whole mob list to remove the VID.
I also tried to call isAlive, isDead and isRegistered functions, which are called in GetVIDInfo function. But it simply returns 1 until VID is unregistered (isDead always returns 0).
Even if it doesn't work for my main goal, I'd like to know a function/approach to get this info for learning purposes.
Thanks in advance.






