sullemunk wrote: ↑Sat Apr 04, 2020 1:59 amIt's an engine limitation, not saving upon crashes.Golaz wrote: ↑Fri Apr 03, 2020 10:45 pmHi Sullemunk,
I love your addon but I have had a few problems:
1. Once all of the stats got reset when the game crashed.
2. Sometimes I notice the data from my last session has not been saved.
I have checked the SavedVariables file under my installation folder (..user\settings\GLOBAL\Deathblow2) and the file has simply not been modified during my gaming session nor after exiting the game.
Where is the data stored temporarily so I can merge it into the file? If it's gone, could you make it save the entries more often and not only when you exit the game? Or maybe add a manual button to save the data.
Really love the addon its just a shame so much of the data has been lost already
It only saves the user data on Logging or Reloading UI
also, make sure your user files and folders is not writeprotected
I have another weird problem, in one of my characters the both deathblow2 and warboard toggler for db2 will show a yellow ! mark. This char db2 window pops but its completely blacked out (not only no data, its blacked even no text). I looked under my ..user\settings\GLOBAL\Deathblow2\SavedVariables.lua and theres no mention to this character there.
If I change zone or disable enable addon multiple times sometimes it will show the addon window not blacked out, but it will not save any data even if i close the game without crashing. No data still in the savedvariables.lua for that char after it.
Both db2 and warboard toggler work completely fine for all my other chars.
If I try ¨/db list¨ with my bugged char I get the following error in the chat:
An error occured with the supplied slash command - please report this to the addon author:
[string "Interface/AddOns\Deathblow2\Deathblow2.lua"] bad argument #1 to 'pairs' (table expected, got nil)
Any idea what could be going wrongly with this char?