[Include] Nex-AC - Anticheat system

Hello Ost. The Anti infinit eammo funcion doesnt work for me.
Reply

Hello!
I have an issue in san fierro
I always kicked by #3 when trying to win vehicle school quest.
Reply

Quote:
Originally Posted by PetritImeri
Посмотреть сообщение
Can you help me how to fix?
http://imgur.com/a/taqg6
You do not need to paste the code in your script from include.
Just try to open the script by pawno which is located near the include folder

Quote:
Originally Posted by diclofoss
Посмотреть сообщение
Hello!
I have an issue in san fierro
I always kicked by #3 when trying to win vehicle school quest.
Can you show me the code which is executed at the time of detection?

Quote:
Originally Posted by renatog
Посмотреть сообщение
Why don't you use Git properly? You create a ton of folders for each version of the include. You are using GitHub, but you aren't using Git version control, that does exactly what you want, but better in visual and organization. We can't see exaclty what you modified in each version, not without wasting time checking every file or putting them in an online text diff (which can't detect all diffs). You can use "release" feature to manage releases.
Thank you. Honestly, I've tried to do this through a structure with releases before, but at that time knowledge of Git is not allowed me to do it. If I will have time, maybe I'll try to do it
Reply

How;
- When I add player ammo (if he has a gun), players are kicked for adding ammo. How can I disable it when they take ammo from a gun pickup or etc? But it would work if it is with sob?
- NOP's free kicks. Sit in heli - kicked and etc. Also with teleports, jumping off a bike - kick.
Reply

I have this player who gets kicked a lot, and he has slow internet unlike others. Most of the time kicked because of code 15.
Reply

Quote:
Originally Posted by Uberanwar
View Post
I have this player who gets kicked a lot, and he has slow internet unlike others. Most of the time kicked because of code 15.
I also had this problem I solved using the

PHP Code:
forward OnCheatDetected(playeridip_address[], typecode);
public 
OnCheatDetected(playeridip_address[], typecode)
{
     if(
code == 15){
     }
     return 
1;

Reply

In future updates will the anti cheater be protecting against GM Immortality and sprunk guard?
Reply

Why you BlockIpAddress in OnPlayerDisconnect

Code:
#if defined _inc_y_hooks || defined _INC_y_hooks
	hook OnPlayerDisconnect(playerid, reason)
#else
	public OnPlayerDisconnect(playerid, reason)
#endif
{
	if(ACInfo[playerid][acOnline])
	{
		ACInfo[playerid][acOnline] = false;
		if(!IsPlayerNPC(playerid))
		{
			KillTimer(ACInfo[playerid][acTimerID]);
			if(ACInfo[playerid][acACAllow][37]) BlockIpAddress(ACInfo[playerid][acIp],
			(AC_MIN_TIME_RECONNECT * 1000) - (reason ? 0 : GetConsoleVarAsInt("playertimeout")));
			#undef AC_MIN_TIME_RECONNECT
}
Because when 2 players play on same IP (like brothers) and 1 disconnect the other also.
Reply

Quote:
Originally Posted by B4dSh33p
View Post
In future updates will the anti cheater be protecting against GM Immortality and sprunk guard?
What do you mean? Currently anti-god mode work only on bullets. If you need more advanced protection, you can use weapon-config script.

Quote:
Originally Posted by Polidoor
View Post
Why you BlockIpAddress in OnPlayerDisconnect

Because when 2 players play on same IP (like brothers) and 1 disconnect the other also.
It's implementation of reconnect protection. I could do the same, keeping the player's ip who leave with the ban on his re-connection for a certain time after leaving, but this function does everything itself :P
If you are experiencing problems with a kick the other players together with player who leave - disable it or make possible to play only with one ip for one player
Reply

What I want to say is about it.
Reply

Quote:
Originally Posted by B4dSh33p
View Post
What I want to say is about it.
As I understand it is cleo which makes the player invulnerable, creating "physical objects" around him. In this case, don't worry, because this is only a visual effect. In fact, the player just ignores the damage (as if he was using a normal godmode cheat), tested
Reply

Quote:
Originally Posted by OstGot
View Post
As I understand it is cleo which makes the player invulnerable, creating "physical objects" around him. In this case, don't worry, because this is only a visual effect. In fact, the player just ignores the damage (as if he was using a normal godmode cheat), tested
True I just tested and the player usually more damage was just in Lagcompmod On the anticheater does not work in Lagcompmode OFF?
Reply

Quote:
Originally Posted by B4dSh33p
View Post
True I just tested and the player usually more damage was just in Lagcompmod On the anticheater does not work in Lagcompmode OFF?
No, anticheat doesn't work if lagcomp is disabled, because anti-gm uses OnPlayerWeaponShot
Reply

Quote:
Originally Posted by OstGot
View Post
No, anticheat doesn't work if lagcomp is disabled, because anti-gm uses OnPlayerWeaponShot
Okay thank you +rep
Reply

How;
- When I add player ammo (if he has a gun), players are kicked for adding ammo. How can I disable it when they take ammo from a gun pickup or etc? But it would work if it is with sob?
- NOP's free kicks. Sit in heli - kicked and etc. Also with teleports, jumping off a bike - kick.
Reply

Quote:
Originally Posted by Juonis
View Post
How;
- When I add player ammo (if he has a gun), players are kicked for adding ammo. How can I disable it when they take ammo from a gun pickup or etc? But it would work if it is with sob?
You can try to use EnableAntiCheatForPlayer for a while

Quote:
Originally Posted by Juonis
View Post
- NOP's free kicks. Sit in heli - kicked and etc. Also with teleports, jumping off a bike - kick.
I did not see the kind. You should describe the problem more specifically. For example, what writes in the log in debug mode when you get kick?
Reply

1. When u pzu something else and suspecting cheater u kick out from server with him.
2. Inv not working when u siting in the car and somebody shoting in your car.
3. If u select INV somebody else can shot in u (not suspected).
4. if u slowly add tune not working ( with delay).
5. Does not working anti flyhack https://*********/7ynOIXTcABs
6. Not working anti speed hack if u will change alt in to X
Reply

i'm sorry been searching trough nearly every page now.. Still don't get how to make it so that admins don't get kicked for these anti cheats. Can anyone help me please? Also how do I make the cmd that allows a player to not be checked for hacks?
Reply

Quote:
Originally Posted by Irenijus
View Post
1. When u pzu something else and suspecting cheater u kick out from server with him.
What is the "pzu"? Maybe it's some kind of slang, then excuse me, I don't know its

Quote:
Originally Posted by Irenijus
View Post
2. Inv not working when u siting in the car and somebody shoting in your car.
When someone shoots your car and you use car godmode/player godmode, you will be kicked... usually.
But if you talk about animation of entering cars - this is a problem of gta_sa when the player becomes invincible during entering any car. Anticheat only considers it to prevent false detections.

By the way, at what seat in the car you sit? (passenger/driver)

Quote:
Originally Posted by Irenijus
View Post
3. If u select INV somebody else can shot in u (not suspected).
Don't understand. With invulnerability mode you will be kicked (of course, if someone shoots at you)

Quote:
Originally Posted by Irenijus
View Post
4. if u slowly add tune not working ( with delay).
Can you give me more details about it?
Perhaps some video would be a good example

Quote:
Originally Posted by Simonotg
View Post
i'm sorry been searching trough nearly every page now.. Still don't get how to make it so that admins don't get kicked for these anti cheats. Can anyone help me please? Also how do I make the cmd that allows a player to not be checked for hacks?
Use EnableAntiCheatForPlayer when player becomes admin (for example, when loading player statistics)


New Version v1.9.18
Changes:
* Debug mode is now enabled by default

Fixes:
* Fixed false detection in anti-flood with fast entering and exit from boats
* Tweaked minimum values of 'fire rate' in anti-rapid fire for desert eagle
* Fixed false kick for NOPs if the server gave health/armor to player or his transport while he/it burned
* Fixed anti-infinite ammo hack for m4, mp5 and silenced pistol

Download: See the first post
Reply

Well it gives little bit false warnings, I mean the ac health would be 5 and the player health would be 6. A lil bit difference is there.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)