/pull uses ajax and does not list remaining pulls, unless it's in an HTML comment.
Searching the wiki for API gives no results... am I searching for the wrong thing?I've seen no evidence that the DC related functionality has changed. To be precise, everything I do with the DC has worked consistently since before the KoL storage revamp.
Who are you asking about an API call? Might I suggest you savor that coffee, browse the wiki and tell us if there is anything you think is missing?
Searching the wiki for API gives no results... am I searching for the wrong thing?
It does explicitly give 5 possible 'what' bits... but makes no hints as to other possibilities. Since they're useful for our script writers, if people have more exhaustive lists of what can be passed to it, examples for scripts, etc... that would probably be a good wiki-addition.KoL API
You must log-in and pass a PHPSESSID cookie as a normal player. All resposes are JSON objects, unless you specify another format.
You must provide at least two arguments (the bold ones), and some optional arguments:
what
What you are requesting, options include: (you can pass multiple at once, too. status,inventory)
status
Most of what you see on the charpane.
inventory
A list of all item IDs and how many you have
events
Green event messages. Poll this to see if you have kmail, then request with the 'id' in the kmail payload
item
Info about an item the character owns.
kmail
Pass an 'id' to fetch a single kmail, or a count to fetch the latest X
for
A description of your application. Try and put something useful so we can find you if there's an issue. (ex. TabbedChat+by+CDMoyer)
format
What format to return. Supported: json, php. Default: json
count
How many to return, for things that return a list. Defaults to 10, max of 100
id
Which item to return, such as when fetching a single kmail or an item id
since
For events, retrieve all events after this date/time (parseable by strtotime()). If 100 results are returned, you may need to query again, changing since to the date of the last item. (Date/time is parsed as aztime)
> closet list skeleton key
> inv skeleton key
skeleton key (8)
> closet put 1 skeleton key
Placing items into closet...
Requests complete.
> closet list skeleton key
skeleton key (8)
> inv skeleton key
> refresh all
Refreshing session data...
Loading character status...
Synchronizing moon data...
Retrieving character data...
Refreshing closet...
Examining consumables in closet...
Examining equipment in closet...
Examining miscellaneous items in closet...
Updating inventory...
Retrieving familiar data...
Familiar data retrieved.
Retrieving campground data...
Session data refreshed.
> closet list skeleton key
skeleton key
> inv skeleton key
skeleton key (7)
(?:howmany|qty)\\d*=(\\d+)
I am not sure this is related, but it happened at the same time so I'll add it to this thread. If I'm wrong someone can split it or I don't mind copying to a new thread manually.
Since the closet revamp, using the daily builds, when logging in I see a ton of messages about unknown items. With the previous daily build I was using (9250 maybe?) it only seemed to happen for the items in the closet. Since I ascended yesterday and/or started using 9259, it does it for every item in Hangks. That takes like 15 minutes. Furthermore many of the info requests seem to fail, filling up a huge debug log. I have attached a pared down debug log with only one failure in it.
I thought maybe I had some setting or data file that was causing problems, so I copied KoLmafia-9259.jar to an empty directory and launched it from there. I ended up with the same problem.
Could I see a debug log that shows what looking at a Storage page looks like for you?
Yay, thanks Veracity. I'll be ascending fairly soon and can report any problems with that one remaining thing you can't easily test.I'm declaring this implemented. I freed the king and my stash seems to be working just fine.
The only thing I have not tested - and will be unable to test - is "pulls remaining" for softcore.