SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 23/06/2016, 02:14 PM   #401
SecretBoss
Gangsta
 
SecretBoss's Avatar
 
Join Date: Dec 2014
Location: Greece
Posts: 807
Reputation: 106
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by Battlezone View Post
Of course that's what I did, but I had these errors, I don't really know where the problem comes from
You probably didn't forward it properly check my example. I remember having the same problem when I installed it on an old gamemode of mine
__________________
SecretBoss is offline   Reply With Quote
Old 23/06/2016, 02:33 PM   #402
Battlezone
Gangsta
 
Battlezone's Avatar
 
Join Date: Aug 2013
Location: Berlin
Posts: 805
Reputation: 162
Default Re: Nex-AC - Anticheat system

Same, I'm using it on an old Gamemode so maybe the problem is coming from other includes, here is the callback though, I'm sure I have properly forwarded it


Also, there are some bugged anti cheats such as Infinite ammo that gives false positives when players attempt cbugs, vehicle to player teleport when a player flies with his heli then gets out of it, and others

Last edited by Battlezone; 23/06/2016 at 03:20 PM.
Battlezone is offline   Reply With Quote
Old 23/06/2016, 04:29 PM   #403
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 953
Reputation: 333
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by Battlezone View Post
Also, there are some bugged anti cheats such as Infinite ammo that gives false positives when players attempt cbugs, vehicle to player teleport when a player flies with his heli then gets out of it, and others
If you haven't declared your own OnCheatDetected in your gamemode, then by default for some suspicions (eg anti-unoccupied vehicle teleport or anti-money hack) player or vehicle just resync to the real data. So you shouldn't set the ban as punishment for any cheats.


New Version v1.9.3

Changes:
* Removed the check for the distance when leaving the vehicle in the anti-teleport hack (due to false detects)

Download: See the first post
__________________
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 23/06/2016, 07:41 PM   #404
Problems
Big Clucker
 
Join Date: Sep 2013
Posts: 136
Reputation: 1
Default Re: Nex-AC - Anticheat system

when I was testing and tried to lag myself by playing some youtube videos,then tried to use a pickup to teleport me to another interior,So it takes like about 3 seconds to teleport and then the Anticheat detects it,Is there a way to avoid it?My ping was about 250
Problems is offline   Reply With Quote
Old 23/06/2016, 07:59 PM   #405
justice96
Guest
 
Posts: n/a
Default Re: Nex-AC - Anticheat system

False detections: http://imgur.com/a/zs68S

I detected as money hack when I logged in to the server.
I walk to the pickup, it gives me a false detection.
  Reply With Quote
Old 23/06/2016, 08:07 PM   #406
oMa37
Gangsta
 
Join Date: Feb 2016
Posts: 928
Reputation: 156
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by justice96 View Post
I detected as money hack when I logged in to the server..
Whenever i login to my server, even in the localhost this happens to me.
oMa37 is offline   Reply With Quote
Old 24/06/2016, 12:53 AM   #407
sampkinq
Big Clucker
 
Join Date: Sep 2013
Location: Turkey
Posts: 187
Reputation: 6
Default Re: Nex-AC - Anticheat system

sscanf error: System not initialised. What is the problem ?
sampkinq is offline   Reply With Quote
Old 24/06/2016, 01:05 AM   #408
Max_Andolini
Huge Clucker
 
Max_Andolini's Avatar
 
Join Date: Oct 2013
Posts: 318
Reputation: 37
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by sampkinq View Post
sscanf error: System not initialised. What is the problem ?
http://forum.sa-mp.com/showpost.php?...32&postcount=2
Max_Andolini is online now   Reply With Quote
Old 24/06/2016, 10:14 AM   #409
sampkinq
Big Clucker
 
Join Date: Sep 2013
Location: Turkey
Posts: 187
Reputation: 6
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by eco1999 View Post
Thank you, the problem is solved.
sampkinq is offline   Reply With Quote
Old 24/06/2016, 11:17 AM   #410
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 953
Reputation: 333
Default Re: Nex-AC - Anticheat system

New Version v1.9.4

Changes:
* Changed the punishment for teleport unoccupied vehicles

Fixes:
* Fixed a bug in anti-teleport hack
* Fixed a bug in the protection on NOP RemovePlayerFromVehicle
* Fixed anti-money hack

Download: See the first post

I also want to draw your attention to an example of using OnCheatDetected:
Code:
forward OnCheatDetected(playerid, ip_address[], type, code);
public OnCheatDetected(playerid, ip_address[], type, code)
{
	if(type) BlockIpAddress(ip_address, 0);
	else
	{
		switch(code)
		{
			case 5: return 1; //Important!
			case 32: return ClearAnimations(playerid, 1); //Important!
			case 40: SendClientMessage(playerid, -1, MAX_CONNECTS_MSG);
			case 41: SendClientMessage(playerid, -1, UNKNOWN_CLIENT_MSG);
			default:
			{
				//Or warning to admins
				static ac_strtmp[sizeof KICK_MSG];
				format(ac_strtmp, sizeof ac_strtmp, KICK_MSG, code);
				SendClientMessage(playerid, -1, ac_strtmp);
			}
		}
		//Or warning to admins
		new ac_pping = GetPlayerPing(playerid) + 150;
		SetTimerEx("ac_KickTimer", (ac_pping > 500 ? 500 : ac_pping), false, "i", playerid);
	}
	return 1;
}
__________________
aka Nexius
Don't want to always check for updates of my scripts?
Include it the last, after all others
Nexius's Update Checker

Last edited by OstGot; 10/06/2018 at 11:24 AM.
OstGot 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 07:43 PM.


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