if Distance(GetPlayerStat(i,'x'),GetPlayerStat(i,'y'),x[i],y[i]) > DISTANCEPERSECOND then begin
if warnings[i] > 0 then begin
warnings[i] := warnings[i] - 1;
if warnings[i] > 0 then begin
WriteConsole(i,'Possible speed hack detected - ' + inttostr(warnings[i]) + ' warning(s) left',$00FF0000);
end;
end;
if warnings[i] = 0 then begin
Command('/say ' + idtoname(i) + ' kicked for possible speed/teleport hacks');
Command('/kick ' + inttostr(i));
end;
end;
How about warps due to lag ?Would that change how far you move in a second in the server?
were you in my server today/tonight (different time zone thing) and by any chance were u hacking? because i got bored and made a anti tele hack thing and either you were hacking or lagging something shockin. just curious to know if it works :Dyeah, it worked! it kiked me...nice one! but dont publish it please, because all the tele hacks we will dead...
if Distance(GetPlayerStat(i,'x'),GetPlayerStat(i,'y'),x[i],y[i]) > DISTANCEPERSECOND then begin
if warnings[i] > 0 then begin
warnings[i] := warnings[i] - 1;
WriteConsole(i,'Possible speed hack detected - ' + inttostr(warnings[i]) + ' warning(s) left',$00FF0000);
end else begin
Command('/say ' + idtoname(i) + ' kicked for possible speed/teleport hacks');
Command('/kick ' + inttostr(i));
end;
end;
Distance(GetPlayerStat(i,'x'),GetPlayerStat(i,'y'),x[i],y[i]) > DISTANCEPERSECOND
just wont be so self-explanatory anymore
BE is actually dead for a while and many hackers seen on public.Just get admins around all time and it'll be fine. Imo scripts don't solve it.
This script works very good.
I have the solution, I am gonna make all players admins. Then they can kick and ban each other, problem "solved".Leo, just give me adminrights. :)
Admin's are not gonna monitor soldat players 24/7.I don't meant these guys who are on 24/7. I meant to have admins in USA, Europe, ect. Not only in a timezone range from GMT0-8 for example, get what I mean?
This script is gonna go crazy on maps with bouncing polygons.Script is tested and no Lags even "gayest" lagger neither Bouncing polygons count here.
What about you stop saying "Uuuuuh, this doesn't work because of BOUNCING POLYGONS" and just try this?You ask me to get hacks and use them? lol
And nice script. Its weird that you wrote it, since you're writing also hacks for soldat, lol.To secure something from hacks you need to know how to hack.
Some pangs of conscience or what? :D
And nice script. Its weird that you wrote it, since you're writing also hacks for soldat, lol.To secure something from hacks you need to know how to hack.
Some pangs of conscience or what? :D
I took a look at the speed hack software and wrote some detection code.
If you know other software which allows you to speedhack just send me a pm with the details.
Thanks
Denying user input - how much more disabling do you need it?Actually the game quits after the messagebox gets closed :P
Nah I can't just start deleting 3rd party stuff.I took a look at the speed hack software and wrote some detection code.
If you know other software which allows you to speedhack just send me a pm with the details.
Thanks
It'd be cooler if we made it delete or disable the detected hacks, not just whine about them.
Actually the game quits after the messagebox gets closed :P