ChampaRando
Active member
Hey lads! I thought of an idea to kind of avoid admin's checking for hacks.
In the server I play, most admins use a command (on any type of hack amazingly) that quickly changes few parameters of a player to check if they hack. One of them is always dropping health by a random amount.
I was thinking, is there a way to keep an eye out for that. If ANY TIME the health drops of my player (this server has server-sided Health anyways which is SYNCED to my local health bar, so should work with cleo), the cleo quits my game and avoids a ban (before the check completes).
I found this;
0AA5: call 8535003 3 pop 3 0 0 0 // - QUIT GAME
((credit to blvck_0v for this)).
But do we have an opcode to detect any HP change? I know one way, maybe store current health in a variable then after anytime HP drops, call the opcode above. So I would make this toggle-able as well (ik how to do that so all good). Just wondering any cool OPCODEs that exist to detect HP change or best way is to store in a var upon toggle and then check upon any HP change.
In the server I play, most admins use a command (on any type of hack amazingly) that quickly changes few parameters of a player to check if they hack. One of them is always dropping health by a random amount.
I was thinking, is there a way to keep an eye out for that. If ANY TIME the health drops of my player (this server has server-sided Health anyways which is SYNCED to my local health bar, so should work with cleo), the cleo quits my game and avoids a ban (before the check completes).
I found this;
0AA5: call 8535003 3 pop 3 0 0 0 // - QUIT GAME
((credit to blvck_0v for this)).
But do we have an opcode to detect any HP change? I know one way, maybe store current health in a variable then after anytime HP drops, call the opcode above. So I would make this toggle-able as well (ik how to do that so all good). Just wondering any cool OPCODEs that exist to detect HP change or best way is to store in a var upon toggle and then check upon any HP change.