Re: Nex-AC - Anticheat system -
czop1223 - 21.01.2017
Hello Ost. The Anti infinit eammo funcion doesnt work for me.
Re: Nex-AC - Anticheat system -
diclofoss - 21.01.2017
Hello!
I have an issue in san fierro
I always kicked by #3 when trying to win vehicle school quest.
Re: Nex-AC - Anticheat system -
OstGot - 23.01.2017
Quote:
Originally Posted by PetritImeri
|
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
Re: Nex-AC - Anticheat system -
Juonis - 26.01.2017
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.
Re: Nex-AC - Anticheat system -
Uberanwar - 28.01.2017
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.
Re: Nex-AC - Anticheat system -
B4dSh33p - 28.01.2017
Quote:
Originally Posted by Uberanwar
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(playerid, ip_address[], type, code);
public OnCheatDetected(playerid, ip_address[], type, code)
{
if(code == 15){
}
return 1;
}
Re: Nex-AC - Anticheat system -
B4dSh33p - 28.01.2017
In future updates will the anti cheater be protecting against GM Immortality and sprunk guard?
Re: Nex-AC - Anticheat system -
Polidoor - 29.01.2017
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.
Re: Nex-AC - Anticheat system -
OstGot - 30.01.2017
Quote:
Originally Posted by B4dSh33p
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
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
Re: Nex-AC - Anticheat system -
B4dSh33p - 30.01.2017
What I want to say is about it.
Re: Nex-AC - Anticheat system -
OstGot - 31.01.2017
Quote:
Originally Posted by B4dSh33p
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
Re: Nex-AC - Anticheat system -
B4dSh33p - 31.01.2017
Quote:
Originally Posted by OstGot
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?
Re: Nex-AC - Anticheat system -
OstGot - 31.01.2017
Quote:
Originally Posted by B4dSh33p
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
Re: Nex-AC - Anticheat system -
B4dSh33p - 31.01.2017
Quote:
Originally Posted by OstGot
No, anticheat doesn't work if lagcomp is disabled, because anti-gm uses OnPlayerWeaponShot
|
Okay thank you +rep
Re: Nex-AC - Anticheat system -
Juonis - 31.01.2017
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.
Re: Nex-AC - Anticheat system -
OstGot - 31.01.2017
Quote:
Originally Posted by Juonis
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
- 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?
Re: Nex-AC - Anticheat system -
Irenijus - 31.01.2017
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
Re: Nex-AC - Anticheat system -
Simonotg - 01.02.2017
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?
Re: Nex-AC - Anticheat system -
OstGot - 03.02.2017
Quote:
Originally Posted by Irenijus
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
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
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
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
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
Re: Nex-AC - Anticheat system -
StrikerZ - 06.02.2017
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.