SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 08/05/2020, 08:16 PM   #1311
Uberanwar
Gangsta
 
Uberanwar's Avatar
 
Join Date: May 2012
Location: Malaysia
Posts: 893
Reputation: 63
Default Re: Nex-AC - Anticheat system

I get these warnings (latest version)

C:\Users\User\Desktop\SA-MP\pawno\include\Nex-AC.inc(8804) : warning 203: symbol is never used: "ac_y"
C:\Users\User\Desktop\SA-MP\pawno\include\Nex-AC.inc(8804) : warning 203: symbol is never used: "ac_x"
Uberanwar is offline   Reply With Quote
Old 08/05/2020, 09:05 PM   #1312
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 947
Reputation: 333
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by PoniStar View Post
Here is an example for cheatcode 2:

[05:29:51] [join] Raven has joined the server (2:***)
[05:30:32] [Nex-AC debug] Dist: 2741.107910, dist set: 25000.000000, speed: 0, pos x, y, z: -2673.921875, 618.980590, 14.453100, old pos x, y, z: -2.976309, 2.868435, 3.117187
[05:30:32] **[AntiCheat] Raven(2) has been kicked for teleport hack. (#2)
[05:30:32] [part] Raven has left the server (2:2)

He just login and got spawned then get kicked for cheatcode 2!
Is there any minimal code example to be able to reproduce the problem on a blank gamemode?

Quote:
Originally Posted by Uberanwar View Post
I get these warnings (latest version)

C:\Users\User\Desktop\SA-MP\pawno\include\Nex-AC.inc(8804) : warning 203: symbol is never used: "ac_y"
C:\Users\User\Desktop\SA-MP\pawno\include\Nex-AC.inc(8804) : warning 203: symbol is never used: "ac_x"
Which server version do you use? Try to update all default samp includes according to the version of samp-server executable.
__________________
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 08/05/2020, 09:22 PM   #1313
Uberanwar
Gangsta
 
Uberanwar's Avatar
 
Join Date: May 2012
Location: Malaysia
Posts: 893
Reputation: 63
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by OstGot View Post
Is there any minimal code example to be able to reproduce the problem on a blank gamemode?


Which server version do you use? Try to update all default samp includes according to the version of samp-server executable.
0.3DL, it happens when I define VectorSize.
Uberanwar is offline   Reply With Quote
Old 09/05/2020, 11:53 AM   #1314
mikalis17
Little Clucker
 
mikalis17's Avatar
 
Join Date: Jan 2012
Location: Suisse, Lausanne
Posts: 3
Reputation: 0
Default Re: Nex-AC - Anticheat system

Hi!

I got a error during the compilation can you help me.

I'm ussing the v1.9.52
and my server is run on 0.3DL

Quote:
C:\*\*\*\*\pawno\include\nex-ac.inc(2225) : error 035: argument type mismatch (argument 7)
C:\*\*\*\*\pawno\include\nex-ac.inc(3980) : warning 202: number of arguments does not match definition
C:\*\*\*\*\pawno\include\nex-ac.inc(3997) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
__________________
堪忍は一生の宝
mikalis17 is offline   Reply With Quote
Old 09/05/2020, 11:58 AM   #1315
mikalis17
Little Clucker
 
mikalis17's Avatar
 
Join Date: Jan 2012
Location: Suisse, Lausanne
Posts: 3
Reputation: 0
Default Re: Nex-AC - Anticheat system

Ok nevermind I check your old post, and update my streamer plugins and the variable: "OnPlayerGiveDamage" in my script and everything is working fine!
__________________
堪忍は一生の宝
mikalis17 is offline   Reply With Quote
Old 09/05/2020, 01:10 PM   #1316
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 947
Reputation: 333
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by Uberanwar View Post
0.3DL, it happens when I define VectorSize.
This function doesn't need to be defined. It's already declared as native since 0.3z.
__________________
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 04/06/2020, 06:32 AM   #1317
ciureaalex
Little Clucker
 
Join Date: May 2013
Posts: 10
Reputation: 0
Default Re: Nex-AC - Anticheat system

Hello, I have a compilling issue in my pawno that I do not understand at all

Code:
C:\Users\User\Desktop\test\red\pawno\include\nex-ac.inc(2193) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\test\red\pawno\include\nex-ac.inc(2193) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\test\red\pawno\include\nex-ac.inc(2191) : warning 203: symbol is never used: "priority"
C:\Users\User\Desktop\test\red\pawno\include\nex-ac.inc(2191) : warning 203: symbol is never used: "areaid"
C:\Users\User\Desktop\test\red\pawno\include\nex-ac.inc(7134) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\test\red\pawno\include\nex-ac.inc(7147) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
pawno/include next-ac files:
next-ac.inc
next-ac_en.lang

includes:
Code:
#include <a_samp>
#include <a_mysql>
#include <streamer>	
#include <playerzone>
#include <foreach>
#include <sscanf2>
#include <zcmd>
#include <mSelection>
#include <a_zones>
#include <beaZone>
#include <timerfix>
#include <dini>
#include <SRO>
#include <a_actor>
#include <fly>
#include <crashdetect>
#include <timestamptodate>
#include <playerprogress>
#include <nex-ac>
ciureaalex is offline   Reply With Quote
Old 04/06/2020, 11:11 AM   #1318
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 947
Reputation: 333
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by ciureaalex View Post
Hello, I have a compilling issue in my pawno that I do not understand at all
Update your Streamer Plugin.
__________________
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 04/06/2020, 03:57 PM   #1319
ciureaalex
Little Clucker
 
Join Date: May 2013
Posts: 10
Reputation: 0
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by OstGot View Post
Update your Streamer Plugin.
Code:
C:\Users\user\Desktop\test - Copy\red\pawno\include\nex-ac.inc(7134) : warning 202: number of arguments does not match definition
C:\Users\user\Desktop\test - Copy\red\pawno\include\nex-ac.inc(7147) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Streamer used: https://github.com/samp-incognito/sa...ses/tag/v2.9.4
ciureaalex is offline   Reply With Quote
Old 04/06/2020, 04:02 PM   #1320
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 947
Reputation: 333
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by ciureaalex View Post
Code:
C:\Users\user\Desktop\test - Copy\red\pawno\include\nex-ac.inc(7134) : warning 202: number of arguments does not match definition
C:\Users\user\Desktop\test - Copy\red\pawno\include\nex-ac.inc(7147) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Streamer used: https://github.com/samp-incognito/sa...ses/tag/v2.9.4
You are using old samp includes or you missed some arguments in one of the default callbacks
__________________
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
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 05:46 PM.


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