Auto-stops: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Bale
correction
imported>Bale
final summary of Arid, Extra-Dry Desert
Line 9: Line 9:
* Teleportitis: [http://kol.coldfront.net/thekolwiki/index.php/The_Oracle_Will_See_You_Now The Oracle Will See You Now]
* Teleportitis: [http://kol.coldfront.net/thekolwiki/index.php/The_Oracle_Will_See_You_Now The Oracle Will See You Now]
* Barrrney's Barrr: [http://kol.coldfront.net/thekolwiki/index.php/Step_Up_to_the_Table%2C_Put_the_Ball_in_Play Step Up to the Table, Put the Ball in Play]
* Barrrney's Barrr: [http://kol.coldfront.net/thekolwiki/index.php/Step_Up_to_the_Table%2C_Put_the_Ball_in_Play Step Up to the Table, Put the Ball in Play]
* Arid, Extra-Dry Desert: Auto-stops every time you want to start adventuring at the Oasis or if you need to purchase a can of black paint:
* Arid, Extra-Dry Desert: Auto-stops every time you want to start adventuring at the Oasis or if you need to get an item:
*# A Sietch in Time
*# A Sietch in Time
*# No Colors Anymore (without can of black paint). With paint, adventuring continues to Walk Without Rhythm.
*# No Colors Anymore (without can of black paint). With paint, adventuring continues to Walk Without Rhythm.
*# Still No Colors Anymore
*# Walk Without Rhythm
*# Walk Without Rhythm
*# Walk Without Rhythm 2
*# Walk Without Rhythm 2 (Only occurs if you didn't have a drum machine at previous auto-stop.)
*# The Sleeper Has Awakened
* agua de vida: Auto-stop when a bottle is consumed.
* agua de vida: Auto-stop when a bottle is consumed.
* Auto-stop when a demon name is learned and opens mini-browser to display it.
* Auto-stop when a demon name is learned and opens mini-browser to display it.
* Auto-stop when a hobo code is learned and opens mini-browser to display it.
* Auto-stop when a hobo code is learned and opens mini-browser to display it.


{{CodeSample|description=Unlocking the White Citadel can make use of the auto-stop to be this simple.|
{{CodeSample|description=Unlocking the White Citadel can make use of the auto-stop to be this simple.|
Line 23: Line 24:
adventure( my_adventures(), $location[whitey's grove] );
adventure( my_adventures(), $location[whitey's grove] );
adventure( my_adventures(), $location[white citadel );
adventure( my_adventures(), $location[white citadel );
</syntaxhighlight>}}
{{CodeSample|description=Unlocking the Pyramid, using the magic of auto-stops. Note that this assumes you have enough adventures to complete it. A better script would check the questlog to verify current quest progress before beginning adventuring.|
code=<syntaxhighlight>
cli_execute("condition clear");  # conditions must be clear or stops won't be automatic.
# Adventure until: A Sietch in Time
adventure( my_adventures(), $location[Desert (Ultrahydrated)] );
cli_execute("condition set 1 stone rose, 1 drum machine");
adventure( my_adventures(), $location[Oasis] );
# Adventure until: Walk Without Rhythm
retrieve_item(1, $item[can of black paint]);
adventure( my_adventures(), $location[Desert (Ultrahydrated)] );
cli_execute("condition set worm-riding manual pages 3-15");
adventure( my_adventures(), $location[Oasis] );
# Adventure until: The Sleeper Has Awakened
adventure( my_adventures(), $location[Desert (Ultrahydrated)] );
# Equip wormhooks, use drum machine and then re-equip original weapon.
cli_execute("checkpoint; equip worm hooks; use drum machine; outfit checkpoint");
</syntaxhighlight>}}
</syntaxhighlight>}}


[[Category:Automation]]
[[Category:Automation]]

Revision as of 05:57, 8 June 2010

Auto-stops are places where mafia's automation will automatically stop, just as the name suggests. These are all KoL non-combats. If mafia detects one of these auto-stop non-combats then automation will cease immediately after the encounter.

There is just one trick to using auto-stops: mafia will only stop for auto-stops when there are no conditions set. If conditions are set then mafia will continue automation until it reaches those conditions and stop normally. This is to prevent auto-stops from interfering with regular automation.

  • Sleazy Back Alley: Under the Knife
  • Misspelled Cemetary: A Grave Situation
  • Haunted Library: Either version of Take a Look, it's in a Book!
  • Whitey's Grove: It's A Sign!
  • Teleportitis: The Oracle Will See You Now
  • Barrrney's Barrr: Step Up to the Table, Put the Ball in Play
  • Arid, Extra-Dry Desert: Auto-stops every time you want to start adventuring at the Oasis or if you need to get an item:
    1. A Sietch in Time
    2. No Colors Anymore (without can of black paint). With paint, adventuring continues to Walk Without Rhythm.
    3. Walk Without Rhythm
    4. Walk Without Rhythm 2 (Only occurs if you didn't have a drum machine at previous auto-stop.)
    5. The Sleeper Has Awakened
  • agua de vida: Auto-stop when a bottle is consumed.
  • Auto-stop when a demon name is learned and opens mini-browser to display it.
  • Auto-stop when a hobo code is learned and opens mini-browser to display it.


Unlocking the White Citadel can make use of the auto-stop to be this simple.

adventure( my_adventures(), $location[whitey's grove] );
adventure( my_adventures(), $location[white citadel );

Unlocking the Pyramid, using the magic of auto-stops. Note that this assumes you have enough adventures to complete it. A better script would check the questlog to verify current quest progress before beginning adventuring.

cli_execute("condition clear");   # conditions must be clear or stops won't be automatic.
# Adventure until: A Sietch in Time
adventure( my_adventures(), $location[Desert (Ultrahydrated)] );
cli_execute("condition set 1 stone rose, 1 drum machine");
adventure( my_adventures(), $location[Oasis] );
# Adventure until: Walk Without Rhythm
retrieve_item(1, $item[can of black paint]);
adventure( my_adventures(), $location[Desert (Ultrahydrated)] );
cli_execute("condition set worm-riding manual pages 3-15");
adventure( my_adventures(), $location[Oasis] );
# Adventure until: The Sleeper Has Awakened
adventure( my_adventures(), $location[Desert (Ultrahydrated)] );
# Equip wormhooks, use drum machine and then re-equip original weapon.
cli_execute("checkpoint; equip worm hooks; use drum machine; outfit checkpoint");