[Include] Nex-AC - Anticheat system

Quote:
Originally Posted by Leaky
View Post
Went ahead and tested this with a mod menu, teleport wasn't detected and god mod, will there be a update which can fix these?
They're both detected, you just should:
As for anti-teleport, DisableInteriorEnterExits turns on an additional check for long distance teleport (without this it will detect only short distance teleports)
And as for anti-godmode, it detects only bullet invulnerability, so try to damage a player with some short delays between shots from bullet weapon.
Reply

Can you help me? I have tried all the methods of solution but I continue with these errors:

[pawn] warning 202: number of arguments does not match definition
error 025: function heading differs from prototype [/ pawn]

My Includes:
pawn Code:
#include <a_samp>
#include "../include/sscanf2.inc"
#include <nex-ac>
#include "../include/streamer.inc"
#include "../include/colandreas.inc"
#include "../include/regex.inc"
#include "../include/yoursql.inc"
#include "../include/attachmentfix.inc"
#include "../include/kickbanfix.inc"
#include "../include/colors.inc"
#include "../include/spectate.inc"
#include "../include/gangzones.inc"
#include "../include/izcmd.inc"
#include "../include/foreach.inc"
#include "../include/progress2.inc"
#include "../include/spikestrip.inc"
#include "../include/timestamptodate.inc"
Reply

Quote:
Originally Posted by SkyHDTV
View Post
pawn Code:
warning 202: number of arguments does not match definition
error 025: function heading differs from prototype
Find those lines on which you get the errors, you probably should see some callback name on each of that line. After that, check this callback's arguments in your gamemode and other scripts for its relevance and compliance with the arguments that are declared in the default samp includes for this callback.
Reply

I managed to solve the error of the prototype added this line in my gm

pawn Code:
public OnPlayerClickPlayer (playerid, clickedplayerid, source)
It compiled normally without errors, but when typing a command in game, nothing happens, no message appears and the command does not execute.
Reply

Quote:
Originally Posted by SkyHDTV
View Post
I managed to solve the error of the prototype added this line in my gm

pawn Code:
public OnPlayerClickPlayer (playerid, clickedplayerid, source)
It compiled normally without errors, but when typing a command in game, nothing happens, no message appears and the command does not execute.
Download and add crashdetect to your plugins to see if something fails while the script is executing.
Reply

Quote:
Originally Posted by OstGot
View Post
Download and add crashdetect to your plugins to see if something fails while the script is executing.
I just installed the crashdetect plugin, but there are no errors in the console/server_log.txt.
In game I type a command and nothing happens, as if it were an empty command with nothing.
Only RCON command works for example /rcon login or /rcon ban etc ...

Is there a problem with izcmd?

My Includes:
#include <a_samp>
#include "../include/sscanf2.inc"
#include "../include/foreach.inc"
#include "../include/izcmd.inc"
#include "../include/streamer.inc"
#include "../include/yoursql.inc"
//#include <nex-ac>
#include "../include/colandreas.inc"
#include "../include/regex.inc"
#include "../include/attachmentfix.inc"
#include "../include/kickbanfix.inc"
#include "../include/colors.inc"
#include "../include/spectate.inc"
#include "../include/gangzones.inc"
#include "../include/progress2.inc"
#include "../include/spikestrip.inc"
#include "../include/timestamptodate.inc"
Reply

Quote:
Originally Posted by OstGot
View Post
Download and add crashdetect to your plugins to see if something fails while the script is executing.
Now the following errors appeared in the debug

[10:52:58] [debug] #3 000204d4 in public OnDialogResponse (playerid=0, dialogid=2, response=1, listitem=-1, inputtext[]=@008b2ccc "mypassword**") at C:\Users\Administrator\Desktop\SAMP\pawno\include\ nex-ac.inc:4052
Reply

Quote:
Originally Posted by SkyHDTV
View Post
Now the following errors appeared in the debug

[10:52:58] [debug] #3 000204d4 in public OnDialogResponse (playerid=0, dialogid=2, response=1, listitem=-1, inputtext[]=@008b2ccc "mypassword**") at C:\Users\Administrator\Desktop\SAMP\pawno\include\ nex-ac.inc:4052
Check the other logs that gives you crashdetect as the line its triggered in the ac it's just a hook for public OnDialogResponse in your gamemode:
PHP Code:
    #if defined ac_OnDialogResponse
        
return ac_OnDialogResponse(playeriddialogidresponselistiteminputtext); //4052
    #else
        
return 0;
    
#endif 
Reply

Is it possible to disable anti-flood protection in OnDialogResponse?
Reply

Quote:
Originally Posted by SkyHDTV
View Post
Is it possible to disable anti-flood protection in OnDialogResponse?
Check here: https://github.com/NexiusTailer/Nex-...eatcode-enable

You can disable any anticheat
Reply

Quote:
Originally Posted by rt-2
View Post
Check here: https://github.com/NexiusTailer/Nex-...eatcode-enable

You can disable any anticheat
Could you show me an example of how I would do this with a code?

How do I find the IDS list?

pawn Code:
EnableAntiCheat (code, enable)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)