[Include] Nex-AC - Anticheat system

E:\pawno\include\nex-ac.inc(1693) : warning 202: number of arguments does not match definition
E:\pawno\include\nex-ac.inc(1693) : warning 202: number of arguments does not match definition
E:\pawno\include\nex-ac.inc(1691) : warning 203: symbol is never used: "ac_priority"
E:\pawno\include\nex-ac.inc(1691) : warning 203: symbol is never used: "ac_areaid"
E:\pawno\include\nex-ac.inc(2000) : warning 201: redefinition of constant/macro (symbol "SetPlayerHealth")
E:\pawno\include\nex-ac.inc(2017) : warning 201: redefinition of constant/macro (symbol "SetPlayerArmour")
E:\pawno\include\nex-ac.inc(306 : warning 202: number of arguments does not match definition
E:\pawno\include\nex-ac.inc(3082) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.


How to solve? please?
Reply

People i need your opinion.

This include works corrected or have bugs ? Is recommended ?
Reply

Код:
pawno\include\nex-ac.inc(3068) : warning 202: number of arguments does not match definition
pawno\include\nex-ac.inc(3082) : error 025: function heading differs from prototype
Код:
return ac_OnPlayerTakeDamage(playerid, issuerid, amount, weaponid, bodypart); // 3068
forward ac_OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart); // 3082
Reply

Quote:
Originally Posted by ax1
Посмотреть сообщение
Код:
pawno\include\nex-ac.inc(3068) : warning 202: number of arguments does not match definition
pawno\include\nex-ac.inc(3082) : error 025: function heading differs from prototype
Код:
return ac_OnPlayerTakeDamage(playerid, issuerid, amount, weaponid, bodypart); // 3068
forward ac_OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart); // 3082
Update a_samp.inc
Reply

can you add protection for easydialog
Reply

Quote:
Originally Posted by AbyssMorgan
Посмотреть сообщение
Update a_samp.inc
I did and I still get this error
Reply

delete
Reply

Quote:
Originally Posted by ax1
Посмотреть сообщение
I did and I still get this error
Check this callback in your GameMode
Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart){

}
Reply

Quote:
Originally Posted by AbyssMorgan
Посмотреть сообщение
Check this callback in your GameMode
Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart){

}
Thank you
I still get some warnings tho
Код:
nex-ac.inc(1693) : warning 202: number of arguments does not match definition
nex-ac.inc(1691) : warning 203: symbol is never used: "ac_priority"
nex-ac.inc(1691) : warning 203: symbol is never used: "ac_areaid"
nex-ac.inc(2105) : warning 201: redefinition of constant/macro (symbol "GivePlayerMoney")
nex-ac.inc(4752) : warning 201: redefinition of constant/macro (symbol "OnPlayerPickUpDynamicPickup")
Код:
new ac_pickupid = CreateDynamicPickup(ac_modelid, ac_type, ac_x, ac_y, ac_z, ac_worldid, ac_interiorid, ac_playerid, ac_streamdistance, ac_areaid, ac_priority); // 1693
stock acc_CreateDynamicPickup(ac_modelid, ac_type, Float:ac_x, Float:ac_y, Float:ac_z, ac_worldid = -1, ac_interiorid = -1, ac_playerid = -1, Float:ac_streamdistance = 200.0, ac_areaid = -1, ac_priority = 0)//1691
#define GivePlayerMoney acc_GivePlayerMoney // 2105
#define OnPlayerPickUpDynamicPickup ac_OnPlayerPickUpDynamicPickup // 4752
Reply

Nice work
Reply

Can Someone give me another link of this include please! Not on Github . I really need it ! Thanks
Reply

Quote:
Originally Posted by Xportaler
View Post
Can Someone give me another link of this include please! Not on Github . I really need it ! Thanks
Whats the problem with getting it from Github?
Reply

Quote:
Originally Posted by crukk11
View Post
no work it will automatic kick me out and give code 15
Same
anyone know how to fix?
Reply

Quote:
Originally Posted by ax1
View Post
Same
anyone know how to fix?
Code:
EnableAntiCheat(15, 0);
Or if you want an actual solution, show us the actual problem (the code that makes the bug occur)
Reply

how to enableanticheat code to my code

im nubis
Reply

Quote:
Originally Posted by crukk11
View Post
how to enableanticheat code to my code

im nubis
Use this function in your 'OnGameModeInit()'
Reply

can you show list of name code hack

and what is the name hack code 15
Reply

Quote:
Originally Posted by crukk11
View Post
can you show list of name code hack

and what is the name hack code 15
https://github.com/NexiusTailer/Nex-....inc#L136-L193


New Version v1.9.24
Changes:
* Reduced sensitivity of anti-FlyHack in vehicle
* Reduced sensitivity of anti-AirBreak on short distances
* If the default enter/exit markers are enabled (ie, gm is not used DisableInteriorEnterExits), then anti-teleport for long distances will automatically disabled (to avoid false detections when entering the roof of a skyscraper in LS)

Fixes:
* Fixed a bug with a kick for entering bus (id 431 & 437) for more than one passenger
* Fixed a bug with a kick for quick entering train vagon (id 570)

Download: GitHub
Reply

Quote:
Originally Posted by OstGot
View Post
https://github.com/NexiusTailer/Nex-....inc#L136-L193


New Version v1.9.24
Changes:
* Reduced sensitivity of anti-FlyHack in vehicle
* Reduced sensitivity of anti-AirBreak on short distances
* If the default enter/exit markers are enabled (ie, gm is not used DisableInteriorEnterExits), then anti-teleport for long distances will automatically disabled (to avoid false detections when entering the roof of a skyscraper in LS)

Fixes:
* Fixed a bug with a kick for entering bus (id 431 & 437) for more than one passenger
* Fixed a bug with a kick for quick entering train vagon (id 570)

Download: GitHub
Nice
Reply

If you use CarShot, in ****** from MishaN, he ducks the player but does not cheat while at high speed, hit the vehicle with the vehicle. Author, correct please anti-cheat.
Reply


Forum Jump:


Users browsing this thread: 9 Guest(s)