2005-01-19 18:15:14 UTC
To address 1)
a) I have code that creates an aggregated list of all the items that I own regardless of their location - inventory, store, closet or equipped.
b) I have code that finds items that are in my inventory but not in my closet and moves one (each) of those items to my closet.
c) I have code that finds items that are in my clan stash but not in my inventory.
d) I have code that computes a mall sell price for every item in my inventory. This is based upon the autosell price as well as the current prices for the item in the mall.
I am working on way to compare my items to a list of game items (generated elsewhere) and then compute some kind of average mall price for stuff I don't have. I am also working on automating the movement of items from my inventory to the store.
Important features, in no particular order: a way to get every item belonging to my character even if the item cannot be traded, discarded or sold; given a KoLItem, the ability to get mall prices and the AutoSell price for that item, with the convention that 0 means it can't be sold; API that will eventually be stable and not offend my sense of good design and implementation; and a library that will provide good feedback while I am developing code - it traps errors that are the result of bad programming and should never be present in production code.