New Content - Implemented New Hangk's and Closet Interface

Nifft

Member
Hi, can someone help me figure out why I'm still having trouble with this with JAR 9264?

I have a softcore in-ronin char

Login scroll:
Validating login server (www5.kingdomofloathing.com)...
Redirected to www7.kingdomofloathing.com...
872 players online.
Sending login request...
Initializing session for triste...
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...
Refreshing storage...
Examining meat in storage...
Examining consumables in storage...
Examining equipment in storage...
Examining miscellaneous items in storage...
Session data refreshed.
Visiting Crimbo Tree in clan VIP lounge
Visiting The Gnomish Micromicrobrewery...
Menu retrieved.
Configuring dynamic buff prices...
Buff prices fetched.
5 days until Generic Summer Holiday, 3 days until Muscle.

It looks like storage was parsed, and I verified by...

> ash print(storage_amount($item[really dense meat stack]));
Result: 15

He has pulls remaining, as a Relay Browser visit to Hagnk's shows:

You may take 10 more items or 10,000 more Meat out of storage today.

But, pulls_remaining() isn't giving me happy results:

> ash print(pulls_remaining());
Result: 0

Thanks ahead of time for any assistance!
~ Nifft
 

Nifft

Member
Same results in 9266. Should the login lines have changed at all, where it says examining meat/consumables/etc but still doesn't mention pulls? Anything else I can check to help you out?

thanks!
~ Nifft
 

Veracity

Developer
Staff member
After you log on, turn on debug logging and go visit the main page of Hagnk's.
Tell me how many pulls KoLmafia thinks you have.
And post the debug log of that page visit here.
 

Nifft

Member
Where is the magic hidden debug option? I've turned on every debug checkbox under Preferences > General and nothing gets spit out anywhere when I do the Hagnk visit. No DEBUG***.txt file in my mafia folder and no extra output in his session log.

Sorry/thanks!
~ Nifft
 

Winterbay

Active member
It's in the dropdown menu called "Help" at the top right. 2nd option in there.

Edit: You stop it in the same way when you're done so that it not get too bloated :)
 

Nifft

Member
Thanks, Winterbay.

Debug Log attached.

I have 10 items in storage. Dunno how many mafia thinks I have (unless you just mean from the Item Manager... it's 0 there as it has been since the switch to the new storage pages).

~ Nifft
 

Attachments

  • DEBUG_20110503.txt
    55.1 KB · Views: 173
Last edited:

Veracity

Developer
Staff member
Ah ha.

Code:
<p>You may take <span class="pullsleft">10</span> more items or <span class="pullsleft">10</span>,000 more Meat out of storage today.

Try revision 9268.
 

Nifft

Member
Is there a quicker place to pick up the JAR than to wait until it shows up on the big list of them?
 

Nifft

Member
Ok, was just trying to go quicker so you wouldn't be waiting on me. Do they build on the hour, or does the 'every hour' vary a bit?
 

Nifft

Member
Another tidbit I just noticed when I got home and could start doing pulls.... the amount of pulls left on the Item Manager page did not update until I did a manual visit back to Hagnk's. I was pulling items via the Modifier Maximizer [GUI version].

thanks,
~ Nifft
 

Veracity

Developer
Staff member
Ah. I expect that the old storage interface page updated the pulls remaining after every pull, but the new "you pulled xxx" page does not. In fact, lost confirmed up above that if you do "/pull xxx" from chat, it does it with ajax and says nothing about remaining pulls.
 

Veracity

Developer
Staff member
Revision 9269 counts items you pull and adjusts your remaining pull count accordingly. Untested.
 

Nifft

Member
Tested. If you pull 1 item, it sets your remaining pulls to 1. If you pull 2 items it sets them to 2. I stopped there as I only have 3 pulls left and will save them for the next release if it will beat rollover.
~ Nifft
 

Nifft

Member
Tested 9270 by pulling 1 item via item manager, 2 items at once via item manager and 2 of 1 item via the pull command in the CLI... each decremented remaining pulls correctly.

~ Nifft
 
Top