SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 14/05/2018, 06:40 AM   #961
parames3010
Big Clucker
 
parames3010's Avatar
 
Join Date: Oct 2011
Posts: 112
Reputation: 4
Default Re: Nex-AC - Anticheat system

not work on 0.3.DL

how to fix this?

Quote:
[13:38:14] [Nex-AC] The anticheat version is not compatible with the current SA-MP Server
http://prntscr.com/jhjp9l
Code:
and i got some warninings
C:\Users\User\Desktop\SAMP SK\SAMP\Server\pawno\include\nex-ac.inc(1607) : warning 201: redefinition of constant/macro (symbol "AddStaticVehicle")
C:\Users\User\Desktop\SAMP SK\SAMP\Server\pawno\include\nex-ac.inc(1628) : warning 201: redefinition of constant/macro (symbol "AddStaticVehicleEx")
C:\Users\User\Desktop\SAMP SK\SAMP\Server\pawno\include\nex-ac.inc(1632) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\SAMP SK\SAMP\Server\pawno\include\nex-ac.inc(1630) : warning 203: symbol is never used: "addsiren"
C:\Users\User\Desktop\SAMP SK\SAMP\Server\pawno\include\nex-ac.inc(1649) : warning 201: redefinition of constant/macro (symbol "CreateVehicle")
C:\Users\User\Desktop\SAMP SK\SAMP\Server\pawno\include\nex-ac.inc(1817) : warning 201: redefinition of constant/macro (symbol "DestroyVehicle")
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


6 Warnings.
__________________
♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦
Information : SA:MP Thailand Users
Project : View
MyGameMode : Gta Sc 2.0
♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦
parames3010 is offline   Reply With Quote
Old 14/05/2018, 01:23 PM   #962
RichKiez
Little Clucker
 
Join Date: Mar 2018
Posts: 28
Reputation: 0
Default Re: Nex-AC - Anticheat system

I have encountered this problem

Quote:
nex-ac.inc(1753) : warning 202: number of arguments does not match definition
nex-ac.inc(1753) : warning 202: number of arguments does not match definition
nex-ac.inc(1751) : warning 203: symbol is never used: "priority"
nex-ac.inc(1751) : warning 203: symbol is never used: "areaid"
nex-ac.inc(2679) : warning 219: local variable "Vehicle" shadows a variable at a preceding level
nex-ac.inc(2679) : error 025: function heading differs from prototype
RichKiez is offline   Reply With Quote
Old 14/05/2018, 02:57 PM   #963
Uberanwar
Gangsta
 
Uberanwar's Avatar
 
Join Date: May 2012
Location: Malaysia
Posts: 826
Reputation: 62
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by RichKiez View Post
I have encountered this problem
Update your streamer plugin.
Uberanwar is offline   Reply With Quote
Old 14/05/2018, 07:36 PM   #964
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 712
Reputation: 293
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by parames3010 View Post
not work on 0.3.DL

how to fix this?

http://prntscr.com/jhjp9l
No, it works. This message just warns that you are trying to start anticheat not under the server version specified in it, so just ignore it. I don't see the need to release a separate ac version for the DL-version only with a different define, especially since the DL server version isn't represented even on the official download page (and if the developer doesn't take it seriously, then neither will I).

Quote:
Originally Posted by parames3010 View Post
Code:
and i got some warninings
C:\Users\User\Desktop\SAMP SK\SAMP\Server\pawno\include\nex-ac.inc(1607) : warning 201: redefinition of constant/macro (symbol "AddStaticVehicle")
C:\Users\User\Desktop\SAMP SK\SAMP\Server\pawno\include\nex-ac.inc(1628) : warning 201: redefinition of constant/macro (symbol "AddStaticVehicleEx")
C:\Users\User\Desktop\SAMP SK\SAMP\Server\pawno\include\nex-ac.inc(1632) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\SAMP SK\SAMP\Server\pawno\include\nex-ac.inc(1630) : warning 203: symbol is never used: "addsiren"
C:\Users\User\Desktop\SAMP SK\SAMP\Server\pawno\include\nex-ac.inc(1649) : warning 201: redefinition of constant/macro (symbol "CreateVehicle")
C:\Users\User\Desktop\SAMP SK\SAMP\Server\pawno\include\nex-ac.inc(1817) : warning 201: redefinition of constant/macro (symbol "DestroyVehicle")
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


6 Warnings.
1. Update your default includes like a_samp etc.
2. Look for redefinition of AddStaticVehicle, AddStaticVehicleEx, CreateVehicle, DestroyVehicle functions in your script or other includes and change it to ALS Hook Method 7.
__________________
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 offline   Reply With Quote
Old 15/05/2018, 11:39 AM   #965
RichKiez
Little Clucker
 
Join Date: Mar 2018
Posts: 28
Reputation: 0
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by Uberanwar View Post
Update your streamer plugin.
I have updated the Plugin Streamer and only 2 of these errors
Code:
nex-ac.inc(2679) : warning 219: local variable "Vehicle" shadows a variable at a preceding level
nex-ac.inc(2679) : error 025: function heading differs from prototype
RichKiez is offline   Reply With Quote
Old 15/05/2018, 02:51 PM   #966
must006
Little Clucker
 
Join Date: Mar 2012
Posts: 7
Reputation: 0
Default Re: Nex-AC - Anticheat system

My server version: 0.3DL-R1
My client version: 0.3DL-R1

I have this error and kicked from server.

Code:
[Nex-AC] This version of the anticheat is not suitable for the server version
[Nex-AC debug] Invalid version by ID 0. Version: 0.3.DL-R1
[Nex-AC] Suspicion on the ID 0. Reason code: 041
I use:
Code:
#include <a_samp>
#include <nex-ac>
#include <a_mysql>
#include <timerfix>
#include <streamer>
#include <easyDialog>
#include <mSelection>
#include <Pawn.CMD>
#include <sscanf2>
#include <foreach>
v1.9.36: https://pastebin.com/9NR8x576
English (EN) (v1.0 - 1.9.36): http://pastebin.com/C3HciSXK
must006 is offline   Reply With Quote
Old 17/05/2018, 07:14 PM   #967
MustangV10
Huge Clucker
 
Join Date: Dec 2011
Posts: 254
Reputation: 11
Default Re: Nex-AC - Anticheat system

Great include, thanks for providing this, it's impressive.

Two things I've noticed (maybe they can be improved):

- I'm using SetPlayerTeam and if I shoot a team mate, they'll get kicked for "Anti-GodMode from bullets (onfoot)". And, if I shoot them whilst they're in a vehicle, they'll get kicked for "Anti-GodMode from bullets (in vehicle)".

- I was standing on top of a vehicle whilst it was being driven by another player. I went AFK for a minute or two, returned and I had been kicked:

[19:04:32] [Nex-AC debug] Speed: 447, old speed: 139
[19:04:32] [Nex-AC] Suspicious player, ID 2. Reason code: 009

I assume this was a false-positive, as I nor the other player have cheats installed.
MustangV10 is offline   Reply With Quote
Old 23/05/2018, 03:37 AM   #968
Sew_Sumi
Godfather
 
Join Date: Jun 2008
Location: Azerbaijan
Posts: 6,352
Reputation: 522
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by MustangV10 View Post
- I'm using SetPlayerTeam and if I shoot a team mate, they'll get kicked for "Anti-GodMode from bullets (onfoot)". And, if I shoot them whilst they're in a vehicle, they'll get kicked for "Anti-GodMode from bullets (in vehicle)".

- I was standing on top of a vehicle whilst it was being driven by another player. I went AFK for a minute or two, returned and I had been kicked:

[19:04:32] [Nex-AC debug] Speed: 447, old speed: 139
[19:04:32] [Nex-AC] Suspicious player, ID 2. Reason code: 009

I assume this was a false-positive, as I nor the other player have cheats installed.
First SetPlayerTeam makes the team-members invulnerable to teammates shots, but not others, this is why many don't use it. You simply make an array gTeam[MAX_PLAYERS] and use that to store and check the players team.

As for you afking on top of a vehicle, that's just silly, as when you tab out you stop updating to the server, then when you tab back in, you end up updating, and thus you get the false positive.
Sew_Sumi is offline   Reply With Quote
Old 24/05/2018, 12:25 PM   #969
Dirda
Big Clucker
 
Dirda's Avatar
 
Join Date: Jan 2018
Location: Indonesia
Posts: 78
Reputation: 0
Default Re: Nex-AC - Anticheat system

How to change the version to 0.3.DL-R1
__________________
Dirda is offline   Reply With Quote
Old 24/05/2018, 12:59 PM   #970
Dirda
Big Clucker
 
Dirda's Avatar
 
Join Date: Jan 2018
Location: Indonesia
Posts: 78
Reputation: 0
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by must006 View Post
My server version: 0.3DL-R1
My client version: 0.3DL-R1

I have this error and kicked from server.

Code:
[Nex-AC] This version of the anticheat is not suitable for the server version
[Nex-AC debug] Invalid version by ID 0. Version: 0.3.DL-R1
[Nex-AC] Suspicion on the ID 0. Reason code: 041
I use:
Code:
#include <a_samp>
#include <nex-ac>
#include <a_mysql>
#include <timerfix>
#include <streamer>
#include <easyDialog>
#include <mSelection>
#include <Pawn.CMD>
#include <sscanf2>
#include <foreach>
v1.9.36: https://pastebin.com/9NR8x576
English (EN) (v1.0 - 1.9.36): http://pastebin.com/C3HciSXK
I got those errors too, Luckily, i found the solution.

1. Go to Scriptfiles > Open nex-ac_settings.cfg with notepad
2. Search for line 41 (Could be like this "1 // 41")
3. Change the "1 // 41" to "0 // 41"
4. Restart your server, Ignore the Error Messages.
__________________
Dirda 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 11:04 AM
[Include] System AntiCheat V1.1 Glad2BeHere Includes 13 04/03/2013 07:33 PM
-AntiCheat System geohareas Scripting Help 5 08/01/2013 06:38 PM
[FilterScript] [FS] ZAdmin v1.0 | ADMIN SYSTEM + REGISTER + ANTICHEAT + ANTIFLOOD + ANTISWEAR. [ZFM]Zuc Filterscripts 24 25/05/2011 09:19 AM


All times are GMT. The time now is 04:33 AM.


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