Unable to edit stock Distance addon

All support has moved to Discord. Join us at: https://discord.gg/Ashita
Posts: 19
Joined: Sun Feb 19, 2017 10:56 am

Unable to edit stock Distance addon

Post by Tru14 » Mon Mar 12, 2018 7:57 am

Settings inside Distance addon allow the user to change true/false values to add additional functionality to the addon. However, if these are changed an Ashita update push changes the settings back to the stock False value.

Is there a way to prevent this and if not is there someplace I can download this addon outside the launcher? It is unavailable on the Github.

Thank you.
User avatar
Site Admin
Posts: 457
Joined: Sat May 14, 2016 5:13 pm

Re: Unable to edit stock Distance addon

Post by atom0s » Mon Mar 12, 2018 11:05 am

The settings file should not be overwritten by an update. That should be editable. Just make sure that you edit it while Distance is not loaded.

If you are ingame already do the following:
- /addon unload distance
- Edit the settings file for it.
- /addon load distance

There are some stock addons included in the main package, such as Distance which can be downloaded directly from the git here:
http://git.ashita.atom0s.com/Ashita/Ash ... s/distance

Ashita does not allow addons/plugins that are included in the launcher to be edited to help ensure you have the latest versions of them. If you want to edit them, you need to copy the folder and make a new version of your own, such as:
- Copy /addons/distance/ to /addons/distance_custom/
- Rename /addons/distance_custom/distance.lua to /addons/distance_custom/distance_custom.lua
- Load the new custom version with: /addon load distance_custom

This way you can now edit that custom version without the launcher overwriting the base addon's lua's.
Lead Ashita Developer

Want to donate to say thanks?