Posts: 35
Threads: 6
Joined: Mar 2015
Reputation:
0
Hi good day to all scripters out there, I have a request could anyone make a working anti-sobe** on a samp server 0.3.7 R2? Because we are experiencing right now general hacks such as player will be kicked out because of over speeding made by the sobe** user. Thanks if anyone could help me +rep
Posts: 3,085
Threads: 37
Joined: Nov 2012
Reputation:
0
You'd be better off using an anticheat. There are plenty of other programs or mods that can generate the same effect as some cheats found in s0b.
Posts: 4,759
Threads: 33
Joined: Dec 2013
Reputation:
0
No known methods work with the latest version anymore (including the hidden callback one).
Posts: 1,199
Threads: 238
Joined: Feb 2016
Reputation:
0
You should try using JunkBuster FS
Posts: 35
Threads: 6
Joined: Mar 2015
Reputation:
0
I'm feeling hopeless since we can't detect them. They throw the other player's car and we don't know who's using it.
Posts: 170
Threads: 10
Joined: Sep 2011
Quote:
Originally Posted by Irish
I'm feeling hopeless since we can't detect them. They throw the other player's car and we don't know who's using it.
|
Anty cheat for car hacks is easy, I don't know why nobody on community trying to do it this way.
Here is my way, tested on biggest polish servers:
Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
pInfo[playerid][player_entering_vehicle] = vehicleid;
return 1;
}
Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if( (newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER) && (oldstate != PLAYER_STATE_DRIVER && oldstate != PLAYER_STATE_PASSENGER) )
{
if( pInfo[playerid][player_entering_vehicle] != GetPlayerVehicleID(playerid) )
{
Kick(playerid);
}
else
{
pInfo[playerid][player_entering_vehicle] = -1;
}
Done. Remember to set pInfo[playerid][player_entering_vehicle] to -1 in onplayerlogin/connect.
Posts: 35
Threads: 6
Joined: Mar 2015
Reputation:
0
Hi. thanks for your help. Their using sobe**, there is also a cheat that even the victim is not on a vehicle, the sobe** user can throw the victim onto other place so the victim would be probably dead.
Posts: 170
Threads: 10
Joined: Sep 2011
If this is roleplay, just block damage for all players who don't have 1 hour online (by returning 0 in onplayergivedamage). It will reduce amount of cheaters for 90% or better.
Or if you don't like it, just make anty teleport for onfoot.