multitheftauto / mtasa-blue

Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
https://multitheftauto.com
GNU General Public License v3.0
1.38k stars 424 forks source link

Lag switch doesn't have an AC #1343

Closed mertcan4555 closed 4 years ago

mertcan4555 commented 4 years ago

MTA DD is dying cuz of this cheat, if you run the .ahk file you can have advantage on other players with lag.

To reproduce Download AutoHotkey from web. After downloading the cheat, press advanced settings on windows security wall, then click "going rules" from the left table, and add the rule "Lagger"(but please don't forget the rule name is changeable from the script. with the triggering only gta_sa.exe option. Then, do the same for "coming rules" and start the script, then we can off our internet in MTA:SA for milliseconds for have advantage.

Please paste reproduction resources (zip files) directly into this section. --> https://www.autohotkey.com/download/ahk-install.exe lag switch.zip

Screenshots

Additional context The script is editable with default windows notepad

mertcan4555 commented 4 years ago

sdfs

PlatinMTA commented 4 years ago

There are multiple ways you can stop this, first by enabling sd 31, 32 and 33 (the anticheat exists, but it isn't enabled by default on MTA) https://wiki.multitheftauto.com/wiki/Anti-cheat_guide#.3Cenablesd.3E.3C.2Fenablesd.3E

Secondly, you could use onPlayerNetworkStatus to see when a player losses connection, and if he does it too often you could punish him for doing so.

mertcan4555 commented 4 years ago

server owners are not giving attention to this ac warning and people abuse it, thats why i post it.

PlatinMTA commented 4 years ago

Well, then its kinda the problem of the server owner, isn't it?

I wouldn't like to have the AutoHotkey labeled as a cheat since in my server some of the my users use this program since they don't like using /bind all the time.

mertcan4555 commented 4 years ago

so you let cheaters cheat, okay. maybe in your gamemode it can't be coded as a cheat but in DD they abuse it, can't it get blocked in servers which has DD gamemode?

Lpsd commented 4 years ago

This can be fixed with Lua scripts quite easily, MTA provides all the functions necessary.

qaisjp commented 4 years ago

Please can someone upload to community a resource that resolves this

mertcan4555 commented 4 years ago

please make a script to fix this, i promise i will force server owners to put it on their servers

Lpsd commented 4 years ago

@mertcan4555 Can you try the following resource with your lagswitch? I can't seem to get your lagswitch to actually do anything (visually it's fine, but I don't seem to loose connection at all?)

https://github.com/Lpsd/ConGuard

mertcan4555 commented 4 years ago

I will make a video about the effect of lag switch today, by the way this script does what? I don't own a server to test it.

andreisrw commented 4 years ago

Well, actually, you still can do lag switch through Python scripts. I made a code which works perfectly. May I share the script here or?

mertcan4555 commented 4 years ago

man I know there is many ways to do lag switch but this .ahk script is popular at the moment, thats why i report it

qaisjp commented 4 years ago

@andreisrw please upload to https://upload.mtasa.com. That way only staff can access the files, rather than the general public.

mertcan4555 commented 4 years ago

https://www.youtube.com/watch?v=BQAq7maCxC4

mertcan4555 commented 4 years ago

Is it fixed?

mertcan4555 commented 4 years ago

I offer you guys to block all scripts of Autohotkey, it will prohibit many hacks including lag switch.

Lpsd commented 4 years ago

@mertcan4555 AutoHotKey can already be detected by MTA, it's down to server owners to enable this. It's not a fault of MTA if server owners can't properly manage their servers. There isn't a discussion to be had about this.

I've also requested you to try out the script that I sent above - have you done this yet? Did it prevent you from exploiting this "lag switch" issue?

mertcan4555 commented 4 years ago

It works good but i dont think players use autohotkey scripts for good purposes, thats why i want a block for these .ahk scripts.

Lpsd commented 4 years ago

as I've said, that already exists. Due to a solution being available for the initial issue I'm now closing this.