[Include] Nex-AC - Anticheat system

When i compile it... show this warnings...
Код:
nex-ac.inc(2372) : warning 201: redefinition of constant/macro (symbol "RepairVehicle")
Mode.pwn(67169) : warning 235: public function lacks forward declaration (symbol "OnCheatDetected")
the second warning is when i try to use OnCheatDetected in my mode.
Reply

All of those animations are used for fly hacking nowadays?

Can anyone confirm?
Reply

Quote:
Originally Posted by DavidZvla
Посмотреть сообщение
When i compile it... show this warnings...
Код:
nex-ac.inc(2372) : warning 201: redefinition of constant/macro (symbol "RepairVehicle")
Mode.pwn(67169) : warning 235: public function lacks forward declaration (symbol "OnCheatDetected")
the second warning is when i try to use OnCheatDetected in my mode.
About second warning: it's just because you need to declare OnCheatDetected (by forward) in your script.
And about the first one: find any other includes that connected before anticheat and which use the hook of RepairVehicle function inside it. Then just make this hook in ALS Hook Method 7 style.

Quote:
Originally Posted by Kar
Посмотреть сообщение
All of those animations are used for fly hacking nowadays?
Yes, I think you can check it yourself by downloading the most popular sobs with different flyhack animations.
There is only one flyhack animation which is used less often (1058 - animation like "the player is sitting in the car", but his state is onfoot), but I think it is still used in some cleo.
Reply

I resolved the warnings but i get another problem...

I use windows, in my local server everything runs normal.. and i configure the anti cheat by my way with messages to admins and kicks in the callback OnCheatDetected... everything works good.. any problem or error in the console..

The problem start when i restart my server in my host (linux) the server runs for a couple minutes or seconds and then crash.

This is the message in the console:

Код:
[debug] Server crashed while executing Mode.amx
[debug] AMX backtrace:
[debug] #0 00000005 in OnPlayerConnect (playerid=4, ... <1073741822 arguments>) at <unknown file>:0
[debug] #1 00013d44 in public OnPlayerConnect () at \pawno\include\YSI\..\YSI_Storage\..\YSI_Coding\..\YSI_Internal\y_cgen.inc:114
Do you have any idea why this happens?
Thanks for your help in advance
Reply

Quote:
Originally Posted by DavidZvla
Посмотреть сообщение
I resolved the warnings but i get another problem...

I use windows, in my local server everything runs normal.. and i configure the anti cheat by my way with messages to admins and kicks in the callback OnCheatDetected... everything works good.. any problem or error in the console..

The problem start when i restart my server in my host (linux) the server runs for a couple minutes or seconds and then crash.

This is the message in the console:

Код:
[debug] Server crashed while executing Mode.amx
[debug] AMX backtrace:
[debug] #0 00000005 in OnPlayerConnect (playerid=4, ... <1073741822 arguments>) at <unknown file>:0
[debug] #1 00013d44 in public OnPlayerConnect () at \pawno\include\YSI\..\YSI_Storage\..\YSI_Coding\..\YSI_Internal\y_cgen.inc:114
Do you have any idea why this happens?
Thanks for your help in advance
Try to update your YSI version to 4
Reply

Quote:
Originally Posted by OstGot
Посмотреть сообщение
I do that but the same issue still there.
Reply

Quote:
Originally Posted by DavidZvla
Посмотреть сообщение
I do that but the same issue still there.
Show your list of includes
Reply

Quote:
Originally Posted by OstGot
Посмотреть сообщение
Show your list of includes
Here is my include list...

Код:
#include <a_samp>
#include <crashdetect>
#include <a_mysql>
#include <YSI\y_ini>
#include <YSI\y_timers>
//#include <YSI\y_hooks>
#include <streamer>
//#include <Nex-ac>
#include <FuckCleo>
#include <foreach>
#include <float>
#include <progress2>
#include <seif_walk>
#include <a_actor>
#include <core>
#include <a_zones>
#include <yom_buttons>
#include <dini>
#include <sscanf>
#include <zcmd>
#include <msel>
#include <dof2>
y_hooks and Nex-AC is commented because i'm not using it right now, for the problem in my linux host.
Reply

Quote:
Originally Posted by DavidZvla
Посмотреть сообщение
This is the message in the console:

Код:
[debug] Server crashed while executing Mode.amx
[debug] AMX backtrace:
[debug] #0 00000005 in OnPlayerConnect (playerid=4, ... <1073741822 arguments>) at <unknown file>:0
[debug] #1 00013d44 in public OnPlayerConnect () at \pawno\include\YSI\..\YSI_Storage\..\YSI_Coding\..\YSI_Internal\y_cgen.inc:114
Well, I waited a few days with my test server on the hosting before this problem actually happened to me too.
And, as it seems to me, the problem is exclusively in YSI code (which is confirmed by the fact that crashdetect originally pointed to one of its libraries i.e. y_cgen.inc (line 114) and I can suppose that y_hooks calls this). Also, when anticheat is included without using all the includes that you provided (especially YSI), it works without any problems...
Reply

The parkour mod detector does not work well. And I got detected using parkour mod if I use this animation -

case 1: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_COUCH_LOOP_W", 4.1, 1, 0, 0, 0, 0, 1);
case 2: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_COUCH_LOOP_P", 4.1, 1, 0, 0, 0, 0, 1);
case 3: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_STAND_LOOP_W", 4.1, 1, 0, 0, 0, 0, 1);
case 4: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_STAND_LOOP_P", 4.1, 1, 0, 0, 0, 0, 1);
Reply

Quote:
Originally Posted by Uberanwar
Посмотреть сообщение
The parkour mod detector does not work well. And I got detected using parkour mod if I use this animation -

case 1: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_COUCH_LOOP_W", 4.1, 1, 0, 0, 0, 0, 1);
case 2: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_COUCH_LOOP_P", 4.1, 1, 0, 0, 0, 0, 1);
case 3: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_STAND_LOOP_W", 4.1, 1, 0, 0, 0, 0, 1);
case 4: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_STAND_LOOP_P", 4.1, 1, 0, 0, 0, 0, 1);
Anti-parkour mod detects only parkour mods, whose animations unknown for the server and at the moment it is disabled by default, just because animations of sexual nature (which apparently were cut from the game with patches) are defined by the server as unknown.
Reply

Noted. Recently I am aware of the gamespeed hack whereby cheaters will alternatively use that to replace airbreak/cj run so that they will not detected by the security system. Hope you can include that soon in the future.
Reply

Quote:
Originally Posted by Uberanwar
Посмотреть сообщение
Noted. Recently I am aware of the gamespeed hack whereby cheaters will alternatively use that to replace airbreak/cj run so that they will not detected by the security system. Hope you can include that soon in the future.
At the moment, anticheat partially detects the gamespeed at very high speeds, when the player tries to jump on something (detects as airbreak). And although this is clearly not enough, I don't know is there any other safe ways to detect this cheat for now.


New Version v1.9.32
Changes:
* Added OnTrailerUpdate desync after the kick of cheater for the delay time (for r2 server version)
* Added exclusion checks for NPCs in some publics

Fixes:
* Fixed prices for some tuning components in default modshops

Download: GitHub
Reply

Hello, i tried to add this anticheat to my server but i got this errors, tried updating YSI to 4.0 but same error.

Код:
\pawno\include\nex-ac.inc(1000) : error 017: undefined symbol "foreach"
\pawno\include\nex-ac.inc(1000) : error 029: invalid expression, assumed zero
\pawno\include\nex-ac.inc(1000) : error 017: undefined symbol "ac_i"
\pawno\include\nex-ac.inc(1000) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
My includes:
Код:
#include <a_samp>
#include <dudb>
#include <CPLoader>
#include <a_mysql>
#include <streamer>
#include <sscanf2>
#include <foreach>
#include <nex-ac>
#include <playerprogress>
#include <seif_walk>
#include <mSelection>
#include <skillbar>
#include <DineroEnSuelo>
Thanks for all.
Reply

Quote:
Originally Posted by ranslsad
Посмотреть сообщение
Hello, i tried to add this anticheat to my server but i got this errors, tried updating YSI to 4.0 but same error.

Код:
\pawno\include\nex-ac.inc(1000) : error 017: undefined symbol "foreach"
\pawno\include\nex-ac.inc(1000) : error 029: invalid expression, assumed zero
\pawno\include\nex-ac.inc(1000) : error 017: undefined symbol "ac_i"
\pawno\include\nex-ac.inc(1000) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
My includes:
Код:
#include <a_samp>
#include <dudb>
#include <CPLoader>
#include <a_mysql>
#include <streamer>
#include <sscanf2>
#include <foreach>
#include <nex-ac>
#include <playerprogress>
#include <seif_walk>
#include <mSelection>
#include <skillbar>
#include <DineroEnSuelo>
Thanks for all.
Код:
#include <a_samp>
#include <streamer>
#include <foreach>
#include <nex-ac>
#include <dudb>
#include <CPLoader>
#include <a_mysql>
#include <sscanf2>
#include <playerprogress>
#include <seif_walk>
#include <mSelection>
#include <skillbar>
#include <DineroEnSuelo>
Reply

Is this available for 0.3.8 RC4?
Reply

Thanks for reply, but still same error.

Код:
...\nex-ac.inc(1000) : error 017: undefined symbol "foreach"
...\nex-ac.inc(1000) : error 029: invalid expression, assumed zero
...\nex-ac.inc(1000) : error 017: undefined symbol "ac_i"
...\nex-ac.inc(1000) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Quote:
Originally Posted by Sunehildeep
Посмотреть сообщение
Код:
#include <a_samp>
#include <streamer>
#include <foreach>
#include <nex-ac>
#include <dudb>
#include <CPLoader>
#include <a_mysql>
#include <sscanf2>
#include <playerprogress>
#include <seif_walk>
#include <mSelection>
#include <skillbar>
#include <DineroEnSuelo>
Reply

Quote:
Originally Posted by ranslsad
Посмотреть сообщение
Thanks for reply, but still same error.

Код:
...\nex-ac.inc(1000) : error 017: undefined symbol "foreach"
...\nex-ac.inc(1000) : error 029: invalid expression, assumed zero
...\nex-ac.inc(1000) : error 017: undefined symbol "ac_i"
...\nex-ac.inc(1000) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Update your foreach to this one (or this one), or use y_iterate from YSI 4.
Reply

Quote:
Originally Posted by Sunehildeep
Посмотреть сообщение
Код:
#include <a_samp>
#include <streamer>
#include <foreach>
#include <nex-ac>
#include <dudb>
#include <CPLoader>
#include <a_mysql>
#include <sscanf2>
#include <playerprogress>
#include <seif_walk>
#include <mSelection>
#include <skillbar>
#include <DineroEnSuelo>
He have the = error, update the foreach and say have more problems...
Reply

Quote:
Originally Posted by OstGot
Посмотреть сообщение
Update your foreach to this one (or this one), or use y_iterate from YSI 4.
Thanks for support, now i have this errors:

Код:
\nex-ac.inc(3149) : warning 202: number of arguments does not match definition
\nex-ac.inc(3163) : error 025: function heading differs from prototype
Reply


Forum Jump:


Users browsing this thread: 14 Guest(s)