Bug - Fixed Selling the Cursed Compass in relay causes an error.

Terrabull

Member
While adventuring in the PirateRealm I got the merchant adventure and sold the compass through that. I had the item equipped at the time, and when I tried to continue adventuring in the Realm, Mafia kept failing trying to equip the Compass.
I'm running the newest daily build.

Relevant part of the session log:

Code:
[6384] Skull Island
Encounter: Skull's Well That Ends Skull
You acquire an item: tomb-opener

[6384] Sailing the PirateRealm Seas
Encounter: What's Behind Island #2?

[6384] Sailing the PirateRealm Seas
Encounter: Like Shops in the Night
Encounter: Like Shops in the Night
You gain 500 gold
Encounter: Like Shops in the Night
You gain 5 grog
You lose 10 gold
Encounter: Like Shops in the Night
You gain 1 glue
You lose 10 gold
Encounter: Like Shops in the Night
You gain 1 glue
You lose 10 gold
Encounter: Like Shops in the Night
You gain 5 grog
You lose 10 gold
Encounter: Like Shops in the Night
You gain 1 gun
You lose 200 gold
You lose 1 grub
You lose 1 grog
Casting Elemental Saucesphere 1 times...
You acquire an effect: Elemental Saucesphere (12)
Elemental Saucesphere was successfully cast.
*** slot off-hand: KoL has (none) but KoLmafia has cursed compass
Holding cursed compass...
You don't have the item you're trying to equip.
Holding cursed compass...
You don't have the item you're trying to equip.
EDIT: Acquiring 500 gold is where I sold the Compass.

I get the following error when I try to adventure again.

Between battle actions failed. Click the image if you'd like to continue anyway.

I have no between battle scripts.
 

Veracity

Developer
Staff member
While adventuring in the PirateRealm I got the merchant adventure and sold the compass through that. I had the item equipped at the time, and when I tried to continue adventuring in the Realm, Mafia kept failing trying to equip the Compass.
That is the root cause of the issue: when you sell the compass, we need to remove the item from your equipment.

Code:
You lose 1 grub
You lose 1 grog
This is the usual behavior when you complete an adventure in the Pirate Realm Sea.

At this point, you must have tried to adventure again. You must have had the various "Relay Browser does things before manual adventures" settings. These control which "between battle" checks are performed:

Between Battle Script
Executing your mood
Autorecovery of HP
Autorecovery of MP

Code:
Casting Elemental Saucesphere 1 times...
You acquire an effect: Elemental Saucesphere (12)
Elemental Saucesphere was successfully cast.
This would be in your mood.

Code:
*** slot off-hand: KoL has (none) but KoLmafia has cursed compass
Holding cursed compass...
You don't have the item you're trying to equip.
Holding cursed compass...
You don't have the item you're trying to equip.
And this is because before & after doing a mood or HP recovery or MP recovery, KoLmafia makes an outfit checkpoint. It saved the checkpoint with a cursed compass and was unable to restore it, since you had no cursed compass.

In any case, removing the cursed compass from quipment/inventory when you sell it will fix this.
 

Veracity

Developer
Staff member
From my own session logs:

Code:
Encounter: Like Shops in the Night
Took choice 1360/5: Sell them the cursed compass
choice.php?pwd&whichchoice=1360&option=5
Encounter: Like Shops in the Night
You gain 500 gold
 
Top