Bug - Fixed Vacations not Working

bumcheekcity

Active member
Code:
> ash adventure(1, $location[muscle vacation])

Visit to Beach: Muscle Vacation in progress...

[3593] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency

Visit to Beach: Muscle Vacation in progress...

[3593] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency

Visit to Beach: Muscle Vacation in progress...
KoLmafia declares world peace.

[3593] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency

[3593] Muscle Vacation
Encounter: Man Down at the Hoedown
You gain 56 Fortitude

> ash adventure(1, $location[muscle vacation])

Visit to Beach: Muscle Vacation in progress...

[3593] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency

Returned: true

> adv muscle vacation

Visit to Beach: Muscle Vacation in progress...

[3596] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency

Visit to Beach: Muscle Vacation in progress...

[3596] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency

Visit to Beach: Muscle Vacation in progress...

[3596] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency

Visit to Beach: Muscle Vacation in progress...

[3596] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency

Visit to Beach: Muscle Vacation in progress...

[3596] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
KoLmafia declares world peace.

Validating adventure sequence...
Requests complete.

Visit to Beach: Muscle Vacation in progress...

[3596] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency

Visit to Beach: Muscle Vacation in progress...

[3596] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency

Visit to Beach: Muscle Vacation in progress...

[3596] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency

Visit to Beach: Muscle Vacation in progress...

[3596] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency

Visit to Beach: Muscle Vacation in progress...

[3596] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency

Visit to Beach: Muscle Vacation in progress...
KoLmafia declares world peace.

[3596] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency

> ash adv1($location[muscle vacation], -1, "")

Visit to Beach: Muscle Vacation in progress...

[3596] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency

Returned: true

> ash adv1($location[muscle vacation], -1, "")

Visit to Beach: Muscle Vacation in progress...

[3596] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency

Returned: true

This is on a faxbot multi who CAN adventure at the shore. When I type the cli commands, it just continues to TRY adventuring without doing so. This works perfectly on my main. I'm not overdrunk or anything on the faxbot multi.
 

Theraze

Active member
I get this every now and then, but can't really replicate it. It happens generally once every 2-3 ascensions. Manually going on a vacation does seem to fix the issue.

I also had this issue with the old Friar's Gate Ceremony. It would sometimes loop and visit it forever, until I manually visited it in the relay browser. Again, wasn't really able to replicate, so haven't reported. Haven't seen it since the Pandamonium recode...
 

Veracity

Developer
Staff member
I have no clue.

> ash adventure(1, $location[muscle vacation])

Visit to Beach: Muscle Vacation in progress...

[309250] Muscle Vacation
Encounter: Bang!
You acquire an item: stick of dynamite

Returned: true
 

Theraze

Active member
Actually had this happen to me yesterday again. Both adventure and adv1 returned that the visit was successful, but the adventure count didn't increment and the vacation failed to occur...

Since this is an irregular problem, what information can I try to collect when it's happening next time? Turn on debug, run a visit with adv1, and turn it off again?

Edit: Here is the quote from my session logs when it happened. The Encounter is listed as, well...
Visiting Olaf the Janitor
> You have already completed the Bitchin' Meatcar quest.
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
Leaflet inv
Visiting Olaf the Janitor
> You have already completed the Bitchin' Meatcar quest.
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: The Shore, Inc. Travel Agency
[1016] Muscle Vacation
Encounter: Bang!
You acquire an item: stick of dynamite

In working vacations, it has an encounter name. On broken vacations, it goes to "The Shore, Inc. Travel Agency" instead.
 
Last edited:

Theraze

Active member
Here we are, a half-meg debug log for one adventure where the gCLI output was
> ashq adv1($location[moxie vacation], 1, "")

Visit to Beach: Moxie Vacation in progress...

[1446] Moxie Vacation
Encounter: The Shore, Inc. Travel Agency

Requests complete.
Also, a trimmed log with (hopefully just the stuff from Bale's UR removed) that's significantly easier to read at 12k.
 

Attachments

  • DEBUG_20110504.txt
    494.8 KB · Views: 48
  • DEBUG_20110504_trimmed.txt
    11.9 KB · Views: 69
Last edited:

Veracity

Developer
Staff member
Thanks. The trimmed log shows that taking a vacation requires a password hash, but the failed visit was submitted without a password hash, which apparently makes KoL simply display the Travel Agency page. I'll look at it.

Edit: I know how to reproduce it. The critical little detail you guys didn't share was this:

You invoked adventure() or adv1() to a specific location from character #1, logged out and back into character #2 without closing KoLmafia, and then invoked adventure() or adv1() to that same location.

This has something to do with the first character's password hash being retained in the cached AdventureRequest for a particular $location. I'll experiment more and figure out just what is happening, which will then make the solution clear.
 
Last edited:

Veracity

Developer
Staff member
Revision 9271 clears the cached password hashes for all KoLAdventures when you log in a character.
 

Theraze

Active member
Ah, weird. That does make sense though, since quitting mafia completely does fix the problem, but logging out didn't. Thanks for the awesome detective work, Veracity! :)
 
Top