PDA

View Full Version : Sharing the love - a simple inventory assistance script


sabinrf24
06-22-2015, 01:57 PM
I am probably very late to the party here, but I wanted to share this as it's been a great help to me with keeping track of what I have on what character / bank etc.

TL;DR - run a command on each character to create a text file inventory export for each of them, then run this script to put it all in an excel spreadsheet for you. Example output:

https://bytebucket.org/sabinrf24/everquest/raw/591489e5e1e7baab8935e8da477522999689169c/eq/inventory_output_example.png

You can right click -> save as this link, then run it with python (you will need to install python before you can run this script). You may need to right click -> open with, then find python.exe wherever you install it.

When you run the script it will tell you what command to run on your characters. It will then prompt for your EverQuest directory location (this is where the files are placed) and then you are asked for where to output the final consolidated inventory file. Optionally, you can also pass these two paths as arguments if you don't want to deal with dialog boxes.

The command that outputs this information is valuable with or without this script, so its worth mentioning here:

/outputfile inventory Charactername_inventory.txt

The bold part is an arbitrary file name - I use this syntax because inside the file there is no indication of what character you ran the command on. This also prevents your files from having the same name and overwriting each other.

As for the fields in the file:
Character - pulled from the filename if the syntax is right (example above)
Location - from data in the file
Item - from data in the file
LastSeenTime - from the timestamp on the file
CountInStack - from the data in the file

parseinventory.py (https://bitbucket.org/sabinrf24/everquest/raw/591489e5e1e7baab8935e8da477522999689169c/eq/parseinventory.py)

Python Interpreter Download (https://www.python.org/downloads/release/python-2710/)

P.S. There is another variation (/outputfile spellbook Charactername_spellbook.txt) that will output your spellbook contents as well.

maurilax
06-22-2015, 02:22 PM
this looks cool, if you are up for the challenge I think itd be awesome to use the spellbook file to compare against the wiki for that class to see what spells you are missing.

Gonna give this a go later though thanks!

Bboboo
06-22-2015, 03:11 PM
Holy fucking shit.

I'm a really bad pack rat.

I really love you.

Pan
06-22-2015, 04:34 PM
That's just neat.

Ele
06-22-2015, 04:51 PM
should be ban worthy

also need to remove item links

Pan
06-22-2015, 05:09 PM
Banworthy to organize your inventory using a text file? I'm as big a stickler as anyone for rules, but seriously?

sabinrf24
06-22-2015, 07:10 PM
this looks cool, if you are up for the challenge I think itd be awesome to use the spellbook file to compare against the wiki for that class to see what spells you are missing.

Gonna give this a go later though thanks!

Looked at it a bit - certainly doable, will take me a few hours of dedicated time and I'm not sure when I'll want to do that.

I do have a modified version of the one I've posted here that outputs a file with text to copy -> paste into your P99 wiki Magelo profile. If that's interesting to anyone I'll doctor it up and put it up as well.

happyhappy
06-22-2015, 07:51 PM
should be ban worthy

also need to remove item links

all that + a kick in the shins, or cursed to step on a lone Lego when getting out of bed 7 days out of every other month for the rest of his life.

iruinedyourday
06-22-2015, 07:57 PM
Looked at it a bit - certainly doable, will take me a few hours of dedicated time and I'm not sure when I'll want to do that.

I do have a modified version of the one I've posted here that outputs a file with text to copy -> paste into your P99 wiki Magelo profile. If that's interesting to anyone I'll doctor it up and put it up as well.

http://1.bp.blogspot.com/-pi4arusNVv0/TVfcRffXouI/AAAAAAAAADs/wehoGUrIsnY/s1600/I-love-u_661.gif

sabinrf24
06-22-2015, 08:08 PM
OK - it's uploaded:

magemagelo.py (https://bitbucket.org/sabinrf24/everquest/raw/c00f7afa4cb76ebe853e15f4981019e9ea3b6363/eq/makemagelo.py)

It won't do the header stuff (class, race, etc.) but it autofills in your items in the right slots, which is what I found to be the annoying part.

Tasslehofp99
06-22-2015, 08:22 PM
or cursed to step on a lone Lego when getting out of bed 7 days out of every other month for the rest of his life.

hahaha

that is seriously the worst ever though

Kender
06-22-2015, 08:38 PM
was the /outputfile available in classic?

sabinrf24
06-22-2015, 09:01 PM
was the /outputfile available in classic?

Dunno, I found it on the wiki on the Commands page (http://wiki.project1999.com/Commands#.2Foutputfile).

Not sure where to find the 1999 original install CD ISOs or I could dig around a bit.

Ele
06-22-2015, 09:04 PM
was the /outputfile available in classic?

Added in 2004

http://www.tski.co.jp/baldio/patch/20040526.html

sabinrf24
06-22-2015, 09:11 PM
Added in 2004

http://www.tski.co.jp/baldio/patch/20040526.html

Ohhh! Farewell, /outputfile :)

SamwiseRed
06-22-2015, 09:43 PM
bluebies always hackin

Ele
06-22-2015, 10:36 PM
Ohhh! Farewell, /outputfile :)

Can still get a few years use out of it at the current pace.

Ravager
06-23-2015, 08:04 AM
I wonder how many chatboxes Ele uses.

Cool script so I'm not off topic.