[Include] Nex-AC - Anticheat system

Quote:
Originally Posted by SecretBoss
Посмотреть сообщение
You can just remove the hooks from OnPlayerLeaveDynamicRaceCP then and just let it be there but it will may cause problems if you will need to create any code inside OnPlayerLeaveDynamicRaceCP again in future, you can just copy the code inside OnPlayerLeaveDynamicRaceCP and paste it where you have your callbacks no need for a hook
Hello SecretBoss I am developed this include. All hooked and errors fixed. Send message me.
Reply

Quote:
Originally Posted by eco1999
Посмотреть сообщение
Hello SecretBoss I am developed this include. All hooked and erros fixed. Send message me.
I don't face any problem with it, PawnHunter did and I just tried to help him, thanks for help anyway
Reply

Quote:
Originally Posted by SecretBoss
Посмотреть сообщение
I don't face any problem with it, PawnHunter did and I just tried to help him, thanks for help anyway
All hooked wrong and there are many errors.

I am fixed all of them.

https://github.com/MaxAndolini/Nex-A...ter/nex-ac.inc

and use YSI 4.

https://github.com/Misiur/YSI-Includes
Reply

Fixed.
Reply

you may have to update your other includes
Reply

Fixed.
Reply

nvm.
Reply

Очень и очень много ложных срабатываний.
Reply

Im getting this errors.
Quote:

D:\samp\SERVIDOR\pawno\include\nex-ac.inc(228 : warning 202: number of arguments does not match definition
D:\samp\SERVIDOR\pawno\include\nex-ac.inc(2302) : error 025: function heading differs from prototype
D:\samp\SERVIDOR\pawno\include\nex-ac.inc(4616) : warning 202: number of arguments does not match definition
D:\samp\SERVIDOR\pawno\include\nex-ac.inc(4630) : error 025: function heading differs from prototype
D:\samp\SERVIDOR\pawno\include\eSelection.inc(651) : warning 201: redefinition of constant/macro (symbol "OnPlayerClickPlayerTextDraw")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

Reply

I don't know if this is relevant anymore...but in case anyone was having trouble with y_hooks compatibility from YSI3 and this include, here is a quick and easy workaround:

Before nex-ac is included:
pawn Код:
#define hookmodify
Inside the nex-ac.inc, do CTRL + H to start a search and replace.
Replace "#if defined _inc_y_hooks || defined _INC_y_hooks" with "#if defined hookmodify"
Replace "#if !defined _inc_y_hooks && !defined _INC_y_hooks" with "#if !defined hookmodify"
Replace "Hook:" with "hook " <-- Note the space at the end
Reply

I fixed it now.
Reply

This should go into a plugin.
Reply

Help
Код:
D:\srw\pawno\include\nex-ac.inc(2288) : warning 202: number of arguments does not match definition
D:\srw\pawno\include\nex-ac.inc(2302) : error 025: function heading differs from prototype
D:\srw\pawno\include\nex-ac.inc(4616) : warning 202: number of arguments does not match definition
D:\srw\pawno\include\nex-ac.inc(4630) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply

Bugs:

When airbreaking (on foot), detected as teleport hack (on foot).
Buying weapons sometimes detect as Ammo Hack (add)
Entering vehicles sometimes detected as Teleport Hack (into/between vehicles)
Detected as hacking NOP/Illegal Patches upon spawn (always happen)
Reply

Quote:
Originally Posted by Uberanwar
Посмотреть сообщение
There's a false positive on special actions hack detection.
What special actions did you use at a time?

Quote:
Originally Posted by N3cromancer
Посмотреть сообщение
Thanks for the update, im getting kick code #006 after login -> spawn. what will be the problem?
Maybe you use streamer pickups added from filterscript.

Quote:
Originally Posted by Uberanwar
Посмотреть сообщение
Entering vehicles sometimes detected as Teleport Hack (into/between vehicles)
For which vehicle model(s) it has been observed?

Quote:
Originally Posted by Uberanwar
Посмотреть сообщение
Detected as hacking NOP/Illegal Patches upon spawn (always happen)
Which code do you see?

P.s. If you find a bug - please, describe more specifically.
Reply

Quote:
Originally Posted by OstGot
Посмотреть сообщение
What special actions did you use at a time?
Maybe you use streamer pickups added from filterscript.
I dont have filterscripts in my server atm, is very rare, when i install the nex-ac i dont get problems, but when i exit from an store in-game to the city, the anticheat kick me then after that i can't login now i only get the #006 code.
Reply

1. Jetpack
2. 576 (Tornado)
3. 52
Reply

I got detected as ammo hacking (add) too, although I don't hack it.
Happened when I was buying a weapon in an ammu.
Reply

New Version v1.9.8
Changes:
* AntiCheatGet* functions are now can be called from filterscripts
* Faster call hooked functions from GameMode
* Rewritten anti-money hack

Fixes:
* Fixed a bypass in anti-ammo hack for high-rate weapons
* Fixed a bypass in the anti-teleport with the ability to teleport after changing interior by server
* Fixed a bug in the anti-weapon hack with a kick when buying weapons in Ammu-Nation for the wrong price
* Fixed a bug in the protection against NOPs with a kick for take a similar weapons
* Fixed compilation errors when included in filterscript

Download: See the first post

Updated
Quote:
Originally Posted by Description
Посмотреть сообщение
Also keep in mind that filterscript must have "#define FILTERSCRIPT" before including anticheat
Reply

Great updates bro, will test it out and will report bugs if any.

--
Bugs:
Everytime I spawn, detected as money hack.
* Will be checking out for other bugs.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)