Anti cheat
#1

Hi..

i Have cnr Game mode but that dont have Anti cheat

i tested nex-ac but dont work !!!

there are a Good anti cheat? pls Give me Download link
Reply
#2

Nex-AC is good,what's not working?
Reply
#3

the best anti cheat you can own is the one you make and develop until it gets perfect. Check nex-ac and see whats working and whats not working try to understand the code blocks you see in the nex-ac and what do they do and create something personalized for your own needs dont use something thats for general purpose.
Reply
#4

Look at a general purpose anti-cheat and grab the code and edit it to suit your script.
Reply
#5

see this:
C:\Users\Amirabbas\Desktop\PersianGame\PersianGame \pawno\include\nex-ac.inc(1511) : error 017: undefined symbol "GetConsoleVarAsBool"
C:\Users\Amirabbas\Desktop\PersianGame\PersianGame \pawno\include\nex-ac.inc(2842) : error 017: undefined symbol "GetConsoleVarAsBool"
C:\Users\Amirabbas\Desktop\PersianGame\PersianGame \pawno\include\nex-ac.inc(284 : error 017: undefined symbol "GetConsoleVarAsInt"
C:\Users\Amirabbas\Desktop\PersianGame\PersianGame \pawno\include\nex-ac.inc(2861) : error 017: undefined symbol "GetConsoleVarAsString"
C:\Users\Amirabbas\Desktop\PersianGame\PersianGame \pawno\include\nex-ac.inc(2861) : warning 202: number of arguments does not match definition
C:\Users\Amirabbas\Desktop\PersianGame\PersianGame \pawno\include\nex-ac.inc(3037 -- 303 : error 017: undefined symbol "GetConsoleVarAsInt"
C:\Users\Amirabbas\Desktop\PersianGame\PersianGame \pawno\include\nex-ac.inc(3271) : warning 202: number of arguments does not match definition
C:\Users\Amirabbas\Desktop\PersianGame\PersianGame \pawno\include\nex-ac.inc(3285) : error 025: function heading differs from prototype
C:\Users\Amirabbas\Desktop\PersianGame\PersianGame \pawno\include\nex-ac.inc(3306) : warning 202: number of arguments does not match definition
C:\Users\Amirabbas\Desktop\PersianGame\PersianGame \pawno\include\nex-ac.inc(3320) : error 025: function heading differs from prototype

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


7 Errors.

i put the nex-ac.inc and nex-ac_en.lang in the pawno>include

and after #include <a_samp> i typed #include <nex-ac>

ex:

#include <a_samp>
#include <nex-ac>

how to fix it?
Reply
#6

I literally just goуgled it for not more than 5 seconds and this came up http://forum.sa-mp.com/showpost.php?...&postcount=142
You should use R2 version of sa-mp server.
Reply
#7

i installed r2 samp server

but 7 error is now 2 error

see this:
C:\Users\Amirabbas\Desktop\PersianGame\PersianGame \pawno\include\nex-ac.inc(3271) : warning 202: number of arguments does not match definition
C:\Users\Amirabbas\Desktop\PersianGame\PersianGame \pawno\include\nex-ac.inc(3285) : error 025: function heading differs from prototype
C:\Users\Amirabbas\Desktop\PersianGame\PersianGame \pawno\include\nex-ac.inc(3306) : warning 202: number of arguments does not match definition
C:\Users\Amirabbas\Desktop\PersianGame\PersianGame \pawno\include\nex-ac.inc(3320) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

now how to fix it?
Reply
#8

Quote:
Originally Posted by hamrlg
Посмотреть сообщение
i installed r2 samp server

but 7 error is now 2 error

see this:
C:\Users\Amirabbas\Desktop\PersianGame\PersianGame \pawno\include\nex-ac.inc(3271) : warning 202: number of arguments does not match definition
C:\Users\Amirabbas\Desktop\PersianGame\PersianGame \pawno\include\nex-ac.inc(3285) : error 025: function heading differs from prototype
C:\Users\Amirabbas\Desktop\PersianGame\PersianGame \pawno\include\nex-ac.inc(3306) : warning 202: number of arguments does not match definition
C:\Users\Amirabbas\Desktop\PersianGame\PersianGame \pawno\include\nex-ac.inc(3320) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

now how to fix it?
answer me pls
Reply
#9

can you show us these lines 3271, 3285,3306,3320
Reply
#10

3271: PlayerPlaySound(playerid,5453,0.0,0.0,0.0);
3285: CreateObject(3117, 527.388671875, -2431, 1203.025390625, 0, 0, 0);
3306: CreateObject(9819, 542.25457763672, -2437.5654296875, 1203.9002685547, 0, 0, 270.2702636718;
3320: CreateObject(1242, 534.58074951172, -2432.4663085938, 1204.0692138672, 0, 0, 338.1201171875);

that codes is in the My pwn Game mode

Now? What problem and how fix?
Reply
#11

1.You have missed an argument
Example: when u send a message
SCM(playerid, "fuck); //here 1 argument is missing it is color... Like wise in such cases it gives the error
[Number of arguments does not match the definition]
2.Your heading maybe changed I think (in callbacks)
Example: your callback is "public OnGameModeInit" but the correct one is "public OnGameModeInit()" .. You missed the
brackets there. Like wise in such places it gives the error [ function heading differs from prototype]
While compiling

*now find the error points your self errors must be at those line areas not exactly them (around 3200 - 3400)
Reply
#12

that problem is from ac and now i fixed it.

thank you ..

My eng is bad? sry
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)