New automatic ban system that will fear hackers

Started by AviatorAysar, June 03, 2016, 10:35

Shock

Scripter's and other development team member are trusted players, but with your recent behavior i doubt you'll get a chance to join them.
Quote from: Dux on April 22, 2017, 06:22First of all!! You are not supposed as an admin to check chatlogs!!



Joshy

Quote from: CarlJohnson on June 03, 2016, 12:50
Also players are expected to use some common sense, if you know a hacker is on, you shouldn't be a dickhead and keep on driving. Get down and stay away from vehicles.
I don't think it's fair to expect players who are targeted by cheaters to know what to do, and it's definitely not okay to call those who try to continue as normal "dickheads" - watch your attitude.

I will also point out that I was working on re-writing the anti-cheat script at some point early last year, the current "vehicle warp" detection covers those who teleport between vehicles as drivers but not as passengers, and not as those teleporting unoccupied vehicles.

This is a snippet of code from the branch, I don't know if it works but it might help.
[hide=code]


// FYI my anticheat script uses ALS hooks to transparently detect cheats from SA-MP callbacks (which is why you see the re-declaration of OUVU here)
forward OnUnoccupiedVehicleUpdate(vehicleidplayeridpassenger_seatFloat:new_xFloat:new_yFloat:new_zFloat:vel_xFloat:vel_yFloat:vel_z);
public 
OnUnoccupiedVehicleUpdate(vehicleidplayeridpassenger_seatFloat:new_xFloat:new_yFloat:new_zFloat:vel_xFloat:vel_yFloat:vel_z) {
	
// NaN coords check (this is irrelevant to this topic)
        // ...

	
// Teleporting unocc vehicle
	
new 
Float:distance GetVehicleDistanceFromPoint(vehicleidnew_xnew_ynew_z);
	
if (
distance 50.0) { // maybe this is okay, maybe it is not? Could detect based on how many vehicles the player moved recently too.
	
	
printf("%s moved unoccupied %s (%d) too far (dist %.1f m)"PlayerName[playerid],
	
	
	
VName[GetVehicleModel(vehicleid)], OwnedVehicles[vehicleid], distance);

	
	
new 
Float:xFloat:yFloat:z;
	
	
GetVehiclePos(vehicleidxyz);
	
	
SetVehiclePos(vehicleidxyz);

	
	
PlayerUnoccVehicleWarpCount[playerid]++;

	
	
if (
PlayerUnoccVehicleWarpCount[playerid] >= MAX_UNOCC_VEHICLE_WARP_COUNT) {
	
	
	
printf("%s has exceeded max unoccupied vehicle warp count, kicking."PlayerName[playerid]);
	
	
	
Kick(playerid);
	
	
}

	
	
return 
0;
	
}
}
[/hide]

This isn't magical code, in fact it's very simple:
If an unoccupied vehicle is moved 50+m by a player, increment the respective counter by one. If the counter value is too high, kick them.


edit: I don't know if the cheats are even worse now compared to before, but instead of doing nothing about it, at least add some printf calls throughout the SA-MP callbacks so you could maybe figure out how the cheats work.
[comment]test[/comment]
LAST SEEN
TOTAL TIME ON SERVER
SCORE
TRUCK LOADS
CONVOY SCORE
ACHIEVEMENTS
ARTIC
DUMPER
VAN
FUEL
CEMENT
ARRESTS
CARS STOLEN
COACH
PLANE
HELICOPTER
TOW TRUCK
LIMO
TRASH
ARMORED VAN
BURGLARIES
ARMORED VANS STOLEN
MISSIONS FAILED
OVERLOADED
FINES PAID
TOTAL SPENT ON FUEL
INTEREST EARNED
DISTANCE TRAVELLED
TIME IN JAIL
LAST MISSION
Generated using Azure Functions & CloudFlare Workers using the Convoy Trucking API. Updates every around 5 minutes. See the original SVG image. View source code (not updated with function yet)




CarlJohnson

#17
Well I feel I went a bit far, sorry about that (pretty pissed about not being able to go to waterpark today and because of people spamming my mailbox by sending me forum pm to come online)
I'll do something about it if I manage to fix my PC here or once I return.

Until then bear with it and try to avoid driving whilst hacker is on.

Hackers or anyone else for that matter cant car jack others unless he's theif. So your "make car jacking score 100+ :) then hackers wont be able to car jack any1" statement is invalid. 
It's only possible under certain circumstances when a player is able to jack other player .
Sorry again :)
LAST SEEN
TOTAL TIME ON SERVER
SCORE
TRUCK LOADS
CONVOY SCORE
ACHIEVEMENTS
ARTIC
DUMPER
VAN
FUEL
CEMENT
ARRESTS
CARS STOLEN
COACH
PLANE
HELICOPTER
TOW TRUCK
LIMO
TRASH
ARMORED VAN

UncleDrew

i guess it will take long time for scripter to update smokey

AviatorAysar

Wait CJ can u explain again, what i understood is:

Hackers go thiefs, then they car jack people, but those hackers score is 0, so if we set score to 100 they car jack it right??
or did I mention something wrong??
Anyway, why dont smokey ban the ip as well?? :-\



@Shock: I wont open this argument again, but maybe you can ask the admin that solved the problem about my behavior.
Because my behavior was the best and one of you said that (mods)!!

I will join you!!  O0 O0 Wait me 2 weeks more or maybe 3 let my exams finish  :P ::)
 


LAST SEEN
TOTAL TIME ON SERVER
SCORE
TRUCK LOADS
CONVOY SCORE
ACHIEVEMENTS
ARTIC
DUMPER
VAN
FUEL
CEMENT
ARRESTS
CARS STOLEN
COACH
PLANE
HELICOPTER
TOW TRUCK
LIMO
TRASH
ARMORED VAN
BURGLARIES
ARMORED VANS STOLEN
MISSIONS FAILED
OVERLOADED
FINES PAID
TOTAL SPENT ON FUEL
INTEREST EARNED
DISTANCE TRAVELLED
TIME IN JAIL
LAST MISSION

Shock

Quote from: CesarVialpando$$ on June 03, 2016, 15:45
Wait CJ can u explain again, what i understood is:

Hackers go thiefs, then they car jack people, but those hackers score is 0, so if we set score to 100 they car jack it right??
or did I mention something wrong??
Anyway, why dont smokey ban the ip as well?? :-\



Smokey ban's their ip. Also you need 10 truckloads to be theift.

Quote from: Dux on April 22, 2017, 06:22First of all!! You are not supposed as an admin to check chatlogs!!



Dobby

No. Not reliable at all. If you get banned from a hacker post an appeal and stop being lazy. Simple really

We'll update smokey as and when it's required.
Quote from: mick88 on May 24, 2015, 21:39
FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK! FUCK!