Hi all
I have set up a number of keybinds in the Binding UI; 4 of these bindings have default bindings.
Whene I first login they work without an issue; however if I
/reload the default bindings disappear.
If I
/logout and then log back in the defaults are once again working.
The none default bindings can be set and they will always be available; they are written to the
bindings-cache.wtf file.
Here is my xml.
Lua Code:
<Bindings>
<Binding name="AVKRUNSHOWAARDVARKUIFUNCTION" category="Aardvark">
print("Keybinding destroy function")
AVKRUNSHOWAARDVARKUIFUNCTION()
</Binding>
<Binding name="AVKRUNRESETAARDVARKUIFUNCTION" category="Aardvark">
print("Keybinding reset aardvark UI")
</Binding>
<Binding name="AVKRUNCLEARALLLISTSFUNCTION" category="Aardvark">
print("Keybinding clear all lists")
</Binding>
<Binding name="AVKRUNDESTROYFUNCTION" category="Aardvark">
print("Keybinding destroy function")
</Binding>
<Binding name="AVKRUNADDITEMTOGLOBALLISTFUNCTION" default="ALT-F9" category="Aardvark">
print("Keybinding add to global list")
AVKRUNADDITEMTOGLOBALLISTFUNCTION()
</Binding>
<Binding name="AVKRUNADDITEMTOCHARACTERLISTFUNCTION" default="ALT-F10" category="Aardvark">
print("Keybinding add to character list")
AVKRUNADDITEMTOCHARACTERLISTFUNCTION()
</Binding>
<Binding name="AVKRUNADDITEMTOGLOBALPROTECTLISTFUNCTION" default="ALT-F11" category="Aardvark">
print("Keybinding add to global protect list")
AVKRUNADDITEMTOGLOBALPROTECTLISTFUNCTION()
</Binding>
<Binding name="AVKRUNADDITEMTOCHARACTERPROTECTLISTFUNCTION" default="ALT-F12" category="Aardvark">
print("Keybinding add to character protect list")
AVKRUNADDITEMTOCHARACTERPROTECTLISTFUNCTION()
</Binding>
</Bindings>
Is there a way to have the defaults saved to the
bindings-cache.wtf file as well to ensure they are not wiped on
/reload?