[Include] Nex-AC - Anticheat system

Quote:
Originally Posted by ranslsad
Посмотреть сообщение
Thanks for support, now i have this errors:

Код:
\nex-ac.inc(3149) : warning 202: number of arguments does not match definition
\nex-ac.inc(3163) : error 025: function heading differs from prototype
Find this public in your script:
PHP код:
public OnPlayerGiveDamage(playeriddamagedidamountweaponidbodypart
and make sure that all its parameters are the same as above.
Reply

I try to repair and to adapt my GM to your anticheat script 'cause work very well...

Do you have some solution for this without using y_hooks?

Код:
pawno\include\nex-ac.inc(2782) : error 021: symbol already defined: "@yH_OnPlayerConnect@004"
pawno\include\nex-ac.inc(2888) : error 021: symbol already defined: "@yH_OnPlayerDisconnect@004"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply

Quote:
Originally Posted by DavidZvla
Посмотреть сообщение
I try to repair and to adapt my GM to your anticheat script 'cause work very well...

Do you have some solution for this without using y_hooks?

Код:
pawno\include\nex-ac.inc(2782) : error 021: symbol already defined: "@yH_OnPlayerConnect@004"
pawno\include\nex-ac.inc(2888) : error 021: symbol already defined: "@yH_OnPlayerDisconnect@004"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
You need to include y_hooks in every file you use it. You are probably missing this point.
Reply

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
You need to include y_hooks in every file you use it. You are probably missing this point.
If I include y_hooks, everything compile well... but i get a crash in my server when try to turn it on IN LINUX.

Код:
[debug] Server crashed while executing Mode.amx
[debug] AMX backtrace:
[debug] #0 00000005 in OnPlayerConnect (playerid=4, ... <1073741822 arguments>) at <unknown file>:0
[debug] #1 00013d44 in public OnPlayerConnect () at \pawno\include\YSI\..\YSI_Storage\..\YSI_Coding\..\YSI_Internal\y_cgen.inc:114
Reply

Quote:
Originally Posted by DavidZvla
Посмотреть сообщение
If I include y_hooks, everything compile well... but i get a crash in my server when try to turn it on IN LINUX.
Report this to YSI developer.
Reply

how can we stop antipickups?
Reply

how to declare some anticheats because i no need all anti cheats.
help me
Reply

Quote:
Originally Posted by Jairathkamboj
Посмотреть сообщение
how to declare some anticheats because i no need all anti cheats.
help me
Reply

Hi. I have a problem. When i compiled server map and i add to hosting and run server then server is crashing. In logs i have this
Код:
[11:54:10] [debug] Server crashed while executing map.amx
[11:54:10] [debug] AMX backtrace:
[11:54:10] [debug] #0 00000005 in public OnPlayerConnect () at <unknown file>:0
With map is all ok. Only version 1.9.27 work with my map without problems. Can you help me ?
Reply

Quote:
Originally Posted by wampiros6
Посмотреть сообщение
Hi. I have a problem. When i compiled server map and i add to hosting and run server then server is crashing. In logs i have this
Код:
[11:54:10] [debug] Server crashed while executing map.amx
[11:54:10] [debug] AMX backtrace:
[11:54:10] [debug] #0 00000005 in public OnPlayerConnect () at <unknown file>:0
With map is all ok. Only version 1.9.27 work with my map without problems. Can you help me ?
What problems occur with latest version?
Reply

Quote:
Originally Posted by OstGot
Посмотреть сообщение
What problems occur with latest version?
When player is connecting then server is crashing. On linux it don't work but on windows all work. I add that it is often but not always
Reply

Problem again with Tune garage. When u going inside garage A/C kickout
Reply

Quote:
Originally Posted by wampiros6
Посмотреть сообщение
When player is connecting then server is crashing. On linux it don't work but on windows all work. I add that it is often but not always
Well, then provide information about crash with the latest version of anticheat.

Quote:
Originally Posted by Irenijus
Посмотреть сообщение
Problem again with Tune garage. When u going inside garage A/C kickout
What information is in the logs?
Reply

Quote:
Originally Posted by OstGot
Посмотреть сообщение
Well, then provide information about crash with the latest version of anticheat.
[code][00:33:34] [connection] 37.7.230.150:56092 requests connection cookie.
[00:33:35] [connection] incoming connection: 37.7.230.150:56092 id: 0
[00:33:36] [join] Stensin has joined the server (0:37.7.230.150)
[00:33:56] [connection] 83.5.247.153:58021 requests connection cookie.
[00:33:57] [connection] incoming connection: 83.5.247.153:58021 id: 1
[00:33:58] [join] Qarsu has joined the server (1:83.5.247.153)
[00:33:58] [debug] Server crashed while executing map.amx
[00:33:58] [debug] AMX backtrace:
[00:33:58] [debug] #0 00000005 in public OnPlayerConnect () from map.amx[code]


This is happening with the map on the latest antycheat and with version 28 and newer. If you want, we can try to solve the problem in a private conversation.
Reply

Quote:
Originally Posted by wampiros6
Посмотреть сообщение
[code][00:33:34] [connection] 37.7.230.150:56092 requests connection cookie.
[00:33:35] [connection] incoming connection: 37.7.230.150:56092 id: 0
[00:33:36] [join] Stensin has joined the server (0:37.7.230.150)
[00:33:56] [connection] 83.5.247.153:58021 requests connection cookie.
[00:33:57] [connection] incoming connection: 83.5.247.153:58021 id: 1
[00:33:58] [join] Qarsu has joined the server (1:83.5.247.153)
[00:33:58] [debug] Server crashed while executing map.amx
[00:33:58] [debug] AMX backtrace:
[00:33:58] [debug] #0 00000005 in public OnPlayerConnect () from map.amx[code]


This is happening with the map on the latest antycheat and with version 28 and newer. If you want, we can try to solve the problem in a private conversation.
Try to compile your script in -d3 mode, so that the log shows a specific line on which the problem occurred. Also please show the list of all includes that you include in this script in addition to anticheat.

P.s. And show OnPlayerConnect in your script (if you don't want to send it here, you can do it in private messages).
Reply

Quote:
Originally Posted by OstGot
Посмотреть сообщение
Try to compile your script in -d3 mode, so that the log shows a specific line on which the problem occurred. Also please show the list of all includes that you include in this script in addition to anticheat.

P.s. And show OnPlayerConnect in your script (if you don't want to send it here, you can do it in private messages).
I always compile in -d3 mode. I tried compile in pawn ( i always use sublime text 3) but there is the same.

Код:
#include <a_samp>
#include <crashdetect>
#include <streamer>
#include <a_http>

#include <nex-ac2>
#include <BustAim>
#include <callbacks>

#include <audio>
#include <zcmd>
#include <sscanf2>
#include <mysql>

#include <Dini>
#include <vehname>
#include <weapname>
#include <progress> 
#include <strtok>
#include <md5>
#include <m_block>
#include <regex>
#include <aCMenu>
#include <geolocation>
#include <OPIBS>
#include <GetDay>
#include <YSF>i
My OnPlayerConnect i send to you on pm.
Reply

On Player Exit Vehicle
Код:
					new Float:pos[3];
					GetPlayerPos(playerid,pos[0],pos[1],pos[2]);
					SetPlayerPosEx(playerid,pos[0],pos[1],pos[2]);
					SetCameraBehindPlayer(playerid);
                	PutPlayerInVehicle(playerid,pCarCrash[playerid][PLR_VEHICLE],0);
when i use this code while falling or anything like this i get kicked with debug code

PHP код:
[22:49:18] [Nex-AC debugEntered vehicle0vehicleid1Enter time24903229
[22:49:18] [Nex-ACSuspicion on the ID 0. Reason code004 (1
also why i get this when i use nex-ac

[22:49:05] *** Streamer_UpdateEx: Expecting 6 parameter(s), but found 9

I hope you fix bug and help me i need it quickly
Reply

Does Nex-AC supports modular gamemodes?
Reply

How to use this anticheat ?
Reply

Quote:
Originally Posted by Sanady
Посмотреть сообщение
Does Nex-AC supports modular gamemodes?
Yes,It works fine on my project.
Reply


Forum Jump:


Users browsing this thread: 9 Guest(s)