Code:
case 200:
// Enter The Hoboverlord
case 201:
// Home, Home in the Range
case 202:
// Bumpity Bump Bump
case 203:
// Deep Enough to Dive
case 204:
// Welcome To You!
case 205:
// Van, Damn
// Stop for Hobopolis bosses
if ( ChoiceManager.lastDecision == 2 && KoLmafia.isAdventuring() )
{
KoLmafia.updateDisplay( MafiaState.PENDING, ChoiceManager.hobopolisBossName( ChoiceManager.lastChoice ) + " waits for you." );
}
break;
KoLmadfa.isAdventuring starts at false. KoLmafia.makeRequest does this:
Code:
KoLmafia.isAdventuring = true;
...
KoLmafia.executeRequest( request, iterations, wasAdventuring );
,,,
finally
{
if ( request instanceof KoLAdventure && !wasAdventuring )
{
...
KoLmafia.isAdventuring = false;
Which is to say, isAdventuring will only be true if you are actually automating. Your statement "stops everything (even if selecting the choice with visit_url() !! )" looks to be impossible, since visit_url() is not "automating" via KoLmafia.makeRequest.
Now, the adventure command (or ASH function) will call KoLmafia.makeRequest.
How, exactly, are you "go[ing] in burnbarrel boulevard"?
You are doing it "in the hope of landing on the semi-rare".
What does "hope" have to do with it? It's either the semirare counter or it is not. Shouldn't you know that?
If you go there when the semirare is due, you will find choice #291 and option 1 will let you buy the semirare. If you go there when the boss is due, you will find choice #201 and option 2 should let you leave the fight.
To be honest, I don't understand why it aborts automation when you intentionally choose to not fight the boss. Probably because if you are automating 100 turns in the zone, get the boss choice, and exit it, it SHOULD stop automating that zone.
I see nothing in the code to make me think it will display the message (and abort automation) if you are NOT automating.
Please show me the code you use to go to burnbarrel blvd and select option 1 for choice 291 and option 2 for choice 201.
I assume you are using adv1 or adventure. Have you considered capturing the return value of that function?