SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 18/02/2019, 05:59 PM   #1061
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 952
Reputation: 333
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by BrainDamaged View Post
My problem continues
Does this occur with default pickups (created via CreatePickup), or with those created via streamer plugin?

It's also possible that your pickup is created before you include the anticheat or in the filterscript to which the anticheat is not included at all.
__________________
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 19/02/2019, 10:06 PM   #1062
4D1L
Big Clucker
 
Join Date: Mar 2016
Location: United Kingdom
Posts: 74
Reputation: 22
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by OstGot View Post
Download crashdetect and try to reproduce it with this plugin enabled. It also would be nice to see some short video demonstration of this case (in-game actions preceding the kick).
I have attached a video of the issue which was pretty troublesome as I play on 1920x1080.

This is how I give the weapon.
PHP Code:
SetSpawnInfo(playerid,4,20002769.065856359.66622919.917900184.387588,24,100,0,0,0,0); 
I also found that the first message I send using a chatbox is not sent but is sent when I don't use nex-ac. Do I have to do something if I use zcmd?
Attached Files
File Type: mp4 samp.mp4 (26.68 MB, 70 views)
4D1L is offline   Reply With Quote
Old 20/02/2019, 06:22 AM   #1063
TheToretto
Gangsta
 
TheToretto's Avatar
 
Join Date: Jul 2015
Posts: 584
Reputation: 66
Default Re: Nex-AC - Anticheat system

Either freeze the player a second or don't set any weapon as his equipped weapon, I can see you're shooting as soon as you land.
__________________






Toretto#9902

Rest in peace grandpa, 03 November 2018
TheToretto is offline   Reply With Quote
Old 06/03/2019, 02:45 PM   #1064
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 952
Reputation: 333
Default Re: Nex-AC - Anticheat system

New version v1.9.45

Changes:
* Improved compatibility with Pawn.Raknet and sscanf
* Added "#define AC_USE_NPC" to enable/disable NPC checks
** You can disable this option to increase performance if you don't use NPC
* Improved anti-teleport onfoot/in vehicle and protection from damagers
* Increased some delays and warnings

Fixes:
* Fixed a bug in anti-teleport in vehicle with a kick when player enter/exit from the default modshops
* Fixed a bypass in anti-ammo hack with the ammo given by the server immediately after cheating their negative value
* Fixed frequent unoccupied vehicles teleport for a few meters back when a player exited from it on a speed
* Fixed a bug in anti-NOPs with a kick when fist was set as a weapon by the server and a player had brass knuckles before it

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 14/03/2019, 12:29 PM   #1065
t9ndep
Little Clucker
 
Join Date: Mar 2016
Posts: 13
Reputation: 4
Default Re: Nex-AC - Anticheat system

Code:
[kill] Hansen killed TIN M4
[Nex-AC debug] Spawn res: 1, Respawn time: 18
[NEX-AC] Phat hien ID 0. Reason code: 027
[part] TIN has left the server (0:2)
OnPlayerGiveDamage

Code:
public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart)
{
	log("OnPlayerGiveDamage", _i("playerid", playerid), _i("damagedid", damagedid), _f("amount", amount), _i("weaponid", weaponid), _i("bodypart", bodypart));
	if(damagedid != INVALID_PLAYER_ID) {
		new Float:HP, Float:AP;
		GetPlayerHealth(damagedid, HP);
		GetPlayerArmour(damagedid, AP);

		if(AP == 0) {
			if(HP >= amount) SetPlayerHealth(damagedid, HP - amount);
			else {
				OnPlayerDeath(damagedid, damagedid, weaponid);
			}
		}
		else if(AP >= amount) SetPlayerArmour(damagedid, AP - amount);
		else {
			new Float:remainHP = HP + AP - amount;
			SetPlayerArmour(damagedid, 0);
			if(remainHP > 0) SetPlayerHealth(damagedid, remainHP);
			else if(Character[damagedid][JustDeath] == 0){
				OnPlayerDeath(damagedid, damagedid, weaponid);
				Character[damagedid][JustDeath] = 1;
			}
		}
	}	
	return 1;
}
I kill a player, then it kick that player due to fake spawn, how can I fix it?[/QUOTE]
t9ndep is offline   Reply With Quote
Old 23/03/2019, 08:13 PM   #1066
Cauezin
Huge Clucker
 
Cauezin's Avatar
 
Join Date: Feb 2018
Location: Brasil - Rio de Janeiro
Posts: 354
Reputation: 12
Default Re: Nex-AC - Anticheat system

https://pastebin.com/ZMDczcHu

118 Warnings.
__________________
the last person you want to be.
Cauezin is offline   Reply With Quote
Old 23/03/2019, 10:55 PM   #1067
BreezeSAMP
Little Clucker
 
Join Date: Dec 2018
Location: Spain
Posts: 22
Reputation: 11
Default Re: Nex-AC - Anticheat system

******
BreezeSAMP is offline   Reply With Quote
Old 24/03/2019, 07:04 AM   #1068
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 952
Reputation: 333
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by Cauezin View Post
Downgrade your zeex's compiler to 3.10.8 or disable the warnings related to const-correctness (since they aren't compatible with the default samp includes):
PHP Code:
#pragma warning disable 214
#pragma warning disable 239 
__________________
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 08/04/2019, 08:07 AM   #1069
Yukie
Big Clucker
 
Yukie's Avatar
 
Join Date: Nov 2016
Location: Somewhere in PHILIPPINES
Posts: 114
Reputation: 3
Default Re: Nex-AC - Anticheat system

I got this error
Code:
C:\Users\samp\Desktop\pawno 0.3DL\pawno\include\nex-ac.inc(1171) : error 017: undefined symbol "foreach"
C:\Users\samp\Desktop\pawno 0.3DL\pawno\include\nex-ac.inc(1171) : error 029: invalid expression, assumed zero
C:\Users\samp\Desktop\pawno 0.3DL\pawno\include\nex-ac.inc(1171) : error 017: undefined symbol "ac_i"
C:\Users\samp\Desktop\pawno 0.3DL\pawno\include\nex-ac.inc(1171) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
I follow the installation
Code:
#include <a_samp>
#include <streamer>
#include <sscanf2>
#include <foreach>
#include <nex-ac>
how to fix it
__________________

Discord: ichaaaannn#5995|FB: @ichaaaannn
Paradox Roleplay
samp.paradox-rp.ml
Yukie is offline   Reply With Quote
Old 08/04/2019, 04:56 PM   #1070
OstGot
Gangsta
 
OstGot's Avatar
 
Join Date: Mar 2013
Location: Gomel, Belarus
Posts: 952
Reputation: 333
Default Re: Nex-AC - Anticheat system

Quote:
Originally Posted by Yukie View Post
I got this error
Code:
C:\Users\samp\Desktop\pawno 0.3DL\pawno\include\nex-ac.inc(1171) : error 017: undefined symbol "foreach"
C:\Users\samp\Desktop\pawno 0.3DL\pawno\include\nex-ac.inc(1171) : error 029: invalid expression, assumed zero
C:\Users\samp\Desktop\pawno 0.3DL\pawno\include\nex-ac.inc(1171) : error 017: undefined symbol "ac_i"
C:\Users\samp\Desktop\pawno 0.3DL\pawno\include\nex-ac.inc(1171) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
I follow the installation
Code:
#include <a_samp>
#include <streamer>
#include <sscanf2>
#include <foreach>
#include <nex-ac>
how to fix it
Update your foreach.inc either to this or that 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
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 09:06 AM.


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