Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uninstall option #23

Open
Nophobia09 opened this issue Jul 24, 2021 · 5 comments
Open

Uninstall option #23

Nophobia09 opened this issue Jul 24, 2021 · 5 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@Nophobia09
Copy link

Nophobia09 commented Jul 24, 2021

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

@a59ASB
Copy link

a59ASB commented Jul 24, 2021

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

@Nophobia09
Copy link
Author

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?

@JaredScar
Copy link
Owner

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 JaredScar added bug Something isn't working help wanted Extra attention is needed labels Sep 20, 2021
@gegelendvay
Copy link
Contributor

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.

@JaredScar
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants