Badger-Anticheat icon indicating copy to clipboard operation
Badger-Anticheat copied to clipboard

Uninstall option

Open Nophobia09 opened this issue 3 years ago • 5 comments

Once installed this script writes to the manifest of all resources that it is a dependency. After uninstall the scripts are still looking for badger-anticheat because it is still in the manifest to do so. An uninstall bat would be nice to remove client_script "@Badger-Anticheat-master/acloader.lua" in one wack rather than going through each resource and removing it manually.

Something like this.... Which must be ran inside the main resource directory to update all resources. Manifest_Updater.zip

Nophobia09 avatar Jul 24 '21 02:07 Nophobia09

Hey i didnt got ur exact issue but i hope this helps DEL <directory> it will delete the program and you can configure it with START command in ur bacth file like START DELETE

a59ASB avatar Jul 24 '21 05:07 a59ASB

Hey i didnt got ur exact issue but i hope this helps DEL <directory> it will delete the program and you can configure it with START command in ur bacth file like START DELETE

What I mean is in every resource on the server that has a manifest file such as fxmanfiest.lua or __resource.lua (which is every single resource) after installing badger-anticheat contains the line 'client_script "@Badger-Anticheat-master/acloader.lua"'. After you remove badger-anticheat that line 'client_script "@Badger-Anticheat-master/acloader.lua"' is still in every single resource in the server and then shows an error in the console because the resources can't find the dependency badger-anticheat because it's no longer there. But the resources are still searching for badger-anticheat as a dependency because badger-anticheat writes that line to every resources manifest file. Does this help you better understand?

Nophobia09 avatar Jul 24 '21 16:07 Nophobia09

Apparently this doesn't even work anymore so it's pointless now. Hopefully someone can remove it all-together in a pull-request in the near future. I'll leave this open until then.

JaredScar avatar Sep 20 '21 18:09 JaredScar

Apparently this doesn't even work anymore so it's pointless now. Hopefully someone can remove it all-together in a pull-request in the near future. I'll leave this open until then.

I couldn't find a way either to remove the added client script from fxmanifest.lua's. Does your decision still stand to remove the whole mod menu check function? If so, I will create a PR to resolve this issue.

gegelendvay avatar Feb 27 '23 10:02 gegelendvay

Apparently this doesn't even work anymore so it's pointless now. Hopefully someone can remove it all-together in a pull-request in the near future. I'll leave this open until then.

I couldn't find a way either to remove the added client script from fxmanifest.lua's. Does your decision still stand to remove the whole mod menu check function? If so, I will create a PR to resolve this issue.

I believe so. FiveM thought it was invasive and I could of sworn they removed the functionality of it from actually doing anything. Someone would need to test it and verify this though

JaredScar avatar Jun 06 '23 02:06 JaredScar