SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 01/07/2015, 03:17 PM   #11
Jimmy0wns
Gangsta
 
Join Date: Sep 2012
Location: Netherlands
Posts: 770
Reputation: 208
Default Re: Nex-AC - Anticheat system

Quote:
The settings is located in a separate file (scriptfiles\nex-ac_settings.cfg)
Would you mind including it?
Jimmy0wns is offline   Reply With Quote
Old 01/07/2015, 03:32 PM   #12
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 599
Reputation: 247
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by Jimmy0wns View Post
Would you mind including it?
This file is created automatically when you first start the server with the anticheat
__________________
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 online now   Reply With Quote
Old 01/07/2015, 03:43 PM   #13
SecretBoss
Gangsta
 
SecretBoss's Avatar
 
Join Date: Dec 2014
Location: Greece
Posts: 831
Reputation: 102
Default Re: Nex-AC - Anticheat system

Is there any way to disable some detections? Or I have to delete that parts?
__________________
SecretBoss is offline   Reply With Quote
Old 01/07/2015, 03:53 PM   #14
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 599
Reputation: 247
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by SecretBoss View Post
Is there any way to disable some detections? Or I have to delete that parts?
Oh yes, you can easily disable one of the anti-cheat:
1. In the configuration file and then restart the server
2. In the game. But first you need to add commands in your mode. Cmd will use the EnableAntiCheat(acid, enable) or EnableAntiCheatForPlayer(playerid, acid, enable) function.
__________________
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 online now   Reply With Quote
Old 01/07/2015, 04:00 PM   #15
SecretBoss
Gangsta
 
SecretBoss's Avatar
 
Join Date: Dec 2014
Location: Greece
Posts: 831
Reputation: 102
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by OstGot View Post
Oh yes, you can easily disable one of the anti-cheat:
1. In the configuration file and then restart the server
2. In the game. But first you need to add commands in your mode. Cmd will use the EnableAntiCheat(acid, enable) or EnableAntiCheatForPlayer(playerid, acid, enable) function.
I just want to use the anti-crasher because and health hacks ( I already have an Anti Health Hack on my script but its not working for invulnerable hacks) so can I use only that 2 detections?
__________________
SecretBoss is offline   Reply With Quote
Old 01/07/2015, 04:17 PM   #16
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 599
Reputation: 247
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by SecretBoss View Post
I just want to use the anti-crasher because and health hacks ( I already have an Anti Health Hack on my script but its not working for invulnerable hacks) so can I use only that 2 detections?
If I understand correctly, every anticheat you can enable/disable in his personal detection code (see them in the source files).
And anti-health hack and the crashers and the god mode have different detection codes
__________________
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 online now   Reply With Quote
Old 01/07/2015, 04:17 PM   #17
Carper
Little Clucker
 
Carper's Avatar
 
Join Date: Oct 2013
Posts: 39
Reputation: 5
Default AW: Nex-AC - Anticheat system

When I use
Code:
#define OnCheatDetected
I get this error(s):
Code:
nex-ac.inc(743) : warning 202: number of arguments does not match definition
nex-ac.inc(760) : warning 202: number of arguments does not match definition
nex-ac.inc(4262) : warning 215: expression has no effect
test.pwn(1145) : error 001: expected token: "-identifier-", but found "("
test.pwn(1148) : error 010: invalid function or declaration
test.pwn(1150) : error 010: invalid function or declaration
test.pwn(1152) : error 054: unmatched closing brace ("}")
test.pwn(1153) : error 010: invalid function or declaration
test.pwn(1155) : error 054: unmatched closing brace ("}")
test.pwn(1156) : error 010: invalid function or declaration
test.pwn(1158) : error 054: unmatched closing brace ("}")
test.pwn(1159) : error 010: invalid function or declaration
test.pwn(1161) : error 054: unmatched closing brace ("}")
test.pwn(1162) : error 010: invalid function or declaration
test.pwn(1164) : error 054: unmatched closing brace ("}")
test.pwn(1165) : error 010: invalid function or declaration
test.pwn(1167) : error 054: unmatched closing brace ("}")
test.pwn(1168) : error 010: invalid function or declaration
test.pwn(1170) : error 054: unmatched closing brace ("}")
test.pwn(1171) : error 010: invalid function or declaration
test.pwn(1173) : error 054: unmatched closing brace ("}")
test.pwn(1174) : error 010: invalid function or declaration
test.pwn(1176) : error 054: unmatched closing brace ("}")
test.pwn(1177) : error 010: invalid function or declaration
test.pwn(1179) : error 054: unmatched closing brace ("}")
test.pwn(1180) : error 010: invalid function or declaration
test.pwn(1182) : error 054: unmatched closing brace ("}")
test.pwn(1183) : error 010: invalid function or declaration
test.pwn(1185) : error 054: unmatched closing brace ("}")
Carper is offline   Reply With Quote
Old 01/07/2015, 04:28 PM   #18
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 599
Reputation: 247
Default Re: AW: Nex-AC - Anticheat system

Quote:
Originally Posted by Carper View Post
When I use
Code:
#define OnCheatDetected
I get error(s)
You must declare the public using forward
And yes, you may have already forwarded a similar public..
It is necessary to check this
__________________
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 online now   Reply With Quote
Old 01/07/2015, 04:30 PM   #19
SecretBoss
Gangsta
 
SecretBoss's Avatar
 
Join Date: Dec 2014
Location: Greece
Posts: 831
Reputation: 102
Default Re: Nex-AC - Anticheat system

Code:
nex-ac.inc(741) : warning 202: number of arguments does not match definition
nex-ac.inc(758) : warning 202: number of arguments does not match definition
nex-ac.inc(923) : error 017: undefined symbol "GetPlayerPoolSize"
nex-ac.inc(1648) : warning 201: redefinition of constant/macro (symbol "RepairVehicle")
nex-ac.inc(1742) : error 017: undefined symbol "GetPlayerPoolSize"
nex-ac.inc(1808) : error 017: undefined symbol "BlockIpAddress"
nex-ac.inc(1935) : error 025: function heading differs from prototype
nex-ac.inc(1939) : warning 202: number of arguments does not match definition
nex-ac.inc(1952) : error 025: function heading differs from prototype
nex-ac.inc(2831) : error 017: undefined symbol "VectorSize"
nex-ac.inc(3157) : error 017: undefined symbol "GetPlayerLastShotVectors"
nex-ac.inc(3709) : warning 201: redefinition of constant/macro (symbol "OnVehicleDamageStatusUpdate")
nex-ac.inc(3714) : warning 235: public function lacks forward declaration (symbol "OnVehicleSirenStateChange")
nex-ac.inc(3770) : error 025: function heading differs from prototype
nex-ac.inc(3810) : warning 202: number of arguments does not match definition
nex-ac.inc(3810) : warning 202: number of arguments does not match definition
nex-ac.inc(3810) : warning 202: number of arguments does not match definition
nex-ac.inc(3810) : warning 202: number of arguments does not match definition
nex-ac.inc(3810) : warning 202: number of arguments does not match definition
nex-ac.inc(3810) : warning 202: number of arguments does not match definition
nex-ac.inc(3832) : error 025: function heading differs from prototype
nex-ac.inc(3859) : error 017: undefined symbol "NetStats_MessagesRecvPerSecond"
nex-ac.inc(3971) : error 017: undefined symbol "BlockIpAddress"
nex-ac.inc(4056) : error 017: undefined symbol "VectorSize"
nex-ac.inc(4056) : warning 203: symbol is never used: "vZ"
nex-ac.inc(4056) : warning 203: symbol is never used: "vY"
nex-ac.inc(4056) : warning 203: symbol is never used: "vX"
dealer.inc(191) : warning 209: function "ac_OnVehiclePaintjob" should return a value
dealer.inc(213) : warning 209: function "ac_OnVehicleRespray" should return a value
dealer.inc(416) : warning 209: function "ac_OnVehicleDeath" should return a value
All of the above errors/warnings appeared when I included the nex-ac.inc, I checked it before including it
__________________
SecretBoss is offline   Reply With Quote
Old 01/07/2015, 04:31 PM   #20
Carper
Little Clucker
 
Carper's Avatar
 
Join Date: Oct 2013
Posts: 39
Reputation: 5
Default AW: Re: AW: Nex-AC - Anticheat system

Quote:
Originally Posted by OstGot View Post
You must declare the public using forward
And yes, you may have already forwarded a similar public..
It is necessary to check this
I get the self errors:
Code:
error 010: invalid function or declaration
error 054: unmatched closing brace ("}")
Carper 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 12:04 PM
[Include] System AntiCheat V1.1 Glad2BeHere Includes 13 04/03/2013 08:33 PM
-AntiCheat System geohareas Scripting Help 5 08/01/2013 07:38 PM
[FilterScript] [FS] ZAdmin v1.0 | ADMIN SYSTEM + REGISTER + ANTICHEAT + ANTIFLOOD + ANTISWEAR. [ZFM]Zuc Filterscripts 24 25/05/2011 10:19 AM


All times are GMT. The time now is 07:07 PM.


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