SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 26/05/2018, 02:48 AM   #971
N3cromancer
Big Clucker
 
Join Date: Feb 2015
Location: Venezuela
Posts: 109
Reputation: 10
Default Re: Nex-AC - Anticheat system

I see some warnings in the last version

nex-ac.inc(1600)

Quote:
warning 202: number of arguments does not match definition
EDIT: solved.

Now i have a little problem, if i use the anticheat, when i load the health value from the database the server dont give that value to the users, they just spawn with 15.0 HP, why?


Thanks in advance!
__________________
Need scripter? add me on discord: N3cromancer#9288

Last edited by N3cromancer; 26/05/2018 at 06:58 AM.
N3cromancer is offline   Reply With Quote
Old 01/06/2018, 03:06 AM   #972
youthinkyoufunny
Little Clucker
 
youthinkyoufunny's Avatar
 
Join Date: Oct 2017
Location: caged
Posts: 23
Reputation: 0
Default Re: Nex-AC - Anticheat system

I'm using weapon-config, would be fine If I use Nex-AC too?
youthinkyoufunny is offline   Reply With Quote
Old 01/06/2018, 12:11 PM   #973
Sasino97
High-roller
 
Sasino97's Avatar
 
Join Date: Dec 2010
Location: Italy
Posts: 1,438
Reputation: 102
Default Re: Nex-AC - Anticheat system

Hi, alternative Italian translation https://pastebin.com/25HtWVXt
Sasino97 is offline   Reply With Quote
Old 10/06/2018, 04:29 PM   #974
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 712
Reputation: 293
Default Re: Nex-AC - Anticheat system

New Version v1.9.37

Changes:
* Added warnings for anti-SpeedHack onfoot
* Rewritten anti-FlyHack onfoot with parachutist animation
* Removed protection against passenger seat spoofing when manipulating unoccupied vehicle
* Added the ability to adjust the time for zeroing the warnings for anti-SpeedHack in vehicle
* Added protection against sending an invalid position and speed for unoccupied vehicle
* AntiCheatGetDialog function now returns -1 if the specified player isn't connected
* Added "#define NO_SUSPICION_LOGS" to enable/disable logging of kick messages
* Added "#define AC_USE_PICKUP_WEAPONS" to enable/disable checks on getting weapons on default weapon pickups
* Added filtering for GetPlayerFacingAngle and GetVehicleZAngle, which now return a rotation angle of 0.0 if the player passed NaN
* Added AntiCheatKickWithDesync, AntiCheatIsKickedWithDecync functions and public OnCheatWarning, OnFloodWarning, OnNOPWarning
** For more information, see the "Functions" section in the first post of the topic

Fixes:
* Tweaked anti-flood settings
* Tweaked anti-AirBreak at short distances
* Fixed an issue when some anti-cheats could ignore the player when disabling NOP protection
* Fixed several bugs in anti-AFK Ghost
* Minor improvements and bugfixes

Download: GitHub
__________________
aka Nexius
Don't want to always check for updates of my scripts?
Include it the last, after all others
Nexius's Update Checker
OstGot is offline   Reply With Quote
Old 12/06/2018, 06:14 PM   #975
Zackster
Little Clucker
 
Join Date: Nov 2017
Posts: 2
Reputation: 0
Default Re: Nex-AC - Anticheat system

I like your anti-cheat, it is powerful and detects most of hacks and I wanted to ask, where can I check codes, because it is inconveniently to configure it in mode
Zackster is offline   Reply With Quote
Old 23/06/2018, 03:15 AM   #976
PaulCrouseVS
Little Clucker
 
PaulCrouseVS's Avatar
 
Join Date: Jan 2018
Location: Buenos Aires
Posts: 36
Reputation: 5
Default Re: Nex-AC - Anticheat system

Excelent!!!
PaulCrouseVS is offline   Reply With Quote
Old 25/06/2018, 07:28 PM   #977
PurmeX
Little Clucker
 
Join Date: Apr 2018
Posts: 6
Reputation: 0
Default Re: Nex-AC - Anticheat system

.\include\nex-ac.inc(817) : error 032: array index out of bounds (variable "ACVehInfo")
.\include\nex-ac.inc(819) : error 032: array index out of bounds (variable "ACVehInfo")
.\include\nex-ac.inc(820) : error 032: array index out of bounds (variable "ACVehInfo")
.\include\nex-ac.inc(821) : error 032: array index out of bounds (variable "ACVehInfo")
.\include\nex-ac.inc(826) : error 032: array index out of bounds (variable "ACVehInfo")
.\include\nex-ac.inc(832) : error 032: array index out of bounds (variable "ACVehInfo")
.\include\nex-ac.inc(834) : error 032: array index out of bounds (variable "ACVehInfo")
.\include\nex-ac.inc(835) : error 032: array index out of bounds (variable "ACVehInfo")
.\include\nex-ac.inc(840) : error 032: array index out of bounds (variable "ACVehInfo")
.\include\nex-ac.inc(841) : error 032: array index out of bounds (variable "ACVehInfo")
.\include\nex-ac.inc(1035) : error 032: array index out of bounds (variable "ACVehInfo")
.\include\nex-ac.inc(1389) : error 032: array index out of bounds (variable "ACVehInfo")
.\include\nex-ac.inc(1406) : error 032: array index out of bounds (variable "ACVehInfo")
.\include\nex-ac.inc(1420) : error 032: array index out of bounds (variable "ACVehInfo")
.\include\nex-ac.inc(1434) : error 032: array index out of bounds (variable "ACVehInfo")
.\include\nex-ac.inc(1440) : error 032: array index out of bounds (variable "ACVehInfo")
.\include\nex-ac.inc(1447) : error 032: array index out of bounds (variable "ACVehInfo")
.\include\nex-ac.inc(1454) : error 032: array index out of bounds (variable "ACVehInfo")
.\include\nex-ac.inc(1461) : error 032: array index out of bounds (variable "ACVehInfo")
.\include\nex-ac.inc(146 : error 032: array index out of bounds (variable "ACVehInfo")
.\include\nex-ac.inc(1474) : error 032: array index out of bounds (variable "ACVehInfo")
.\include\nex-ac.inc(3025) : error 032: array index out of bounds (variable "ACVehInfo")
.\include\nex-ac.inc(3027) : error 032: array index out of bounds (variable "ACVehInfo")
.\include\nex-ac.inc(3030) : error 032: array index out of bounds (variable "ACVehInfo")
.\include\nex-ac.inc(3031) : error 032: array index out of bounds (variable "ACVehInfo")
.\include\nex-ac.inc(3032) : error 032: array index out of bounds (variable "ACVehInfo")

Help
PurmeX is offline   Reply With Quote
Old 28/06/2018, 07:16 PM   #978
GangstaSunny.
Huge Clucker
 
GangstaSunny.'s Avatar
 
Join Date: Apr 2010
Location: Hamburg - Germany
Posts: 213
Reputation: 23
Default Re: Nex-AC - Anticheat system

I've just created a stock returning the name.
Feel free to use if you want.

PHP Code:
AntiCheatName(10);
//Will return: Anti-SpeedHack (in vehicle)

stock AntiCheatName(ac)
{
    new 
acname[128];
    switch(
ac)
    {
        case 
0:{acname="Anti-AirBreak (onfoot)";}
        case 
1:{acname="Anti-AirBreak (in vehicle)";}
        case 
2:{acname="Anti-teleport hack (onfoot)";}
        case 
3:{acname="Anti-teleport hack (in vehicle)";}
        case 
4:{acname="Anti-teleport hack (into/between vehicles)";}
        case 
5:{acname="Anti-teleport hack (vehicle to player)";}
        case 
6:{acname="Anti-teleport hack (pickups)";}
        case 
7:{acname="Anti-FlyHack (onfoot)";}
        case 
8:{acname="Anti-FlyHack (in vehicle)";}
        case 
9:{acname="Anti-SpeedHack (onfoot)";}
        case 
10:{acname="Anti-SpeedHack (in vehicle)";}
        case 
11:{acname="Anti-Health hack (in vehicle)";}
        case 
12:{acname="Anti-Health hack (onfoot)";}
        case 
13:{acname="Anti-Armour hack";}
        case 
14:{acname="Anti-Money hack";}
        case 
15:{acname="Anti-Weapon hack";}
        case 
16:{acname="Anti-Ammo hack (add)";}
        case 
17:{acname="Anti-Ammo hack (infinite)";}
        case 
18:{acname="Anti-Special actions hack";}
        case 
19:{acname="Anti-GodMode from bullets (onfoot)";}
        case 
20:{acname="Anti-GodMode from bullets (in vehicle)";}
        case 
21:{acname="Anti-Invisible hack";}
        case 
22:{acname="Anti-lagcomp-spoof";}
        case 
23:{acname="Anti-Tuning hack";}
        case 
24:{acname="Anti-Parkour mod";}
        case 
25:{acname="Anti-Quick turn";}
        case 
26:{acname="Anti-Rapid fire";}
        case 
27:{acname="Anti-FakeSpawn";}
        case 
28:{acname="Anti-FakeKill";}
        case 
29:{acname="Anti-Pro Aim";}
        case 
30:{acname="Anti-CJ run";}
        case 
31:{acname="Anti-CarShot";}
        case 
32:{acname="Anti-CarJack";}
        case 
33:{acname="Anti-UnFreeze";}
        case 
34:{acname="Anti-AFK Ghost";}
        case 
35:{acname="Anti-Full Aiming";}
        case 
36:{acname="Anti-Fake NPC";}
        case 
37:{acname="Anti-Reconnect";}
        case 
38:{acname="Anti-High ping";}
        case 
39:{acname="Anti-Dialog hack";}
        case 
40:{acname="Protection from the sandbox";}
        case 
41:{acname="Protection against an invalid version";}
        case 
42:{acname="Anti-Rcon hack";}
        case 
43:{acname="Anti-Tuning crasher";}
        case 
44:{acname="Anti-Invalid seat crasher";}
        case 
45:{acname="Anti-Dialog crasher";}
        case 
46:{acname="Anti-Attached object crasher";}
        case 
47:{acname="Anti-Weapon Crasher";}
        case 
48:{acname="Flood protection connects to one slot";}
        case 
49:{acname="Anti-flood callback functions";}
        case 
50:{acname="Anti-flood change seat";}
        case 
51:{acname="Anti-Ddos";}
        case 
52:{acname="Anti-NOP's";}
    }
    return 
acname;

__________________
Visit my Website
https://gangstasunny.de
GangstaSunny. is offline   Reply With Quote
Old 29/06/2018, 07:26 PM   #979
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 712
Reputation: 293
Default Re: Nex-AC - Anticheat system

New Version v1.9.38

Changes:
* Improved anti-Pro Aim and AFK Ghost
* Increased anti-rapid fire warnings for quick-fire weapons
* Changed default punishes for anti-pickups teleport and anti-lagcomp spoof
* Improved the mechanism for waiting for server functions to be applied when anti-NOPs is disabled
* The minimum distance for anti-teleport onfoot is increased from 30 to 40, and from 30 to 80 in vehicle
* Added warnings for protect against weapon mismatch in the hands and the one from which the player shot
* Reduced the maximum distance for anti-GodMode after which the protection ignores the player
* Increased some distances and delays because of players with high ping
* Improved protection from sending invalid data for unoccupied vehicles
* Added check for invalid damagedid in OnPlayerGiveDamage

Fixes:
* Tweaked anti-flood settings
* Fixed several bugs and anti-special actions hack
* Fixed an anti-teleport bypass when the cheater teleport to another place and back without kick while the server setting him a position
* Fixed a bug with installing an incorrect vehicle's interior when the server installed the player's interior
* Fixed a bug in the anti-teleport hack with kicks of passengers when the vehicle spawns
* Minor fixes and improvements

Download: GitHub


A topical example of setting public OnCheatDetected in your gamemode:
PHP Code:
forward OnCheatDetected(playeridip_address[], typecode);
public 
OnCheatDetected(playeridip_address[], typecode)
{
    if(
typeBlockIpAddress(ip_address0);
    else
    {
        switch(
code)
        {
            case 
561122: return 1;
            case 
14:
            {
                new 
AntiCheatGetMoney(playerid);
                
ResetPlayerMoney(playerid);
                
GivePlayerMoney(playerida);
                return 
1;
            }
            case 
32:
            {
                new 
Float:xFloat:yFloat:z;
                
AntiCheatGetPos(playeridxyz);
                
SetPlayerPos(playeridxyz);
                return 
1;
            }
            case 
40SendClientMessage(playerid, -1MAX_CONNECTS_MSG);
            case 
41SendClientMessage(playerid, -1UNKNOWN_CLIENT_MSG);
            default:
            {
                new 
strtmp[sizeof KICK_MSG];
                
format(strtmpsizeof strtmpKICK_MSGcode);
                
SendClientMessage(playerid, -1strtmp);
            }
        }
        
AntiCheatKickWithDesync(playeridcode);
    }
    return 
1;

__________________
aka Nexius
Don't want to always check for updates of my scripts?
Include it the last, after all others
Nexius's Update Checker
OstGot is offline   Reply With Quote
Old 30/06/2018, 06:09 PM   #980
FinStar
Big Clucker
 
Join Date: Nov 2013
Location: Hell :3
Posts: 149
Reputation: 0
Default Re: Nex-AC - Anticheat system

OstGot,

Anti-Godmode (onfoot/vehicle) doesn't work. I have allowed (lagcompmode 1) in server.cfg, but without effect.
FinStar is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Working AntiCheat system mrxqware Scripting Help 4 02/05/2014 11:04 AM
[Include] System AntiCheat V1.1 Glad2BeHere Includes 13 04/03/2013 07:33 PM
-AntiCheat System geohareas Scripting Help 5 08/01/2013 06:38 PM
[FilterScript] [FS] ZAdmin v1.0 | ADMIN SYSTEM + REGISTER + ANTICHEAT + ANTIFLOOD + ANTISWEAR. [ZFM]Zuc Filterscripts 24 25/05/2011 09:19 AM


All times are GMT. The time now is 02:16 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.