Originally Posted by Fizzlemizz
You are continually adding to an already existing table. At the very least, LootLog = {} should be performed on each parse ("BAG_UPDATE").
|
Thanks. I moved LootLog = {} to just above table.insert(LootLog, itemName), but it saves the items only for the current session. The next time I log in, the items log is empty. I want it to be saved between sessions.
Let's say, I acquired 100 items in a play session, I want them all to be logged in the LootLog.lua savedvariable file. In my next play session, say, I acquired 60 items, I want them to be added to the same file. A growing log of items in other words.