Re: Nex-AC - Anticheat system -
Tudounaozi - 27.05.2017
Quote:
Originally Posted by OstGot
What about the name of this shit cheat?
|
A cheat like this
https://www.youtube.com/watch?v=HA72XOPQqow
but without getting inside the car.
Re: Nex-AC - Anticheat system -
OstGot - 13.06.2017
New Version v1.9.26
Changes:
* Rewrote anti-teleport to interiors hack
* Added additional protection from Damage Helper
* Added protection against explosion of vehicles after teleporting in them with cheats
* Minor fixes and improvements
Fixes:
* Fixed some bugs in anti-special actions hack
* Tweaked the minimum price of weapons in ammu-nation for anticheat
* Fixed SpawnPlayer function
Download:
GitHub
Re: Nex-AC - Anticheat system -
Uberanwar - 13.06.2017
Great, I'll test the updated version along with my testers and will inform you soon if there are any problems.
I'll try to provide as much details as possible.
Re: Nex-AC - Anticheat system -
Irenijus - 15.06.2017
C:\Users\...\Desktop\Samp\pawno\include\AC.inc(315 2) : warning 202: number of arguments does not match definition
C:\Users\...\Desktop\Samp\pawno\include\AC.inc(316 6) : error 025: function heading differs from prototype
Maybe u know where is the problem ?
Re: Nex-AC - Anticheat system -
OstGot - 15.06.2017
Quote:
Originally Posted by Irenijus
C:\Users\...\Desktop\Samp\pawno\include\AC.inc(315 2) : warning 202: number of arguments does not match definition
C:\Users\...\Desktop\Samp\pawno\include\AC.inc(316 6) : error 025: function heading differs from prototype
Maybe u know where is the problem ?
|
1.
Update your server to 0.3.7 R2-1 with all default includes (especially a_samp.inc)
2. Find "public OnPlayerGiveDamage" in your gamemode and make sure that it have the same number of arguments (if no, then make it like below):
Код:
public OnPlayerGiveDamage(playerid, damagedid, amount, weaponid, bodypart)
Re: Nex-AC - Anticheat system -
s3ek - 15.06.2017
this will work in samp 0.3x-R2 ?
Re: Nex-AC - Anticheat system -
StrikerZ - 15.06.2017
Quote:
Originally Posted by s3ek
this will work in samp 0.3x-R2 ?
|
Nope it wont work, its for samp 0.3.7
Re: Nex-AC - Anticheat system -
s3ek - 15.06.2017
Quote:
Originally Posted by Sunehildeep
Nope it wont work, its for samp 0.3.7
|
thanks you
Re: Nex-AC - Anticheat system -
ax1 - 18.06.2017
this anti-cheat is bugged as fuck. If you fall from big height when logging in you get kicked for teleport hack or weapon hack
Re: Nex-AC - Anticheat system -
DRIFT_HUNTER - 18.06.2017
Quote:
Originally Posted by ax1
this anti-cheat is bugged as fuck. If you fall from big height when logging in you get kicked for teleport hack or weapon hack
|
If something does not work for you, then it doesnt mean its bugged. The fact that you fall during login tells me its your fault in the first place. These AC occasionally has some false positives but its nothing that cant be fixed by fiddling with configuration, and most of that stuff is actually caused by a lag and depends on your script (that's why it can be configured - thx to developer for these)
Re: Nex-AC - Anticheat system -
ax1 - 19.06.2017
Quote:
Originally Posted by DRIFT_HUNTER
The fact that you fall during login tells me its your fault in the first place.
|
Player jumps from a building, logs off while he's falling, his position is saved mid air, he logs in again, his position is set to his last position in mid air, he starts falling. How is this my fault?
Quote:
Originally Posted by DRIFT_HUNTER
These AC occasionally has some false positives but its nothing that cant be fixed by fiddling with configuration, and most of that stuff is actually caused by a lag and depends on your script (that's why it can be configured - thx to developer for these)
|
when player logs in and server gives him weapons from database, sometimes anti-cheat reacts to it as a weapon hack. how do I configure this include so it would be fixed?
Re: Nex-AC - Anticheat system -
Pottus - 19.06.2017
Quote:
Originally Posted by ax1
Player jumps from a building, logs off while he's falling, his position is saved mid air, he logs in again, his position is set to his last position in mid air, he starts falling. How is this my fault?
when player logs in and server gives him weapons from database, sometimes anti-cheat reacts to it as a weapon hack. how do I configure this include so it would be fixed?
|
You are always going to have issues taking a system like this and throwing it into a gamemode. There are so many potential conflicts it is not even funny. With that being said you will probably have to either adapt your script or adapt the include or both. From experience it will likely be both.
Re: Nex-AC - Anticheat system -
OstGot - 19.06.2017
Quote:
Originally Posted by ax1
Player jumps from a building, logs off while he's falling, his position is saved mid air, he logs in again, his position is set to his last position in mid air, he starts falling. How is this my fault?
when player logs in and server gives him weapons from database, sometimes anti-cheat reacts to it as a weapon hack. how do I configure this include so it would be fixed?
|
It would be better if you provided the logs of all false detections that anticheat writes every time in the main log file
Respuesta: Nex-AC - Anticheat system -
lepegadore - 22.06.2017
There is a problem (sync issues i think) with money:
// Current money:
100
// GivePlayerMoney called with new money:
-50 player bought some item (-50).
Код:
[23:01:14] [Nex-AC debug] AC money: 50, money: 100, Stunt Bonus: 0, vehicleid: 0
[23:01:14] [Nex-AC] Suspicion on the ID 11. Reason code: 014
I think when it checks in OnPlayerUpdate calling: bad_GetPlayerMoney returns old value before it's
updated on client and getting a false money cheat.
Re: Respuesta: Nex-AC - Anticheat system -
DRIFT_HUNTER - 22.06.2017
Quote:
Originally Posted by lepegadore
There is a problem (sync issues i think) with money:
// Current money: 100
// GivePlayerMoney called with new money: -50 player bought some item (-50).
Код:
[23:01:14] [Nex-AC debug] AC money: 50, money: 100, Stunt Bonus: 0, vehicleid: 0
[23:01:14] [Nex-AC] Suspicion on the ID 11. Reason code: 014
I think when it checks in OnPlayerUpdate calling: bad_GetPlayerMoney returns old value before it's
updated on client and getting a false money cheat.
|
In GTA/SAMP you can only give money and reset money. You can not take it away. When you set -50, its perfectly fine with pawn's variable, but not with GivePlayerMoney function. Therefore you have player money still the same, and variable decreased = detection of cheating. That is actually expected behavior.
Respuesta: Re: Respuesta: Nex-AC - Anticheat system -
lepegadore - 22.06.2017
Quote:
Originally Posted by DRIFT_HUNTER
In GTA/SAMP you can only give money and reset money. You can not take it away. When you set -50, its perfectly fine with pawn's variable, but not with GivePlayerMoney function. Therefore you have player money still the same, and variable decreased = detection of cheating. That is actually expected behavior.
|
Thank you for your answer, but i think you're wrong (see
https://sampwiki.blast.hk/wiki/Function:GivePlayerMoney)
I guess that it should be a de-Sync error when it checks money in OnPlayerUpdate. (see
https://sampforum.blast.hk/showthread.php?tid=184118)
Re: Nex-AC - Anticheat system -
Uberanwar - 23.06.2017
Please review the TogglePlayerControllable function. When I froze someone, paused icon appears above him.
Re: Nex-AC - Anticheat system -
Banditul18 - 23.06.2017
Sometimes when a player use /assist command , the anticheat detect as a repair hack and it set the health back that was before the car repair.
PHP код:
CMD:assist(playerid, params[])
{
//Send the command to all admins so they can see it
SendAdminText(playerid, "/assist", params);
// Check if the player is the driver of a vehicle
if (GetPlayerVehicleSeat(playerid) == 0)
{
// Fully repair the vehicle (damage value and bodywork)
RepairVehicle(GetPlayerVehicleID(playerid));
// Also re-fuel the vehicle
AVehicleData[GetPlayerVehicleID(playerid)][Fuel] = MaxFuel;
// Let the player pay for the repairs and refuel (default $2000)
RewardPlayer(playerid, -400, 0);
// Let the player know he spent $2000 for auto-repair because there were no assistance players online
SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}Masina a fost reparata si realimentata pentru $400");
}
// Let the server know that this was a valid command
return 1;
}
Edit: Log:
PHP код:
[13:04:24] Simioniulian a folosit: /assist
[13:04:24] [Nex-AC debug] AC veh health: 953.588989, veh health: 1000.000000, vehicleid: 143
[13:04:24] [Nex-AC] Suspicion on the ID 0. Reason code: 011
Re: Respuesta: Nex-AC - Anticheat system -
rt-2 - 23.06.2017
Quote:
Originally Posted by lepegadore
There is a problem (sync issues i think) with money:
// Current money: 100
// GivePlayerMoney called with new money: -50 player bought some item (-50).
Код:
[23:01:14] [Nex-AC debug] AC money: 50, money: 100, Stunt Bonus: 0, vehicleid: 0
[23:01:14] [Nex-AC] Suspicion on the ID 11. Reason code: 014
I think when it checks in OnPlayerUpdate calling: bad_GetPlayerMoney returns old value before it's
updated on client and getting a false money cheat.
|
The money anticheat needs repair, see
https://github.com/NexiusTailer/Nex-AC/issues/33
Re: Nex-AC - Anticheat system -
SecretMax - 28.06.2017
I have a problem, please help.
Код:
E:\PC\SAMP Cuccok\SAMP Szerver cuccos\MyServer\pawno\include\nex-ac.inc(1586) : warning 202: number of arguments does not match definition
E:\PC\SAMP Cuccok\SAMP Szerver cuccos\MyServer\pawno\include\nex-ac.inc(1584) : warning 203: symbol is never used: "ac_addsiren"
E:\PC\SAMP Cuccok\SAMP Szerver cuccos\MyServer\pawno\include\nex-ac.inc(4505) : warning 202: number of arguments does not match definition
E:\PC\SAMP Cuccok\SAMP Szerver cuccos\MyServer\pawno\include\nex-ac.inc(4519) : error 025: function heading differs from prototype
E:\PC\SAMP Cuccok\SAMP Szerver cuccos\MyServer\pawno\include\nex-ac.inc(5624) : warning 202: number of arguments does not match definition
E:\PC\SAMP Cuccok\SAMP Szerver cuccos\MyServer\pawno\include\nex-ac.inc(5638) : error 025: function heading differs from prototype
E:\PC\SAMP Cuccok\SAMP Szerver cuccos\MyServer\pawno\include\nex-ac.inc(6366) : warning 202: number of arguments does not match definition
E:\PC\SAMP Cuccok\SAMP Szerver cuccos\MyServer\pawno\include\nex-ac.inc(6366) : warning 202: number of arguments does not match definition
E:\PC\SAMP Cuccok\SAMP Szerver cuccos\MyServer\pawno\include\nex-ac.inc(6366) : warning 202: number of arguments does not match definition
E:\PC\SAMP Cuccok\SAMP Szerver cuccos\MyServer\pawno\include\nex-ac.inc(6387) : error 025: function heading differs from prototype