SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 13/05/2018, 09:44 PM   #961
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 692
Reputation: 293
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by Injury View Post
Is there any way to disable completely console messages?
I've been used "DEBUG", but it has no effect.
At the moment you can't disable the basic logs. I thought about the possibility of completely disabling them before, but there are two reasons why I still haven't done this:
1. Some users sometimes complain about supposedly false kicks of players by the anticheat, while saying that there are no logs from the anticheat when players were kicked. So it's immediately obvious for me that anticheat is not the reason and it saves my time in that cases.
2. I'm afraid that if some users completely disable logs and encounter some hard-to-reproduce problems, they will not be able to give me complete information about the error (from logs), which often help to quickly understand the causes of any problems.

Quote:
Originally Posted by must006 View Post
Is it compatible with 0.3DL-R1? If not, do you have a chance to make it compatible? Thank you.
I checked this on DL version and it seems that it doesn't need any adaptation at all.
__________________
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 14/05/2018, 06:40 AM   #962
parames3010
Big Clucker
 
parames3010's Avatar
 
Join Date: Oct 2011
Posts: 111
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   #963
RichKiez
Little Clucker
 
Join Date: Mar 2018
Posts: 22
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   #964
Uberanwar
Gangsta
 
Uberanwar's Avatar
 
Join Date: May 2012
Location: Malaysia
Posts: 817
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   #965
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 692
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   #966
RichKiez
Little Clucker
 
Join Date: Mar 2018
Posts: 22
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   #967
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   #968
MustangV10
Huge Clucker
 
Join Date: Dec 2011
Posts: 247
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   #969
Sew_Sumi
Godfather
 
Join Date: Jun 2008
Location: Azerbaijan
Posts: 5,989
Reputation: 494
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
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:04 AM.


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