PDA

View Full Version : xReaper - Anti!Cheat 0.1b


Pixels^
09/05/2007, 01:36 AM
xReaper - Anti!Cheat

Current xReaper Version:
Version 0.1b

Cheats xReaper Detects:

Fake Kill
This is a widely used cheat which comes with the hack we all know of. Hackers also use this as a kicking utility on servers that kick people for certain weapons.
Indoor Weapons
We all have witnessed this happening and it may have happened to you too. Hackers can use weapons indoor to terrorize.
Spam
Usually spam is caused to irritate people or admins. It is caused usually by Hotkeys or other 3rd party programs.
Health
Everybody knows this one. No need to explain :P.
Speed
No need to explain :P.
Airbreak
A cheat used to move across great distances in all 8(diagonals included) directions.
Flying Vehicle
The keywords is "flying."
Stick
A certain cheat that attaches you to the connected player of your choice.


The xReaper's Actions:
Since I myself do not like seeing innocent players getting banned nor do I like listening innocent players complain about mistakenly banned, the xReaper Anti!cheat only reports and takes no further action. The xReaper also does not spam your chat screen with anticheat reports.

xReaper's Bugs:
I am aware of no bugs that are caused by the anticheat but if you do find some, please report them in this topic so I can fix them for future releases and keep cheaters banned.

xReaper Supports:
Interiors - If you walk into an interior, you are not reported for speed

xReaper's Download Links:
http://rapidshare.com/files/30276166/xReaper.zip.html
http://www.sendspace.com/file/0p6ts7

Foxtrota
09/05/2007, 01:41 AM
Works great Pixels :) was Fugitive the Test host lol?

Pixels^
09/05/2007, 01:46 AM
Maybe :-[ :D.

SeongJae
09/05/2007, 02:43 AM
Oh! Nice work~~~~~~~~~~~ Thank for AntiCheat ~~~~
Cheater!!!!!!!!!!!!! Good Bye~

Pixels^
09/05/2007, 02:49 AM
Thank you for the comment. If you find any bugs, please report them in this topic.

BeckzyBoi
09/05/2007, 11:53 AM
Pixels^,

With no offence intended i must say that this is the worst looking script that i have ever seen from somebody like yourself who is known to be a well respected scripter. The coding is basic and shows no sense of ability whereas i know you do have ability. But basically it is all guess work, i didn't see one bit of code that would find a cheater/hacker and would be even 80% sure that it had found one. Maybe for the indoor weapons, take into consideration that somebody may well have used knuckle dusters which aren't synced and show the player to have and use they previous weapon. The spam would be no good at all if there are only 2-3 people in the server. Flying vehicle.. huh, helicopters/areoplanes? Not to mention a car doing a jump in the desert or from mount chilliad. I aint bothered to look at the rest i just quickly scrolled down. Good attempt though.

Regards,

DracoBlue
09/05/2007, 02:46 PM
Hey Pixels^,

nice to see some new script on the anticheat section.

Even though BeckzyBoi already complained about most parts of your script, I want to give you some hints, which thinks are broken (because of pwn/samp, not because of your idea) and what could be done faster.

As I can see you use a filterscript (good idea), but you only initialize the timers once. Sine timers break in samp filterscripts (since they can be only raised when player connects) as soon as the player logs off, you really need to use a var, which sets when your filterscript does its work and when not. So please test it with more then player and even the case that the scripting timer creator, left.
In the source of my DAntiCheat (http://www.dracoblue.net/Downloads/source/DAntiCheat.pwn) I have a following for that issue:
if ((lastanticheat+3)<Now()) {

Secondly its always better to use one timer less then much, because it slows down. Stick could call at least HP to remove one timer.

I am not quite sure if the indoor weapon detection is correct, though you would kill somebody with fists, can't you?

Please get a look at the DAntiCheat source, even though I didn't wanted it to be released it shows some workarounds for the basic issues, which your script still has!

Have fun coding!

Kind regards,
Jan (DracoBlue)

violet_blood
09/05/2007, 03:02 PM
gj but now an ugly 14 year old kill will download the ac and make a hack against it! :|
anyway.. GoodJob!
Greets

GanG$Ta
09/05/2007, 03:24 PM
good work pixels^,can you please add that code for the anticheat to pastebin.ca, and this please too: http://forum.sa-mp.com/index.php?topic=16786.0 because i cant download it from sendspace and rapidshare.

thanks in advance.

Foxtrota
09/05/2007, 05:22 PM
hmm i think Fugitive has the better one, Admins still are the best anti-cheat in my opinion :P

Blaster
09/05/2007, 08:08 PM
Only sensible admins are good admins and hence good 'anti-cheats'. Not like most of the retards that LW server has.
http://forum.sa-mp.com/Themes/default/images/warnmute.gifSee below.
http://forum.sa-mp.com/Themes/default/images/warnwarn.gif

bzuco
10/05/2007, 12:00 PM
it is workinkg this filterscript??? i dont think...

SeongJae
10/05/2007, 12:01 PM
All Anti Script can't look the cheat.

GtakriZ
10/05/2007, 12:17 PM
Very cool script! Helped me script a little of my anti-cheat. (Without copying of course!) :P

AeroFly
10/05/2007, 01:26 PM
Why when it is calculating mph value is * by 5600?? I think this must be *3600 and after to / 1600 Right?

Holly
10/05/2007, 01:44 PM
Pixels is a respected scripter this script is free and most of you arent happy with it, it maybe a simple script but Pixels probabley has got other things to do, not everything is free

BeckzyBoi
10/05/2007, 03:21 PM
Pixels is a respected scripter this script is free and most of you arent happy with it, it maybe a simple script but Pixels probabley has got other things to do, not everything is free


Don't you think he made it because he likes scripting, not because he didn't want to and would rather walk the streets :|

AeroFly
11/05/2007, 04:53 AM
but when it stay *5600 speedometer doesnt work.. Its for linux?

Foxtrota
11/05/2007, 07:41 PM
i think it works great, probably cuz my version is better, if you don't like it then make a better one (if you can)

Holly
12/05/2007, 12:44 AM
Pixels is a respected scripter this script is free and most of you arent happy with it, it maybe a simple script but Pixels probabley has got other things to do, not everything is free


Don't you think he made it because he likes scripting, not because he didn't want to and would rather walk the streets :|
Pixels walks the streets? :s

Pixels^
12/05/2007, 12:54 AM
I don't walk the streets! I'm working on improving this script. Thank you all for your constructive criticism.

gj but now an ugly 14 year old kill will download the ac and make a hack against it! :|
anyway.. GoodJob!
Greets
Do you have any other responses to anticheats? Anticheat for some time is better then no anticheat at all!


All Anti Script can't look the cheat.

Can you please explain better. I can't understand your english.


Pixels^,

With no offence intended i must say that this is the worst looking script that i have ever seen from somebody like yourself who is known to be a well respected scripter. The coding is basic and shows no sense of ability whereas i know you do have ability. But basically it is all guess work, i didn't see one bit of code that would find a cheater/hacker and would be even 80% sure that it had found one. Maybe for the indoor weapons, take into consideration that somebody may well have used knuckle dusters which aren't synced and show the player to have and use they previous weapon. The spam would be no good at all if there are only 2-3 people in the server. Flying vehicle.. huh, helicopters/areoplanes? Not to mention a car doing a jump in the desert or from mount chilliad. I aint bothered to look at the rest i just quickly scrolled down. Good attempt though.

Regards,

Thanks for your constructive criticism. I know I can do better, but this is just the start. There is no way to detect the modelid of a vehicle or model type without using a custom function that edits AddStaticVehicle so I can't determine if a vehicle is an air vehicle or ground vehicle. What do you mean no good at all for 2-3 people? Not all desynced weapons are looked at when anticheat determines a spoof kill.


Hey Pixels^,

nice to see some new script on the anticheat section.

Even though BeckzyBoi already complained about most parts of your script, I want to give you some hints, which thinks are broken (because of pwn/samp, not because of your idea) and what could be done faster.

As I can see you use a filterscript (good idea), but you only initialize the timers once. Sine timers break in samp filterscripts (since they can be only raised when player connects) as soon as the player logs off, you really need to use a var, which sets when your filterscript does its work and when not. So please test it with more then player and even the case that the scripting timer creator, left.
In the source of my DAntiCheat I have a following for that issue:
PAWN Code:

if ((lastanticheat+3)<Now()) {


Secondly its always better to use one timer less then much, because it slows down. Stick could call at least HP to remove one timer.

I am not quite sure if the indoor weapon detection is correct, though you would kill somebody with fists, can't you?

Please get a look at the DAntiCheat source, even though I didn't wanted it to be released it shows some workarounds for the basic issues, which your script still has!

Have fun coding!

Kind regards,
Jan (DracoBlue)
Yes I know timers get killed, thats why I check if last player has left and 0 are left in OnPlayerDisconnect to kill the timers. Then if the first player in server joins, they are restarted again.

Necrioss
12/05/2007, 01:46 AM
i can totally understand why pixels can't tell if its a flying vehicle etc...if u do use the vehicle modelid functions which do work then they require a person to change all of the addstaticvehicles to the custom one...to be honest i dont think it would be a viable option for a filterscript as 90% ppl that would wanna use that feature would not have a clue how to alter their own scripts to check for the modelid of the vehicle and compare it to see if the vehicle shuld be able to fly...i cam accross this problem when trying to ake a car buying filterscript...to be honest its much less bother and easier just to hardcode things like that into ur script and ppl who complaining...go do it urselves if ur not happy...i see alot of ppl moaning but not doing anything themselves...just waiting till sum1 else does it lol...learn and then do it urselfs if ur so unimpressed with his work...when i see all u releasing ur own then i will eat my words lol...but to date...nope, not a thing yet hehe :P

i like it pixels...like alot i guess it could do with tweaking but ill be the first to admit my scripts usually screw up first time and a hell of alot worse things happen than minor things like a vehicle not being detected right lol...if nothing else it'll help others to understand crap and tbh i think that more valuable than just giving ppl full working stuff :D Good stuff!

BeckzyBoi
12/05/2007, 10:04 PM
I don't walk the streets! I'm working on improving this script. Thank you all for your constructive criticism.

Wtf, read carefully what i said.



Pixels is a respected scripter this script is free and most of you arent happy with it, it maybe a simple script but Pixels probabley has got other things to do, not everything is free


Don't you think he made it because he likes scripting, not because he didn't want to and would rather walk the streets :|


I clearly intended to insinuate that you made it because you liked scripting, not because you have better things to do.

Pixels^
13/05/2007, 12:25 AM
Yes I know it's buggy. Currently I am working on other things(private and public), soon I will fix things up ;).

Foxtrota
13/05/2007, 01:30 AM
thanks Pixels, btw it John and Tosted and me want a Toggabitlty thing if you could make it for it.

Pixels^
13/05/2007, 01:33 AM
Like what?

kevinsoftware
13/05/2007, 08:56 AM
fakekill dont work

Pixels^
13/05/2007, 03:02 PM
fake kill will only work if a desynced weapon is used as the source.

d.wine
18/05/2007, 12:48 PM
Very good on words, but very poor realizations. :s
Fake Kill
It detected only fake killed with such as sniper rifle, rpg and other shit that default isn't working on samp 0.1b. I don't think server admins are so stupid to ban players for killing with these weapons. Also I don't think cheaters are so stupid to create "fake kill" with these weapons. And as we know most popular weapon for "fake kill" is minigun.
Much better would make detect with some other algorithms: 1) get the distance between players, if it more than 100 it should be fake kill (I don't think it's possible to kill from more than 100 meters in sa-mp :D ), 2) count how many times player was killed/kill, if player killed more than two times in one minute from minigun, that means he's a faker cheater.
Interior weapons
It detected interior weapon only by killer z coord... very stupid. There is a great bug in sa-mp with "killing" by flying up in the sky. Also some interiors are not in the sky, they are underground. Also I detect a thousand times a bugs with killing when player enter/exit interior. Player could be in interior, but killer outside or conversely and death detected in reason of latency, though "real" death/kiling happened few second ago.
The best way to detect interior killing is to use Sacky's SInetrion script. The "real" interion kill should be only when killer interior id == player interior id. This way I detect interior cheaters on my server.
Health cheat
It detects only when player health more than 100. =/ I never seen cheats that make player health unlimited, all they just always keep it to 100. But this way it break some gamemode realization (GTO gamemode makes players health up to 200). The best way to detect cheat is to set player health to 99 (not 50 :D) and after few seconds detect whatever player health again is 100 (but not right after it as in this script, because it will process a millisecond after when no one cheat will have time to restore player health).

silvan
01/06/2008, 08:29 PM
Anti-money hack will be nice ;)

Pixels^
02/06/2008, 12:20 AM
This is a very old and buggy script. I don't think I would be working on this one anymore.

killer__577
09/07/2008, 12:02 PM
this is the best anti cheater ive seen about to try it and one of your links are down and raid shares taking its time

dario94
23/03/2011, 08:02 PM
nice