If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

I'd also be very interested in this, mostly because it is a pain finding out what big sales have happened inbetween all the 100-1000000 meat sales with the current layout. Just an option to sort the store log in the mall manager by the size of the purchases would be much appreciated, really.

Yeah, also interested in this. I would like a log of my mall sales/purchases to be automatically generated, but afaik KoLMafia doesn't do this and I can't do it through scripting due to this limitation.

Back when hola was active, I asked that the Store Manager open up and display the log immediately. The answer was no, because it was a server hit that could be deferred until the player actually wanted the data.

Off the top of my head, I am not really interested in re-implementing Excel (or the spreadsheet of your choice) in Java to sort and filter the log. But if that is easier than I think it is because of libraries we already have I might do it.

I can see some benefit from a get_sales_log command, assuming no one smarter than me can figure out how to use it for a mall bot. It would dump a text file in the data directory and the user would have to use ash or something else to process it. I'll investigate.

Having looked at the code there is both a "log list" and a "sold list". I'm not sure yet how they differ or if one is derived from the other. I'm inclined to look at the log list first. I note there is a lot of parsing going on already and it actually might be easier for the command to return an array rather than write a file. I'm also rethinking the name. Most of the ash commands relating to "my mall store" seem to use "shop".

I suppose I could also try to add some info about this to the wiki, but if I do, what is it that should be added there?

Originally Posted by ereinion

Thanks. Wiki has lists of functions - parameters, description, etc. When the next person asks for this and you tell them to check the wiki, what do they need to find there so "check the wiki" is helpful, not snarky.