Quantcast
WoWInterface - View Single Post - Logging the item my character acquired
View Single Post
05-19-17, 02:18 AM   #3
Eommus
A Fallenroot Satyr
Join Date: Apr 2017
Posts: 28
Originally Posted by Fizzlemizz View Post
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.

Last edited by Eommus : 05-19-17 at 02:51 AM.
  Reply With Quote