Bug - Fixed Something broke: grimstoneMaskPath

Bale

Minion
The property "grimstoneMaskPath" used to be set by KoLmafia after using a Grimstone Mask and selecting an option from choiceAdventure829.

More recently, I have used the Grimstone Mask and selected option 1. It did open up "The Prince's Ball" zones as expected, but grimstoneMaskPath is not being set.
 

Veracity

Developer
Staff member
All right. I remembered to save some turns today.
I have 192 grimstone masks.
That should be enough. :)
 

Veracity

Developer
Staff member
Yeah.

Code:
Retrieved: http://www.kingdomofloathing.com/choice.php?pwd&whichchoice=829&option=1
Field: null = [HTTP/1.1 302 Found]
Field: Location = [place.php?whichplace=ioty2014_cindy]

ChoiceManager.postChoice2:

Code:
		// If you walked away from the choice, this is not a choice page
		if ( !urlString.startsWith( "choice.php" ) && !urlString.startsWith( "fight.php" ) )
		{
			ChoiceManager.handlingChoice = false;
			return;
		}
 

Veracity

Developer
Staff member
Try revision 16896. It worked for me, but I wonder if it weakened the fix that the previous submit was intended to provide...
 

lostcalpolydude

Developer
Staff member
Does this same change belong in postChoice1() (assuming it belongs in postChoice2(), since you're not sure about that)?
 

Veracity

Developer
Staff member
Seems likely.

The comment talks about "If you walked away from the choice", so, seems reasonable to check the condition only if you know you can walk away from the choice.
 
Top