SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 29/04/2017, 05:27 AM   #701
rt-2
Huge Clucker
 
rt-2's Avatar
 
Join Date: Jun 2011
Location: Montréal, Québec, Canada
Posts: 274
Reputation: 24
Default Re: Nex-AC - Anticheat system

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)
__________________
rt-2
My hardcore first person 1994 simulation in development:
SA Advance Roleplay
rt-2 is offline   Reply With Quote
Old 29/04/2017, 10:00 AM   #702
crukk11
Huge Clucker
 
crukk11's Avatar
 
Join Date: Jan 2017
Location: Malaysia
Posts: 314
Reputation: 5
Default Re: Nex-AC - Anticheat system

how to enableanticheat code to my code

im nubis
crukk11 is offline   Reply With Quote
Old 30/04/2017, 05:12 AM   #703
rt-2
Huge Clucker
 
rt-2's Avatar
 
Join Date: Jun 2011
Location: Montréal, Québec, Canada
Posts: 274
Reputation: 24
Default Re: Nex-AC - Anticheat system

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

im nubis
Use this function in your 'OnGameModeInit()'
__________________
rt-2
My hardcore first person 1994 simulation in development:
SA Advance Roleplay
rt-2 is offline   Reply With Quote
Old 01/05/2017, 08:35 AM   #704
crukk11
Huge Clucker
 
crukk11's Avatar
 
Join Date: Jan 2017
Location: Malaysia
Posts: 314
Reputation: 5
Default Re: Nex-AC - Anticheat system

can you show list of name code hack

and what is the name hack code 15
crukk11 is offline   Reply With Quote
Old 01/05/2017, 02:59 PM   #705
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 865
Reputation: 325
Default Re: Nex-AC - Anticheat system

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
__________________
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 01/05/2017, 03:12 PM   #706
StrikerZ
High-roller
 
StrikerZ's Avatar
 
Join Date: Mar 2016
Location: Asgard
Posts: 1,054
Reputation: 154
Default Re: Nex-AC - Anticheat system

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
__________________
StrikerZ is offline   Reply With Quote
Old 01/05/2017, 06:16 PM   #707
lepegadore
Little Clucker
 
Join Date: Aug 2016
Posts: 9
Reputation: 3
Default Respuesta: Re: Nex-AC - Anticheat system

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
Quote:
* Fixed a bug with a kick for quick entering train vagon (id 570)
Code:
You should add (id 538) as well..
Can you explain how ac_vType[] array values work?


Thank you.
lepegadore is offline   Reply With Quote
Old 01/05/2017, 10:24 PM   #708
Xportaler
Banned
 
Join Date: Feb 2017
Posts: 96
Reputation: 4
Default Re: Nex-AC - Anticheat system

This have a lot of bugs when i try to use it on my server so is anyone have any suggestion how can i make it with my server without bugs or how you did on yours and any stuff like this !
Xportaler is offline   Reply With Quote
Old 02/05/2017, 01:55 PM   #709
rt-2
Huge Clucker
 
rt-2's Avatar
 
Join Date: Jun 2011
Location: Montréal, Québec, Canada
Posts: 274
Reputation: 24
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by Xportaler View Post
This have a lot of bugs when i try to use it on my server so is anyone have any suggestion how can i make it with my server without bugs or how you did on yours and any stuff like this !
Yes, when I installed it on my server, there was a lot of false flags.
I deactivated those who caused me problem, then started investigating.
Most of those who I had time investigating was my fault, I wasn't using the language as I should and I was causing some problem.
For example, in my script I was calling OnDialogResponse and OnPlayerRespray myself because of some features but it is not the way to do it and the anti-cheat couldn't work with that so I changed my code. Some other were anti-cheat problems and once I really proved that, or once I really had a way to test it, Mister Nexius here gladly looked at the problem and fixed it.
Most of those causing me problem I haven't had time investigating yet, but my server has a huge gamemode with a few big filterscript, and just thinking that we are working towards a working anti-cheat really makes me happy.
But again, there was some false flags, but most anti-cheat worked just fine on the server,, I has problem with about 5-10 of them on the 52 total.
I think I currently have 5 deactivated on my server, and I must test the problem later and find out if its me or the AC.
So basically, put nex-ac in, then deactivate what causes problems,, then investigate the problems to try to re-activate them.
rt-2
__________________
rt-2
My hardcore first person 1994 simulation in development:
SA Advance Roleplay
rt-2 is offline   Reply With Quote
Old 02/05/2017, 08:26 PM   #710
Irenijus
Little Clucker
 
Join Date: Jul 2013
Posts: 38
Reputation: 2
Default Re: Nex-AC - Anticheat system

My deathmach system working in interior when player death he respawn in same interior and i spoted one bug;

public OnPlayerDeath(playerid, killerid, reason)
{

if(GetPlayerInterior(playerid)==18 )
{
new pozicija = random(sizeof(RandomSpawn));
SetPlayerPos(playerid, RandomSpawn[pozicija][0], RandomSpawn[pozicija][1],RandomSpawn[pozicija][2]);
return 1;
}

Before player was in interior id 18. And after kill he get this error:

[02/05/2017 22:00:45] [Nex-AC debug] AC interior: -1, AC next interior: -1, newinteriorid: 0
[02/05/2017 22:00:45] [Nex-AC Įtarimas ID 1. Priežasties kodas: 002 (1)

another bug is

//=======================Deathmatch================= ========================
if (newkeys & KEY_SECONDARY_ATTACK)
{
if( IsPlayerInRangeOfPoint( playerid, 2.0,-2172.4622,252.0333,35.3394))
{
SetPlayerPos(playerid,1309.8588,-56.2956,1002.4922);
SetPlayerInterior(playerid,1;
return 1;
}
}

if (newkeys & KEY_SECONDARY_ATTACK)
{
if(PlayerToPoint(2,playerid,1309.8588,-56.2956,1002.4922))
{
SetPlayerPos(playerid,-2172.4622,252.0333,35.3394);
ResetPlayerWeapons(playerid);
SetPlayerInterior(playerid,0);
return 1;
}
}
I took weapon and when u exit from interior need reset it. And i got error
[SIMG debug] ID 0 panaudojo NOP GivePlayerWeapon
[02/05/2017 23:01:53] [Nex-AC debug] AC weapon: 0, weaponid: 43
[02/05/2017 23:01:53] [Nex-AC] Įtarimas ID 0. Priežasties kodas: 052 (1)

Last edited by Irenijus; 02/05/2017 at 09:15 PM.
Irenijus 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 12:04 PM
[Include] System AntiCheat V1.1 Glad2BeHere Includes 13 04/03/2013 08:33 PM
-AntiCheat System geohareas Scripting Help 5 08/01/2013 07:38 PM
[FilterScript] [FS] ZAdmin v1.0 | ADMIN SYSTEM + REGISTER + ANTICHEAT + ANTIFLOOD + ANTISWEAR. [ZFM]Zuc Filterscripts 24 25/05/2011 10:19 AM


All times are GMT. The time now is 04:23 AM.


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