//this is my boa farming script as of 5/11/2019, the last time I revised it. It won't work for you, so don't run it. I'm mostly posting it as a reference for curious people. //here are most of the macros it uses. these are 3 months older than the script, so there's probably some stuff missing, but oh well. https://pastebin.com/C3NKezVN /* outfit prior to neverending party: crumpled fedora bjorn fishbone corset rope pliers pantogram brogues screege belt of loathing boa party: crumpled fedora bjorn fishbone corset rope pliers pantogram brogues screege belt of loathing */ //you probably aren't me, so commenting this out. /* if(get_property("useDevProxyServer") != "true"){ set_property("useDevProxyServer", "true"); set_property("loginServerName", "devproxy.kingdomofloathing.com"); cli_execute("login yojimboS_LAW"); } if(holiday().contains_text("Dependence Day")){ cli_execute("/use green rocket"); } if(my_id() != "1775888"){ abort("wrong account, idiot"); } */ cli_execute("gc"); boolean are_we_consuming_eggs = false; print_html("robort drinks disabled"); print_html("stooper commented out"); //wait(600); /* if(my_inebriety() > 23){ cli_execute("run mallbot.ash"); } */ //parses yesterday's session logs for pocket wish purchases and logs all such purchases. //cli_execute("run wish purchase recorder.ash"); //records total amount below 49k paid for wishes and sends out balances larger than 10k meat. //cli_execute("run payout.ash"); //wait(69420); /* if(available_amount($item[cuppa royal tea]) < 950){ cli_execute("mallbuy "+(950-available_amount($item[cuppa royal tea])).to_string()+" cuppa royal tea @ 69420"); } */ //seconds. int when_the_fuck_is_it = gametime_to_int() / 1000; if(get_property("_script_start_time") == ""){ set_property("_script_start_time", when_the_fuck_is_it); } if(get_property("bot_closeted_meat") == "yeah"){ cli_execute("closet take * meat"); set_property("bot_closeted_meat",""); } if($item[portable mayo clinic].available_amount() > 0){ cli_execute("use portable mayo clinic"); } //get_property("_dicey_mp_runs").to_int() == 0 && if( have_effect($effect[Clumsy]) > 0){ cli_execute("/shrug! clumsy"); } if(get_property("_turns_that_this_script_can_use_today") == ""){ cli_execute("/shrug timer 1"); wait(3); int min_duration = 69420; foreach i in my_effects(){ if(i.have_effect() < min_duration && i.have_effect() > 0){ min_duration = i.have_effect(); } } if(min_duration < 10){ set_property("_turns_that_this_script_can_use_today",3); } else{ set_property("_turns_that_this_script_can_use_today",4); } } if(have_effect($effect[timer 1]) < get_property("_turns_that_this_script_can_use_today").to_int()){ if(holiday().length() == 0){ cli_execute("/timer "+(get_property("_turns_that_this_script_can_use_today").to_int()+1)); } else{ cli_execute("/timer "+(get_property("_turns_that_this_script_can_use_today").to_int()+2)); } } if(get_property("currentMood") != "apathetic"){ set_property("currentMood","apathetic"); } set_property("battleAction","custom combat script"); set_auto_attack("(npzr bullshit"); cli_execute("acquire 420 chipotle wasabi cilantro aioli"); cli_execute("acquire 69 louder than bomb"); /* base combat macro for this stupid script: https://pastebin.com/qJHSN8nN things left to do maybe eventually: 2-4 goth fights? equipment checks, class checks, path checks, better tracking of deaths */ //lol cocoon nerf. void new_cocoon(){ if(my_hp()*3 < my_maxhp()*2) cli_execute("/cast "+( min( (my_maxhp() - my_hp()) / 1000 , my_mp() / 14 ) )+" cannelloni cocoon"); } void log_online_players(){ //commented out because you probably don't care how many people are online. /* //every 5 minutes. if(max(gametime_to_int() - get_property("_last_online_check").to_int(),get_property("_last_online_check").to_int() - gametime_to_int()) > 300000){ string[int] online_players; file_to_map("online players.txt",online_players); set_property("message_index",get_property("message_index").to_int()+1); online_players[get_property("message_index").to_int()] = group_string(visit_url("login.php"), "There are currently.*?(\\d+)")[0][1].to_int()+" players logged in at "+gametime_to_int()+" on "+today_to_string(); print(online_players[get_property("message_index").to_int()]); map_to_file(online_players, "online players.txt"); set_property("_last_online_check",gametime_to_int()); } */ //this logs the graffiti wall every minute, too, because why not. /* if(max(gametime_to_int() - get_property("_last_graffiti_check").to_int(),get_property("_last_graffiti_check").to_int() - gametime_to_int()) > 60000){ string stuff = visit_url("town_grafwall.php"); while( stuff.length() < 69 ){ stuff = visit_url("town_grafwall.php"); waitq(5); } string[int][int] buttles = group_string(stuff.substring(stuff.index_of("The Graffiti Wall"),stuff.index_of("href=\"graffiti.php\">")), "]+>((?:(?!).)+)"); boolean[string][string] lines; file_to_map("graffiti.txt",lines); foreach i,j in buttles{ if(j==1) lines[today_to_string()][buttles[i][j].group_string("^(?:<[bi]>)*(.*)$")[0][1]] = true; } map_to_file(lines,"graffiti.txt"); set_property("_last_graffiti_check", gametime_to_int()); } */ } void log_mmg(){ //commented out because you probably don't want a registry of MMGers. /* //every 20 seconds. if(max(gametime_to_int() - get_property("_last_mmg_check").to_int(),get_property("_last_mmg_check").to_int() - gametime_to_int()) > 20000){ string[int][int][int] idiots_and_their_bets; file_to_map("known mmgers.txt", idiots_and_their_bets); string page_of_idiots = visit_url("bet.php"); int[string] buttles; int last_bet_ID = get_property("last_bet_ID").to_int(); //sample line in table of bets: //Dare Devil (#3193713)5,000 Meat
string[int][int] parsed_page_of_idiots = page_of_idiots.group_string("([0-9a-zA-Z _]+) \\(#(\\d+)\\).*?([0-9,]+) Meat.*?name=\'form([0-9]+)\'"); foreach i,j in parsed_page_of_idiots{ //print(i+","+j+": "+parsed_page_of_idiots[i][j]); if(j==1){ idiots_and_their_bets[parsed_page_of_idiots[i][4].to_int()][parsed_page_of_idiots[i][3].to_int()][parsed_page_of_idiots[i][2].to_int()] = parsed_page_of_idiots[i][1]; print_html(parsed_page_of_idiots[i][4]+" "+parsed_page_of_idiots[i][3]+" "+parsed_page_of_idiots[i][2]+" "+parsed_page_of_idiots[i][1]); } } //stored as betID betAmount idiotID idiot map_to_file(idiots_and_their_bets,"known mmgers.txt"); file_to_map("actual mmgers.txt",buttles); foreach i,j,k in idiots_and_their_bets{ if( i > last_bet_ID){ buttles[idiots_and_their_bets[i][j][k]] += j; last_bet_ID = i; } //buttles[idiots_and_their_bets[i][j][k]] = true; } map_to_file(buttles, "actual mmgers.txt"); set_property("last_bet_ID",last_bet_ID); int[string] mmgers; file_to_map("actual mmgers.txt", mmgers); int[int] meats; foreach i in mmgers{ meats[mmgers[i]] = mmgers[i]; } //sort meats by -value; int county_thing; string[int][int] sorted_mmgers; foreach i in mmgers{ foreach j in meats{ if(mmgers[i] == meats[j]){ sorted_mmgers[meats[j]][county_thing] = i; county_thing++; } } } map_to_file(sorted_mmgers, "sorted mmgers.txt"); set_property("_last_mmg_check",gametime_to_int()); } */ } void summon_shit(){ cli_execute("cast * dice"); /* if(get_property("libram_parity").to_int() == 0){ cli_execute("cast * dice"); set_property("libram_parity", 1); } else{ //cli_execute("cast * summon resolutions"); cli_execute("cast * dice"); set_property("libram_parity", 0); } */ /* cli_execute("cast * summon party favor"); //chance of rare = 1/2^([# of rares summoned]+1) // E[summons for rare #N] = \sum_{i=1}^{N+1}2^i = 2*(2^{N+1}-1) //E[rares in N summons] = log_2(N/2 + 1)-1 //but who cares because we can't take a log in ASH. int favors_summoned = get_property("libramSummons").to_int()-get_property("_last_bricko_eye").to_int(); int indexing_stuff = 0; int remaining = favors_summoned; while(remaining > (2**(1+indexing_stuff))){ indexing_stuff++; remaining -= 2**indexing_stuff; } if(remaining >= 0){ print("expected between "+(indexing_stuff)+" and "+(indexing_stuff+1)+" divine rares from "+favors_summoned+" summons"); print("but got "+get_property("_favorRareSummons")); } */ } void bjorn_stuff(){ log_mmg(); log_online_players(); summon_shit(); if(get_property("_garbageFireDropsCrown").to_int() < 3){ if(my_bjorned_familiar() != $familiar[garbage fire]){ bjornify_familiar($familiar[garbage fire]); } } else{ if(get_property("_grimFairyTaleDropsCrown").to_int() < 2){ if(my_bjorned_familiar() != $familiar[grim brother]){ bjornify_familiar($familiar[grim brother]); } } else{ if(get_property("_grimstoneMaskDropsCrown").to_int() < 1){ if(my_bjorned_familiar() != $familiar[grimstone golem]){ bjornify_familiar($familiar[grimstone golem]); } } else{ if(my_bjorned_familiar()!= $familiar[misshapen animal skeleton]){ bjornify_familiar($familiar[misshapen animal skeleton]); } } } } } void use_plural_of_rain_man(){ cli_execute("gc"); log_mmg(); while( my_rain() >= 50 && (my_inebriety() - inebriety_limit()) <= 0 ){ if( !get_property("_chateauMonsterFought").to_boolean() && my_rain() <= 93 ){ set_auto_attack("(npzr bullshit"); visit_url("place.php?whichplace=chateau&action=chateau_painting"); run_combat(); //better safe than aborted, I guess: while(in_multi_fight()){ run_combat(); } } else{ if(item_amount($item[photocopied monster]) == 1 && get_property("_photocopyUsed") == "false" ){ set_auto_attack("(npzr bullshit"); cli_execute("/use photocopied monster"); run_combat(); while(in_multi_fight()){ run_combat(); } } else{ if(get_property("_turns_that_this_script_can_use_today").to_int() > 0){ set_auto_attack("embezzler boa bullshit"); cli_execute("/cast rain man"); set_property("_turns_that_this_script_can_use_today",get_property("_turns_that_this_script_can_use_today").to_int()-1); //embezzler 530 visit_url("choice.php?whichchoice=970&whichmonster=530&option=1&pwd"); try{ visit_url("main.php"); } finally{ run_combat("while !pastround 20; use dictionary; endwhile;"); } while(in_multi_fight()){ run_combat(); } set_auto_attack("(npzr bullshit"); } else{ set_auto_attack("(npzr bullshit"); cli_execute("/cast rain man"); //witchess knight visit_url("choice.php?whichchoice=970&whichmonster=1936&option=1&pwd"); //black crayon elf //visit_url("choice.php?whichchoice=970&whichmonster=1201&option=1&pwd"); //Mob Penguin organizer //visit_url("choice.php?whichchoice=970&whichmonster=2037&option=1&pwd"); run_combat(); while(in_multi_fight()){ run_combat(); } cli_execute("cast cannelloni cocoon"); bjorn_stuff(); } } } } while( slash_count($item[spooky putty monster]) > 0 ){ if(get_property("rkelly").to_int() == 0){ while( (slash_count($item[spooky putty monster]) > 0 && get_property("_spoopiesfought").to_int() < 4 )){ cli_execute("/use spooky putty monster"); set_property("_spoopiesfought", get_property("_spoopiesfought").to_int() + 1 ); run_combat(); while(in_multi_fight()){ run_combat(); } } if(slash_count($item[spooky putty monster]) > 0 & get_property("_spoopiesfought").to_int() == 4 ){ set_auto_attack("basically npzr bullshit"); cli_execute("/use spooky putty monster"); set_property("_spoopiesfought", get_property("_spoopiesfought").to_int() + 1 ); run_combat(); while(in_multi_fight()){ run_combat(); } set_auto_attack("(npzr bullshit"); } if(slash_count($item[spooky putty sheet]) > 0 & get_property("_spoopiesfought").to_int() == 5 ){ put_closet(1, $item[spooky putty sheet]); set_property("rkelly",1); } } } } void use_lightning_strikes(){ log_mmg(); summon_shit(); while( my_lightning() > 89 ){ set_auto_attack("hr sandworms"); visit_url("inv_use.php?whichitem=2328&pwd"); run_combat(); while(in_multi_fight()){ run_combat(); } cli_execute("cast cannelloni cocoon"); set_auto_attack("(npzr bullshit"); } if( my_rain() > 70){ use_plural_of_rain_man(); } while( my_lightning() > 19 ){ set_auto_attack("hr sandworms"); visit_url("inv_use.php?whichitem=2328&pwd"); run_combat(); while(in_multi_fight()){ run_combat(); } cli_execute("cast cannelloni cocoon"); bjorn_stuff(); set_auto_attack("(npzr bullshit"); } if(my_lightning() <= 19 && get_property("_firedJokestersGun") == "false"){ if(get_property("_firedJokestersGun") == "false"){ cli_execute("equip offhand old school flying disc"); cli_execute("equip weapon jokester\'s gun"); set_property("_did_jokester_thingy","asdf"); } set_auto_attack("hr sandworms"); visit_url("inv_use.php?whichitem=2328&pwd"); run_combat(); while(in_multi_fight()){ run_combat(); } cli_execute("cast cannelloni cocoon"); bjorn_stuff(); set_auto_attack("(npzr bullshit"); if(get_property("_did_jokester_thingy") != ""){ cli_execute("outfit npzr bullshit"); set_property("_did_jokester_thingy",""); } } } cli_execute("acquire 69 soft green echo eyedrop antidote"); if(have_effect($effect[insani tea]) != 0){ cli_execute("/shrug! insani tea"); } if(have_effect($effect[curse of randomness]) != 0){ cli_execute("/shrug! curse of randomness"); } if(!get_property("breakfastCompleted").to_boolean()){ if(get_property("libramSummons").to_int() == 0){ while(get_property("_brickoEyeSummons").to_int() <3 ){ cli_execute("cast summon brickos"); } set_property("_last_bricko_eye",get_property("libramSummons")); while(get_property("_favorRareSummons").to_int() <4 ){ cli_execute("cast summon party favor"); } } cli_execute("breakfast"); } if(!get_property("_kgbLeftDrawerUsed").to_boolean()){ cli_execute("briefcase collect"); } if(get_property("_deckCardsDrawn").to_int() == 0){ cli_execute("cheat x of swords"); // cli_execute("cheat rope"); cli_execute("cheat x of cups"); cli_execute("cheat year of plenty"); } /* //if(get_property("_personal_high_top_tracking") <3 ){ cli_execute("/use pump-up high-tops"); cli_execute("/use pump-up high-tops"); cli_execute("/use pump-up high-tops"); //} */ refresh_status(); cli_execute("acquire 69 mayodiol"); cli_execute("acquire 69 mayonex"); cli_execute("acquire 69 special seasoning"); cli_execute("acquire 69 milk of magnesium"); if(get_property("_thanksgettingFoodsEaten").to_int() < 9 && my_fullness() < 7 && my_inebriety() < 11){ if(have_effect($effect[got milk]) < 69){ cli_execute("/use 11 milk of magnesium"); } /* if(item_amount($item[warm gravy]) < 11 && item_amount($item[cashew]) < 69 ){ cli_execute("acquire 11 cornucopia"); cli_execute("use 11 cornucopia"); } for i from 9171 to 9179{ cli_execute("acquire 11 "+to_item(i)); } for i from 9171 to 9179{ if(!get_property("_timeSpinnerFoodAvailable").contains_text(i.to_string())){ if(get_property("mayoInMouth") == "" && get_property("_this_tracks_mayodiol").to_int() < 4){ use(1, $item[mayodiol]); set_property("_this_tracks_mayodiol",get_property("_this_tracks_mayodiol").to_int() + 1); } else{ use(1, $item[mayonex]); } eat(1, to_item(i)); } } */ } if(get_property("_infernoDiscoVisited") == "false"){ cli_execute("outfit velvet"); visit_url("place.php?whichplace=airport_hot&action=airport4_zone1"); run_choice(7); } if(get_property("_dinseyGarbageDisposed") == "false"){ cli_execute("acquire 11 bag of park garbage"); if(get_property("choiceAdventure1067") != "7"){ set_property("choiceAdventure1067",7); } visit_url("place.php?whichplace=airport_stench&action=airport3_tunnels"); cli_execute("try;choice Waste Disposal"); } if(get_property("_detectiveCasesCompleted") == "0"){ cli_execute("run detective solver.ash"); } if(get_property("_fantastic_hat") == ""){ visit_url("place.php?whichplace=realm_fantasy&action=fr_initcenter"); visit_url("choice.php?whichchoice=1280&option=1"); set_property("_fantastic_hat","afdfdh"); } if(get_property("_clipartSummons").to_int() == 0 ){ /* for i from 1 to 3{ //temps tempranillo. visit_url("campground.php?preaction=combinecliparts&action=bookshelf&clip1=09&clip2=04&clip3=04"); //temps tempranillo. //visit_url("campground.php?preaction=combinecliparts&action=bookshelf&clip1=09&clip2=04&clip3=04"); } */ cli_execute("make 3 box of familiar jacks"); } if(get_property("_horsery") == ""){ cli_execute("horsery meat"); } refresh_status(); int eggz1 = inebriety_limit() - my_inebriety() - 2; int eggz2 = fullness_limit() - my_fullness() - 1; if(get_property("_foisissbsb") == ""){ cli_execute("/buy sphygmayomanometer"); set_property("_foisissbsb","aregatha"); } //cli_execute("acquire 11 toast with hot jelly"); cli_execute("acquire 11 hot jelly"); if(eggz1 > 0 && get_property("_sexy_toast") == ""){ //use(1, $item[mayodiol]); //eat(1, $item[toast with hot jelly]); chew(1, $item[hot jelly]); set_property("_sexy_toast", "asdoiwbd"); //eggz1 = eggz1 - 1; } cli_execute("acquire 69 spooky surprise egg"); cli_execute("acquire 11 jumbo dr. lucifer"); if(get_property("_jdl_consumption").to_int() <0 ){ equip($slot[acc2],$item[sphygmayomanometer]); } if(eggz1 > 0){ cli_execute("try; closet put * special seasoning"); } while(eggz1 > 0 && get_property("_jdl_consumption").to_int() <0 ){ use(1, $item[mayodiol]); cli_execute("cast cannelloni cocoon"); bjorn_stuff(); eat(1, $item[jumbo dr. lucifer]); while(my_mp() * 10 > my_maxmp()){ summon_shit(); } set_property("_jdl_consumption",get_property("_jdl_consumption").to_int()+1); eggz1 = eggz1 - 1; cli_execute("cast cannelloni cocoon"); bjorn_stuff(); } while(eggz1 > 0){ use(1, $item[mayodiol]); eat(1, $item[spooky surprise egg]); eggz1 = eggz1 - 1; } if(eggz2 > 0){ cli_execute("try; closet take * special seasoning"); } if(are_we_consuming_eggs){ while(eggz2 > 0){ use(1, $item[Mayonex] ); eat(1, $item[spooky surprise egg]); eggz2 = eggz2 - 1; } } else{ if(eggz2 >= 14 && !get_property("_affirmationCookieEaten").to_boolean()){ cli_execute("acquire 11 frozen banquet; acquire 11 affirmation cookie; acquire 11 salad fork; acquire 11 dieting pill;"); use(1, $item[Mayonex] ); eat(1, $item[spaghetti breakfast]); //use(1, $item[Mayonex] ); //eat(1, $item[affirmation cookie]); use(1, $item[Mayonex] ); cli_execute("chew dieting pill; eat salad fork; eat frozen banquet;"); } } while(get_property("_genieWishesUsed").to_int() < 3 && get_property("_holy_shit_stop_wishing").to_int() < 11){ if(slash_count($item[genie bottle]) == 0){ cli_execute("/uncloset genie bottle"); } cli_execute("genie wish for more wishes"); set_property("_holy_shit_stop_wishing",get_property("_holy_shit_stop_wishing").to_int()+1); } if(get_property("_pottedTeaTreeUsed") == "false"){ //if(item_amount($item[cuppa royal tea]) < item_amount($item[cuppa mediocri tea])){ cli_execute("teatree royal"); /* } else{ if(item_amount($item[cuppa mediocri tea]) < item_amount($item[cuppa voraci tea])){ cli_execute("teatree mediocri"); } else{ if(item_amount($item[cuppa voraci tea]) < item_amount($item[cuppa sobrie tea])) { cli_execute("teatree voraci"); } else{ cli_execute("teatree sobrie"); } } } */ } if(get_property("_roboDrinks") == ""){ //important ones: 2x lep, 1x fairy kind of, whatever thing heals, potato //unimportant one: candy because elohelecksdeerandom //alias ocrsrobort => robo feliz, single entendre, simepore, drive-by, mysterious island iced tea //cli_execute("ocrsrobort"); //nerfedrobort => robo single entendre, simepore, drive-by, mysterious island iced tea //cli_execute("nerfedrobort"); } /* if(get_property("_bittycar") != "soulcar" ){ cli_execute("/use soulcar"); } */ if(get_property("_bittycar") != "meatcar" ){ cli_execute("/use bittycar meatcar"); } if(get_property("_pantogramModifier") == ""){ cli_execute("acquire ten-leaf clover"); cli_execute("acquire taco shell"); cli_execute("/use portable pantogram"); visit_url("choice.php?whichchoice=1270&option=1&m=1&e=1&s1=-1,0&s2=173,1&s3=24,1&pwd="+my_hash()); } if(get_property("_force_sward") == ""){ visit_url("main.php?action=may4"); cli_execute("try; choice empathy;"); set_property("_force_sward", "afgdhddth"); } if(get_property("_yeah_bb") == ""){ while(available_choice_options().count() != 7){ cli_execute("/use bastille battalion control rig"); wait(3); visit_url("main.php"); } while(last_choice() == 1313){ visit_url("choice.php?whichchoice=1313&option=5"); } while(available_choice_options().count() > 0 && last_choice() <= 1319 && last_choice() > 1313 && last_choice() != 1316){ run_choice(3); } while(last_choice() == 1316 && available_choice_options()[1].contains_text("Lock in your score")){ run_choice(1); } if(last_choice() == 1316 && available_choice_options().count() == 0){ set_property("_yeah_bb","asdfh"); } } // Looks like 57 pieces in all. 7,423 toddlers are training with 4 instructors in the boxing ring. It's impressive how efficient they are, what with that student-to-teacher ratio. //[1,000,000 Meat] if(get_property("_child_abuse") == ""){ string kids_bop; string daycare_state = get_property("daycare_state"); int children_to_buy = 3 - get_property("_children_bought").to_int(); int kids_iteration; //get into choice 1334. kids_bop = visit_url("place.php?whichplace=town_wrong&action=townwrong_boxingdaycare"); //fight poor internet connection with idempotence while(!(kids_bop.contains_text("a door to a spa to your left")) && kids_iteration < 10){ wait(10); kids_bop = visit_url("place.php?whichplace=town_wrong&action=townwrong_boxingdaycare"); kids_iteration++; } //grab daily thing. while(visit_url("choice.php?whichchoice=1334&option=1").length() < 69 && kids_iteration < 69){ kids_iteration++; } //get into choice 1336. while(kids_bop.contains_text("a door to a spa to your left") && kids_iteration < 69 ){ kids_bop = visit_url("choice.php?whichchoice=1334&option=3"); kids_iteration++; //record daycare state after we reach choice 1336 if(kids_bop.contains_text("Hire an instructor")){ daycare_state = kids_bop.substring(kids_bop.index_of("Probably around"),kids_bop.index_of("instructors")+12); } } //scavenge for freeeee while(kids_bop.contains_text("[free]") && kids_bop.contains_text(daycare_state) && kids_iteration < 69 ){ kids_bop = visit_url("choice.php?whichchoice=1336&option=2"); kids_iteration++; //if we've scavenged successfully, update daycare state. if(kids_bop.contains_text(" adventure]") && !kids_bop.contains_text("[free]") && !kids_bop.contains_text(daycare_state)){ daycare_state = kids_bop.substring(kids_bop.index_of("Probably around"),kids_bop.index_of("instructors")+12); } } //buy some children, but only if they cost at least 100 meat and at most 10000 meat. while( children_to_buy > 0 && kids_iteration < 69 && kids_bop.contains_text("00 Meat]") && !kids_bop.contains_text("00,000 Meat]")){ kids_bop = visit_url("choice.php?whichchoice=1336&option=1"); kids_iteration++; //if daycare state changes, decrement children_to_buy, increment _children_bought, and update daycare_state. if(!((kids_bop.contains_text(daycare_state)) && kids_bop.contains_text("00 Meat]") )){ children_to_buy += -1; set_property("_children_bought", get_property("_children_bought").to_int()+1); daycare_state = kids_bop.substring(kids_bop.index_of("Probably around"),kids_bop.index_of("instructors")+12); } //if we're done, be done. if(children_to_buy == 0){ set_property("_child_abuse", "beyond!"); set_property("daycare_state", daycare_state); } } } if(get_property("expressCardUsed") == "false" ){ cli_execute("try;shrug ancient fortitude;"); equip($slot[acc2],$item[sphygmayomanometer]); if(take_stash(1,$item[platinum yendorian express card])){ set_property("stole_pyec", get_property("stole_pyec")+"totes"); set_property("_stole_pyec","totes"); set_property("passable_clan", get_clan_name()); set_property("_passable_clan", get_clan_name()); use(1,$item[platinum yendorian express card]); print("We have successfully stolen a pyec from "+get_property("_passable_clan")); } else{ if(get_property("scrublords") != ""){ set_property("scrublords", get_property("scrublords")+", "+get_clan_name()); } else{ set_property("scrublords", get_clan_name()); } set_property("_scrublords",get_clan_name()); print_html("We have failed to steal a pyec from "+get_property("_scrublords")); } while(my_mp() * 10 > my_maxmp()){ summon_shit(); } } if(get_property("_stole_pyec") == "totes" && get_property("_passable_clan") == get_clan_name()){ if(put_stash(1,$item[platinum yendorian express card])){ set_property("stole_pyec", get_property("stole_pyec").substring(5)); print("We have successfully unstolen a pyec from "+get_property("_passable_clan")); } else{ print("We have failed to unsteal a pyec from "+get_property("_passable_clan")); } } //abort("line 552"); cli_execute("outfit npzr bullshit"); if(my_familiar() != $familiar[feather boa constrictor]){ cli_execute("familiar feather boa constrictor"); } if(!(get_property("_mummeryUses").contains_text("3"))){ cli_execute("mummery muscle"); } if(equipped_item($slot[familiar]) != $item[loathing legion helicopter]){ cli_execute("try;fold loathing legion helicopter"); cli_execute("equip familiar loathing legion helicopter"); } cli_execute("equip pants pantogram pants"); /* if(my_path() == "Heavy Rains"){ cli_execute("equip shirt fishbone corset"); } else{ cli_execute("equip shirt stephen\'s labcoat"); } //cli_execute("equip weapon staff of the woodfire"); cli_execute("equip weapon rope"); if(my_path() == "Heavy Rains"){ cli_execute("equip offhand thor's pliers"); } else{ cli_execute("equip offhand half a purse"); } */ if(slash_count($item[spooky putty monster]) > 0 || slash_count($item[spooky putty monster]) > 0 ){ set_property("rkelly",""); } if(get_property("_spoopiesfought").to_int() == 5 || (slash_count($item[spooky putty sheet]) > 0&& get_property("spookyPuttyCopiesMade").to_int() == 5)){ //put_closet(1, $item[spooky putty sheet]); cli_execute("try; closet put spooky putty sheet"); set_property("rkelly",1); } /* if(get_property("_been_here_today") == ""){ set_property("_been_here_today","asdfg"); abort("it's mime time."); } */ if(item_amount($item[photocopied monster]) == 0 && get_property("_photocopyUsed") == "false" && get_property("_stop_bugging_faxbots") != "please"){ //2047002812 = yojimbos_law's multis //set_property("_stop_bugging_faxbots","please"); //cli_execute("faxbot black crayon ballsack elf"); while(get_clan_id() != 2047002812){ cli_execute("/whitelist yojimboS_LAW"); } while(get_clan_id() == 2047002812 && item_amount($item[photocopied monster]) == 0){ //gets witchess knight cli_execute("fax receive"); } while(get_clan_id() == 2047002812 && item_amount($item[photocopied monster]) == 1 ){ cli_execute("/whitelist e from hel"); } } string avoiding_human_interaction; if(get_property("_human_interaction_avoided") == ""){ //for bafh while(get_clan_id() != 90485){ //for reddit united //while(get_clan_id() != 2047000135){ cli_execute("/whitelist bonus adventures from hell"); //cli_execute("/whitelist reddit united"); } avoiding_human_interaction = visit_url("clan_viplounge.php?preaction=lovetester"); if(!(avoiding_human_interaction.contains_text("You may still consult Madame Zatara about your relationship with a clanmate"))){ set_property("_human_interaction_avoided","this is text"); } int hddafqee; while(avoiding_human_interaction.contains_text("You may still consult Madame Zatara about your relationship with a clanmate") && get_property("_human_interaction_avoided") == "" && hddafqee < 23){ //for bafh avoiding_human_interaction = visit_url("choice.php?whichchoice=1278&which=1&q1=pizza&q2=batman&q3=thick&option=1&whichid=cheesefax&pwd="+my_hash()); //for reddit united //avoiding_human_interaction = visit_url("choice.php?whichchoice=1278&which=1&q1=salt&q2=robin&q3=thick&option=1&whichid=2994453&pwd="+my_hash()); if(!(avoiding_human_interaction.contains_text("You may still consult Madame Zatara about your relationship with a clanmate"))){ set_property("_human_interaction_avoided","this is text"); } if(avoiding_human_interaction.contains_text("already waiting on your results with")){ wait(5); hddafqee++; } } //for bafh while(get_clan_id() == 90485){ //for reddit united 2047000135 //while(get_clan_id() == 2047000135){ cli_execute("/whitelist e from hel"); } } use_lightning_strikes(); use_plural_of_rain_man(); while( get_property("_witchess_tracking_suuuucks").to_int() < 5){ visit_url("campground.php?action=witchess"); if(available_choice_options()[1] == "Examine the shrink ray"){ //visit_url("choice.php?whichchoice=1181&option=1&pwd"); run_choice(1); set_property("_witchess_tracking_suuuucks", get_property("_witchess_tracking_suuuucks").to_int() + 1); } if(available_choice_options()[1] == "" && available_choice_options()[2] == "Play Witchess"){ set_property("_witchess_tracking_suuuucks" , 5); } //knight. visit_url("choice.php?whichchoice=1182&option=1&piece=1936&pwd="+my_hash(),false); run_combat(); while(in_multi_fight()){ run_combat(); } } if(my_path() == "Heavy Rains"){ cli_execute("equip offhand thor's pliers"); } else{ cli_execute("equip offhand HOA regulation book"); } string combat_tracking_bullshit; int turncount_fuckup_finder = my_turncount(); if(holiday().length() > 0){ turncount_fuckup_finder++; } if(get_property("_party_preference_whatever").to_int() < 10){ cli_execute("outfit boa party"); } string party_check; while(get_property("_party_preference_whatever").to_int() < 10 && turncount_fuckup_finder == my_turncount()){ combat_tracking_bullshit = get_property("_lastCombatStarted"); visit_url("adventure.php?snarfblat=528"); visit_url("main.php"); while(available_choice_options().count() > 0 && last_choice() == 1322){ visit_url("choice.php?whichchoice=1322&option=2&pwd"); } while(available_choice_options().count() > 0 && last_choice() == 1324){ visit_url("choice.php?whichchoice=1324&option=5&pwd"); } while(in_multi_fight()){ run_combat(); } if(combat_tracking_bullshit != get_property("_lastCombatStarted")){ set_property("_party_preference_whatever", get_property("_party_preference_whatever").to_int() + 1 ); } if(get_property("_party_preference_whatever").to_int() == 10){ party_check = ""; party_check = visit_url("place.php?whichplace=town_wrong"); while(party_check.length() < 6969){ party_check = visit_url("place.php?whichplace=town_wrong"); wait(5); } if(party_check.contains_text("nparty_free.gif")){ set_property("_party_preference_whatever", get_property("_party_preference_whatever").to_int() - 1 ); } } cli_execute("cast cannelloni cocoon"); bjorn_stuff(); } if(turncount_fuckup_finder < my_turncount()){ abort("your shitty shit party code is shit, you shit."); } if(get_property("_party_preference_whatever").to_int() >= 10 && get_property("_snojoFreeFights").to_int() < 10){ cli_execute("outfit npzr bullshit"); } use_lightning_strikes(); use_plural_of_rain_man(); while(get_property("_snojoFreeFights").to_int() < 10){ adv1(to_location(460),-1, "" ); while(in_multi_fight()){ run_combat(); } cli_execute("cast cannelloni cocoon"); bjorn_stuff(); } use_lightning_strikes(); use_plural_of_rain_man(); cli_execute("acquire 69 lynyrd snare"); if(get_property("_lynyrdSnareUses").to_int() < 3){ set_auto_attack("(npzr bullshit"); } while(get_property("_lynyrdSnareUses").to_int() < 3){ /* cli_execute("/use lynyrd snare"); run_combat(); while(in_multi_fight){ run_combat(); } cli_execute("cast cannelloni cocoon"); bjorn_stuff(); */ visit_url("inv_use.php?whichitem=7204&pwd"); run_combat(); while(in_multi_fight()){ run_combat(); } } if(get_property("_globster_globs").to_int() <3 ){ set_auto_attack("(npzr bullshit"); } while(get_property("_globster_globs").to_int() <3 ){ if(my_familiar() != $familiar[god lobster]){ cli_execute("familiar god lobster"); } if(equipped_item($slot[familiar]) != $item[god lobster\'s crown] && available_amount($item[god lobster\'s crown]) > 0){ cli_execute("equip familiar god lobster\'s crown"); } else{ if(equipped_item($slot[familiar]) != $item[god lobster\'s robe] && available_amount($item[god lobster\'s robe]) > 0){ cli_execute("equip familiar god lobster\'s robe"); } else{ if(equipped_item($slot[familiar]) != $item[god lobster\'s rod] && available_amount($item[god lobster\'s rod]) > 0){ cli_execute("equip familiar god lobster\'s rod"); } else{ if(equipped_item($slot[familiar]) != $item[god lobster\'s ring] && available_amount($item[god lobster\'s ring]) > 0){ cli_execute("equip familiar god lobster\'s ring"); } else{ if(equipped_item($slot[familiar]) != $item[god lobster\'s scepter] && available_amount($item[god lobster\'s scepter]) > 0){ cli_execute("equip familiar god lobster\'s scepter"); } } } } } visit_url("main.php?fightgodlobster=1"); set_property("_globster_globs",get_property("_globster_globs").to_int()+1); visit_url("fight.php?action=macro¯otext=while !hppercentbelow 69; attack; endwhile;"); //if(equipped_item($slot[familiar]) == $item[god lobster\'s crown]){ //visit_url("choice.php?whichchoice=1310&option=3"); visit_url("choice.php"); cli_execute("try;choice experience;"); //} /* else{ visit_url("choice.php?whichchoice=1310&option=1"); } */ visit_url("choice.php"); } if(my_familiar() != $familiar[feather boa constrictor]){ cli_execute("familiar feather boa constrictor"); } if(equipped_item($slot[familiar]) != $item[loathing legion helicopter]){ cli_execute("try;fold loathing legion helicopter"); cli_execute("equip familiar loathing legion helicopter"); } use_lightning_strikes(); use_plural_of_rain_man(); cli_execute("acquire 69 seal-blubber candle"); cli_execute("acquire 69 figurine of a wretched-looking seal"); if(get_property("_sealsSummoned").to_int() < 10){ cli_execute("equip weapon gnawed-up dog bone"); set_property("_change_me_back","asdfg"); } while(get_property("_sealsSummoned").to_int() < 10){ visit_url("inv_use.php?whichitem=3902&checked=1&pwd"); run_combat(); while(in_multi_fight()){ run_combat(); } cli_execute("cast cannelloni cocoon"); bjorn_stuff(); } //cli_execute("equip weapon staff of the woodfire"); if(get_property("_change_me_back") != ""){ cli_execute("equip weapon Fourth of May Cosplay Saber"); if(my_path() == "Heavy Rains"){ cli_execute("equip offhand thor's pliers"); } else{ cli_execute("equip offhand half a purse"); } } if( get_property("_eldritchHorrorEvoked") == "false" ){ cli_execute("/cast evoke eldritch horror"); //use_skill(1, $skill[evoke eldritch horror]); if(last_monster() == $monster[Eldritch Tentacle]){ run_combat(); while(in_multi_fight()){ run_combat(); } } if(visit_url("fight.php").length() > 69 && last_monster() != $monster[Eldritch Tentacle]){ print("fight.php length before combat macro: "+visit_url("fight.php").length()); visit_url("fight.php?action=macro¯otext=while !pastround 10;attack;endwhile;"); print("fight.php length after combat macro: "+visit_url("fight.php").length()); cli_execute("cast cannelloni cocoon"); set_property("_eldritchHorrorEvoked", true); } } use_lightning_strikes(); use_plural_of_rain_man(); if( get_property("_eldritchTentacleFought") == "false" ){ visit_url("place.php?whichplace=forestvillage&action=fv_scientist"); if(available_choice_options().count() > 0){ //run_choice(2); visit_url("choice.php?whichchoice=1201&option=2&pwd"); if(last_monster() == $monster[Eldritch Tentacle]){ run_combat(); while(in_multi_fight()){ run_combat(); } } if(visit_url("fight.php").length() > 69 && last_monster() != $monster[Eldritch Tentacle]){ print("fight.php length before combat macro: "+visit_url("fight.php").length()); visit_url("fight.php?action=macro¯otext=while !pastround 10;attack;endwhile;"); print("fight.php length after combat macro: "+visit_url("fight.php").length()); cli_execute("cast cannelloni cocoon"); set_property("_eldritchTentacleFought", true); } } } if(get_property("_salad_pills_used").to_int() < 20 ){ cli_execute("/closet * daily affirmation: think win-lose"); cli_execute("/uncloset * power pill"); cli_execute("/closet * miniature power pill"); //cli_execute("acquire 69 power pill"); cli_execute("acquire 420 drum machine"); cli_execute("/equip 1 Lil\' Doctor"); } while(get_property("_salad_pills_used").to_int() < 20 ){ set_property("salad_pills_un", slash_count($item[power pill]) ); int salad_counter = 0; while(get_property("salad_pills_un").to_int() == 0 && salad_counter < 10){ wait(5); set_property("salad_pills_un", slash_count($item[power pill]) ); salad_counter++; } salad_counter = 0; visit_url("inv_use.php?whichitem=2328&pwd"); run_combat(); set_property("salad_pills_deux", slash_count($item[power pill]) ); while(get_property("salad_pills_deux").to_int() == 0 && salad_counter < 10){ wait(5); set_property("salad_pills_deux", slash_count($item[power pill]) ); salad_counter++; } set_property("_salad_pills_used", get_property("_salad_pills_used").to_int() + get_property("salad_pills_un").to_int() - get_property("salad_pills_deux").to_int() ); while(in_multi_fight()){ run_combat(); } print("salad pills used: "+get_property("_salad_pills_used")); cli_execute("cast cannelloni cocoon"); bjorn_stuff(); if(get_property("_salad_pills_used").to_int() > 1 ){ cli_execute("outfit npzr bullshit"); } } use_lightning_strikes(); use_plural_of_rain_man(); if(get_property("_salad_pills_used").to_int() >= 20 && get_property("_hard_to_track_free_kills_used").to_int() < 4){ cli_execute("/closet * power pill"); } while(get_property("_hard_to_track_free_kills_used").to_int() < 3 ){ set_property("spices_un", slash_count($item[spices]) ); visit_url("inv_use.php?whichitem=2328&pwd"); run_combat(); set_property("spices_deux", slash_count($item[spices]) ); set_property("_hard_to_track_free_kills_used", get_property("_hard_to_track_free_kills_used").to_int() + ( get_property("spices_deux").to_int() - get_property("spices_un").to_int() + 2 ) / 3 ); while(in_multi_fight()){ run_combat(); } print("hard to track free kills used: "+get_property("_hard_to_track_free_kills_used")); cli_execute("cast cannelloni cocoon"); bjorn_stuff(); } if(get_property("_hard_to_track_free_kills_used").to_int() == 3 ){ cli_execute("/closet replica bat-oomerang"); } while(get_property("_hard_to_track_free_kills_used").to_int() == 3 ){ set_property("spices_un", slash_count($item[spices]) ); visit_url("inv_use.php?whichitem=2328&pwd"); run_combat(); set_property("spices_deux", slash_count($item[spices]) ); set_property("_hard_to_track_free_kills_used", get_property("_hard_to_track_free_kills_used").to_int() + ( get_property("spices_deux").to_int() - get_property("spices_un").to_int() + 2 ) / 3 ); while(in_multi_fight()){ run_combat(); } print("hard to track free kills used: "+get_property("_hard_to_track_free_kills_used")); cli_execute("cast cannelloni cocoon"); bjorn_stuff(); } if(slash_count($item[power pill]) == 0 ){ cli_execute("/uncloset * power pill"); } if(slash_count($item[replica bat-oomerang]) == 0 ){ cli_execute("/uncloset replica bat-oomerang"); } use_lightning_strikes(); use_plural_of_rain_man(); if(get_property("_glarkCableUses").to_int() == 0 ){ cli_execute("acquire 69 glark cable"); } while(get_property("_glarkCableUses").to_int() < 5){ adv1(to_location(385),-1,""); while(in_multi_fight()){ run_combat(); } cli_execute("cast cannelloni cocoon"); bjorn_stuff(); } if(get_property("_drunkPygmyBanishes").to_int() == 0){ cli_execute("acquire 69 bowl of scorpions"); } /* while(get_property("_drunkPygmyBanishes").to_int() < 11){ adv1(to_location(344),-1,""); while(in_multi_fight()){ run_combat(); } cli_execute("cast cannelloni cocoon"); bjorn_stuff(); } */ //new version using May 2019's iotm. if(get_property("_force_used").to_int() < 5){ //just so we don't trigger this after the block is done. probably don't need it anyway. cli_execute("outfit npzr bullshit"); } while(get_property("_drunkPygmyBanishes").to_int() < 10){ //use 10/11 of the daily drunk pygmy free kills, saving the last for saber degeneracy. adv1(to_location(344),-1,""); while(in_multi_fight()){ run_combat(); } cli_execute("cast cannelloni cocoon"); bjorn_stuff(); } int pre_saber_meat = my_meat(); //checking for timer 1 so that script failing doesn't eat up literally all my turns. while(get_property("_force_used").to_int() < 5 && have_effect($effect[timer 1]) > 0 ){ //we want to stasis drunk pygmies to get boa meat before saber copying, so hide our bowls of scorpions. cli_execute("try; closet put * bowl of scorpions"); //autoattack that stasises for boa meat before using the saber skill. set_auto_attack("drunk pygmy force bullshit"); //this adv1() might need to be visit_url("adventure.php?snarfblat=344") followed by visit_url("fight.php") or visit_url("main.php") to deal with this behaving a lot like a rollover run. //adv1(to_location(344),-1,""); //encounter drunk pygmy that gets stasised and sabered. visit_url("adventure.php?snarfblat=344"); //make mafia understand fight has ended. visit_url("fight.php"); //at this point we should be in the choice adventure for the force thing. while(available_choice_options().count() >= 3){ //incrementing flag here to fail more gracefully with bad internet. set_property("_force_used",get_property("_force_used").to_int() + 1); //choose the option that makes 3 more pygmies. cli_execute("try;choice friends;"); } //switch to regular autoattack. set_auto_attack("(npzr bullshit"); //at this point we want pygmies to explode into a fine bloody mist, much like a level 2 druid, thus we unhide our bowls of scorpions. cli_execute("try; closet take * bowl of scorpions"); //do the first of three pygmies normally. adv1(to_location(344),-1,""); while(in_multi_fight()){ run_combat(); } //likewise with the second. adv1(to_location(344),-1,""); while(in_multi_fight()){ run_combat(); } //the third we only do normally if we're out of saber goodness. if(get_property("_force_used").to_int() == 5){ adv1(to_location(344),-1,""); while(in_multi_fight()){ run_combat(); } } //rinse and repeat. } if(get_property("_timeSpinnerMinutesUsed").to_int() < 8){ print("meat from saber: "+(my_meat()-pre_saber_meat)); } //&& get_property("_marco_polo").to_int() >= 10 while(get_property("_timeSpinnerMinutesUsed").to_int() < 8 ){ cli_execute("/use time-spinner"); run_choice(1); //3 more pygmy drunks visit_url("choice.php?whichchoice=1196&monid=1431&option=1&pwd"); run_combat(); while(in_multi_fight()){ run_combat(); } cli_execute("cast cannelloni cocoon"); bjorn_stuff(); } use_lightning_strikes(); use_plural_of_rain_man(); //fuck literally everything about the following. if(get_property("_machineTunnelsAdv").to_int() < 5){ cli_execute("familiar machine elf"); } //while(get_property("_elf_free_fights").to_int() < 5 ){ while(get_property("_machineTunnelsAdv").to_int() < 5 ){ if(!in_multi_fight()){ visit_url("adventure.php?snarfblat=458"); } if(available_choice_options().count() > 0){ run_choice(6); } else{ //set_property("_elf_free_fights",get_property("_elf_free_fights").to_int()+1); run_combat(); if(in_multi_fight()){ //set_property("_elf_free_fights",get_property("_elf_free_fights").to_int()+1); run_combat(); } } cli_execute("cast cannelloni cocoon"); bjorn_stuff(); } if(my_familiar() != $familiar[feather boa constrictor]){ cli_execute("familiar feather boa constrictor"); if(equipped_item($slot[familiar]) != $item[loathing legion helicopter]){ cli_execute("try;fold loathing legion helicopter"); cli_execute("equip familiar loathing legion helicopter"); } } /* if(!get_property("_loveTunnelUsed").to_boolean()){ equip($slot[acc2],$item[sphygmayomanometer]); cli_execute("cast cannelloni cocoon"); visit_url("place.php?whichplace=town_wrong&action=townwrong_tunnel"); visit_url("choice.php?whichchoice=1222&option=1&pwd"); visit_url("choice.php?whichchoice=1223&option=1&pwd"); run_combat(); visit_url("choice.php?whichchoice=1224&option=1&pwd"); visit_url("choice.php?whichchoice=1225&option=1&pwd"); run_combat(); visit_url("choice.php?whichchoice=1226&option=1&pwd"); visit_url("choice.php?whichchoice=1227&option=1&pwd"); run_combat(); visit_url("choice.php?whichchoice=1228&option=1&pwd"); while(my_mp() * 10 > my_maxmp()){ summon_shit(); } //equip($slot[acc2],$item[over-the-shoulder Folder Holder]); //equip($slot[acc2],$item[mime army insignia (infantry)]); cli_execute("outfit npzr bullshit"); } */ use_lightning_strikes(); use_plural_of_rain_man(); if(get_property("_gingerbreadCityTurns").to_int() == 0){ //just attempts to run away set_auto_attack("zzzzzzz runaway"); cli_execute("familiar stomping boots"); set_property("choiceAdventure1203", 4); set_property("choiceAdventure1215", 1); set_property("choiceAdventure1204", 1); //set clock forward. adv1($location[Gingerbread Civic Center], -1, "" ); //run away 3 times. for i from 7 to 9{ adv1($location[Gingerbread Civic Center], -1, "" ); } //grab candy adv1($location[Gingerbread Train Station], -1, "" ); //run away 4 times for i from 11 to 14{ adv1($location[Gingerbread Civic Center], -1, "" ); } set_auto_attack("(npzr bullshit"); cli_execute("familiar feather boa constrictor"); cli_execute("equip familiar loathing legion helicopter"); //use 5 gingerbread cigarettes... for i from 15 to 19{ adv1($location[Gingerbread Upscale Retail District], -1, "" ); while(in_multi_fight()){ run_combat(); } } //...to get more gingerbread cigarettes adv1($location[Gingerbread Civic Center], -1, "" ); } if(my_path() == "Heavy Rains"){ cli_execute("equip offhand thor's pliers"); } else{ cli_execute("equip offhand HOA regulation book"); } cli_execute("acquire 69 bricko ooze"); while(get_property("_brickoFights").to_int() < 10){ visit_url("inv_use.php?whichitem=4474&checked=1&pwd"); run_combat(); while(in_multi_fight()){ run_combat(); } cli_execute("cast cannelloni cocoon"); bjorn_stuff(); } /* if(get_property("_mayflySummons").to_int() < 30 && equipped_item($slot[acc2]) != $item[mayfly bait necklace] && item_amount($item[mayfly bait necklace]) > 0){ cli_execute("try;equip acc2 mayfly bait necklace"); } */ if(get_property("_goth_slash_hipster_tracking").to_int() < 7 && get_property("_mayflySummons").to_int() < 30){ cli_execute("familiar artistic goth kid"); set_auto_attack("none"); cli_execute("outfit goth mayfly latte"); } int crayons; int goblin_condoms; int iteration_county_thing; buffer page_text; while(get_property("_mayflySummons").to_int() < 30 && have_effect($effect[timer 1]) > 0 && iteration_county_thing < 69){ if( get_property("_latteDrinkUsed").to_boolean() && get_property("_latteRefillsUsed").to_int() <3 ){ cli_execute("latte refill salt norwhal vanilla"); } if(get_property("_latteDrinkUsed").to_boolean() && get_property("_latteRefillsUsed").to_int() == 3 ){ cli_execute("equip offhand Kramco Sausage-o-Matic"); } //if we're using the goth kid, track black crayon things. if(my_familiar()==$familiar[artistic goth kid]){ crayons = slash_count($item[crayon shavings]); } //if we're wearing sausage thing, track sausage goblins. if(get_property("_latteDrinkUsed").to_boolean() && get_property("_latteRefillsUsed").to_int() == 3 ){ //or don't, I guess. Whatever. //goblin_condoms = slash_count($item[magical sausage casing]); } if(my_familiar() == $familiar[artistic goth kid] && get_property("_goth_slash_hipster_tracking").to_int() >= 7){ cli_execute("familiar feather boa constrictor"); } //menagerie level 1 page_text = visit_url("adventure.php?snarfblat=51"); if(page_text.length() > 6969){ //basic elemental if(last_monster().id == 87){ //work around pickpocket bug. visit_url("fight.php?action=steal"); //gulp latte. if( !get_property("_latteDrinkUsed").to_boolean() ){ visit_url("fight.php?action=skill&whichskill=7303"); } //mayflies. visit_url("fight.php?action=skill&whichskill=7024"); //work around tracking potentially being off iteration_county_thing++; if(iteration_county_thing >= 69){ set_property("_mayflySummons",69420); visit_url("fight.php?action=macro¯otext=use louder than bomb;"); } } else{ //not basic elemental if(last_monster().id == 88){ visit_url("fight.php?action=macro¯otext=skill snokebomb;"); } else{ //other not basic elemental if(last_monster().id == 89){ visit_url("fight.php?action=macro¯otext=use louder than bomb;"); } else{ //black crayon nonsense. if(last_monster().manuel_name.to_lower_case().contains_text("crayon")){ //pickpocket crayon shavings so they don't wash away and ruin tracking. visit_url("fight.php?action=steal"); visit_url("fight.php?action=macro¯otext=while !pastround 10; attack; endwhile;"); visit_url("main.php"); if(last_monster().manuel_name.to_lower_case().contains_text("eldritch")){ visit_url("fight.php?action=macro¯otext=while !pastround 10; attack; endwhile;"); } } else{ //sausage goblin nonsense if(page_text.to_lower_case().contains_text("sausage goblin")){ visit_url("fight.php?action=macro¯otext=while !pastround 10; use dictionary; endwhile; while !pastround 20; attack; endwhile;"); visit_url("main.php"); if(last_monster().manuel_name.to_lower_case().contains_text("eldritch")){ visit_url("fight.php?action=macro¯otext=while !pastround 10; use dictionary; endwhile; while !pastround 20; attack; endwhile;"); } } else{ abort("UR?"); } } } } } } if(my_familiar()==$familiar[artistic goth kid]){ if(crayons < slash_count($item[crayon shavings])){ set_property("_goth_slash_hipster_tracking", get_property("_goth_slash_hipster_tracking").to_int()+1); } } print("We think we've used up "+get_property("_goth_slash_hipster_tracking")+" goth fights"); print("We think we've used up "+get_property("_mayflySummons")+" mayfly summons"); while(my_mp() * 10 > my_maxmp()){ summon_shit(); } waitq(1); } if( ( get_property("_mayflySummons").to_int() >= 30 || get_property("_goth_slash_hipster_tracking").to_int() >= 7 ) && !is_wearing_outfit("npzr bullshit") ){ cli_execute("outfit npzr bullshit"); cli_execute("familiar feather boa"); } use_lightning_strikes(); use_plural_of_rain_man(); if(!get_property("_loveTunnelUsed").to_boolean()){ equip($slot[acc2],$item[sphygmayomanometer]); cli_execute("cast cannelloni cocoon"); visit_url("place.php?whichplace=town_wrong&action=townwrong_tunnel"); visit_url("choice.php?whichchoice=1222&option=1&pwd"); visit_url("choice.php?whichchoice=1223&option=1&pwd"); run_combat(); visit_url("choice.php?whichchoice=1224&option=1&pwd"); visit_url("choice.php?whichchoice=1225&option=1&pwd"); run_combat(); visit_url("choice.php?whichchoice=1226&option=1&pwd"); visit_url("choice.php?whichchoice=1227&option=1&pwd"); run_combat(); visit_url("choice.php?whichchoice=1228&option=1&pwd"); while(my_mp() * 10 > my_maxmp()){ summon_shit(); } //equip($slot[acc2],$item[over-the-shoulder Folder Holder]); //equip($slot[acc2],$item[mime army insignia (infantry)]); //cli_execute("outfit npzr bullshit"); } set_auto_attack("none"); //cli_execute("run dice mp thingy.ash"); //note that this won't work for you because custom outfits. //edit accordingly if you want to use it. int elemental_count = 0; boolean elchecktrified = false; if(get_property("_dicey_mp_runs").to_int() == 0 && get_property("_alotted_snojo_bander_runs").to_int() == 0){ cli_execute("familiar bandersnatch"); cli_execute("equip familiar kill screen"); cli_execute("outfit dice mp"); cli_execute("acquire 11 insani tea"); cli_execute("acquire 11 concoction of clumsiness"); cli_execute("acquire 11 ancient medicinal herbs"); if(have_effect($effect[polka of plenty]) > 0){ cli_execute("shrug polka of plenty"); cli_execute("cast ode to booze"); } if(have_effect($effect[insani tea]) == 0){ cli_execute("use 1 insani tea"); } /* if(have_effect($effect[clumsy]) == 0){ cli_execute("shrug ancient fortitude"); cli_execute("use 1 concoction of clumsiness"); cli_execute("chew 1 ancient medicinal herbs"); } */ //this is how many bander runs we're able to use here. this preference should only be set once/day. set_property("_alotted_snojo_bander_runs", ((Numeric_Modifier("Familiar Weight") + familiar_weight( my_familiar() ) ) / 5) - get_property("_banderRunaways").to_int()); cli_execute("cast cannelloni cocoon"); bjorn_stuff(); } //this block is for if the script needs to be rerun after aborting for some stupid reason. if(get_property("_dicey_mp_runs").to_int() > 0 && get_property("_dicey_mp_runs").to_int() < (get_property("_alotted_snojo_bander_runs").to_int() - 1)){ cli_execute("familiar bandersnatch"); cli_execute("equip familiar kill screen"); cli_execute("outfit dice mp"); if(have_effect($effect[polka of plenty]) > 0){ cli_execute("shrug polka of plenty"); cli_execute("cast ode to booze"); } if(have_effect($effect[insani tea]) == 0){ cli_execute("use 1 insani tea"); } /* if(have_effect($effect[clumsy]) == 0){ cli_execute("shrug ancient fortitude"); cli_execute("use 1 concoction of clumsiness"); cli_execute("chew 1 ancient medicinal herbs"); } */ //cli_execute("cast cannelloni cocoon"); new_cocoon(); bjorn_stuff(); } //this block adventures until we've used all but one of our free runs. off-by-one errors are scary, so the last free run remains unused. timer 1 check makes script abort if a turn is spent. while(get_property("_dicey_mp_runs").to_int() < (get_property("_alotted_snojo_bander_runs").to_int() - 1) && get_property("_banderRunaways").to_int() < (Numeric_Modifier("Familiar Weight") + familiar_weight( my_familiar() ) ) / 5 && have_effect($effect[timer 1]) > 0 ){ visit_url("adventure.php?snarfblat=460"); elchecktrified = false; elemental_count = 0; foreach i in last_monster().random_modifiers{ if(i == "foul-mouthed" || i == "filthy" || i == "hot" || i == "wet" || i == "haunted"){ //these each do some percent of your maxhp in damage, seemingly bounded from above by 2% if you have 90% elemental resistance, each round. elemental_count++; } if(i == "electrified"){ //monster is full of mp and pain. elchecktrified = true; } if(i == "hilarious"){ //monster breaks mafia's tracking of free runs. this has like a 1/buhjillion chance of wasting a free run (by incrementing twice) if the runaway message has no salad in it. set_property("_banderRunaways", get_property("_banderRunaways").to_int()+1); } } if(!elchecktrified){ visit_url("fight.php?action=runaway"); } else{ //visit_url("fight.php?action=macro¯otext=while !hppercentbelow " + (elemental_count * 2 + 20).to_string() +";attack;endwhile;runaway;"); visit_url("fight.php?action=macro¯otext=while !hppercentbelow " + (elemental_count * 2 + 20).to_string() +";use spices;endwhile;runaway;"); } set_property("_dicey_mp_runs",get_property("_dicey_mp_runs").to_int()+1); //cli_execute("cast cannelloni cocoon"); new_cocoon(); bjorn_stuff(); while(my_mp() * 10 > my_maxmp()){ summon_shit(); } summon_shit(); if(get_property("_dicey_mp_runs").to_int() == (get_property("_alotted_snojo_bander_runs").to_int() - 1) && have_effect($effect[timer 1]) > 0){ set_property("_did_dice_with_no_issues", "ebgrgwrg"); } } if(have_effect($effect[timer 1]) == 0 && get_property("_did_dice_with_no_issues") == ""){ abort("dice is fucked"); } if(have_effect($effect[ode to booze]) > 0){ cli_execute("shrug ode to booze"); cli_execute("cast polka of plenty"); } if(have_effect($effect[insani tea]) > 0 || have_effect($effect[Clumsy]) > 0){ cli_execute("try;shrug insani tea;"); cli_execute("/shrug! clumsy"); } if(my_familiar() != $familiar[feather boa constrictor]){ cli_execute("familiar feather boa constrictor"); } cli_execute("outfit npzr bullshit"); use_lightning_strikes(); use_plural_of_rain_man(); if(get_property("rkelly").to_int() == 1){ take_closet(1, $item[spooky putty sheet]); set_property("rkelly", 0 ); } cli_execute("familiar stooper"); refresh_status(); eggz1 = inebriety_limit() - my_inebriety(); eggz2 = fullness_limit() - my_fullness() - 1; //if(are_we_consuming_eggs){ while(eggz1 > 0){ use(1, $item[mayodiol]); eat(1, $item[spooky surprise egg]); eggz1 = eggz1 - 1; } while(eggz2 >= 0){ //use(1, $item[Mayonex] ); eat(1, $item[spooky surprise egg]); eggz2 = eggz2 - 1; } //} /* cli_execute("/familiar disembodied hand"); cli_execute("/equip shirt General Sage's Lonely Diamonds Club Jacket"); */ cli_execute("outfit optimalest"); set_auto_attack("none"); equip($slot[acc1],$item[sphygmayomanometer]); cli_execute("/equip back vampyric cloake"); if(inebriety_limit() == my_inebriety()){ cli_execute("/drink everfull glass"); } when_the_fuck_is_it = gametime_to_int() / 1000; if(get_property("_script_runs_thiiiiis_long") == ""){ //seconds. set_property("_script_runs_thiiiiis_long", when_the_fuck_is_it - get_property("_script_start_time").to_int()); } /* metric fuckton of whitespace */ cli_execute("sell * really dense meat stack"); cli_execute("sell * meat stack"); cli_execute("sell * knob goblin visor"); cli_execute("sell * gold nuggets"); cli_execute("sell * Mickey Mantle"); cli_execute("use * ancient vinyl coin purse"); cli_execute("sell * decomposed boot"); cli_execute("sell * dollar-sign bag"); cli_execute("use * duct tape wallet"); cli_execute("use * fat wallet"); cli_execute("sell * half of a gold tooth"); cli_execute("sell * huge gold coin"); cli_execute("sell * leather bookmark"); cli_execute("sell * massive gemstone"); cli_execute("use * old coin purse"); cli_execute("use * old leather wallet"); cli_execute("sell * pile of gold coins"); cli_execute("use * pixel coin"); cli_execute("use * pixellated moneybag"); cli_execute("use * shiny stones"); cli_execute("use * solid gold jewel"); cli_execute("use * stolen meatpouch"); cli_execute("sell * BRICKO pearl"); cli_execute("use * Gathered Meat-Clip"); cli_execute("use * d8"); cli_execute("use * d6"); cli_execute("sell * generic healing potion"); cli_execute("sell * generic mana potion"); //you probably don't want to send all your stuff to ssbb and lost. /* if(item_amount($item[spice melange]) > 30 ){ cli_execute("try; csend 30 spice melange to ssbbhax || yay automated melange sending!;"); print("csend 30 spice melange to ssbbhax || yay automated melange sending!"); } */ /* if(item_amount($item[d10]) > 9000 ){ cli_execute("try; csend 9001 d10 to bmaher || yay automated d10 sending!;"); print("csend 9001 d10 to bmaher || yay automated d10 sending!"); } */ //you probably don't have a mallbot nor a custom build of mafia for getting accurate networth information. /* cli_execute("familiar feather boa constrictor"); if(get_property("_done_net") == ""){ set_property("_done_net", "asdf"); cli_execute("net"); } cli_execute("run mallbot.ash"); */