Thread Tools Display Modes
04-13-19, 10:04 AM   #1
JDoubleU00
A Firelord
 
JDoubleU00's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 463
Loot Tracking

Is there an addon that can track what I loot and allow me to save the information into a csv file so I can import it into Excel?
__________________
Author of JWExpBar and JWRepBar.
  Reply With Quote
04-13-19, 04:01 PM   #2
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
Addons don't have direct access to the filesystem. The best you can do is export data into a savedvar, which appears as a Lua file with a table definition inside.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote
04-13-19, 04:10 PM   #3
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
Don't forget the saved variables file is not in a format compatible with csv or spreadsheet systems. You would have to write a program to read the saved variables file after you log out of the game. If you only want to import a sessions / weeks worth etc of loot then you will have to make sure that the addon has a clear function or you delete the saved variables file before relogging in.

I had a look at 6 pages of 'loot' based addons with none that said or implied that loot was being stored between sessions.
__________________
  Reply With Quote
04-13-19, 05:56 PM   #4
JDoubleU00
A Firelord
 
JDoubleU00's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 463
I'm aware of the addon restrictions to the file system. I was hoping for one of them that stored data between sessions. Maybe I'll try to cobble something together. I knew that saved variable format isn't csv compatible.
__________________
Author of JWExpBar and JWRepBar.
  Reply With Quote
04-14-19, 09:46 AM   #5
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
I would suggest grab one of the loot addons that has the nearest functionality and easiest code to decipher and use that as inspiration for your addon. It will save you hunting down every api command to do the stuff you need if someone has already done it. Just remember to put a shout out to them as thanks.
__________________
  Reply With Quote
04-14-19, 10:38 AM   #6
JDoubleU00
A Firelord
 
JDoubleU00's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 463
Thumbs up

Originally Posted by Xrystal View Post
I would suggest grab one of the loot addons that has the nearest functionality and easiest code to decipher and use that as inspiration for your addon. It will save you hunting down every api command to do the stuff you need if someone has already done it. Just remember to put a shout out to them as thanks.
()x2
__________________
Author of JWExpBar and JWRepBar.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Loot Tracking

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off