SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 13/07/2015, 08:04 PM   #101
ExTaZZ69
Big Clucker
 
ExTaZZ69's Avatar
 
Join Date: Mar 2015
Location: Romania
Posts: 128
Reputation: 23
Default Re: Nex-AC - Anticheat system

i recive these errors:
PHP Code:
D:\PWNNED\pawno\include\nex-ac.inc(778) : warning 202number of arguments does not match definition
D
:\PWNNED\pawno\include\nex-ac.inc(1731) : warning 201redefinition of constant/macro (symbol "SetPlayerPos")
D:\PWNNED\pawno\include\nex-ac.inc(1758) : warning 201redefinition of constant/macro (symbol "PutPlayerInVehicle")
D:\PWNNED\pawno\include\nex-ac.inc(1776) : warning 201redefinition of constant/macro (symbol "SetVehiclePos")
D:\PWNNED\pawno\include\nex-ac.inc(3310) : warning 201redefinition of constant/macro (symbol "OnPlayerPickUpDynamicPickup")
D:\PWNNED\pawno\include\nex-ac.inc(4487) : warning 201redefinition of constant/macro (symbol "OnPlayerSelectDynamicObject")
D:\PWNNED\pawno\include\nex-ac.inc(4532) : error 025: function heading differs from prototype
w3op
.pwn(8825) : warning 209: function "ac_OnPlayerEnterDynamicRaceCP" should return a value
w3op
.pwn(15610) : warning 209: function "ac_OnPlayerClickMap" should return a value
w3op
.pwn(23553) : warning 209: function "ac_OnEnterExitModShop" should return a value
w3op
.pwn(29978) : warning 209: function "ac_OnPlayerEditAttachedObject" should return a value 
ExTaZZ69 is offline   Reply With Quote
Old 14/07/2015, 10:14 AM   #102
RaeF
Huge Clucker
 
Join Date: Dec 2014
Location: Indonesia
Posts: 261
Reputation: 27
Default Re: Nex-AC - Anticheat system

What is version of SA-MP and version of this AntiCheat do you use?
__________________
Release:

- Nothing - I dont have idea to release something.
RaeF is offline   Reply With Quote
Old 14/07/2015, 12:43 PM   #103
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 Vaishnav View Post
i am using these includes:
Quote:
Originally Posted by Gigi-The-Beast View Post
Compailer crashes with latest version 1.3:
Okay, now I totally understand what is the problem for most people. A few pages ago I wrote to try to swap include streamer and nex-ac. And indeed, after recheck I understand that only not properly include the streamer can happen crash of the compiler. Now I will add to the description it as an exception to stop these problems in future
__________________
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/07/2015, 01:22 PM   #104
kristo
Banned
 
Join Date: Jun 2012
Location: Estonia
Posts: 352
Reputation: 179
Default Re: Nex-AC - Anticheat system

I think the streamer integration doesn't work properly. Let's say that you have 10 regular pickups in the server (IDs 0-9). Then you create 10 dynamic pickups. They have IDs 1-10. In your array, data in slots 1-9 gets overwritten. Also, what happens if more dynamic pickups than 4096 (MAX_PICKUPS) are created? Array index out of bounds error.

How you could solve these problems: https://github.com/samp-incognito/sa...mer_SetIntData and E_STREAMER_EXTRA_ID - Store pickup types in dynamic memory: Jetpack is type 1, health type 2, armour type 3 and weapons weaponid + 100.
kristo is offline   Reply With Quote
Old 15/07/2015, 02:47 PM   #105
KayJ
Gangsta
 
KayJ's Avatar
 
Join Date: Apr 2014
Posts: 678
Reputation: 64
Default Re: Nex-AC - Anticheat system

Nice work
KayJ is offline   Reply With Quote
Old 15/07/2015, 08:32 PM   #106
Gigi-The-Beast
Huge Clucker
 
Join Date: Jan 2010
Posts: 223
Reputation: 25
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by OstGot View Post
Okay, now I totally understand what is the problem for most people. A few pages ago I wrote to try to swap include streamer and nex-ac. And indeed, after recheck I understand that only not properly include the streamer can happen crash of the compiler. Now I will add to the description it as an exception to stop these problems in future
Tried that, same problem.
Gigi-The-Beast is offline   Reply With Quote
Old 15/07/2015, 08:46 PM   #107
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 kvann View Post
I think the streamer integration doesn't work properly. Let's say that you have 10 regular pickups in the server (IDs 0-9). Then you create 10 dynamic pickups. They have IDs 1-10. In your array, data in slots 1-9 gets overwritten. Also, what happens if more dynamic pickups than 4096 (MAX_PICKUPS) are created? Array index out of bounds error.

How you could solve these problems: https://github.com/samp-incognito/sa...mer_SetIntData and E_STREAMER_EXTRA_ID - Store pickup types in dynamic memory: Jetpack is type 1, health type 2, armour type 3 and weapons weaponid + 100.
Thank you) I'll do it

Quote:
Originally Posted by Gigi-The-Beast View Post
Tried that, same problem.
Streamer must be the latest version
__________________
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/07/2015, 09:20 PM   #108
ExTaZZ69
Big Clucker
 
ExTaZZ69's Avatar
 
Join Date: Mar 2015
Location: Romania
Posts: 128
Reputation: 23
Default Re: Nex-AC - Anticheat system

I have the same problem as Gigi and i use streamer 2.7.7
ExTaZZ69 is offline   Reply With Quote
Old 16/07/2015, 12:46 AM   #109
bruxo00
High-roller
 
bruxo00's Avatar
 
Join Date: Oct 2012
Location: Portugal
Posts: 1,120
Reputation: 154
Default Re: Nex-AC - Anticheat system

This might be a stupid question, but where do I get the anticheat codes?

Btw, awesome anti cheat dude!!!
__________________
RELEASES

[INC] SAMPMailJS
[FS] doxIT!
[GM] Paradise City Roleplay
[TOOL] bAnticheat
[TOOL] Logs Checker
[TUTORIAL] Email confirmation system

www.mp3it.cc www.diogomartino.com
bruxo00 is offline   Reply With Quote
Old 16/07/2015, 10:02 AM   #110
Gigi-The-Beast
Huge Clucker
 
Join Date: Jan 2010
Posts: 223
Reputation: 25
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by OstGot View Post
Streamer must be the latest version
Now it is working.
I would suggest that you rename pVariables as they are mostly used in gamemodes so they create collisions with already declared variables.
I am talking about pHealth, pSpeed, pArmor etc.
Also the define SERVER_VERSION is not compatible with socket.inc -> http://forum.sa-mp.com/showthread.php?t=333934
Gigi-The-Beast 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 10:22 PM.


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