Page 1 of 39 1 2 3 11 ... LastLast
Results 1 to 10 of 387

Thread: Nemesis quest script

  1. #1
    Developer
    Join Date
    Nov 2008
    Location
    Paris, France
    Posts
    4,511

    Default Nemesis quest script

    Nemesis.ash

    This script is SVN powered. This means that installing it is as simple as pasting this in the Mafia Command Line Interface:
    Code:
    svn checkout https://svn.code.sf.net/p/slyz-nemesis/code/
    This script will automatically:
    • do the LEW and nemesis Cave quests
    • farm until you get the volcano map
    • unlock the volcano island
    • unlock the nemesis lair for all the classes
    • try to solve the volcano maze


    The script will of course spend adventures and possibly a little bit of meat (to buy clownosity items, nemesis cave door items or a 2 handed club for killling Mother Hellseals, if needed), but nothing absurd will happen.

    To make it work:
    • Install the script using the SVN command given above.
    • There are a few zlib variables* you can setup to configure the farming:
      - nemesis_farm
      - nemesis_farm_location
      - nemesis_farm_familiar
      - nemesis_farm_outfit
      - nemesis_farm_mood
      - nemesis_farm_CCS
      - nemesis_autobuy_LTS
    • Surviving combats is your responsibility. This generally won't be a problem if you do this after breaking the prism. Simply make sure that the way Mafia is setup for combat when you launch the script is good enough to survive the Poop Deck (although you don't really need to win fights there), or the farming location (if you didn't setup nemesis_farm_CCS).
    • Launch the script by typing call nemesis.ash in the gCLI.


    *You can configure those by typing zlib settingname = value in the gCLI. If nemesis_farm is set to something other than 'true', the script will stop so you can spend your adventures as you want while waiting for the henchmen. If you choose to farm, only nemesis_farm_location really needs to be setup (the default is the Giant's Castle). For the rest, the script will either use the zlib setting if it has been set, or the setting you had on when you launched the script.

    For the lazy, you can simply equip your meat farming gear, setup your meat farming CCS and mood, get your meat farming buffs, and launch the script: the default farming location is the Giant's Castle.

    If you encounter any problem, please post your issues. To help with debugging, you should type zlib verbosity = 10 in the gCLI, run the script and copy here the gCLI log.

    Changelog

    24.08.10 - ver. 0.1 alpha posted.
    07.11.10 - ver. 0.2 alpha: added going through the Nemesis Lair and the Volcano Maze, added DB and S Nemesis Lair unlock.
    09.11.10 - ver. 0.3 alpha: added framework for the AT unlock
    15.11.10 - ver. 0.31 alpha: fix using bottle of gu-gone for S, make the volcano unlock more verbose, more fiddling with the AT unlock (still not tested)
    20.11.10 - ver. 0.32 alpha: fixed the AT unlock, only try to solve the Volcano Maze once
    20.11.10 - ver. 0.33 alpha: added a "conditions clear" before each use of adventure()
    24.11.10 - ver. 0.4 alpha: added PM unlock, fix recognizing paper strips in edge cases
    07.12.10 - ver. 0.5 alpha: added TT unlock (untested), added the nemesis_farm zlib setting.
    31.01.11 - ver. 0.51 alpha: various tweaks
    13.03.11 - ver. 0.52 alpha: Try to avoid Mafia's current problem with goals
    13.03.11 - ver. 0.53 alpha: A couple of bug fixes for the DB part thanks to Theraze
    14.04.11 - ver. 0.6 alpha: added SC unlock
    18.04.11 - ver. 0.61 alpha: tweak raveosity checking for DBs
    18.04.11 - ver. 0.62 alpha: added check for familiar equipment that does damage for mother hellseal killing
    02.05.11 - ver. 1: bumped to version 1, added notify, version checking
    08.05.11 - ver. 1.1: do not use the return value of equip()
    01.06.11 - ver. 1.2: "nemesis_AT_noncombat_keys" is now reset along with other preferences
    15.06.11 - ver. 1.3: use the ASH maximize(), remove auto-attack (and restore it when exiting)
    28.06.11 - ver. 1.4: use a data file instead of checking the wiki for passive damage sources
    18.09.11 - ver. 1.5: add a dummy action at the start of the macro used to liberate turtles
    25.09.11 - ver. 1.6: do not rely on a KoL macro to tame turtles, keep trying to solve the volcano maze
    14.11.11 - ver. 1.7: you need to tame 6 turtles to open the gates, call nemesisQuest() from a try/finally structure so the script restores your settings after an abort or after the user hits escape
    23.01.12 - ver. 1.8: make sure your familiar equipment doesn't deal damage when doing the TT, S and DB parts. Other small bug fixes thanks to Theraze.
    24.01.12 - ver. 1.9: respect Zlib's is_100_run familiar if it is set. Avoid equipping the Space Trip safety headphones when doing the DB part.
    02.02.12 - ver. 2.0: you have to tame 6 turtles, not 5, so don't say "X/5 turtles tamed".
    11.03.12 - ver. 2.1: even mighty Turtle Tamers need to restore HP from time to time.
    16.03.12 - ver. 2.2: visit your guild NPC twice after getting your EW, to make sure the Fun House is available.
    09.09.12 - ver. 2.3: only restore the autoattack before exiting the script.
    09.09.12 - ver. 2.4: restore the choiceAdventure189 setting when exiting.
    20.10.12 - ver. 2.5: stop using Zarqon's regretted map manager.
    27.10.12 - ver. 2.6: fix matching of special raver moves.
    21.02.13 - ver. 2.7: use "Giant's Castle (top floor)" as the default farming location. Add more possible drinks for the DB nemesis cave unlock, thanks to janusfenix.
    07.11.13 - r1: Migrate to SVN. Commit messages can now be browesed here
    .
    Last edited by slyz; 11-16-2013 at 06:48 AM.
    Try the Nemesis Quest Script or the FamiliarFeeder interface.
    *shakes KoLMafia tech support magic 8-ball* Update mafia to the latest daily .JAR!
    NEW Dad ASCENSION STARTED 20120730
    ------------------------------
    Welcome to Parenthood, Noob

  2. #2
    Senior Member
    Join Date
    Nov 2006
    Posts
    326

    Default

    No problems opening the nemesis cave as a post-prism TT. Excellent so far

  3. #3
    Senior Member Winterbay's Avatar
    Join Date
    Feb 2010
    Posts
    5,033

    Default

    So, if you like me generally do this in-run then it does not yet do anything for me? I generally try to get my LEW and farm some evil parts during run...

  4. #4
    Developer
    Join Date
    Nov 2008
    Location
    Paris, France
    Posts
    4,511

    Default

    Well, because of the 150 advs spend farming in the middle, you would have to stop it yourself. But if you can survive the nemesis cave and if retreive_item() manages to make the items for the doors, it should work.

    Here are a couple of aliases you can use to break it down in parts:

    Code:
    alias get_lew => ashq import "nemesis.ash"; get_LEW();
    alias nemesis_cave => ashq import "nemesis.ash"; nemesisCave();
    alias open_island => ashq import "nemesis.ash"; if(item_amount($item[secret tropical island volcano lair map])>0)openVolcanoIsland();
    openVolcanoIsland() will be called only if you have the map already, so the script won't spend 150 or so adventures farming, it will only adventure in the poop deck to get the O'Capn adventure.

    I'll be glad to hear any feedback from people using the script, in-run or after breaking the prism.
    Last edited by slyz; 09-04-2010 at 07:09 PM.
    Try the Nemesis Quest Script or the FamiliarFeeder interface.
    *shakes KoLMafia tech support magic 8-ball* Update mafia to the latest daily .JAR!
    NEW Dad ASCENSION STARTED 20120730
    ------------------------------
    Welcome to Parenthood, Noob

  5. #5
    Senior Member Theraze's Avatar
    Join Date
    Mar 2010
    Posts
    8,631

    Default

    Personally I'm looking forwards to using it. Currently heavily embroiled in Bad Moon, but I'll probably at least try out the LEW and NC bits irregularly before I get to go back to regular HC easiness.

    Edit: One possibility... could throw crafting the regular epic weapon in there. Check for big rock (some people may already have one, or be in BM), check (silently) if they have a clover and if so, ask if they want to use it to get a rock (so it doesn't break someone trying to unlock BM), then loot the hermit for the item and smith it with their starting item.
    Last edited by Theraze; 08-24-2010 at 10:27 PM.

  6. #6
    Developer
    Join Date
    Nov 2008
    Location
    Paris, France
    Posts
    4,511

    Default

    I'd rather not have a script use a clover for me automatically, getting a big rock is not that hard (it could easily be aliased).

    I should check how retrieve_item() handles the worthless items: it might even spend adventures in the sewers to get one to buy the Hermit item.

    EDIT: apparently it does. So all you need to start the script is a big rock in your inventory. I had some code in place to craft the EW but I took it out because I was expecting this to be used after breaking the prism (the EW can simply be bought in the mall).

    EDIT2: My bad, it will only advenure in the sewer if you specifically want to retrieve worthless items. If you simply ask for a hermit item, it will only use already available worthless items.

    EDIT3: Here is a little script that gets your Epic Weapon (untested). You can call it simply by typing call EW in the gCLI.
    Attached Files
    Last edited by slyz; 08-27-2010 at 11:01 AM.
    Try the Nemesis Quest Script or the FamiliarFeeder interface.
    *shakes KoLMafia tech support magic 8-ball* Update mafia to the latest daily .JAR!
    NEW Dad ASCENSION STARTED 20120730
    ------------------------------
    Welcome to Parenthood, Noob

  7. #7
    Senior Member
    Join Date
    Nov 2006
    Posts
    326

    Default

    So I tried, without even going to the guild to 'start' the quest:

    Code:
    > ash import "nemesis.ash"; get_LEW();
    
    nemesis_Step => 0
    nemesis_lastReset => 222
    Resetting mind control device...
    Mind control device reset.
    Internal checkpoint created.
    Verifying ingredients for 5-Alarm Saucepan (1)...
    Verifying ingredients for heavy hot sauce (1)...
    You need 1 more jabaņero pepper to continue.
    Unable to obtain your Epic Weapon, please craft/buy one.
    Returned: false
    
    > hagnk 1 5 alarm
    
    Pulling items from storage...
    18 pulls remaining,0 budgeted for automatic use.
    
    > ash import "nemesis.ash"; get_LEW();
    
    Internal checkpoint created.
    Maximizing (1st time may take a while)...
    936 combinations checked, best score 0.0 (FAIL)
    Putting on jewel-eyed wizard hat...
    Equipment changed.
    Wielding finger cymbals...
    Equipment changed.
    Putting on ASCII shirt...
    Equipment changed.
    Putting on filthy corduroys...
    Equipment changed.
    Putting on navel ring of navel gazing...
    Equipment changed.
    Putting on Mr. Accessory Jr....
    Equipment changed.
    Unable to meet all requirements via equipment changes.
    See the Modifier Maximizer for further suggestions.
    Could not obtain Funhouse item
    Returned: false
    Go to the guild, start the quest, same maximizer issue, pull 4 clownosity (clown buckler/whip), and away we go!

    --edit to add--
    I'm glad it doesn't auto-pull stuff. Very nice touch. It stopped 'cause it couldn't generate an insanely spicy enchanted bean burrito.

    Also, I just noticed it doesn't obtain a LEW by design, nevermind on that part

  8. #8
    Developer
    Join Date
    Nov 2008
    Location
    Paris, France
    Posts
    4,511

    Default

    It wasn't really meant to be used in-run, so I'll add a few checks for sanity (like not farming for 150 advs).

    I use retrieve_item() or Zarqon's obtain() function, I never thought of checking if those used pulls!

    EDIT: oh, and I also added code to get the Hermit item. I'll put up a newer version after this run.
    Last edited by slyz; 08-29-2010 at 07:07 PM.
    Try the Nemesis Quest Script or the FamiliarFeeder interface.
    *shakes KoLMafia tech support magic 8-ball* Update mafia to the latest daily .JAR!
    NEW Dad ASCENSION STARTED 20120730
    ------------------------------
    Welcome to Parenthood, Noob

  9. #9

    Default

    EDIT - This is a placeholder for a SC script - the initial one was pretty poor, not helped by a lack of testing on my part. I will be working on it, bringing combat into the script, and hopefully making it, you know, usable. Sorry.
    Last edited by Mr Purple; 09-05-2010 at 04:23 PM.

  10. #10
    Developer
    Join Date
    Nov 2008
    Location
    Paris, France
    Posts
    4,511

    Default

    Thanks, I'll take a long hard look once I'm done with this run.

    I'm going to avoid making the user setup CCSs and use the 3 variable version of adventure().
    Try the Nemesis Quest Script or the FamiliarFeeder interface.
    *shakes KoLMafia tech support magic 8-ball* Update mafia to the latest daily .JAR!
    NEW Dad ASCENSION STARTED 20120730
    ------------------------------
    Welcome to Parenthood, Noob

Similar Threads

  1. New Content - Implemented Nemesis Quest Revamp
    By heeheehee in forum Bug Reports
    Replies: 22
    Last Post: 07-04-2015, 03:03 PM
  2. Bug - Cannot Reproduce Nemesis quest big door password inop
    By nworbetan in forum Bug Reports
    Replies: 13
    Last Post: 07-17-2012, 04:14 AM
  3. 8343: Add some nemesis quest goals
    By RSS Bot in forum Latest SVN Changes
    Replies: 0
    Last Post: 03-30-2010, 04:30 PM
  4. Replies: 0
    Last Post: 02-20-2010, 02:30 PM
  5. 7554 - aInitial suport for new Nemesis quest
    By RSS Bot in forum Latest SVN Changes
    Replies: 0
    Last Post: 08-19-2009, 05:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •