Kasekopf / looprobot

Apache License 2.0
1 stars 9 forks source link

Twin peaks item test is attempted without enough +item to guarantee it #31

Open ianknowles opened 1 month ago

ianknowles commented 1 month ago

Not quite sure what happens here but maximizer reports 92%, while mafia has it at about 35% and the choice fails in-game. The items selected look wrong, manually outfitting resulted in at least 140 but required most of the items to be changed.

Theres no need to use min in the maximizer string here as the hedge trimmers are being used, changing the maximizer string to just maximize item when hedge trimmers are used will probably resolve.

> Orc Chasm/Twin Item Search not completed! [Again? Not ready]
> 
> Executing Orc Chasm/Twin Item [Route]

equip off-hand carnivorous potted plant
Maximizer: 0.01 MP regen, 0.001 HP regen, item 50min, -"equip broken champagne bottle", -"equip runed taper candle", -"equip ¶10058", -acc2, -acc3, -familiar, -hat, -off-hand, -weapon, 30 "bonus Everfull Dart Holster"
Preference lastEncounter changed from Dart Perks to Adjust your Parka
Encounter: Adjust your Parka
Took choice 1481/4: Pull the ghostasaurus tab
choice.php?whichchoice=1481&option=4
Preference parkaMode changed from pterodactyl to ghostasaurus
> Maximize: item 50min,0.01 MP regen, 0.001 HP regen
> Equipped: none, June cleaver, carnivorous potted plant, vampyric cloake, Jurassic Parka, bloodied surgical dungarees, Everfull Dart Holster, mafia thumb ring, lucky gold ring, LED candle, Alice's Army Foil Coward, folder (KOLHS), folder (holographic fractal), folder (Knight Writer), rotting cowskin, ticksilver spurs
> = Item Drop: 92.49719092257398
> CCS: [default]\n "if hasskill 7521;skill 7521;endif;while hasskill Darts: Throw at butt; skill Darts: Throw at butt; endwhile;while hasskill Darts: Throw at torso; skill Darts: Throw at torso; endwhile;if hasskill Summon Love Mosquito;skill Summon Love Mosquito;endif;attack;repeat;"
> Autoattack macro: if hasskill 7521;skill 7521;endif;while hasskill Darts: Throw at butt; skill Darts: Throw at butt; endwhile;while hasskill Darts: Throw at torso; skill Darts: Throw at torso; endwhile;if hasskill Summon Love Mosquito;skill Summon Love Mosquito;endif;attack;repeat;

use 1 rusty hedge trimmers

[330] rusty hedge trimmers
Preference lastEncounter changed from Adjust your Parka to Lost in the Great Overlook Lodge
Encounter: Lost in the Great Overlook Lodge
Preference _concoctionDatabaseRefreshes changed from 564 to 565
Took choice 606/2: need +50% item drop, have 35%
choice.php?whichchoice=606&option=2&pwd
Preference lastEncounter changed from Lost in the Great Overlook Lodge to Go Check It Out!
Encounter: Go Check It Out!
Took choice 608/1: Search the shelves
choice.php?whichchoice=608&option=1&pwd
Preference _concoctionDatabaseRefreshes changed from 565 to 566
Preference hpAutoRecoveryTarget changed from 0.0 to 1
Preference mpAutoRecoveryTarget changed from 0.0 to 0.65
Preference choiceAdventureScript changed from looprobot_choice.ash to 
Preference customCombatScript changed from grimoire_macro to garbo
Preference mpAutoRecoveryItems changed from phonics down;knob goblin superseltzer;psychokinetic energy blob;mountain stream soda;magical mystery juice;knob goblin seltzer;doc galaktik's invigorating tonic;cherry cloaca cola;soda water;black cherry soda to phonics down;knob goblin superseltzer;psychokinetic energy blob;mountain stream soda;magical mystery juice;knob goblin seltzer;doc galaktik's invigorating tonic;cherry cloaca cola;soda water
Preference hpAutoRecoveryItems changed from scroll of drastic healing;cannelloni cocoon;tongue of the walrus;lasagna bandages;doc galaktik's homeopathic elixir;relaxing hot tub to scroll of drastic healing;cannelloni cocoon;tongue of the walrus;lasagna bandages;doc galaktik's homeopathic elixir
Preference choiceAdventure1340 changed from 3 to 1
Preference choiceAdventure1468 changed from 1 to 2
Preference choiceAdventure1472 changed from 2 to 1
Preference choiceAdventure1473 changed from 2 to 1
Preference stillsuitFamiliar changed from Gelatinous Cubeling to 
Preference choiceAdventure1430 changed from 1 to 0
Preference choiceAdventure155 changed from 5 to 4
Preference choiceAdventure606 changed from 2 to 0
Preference choiceAdventure607 changed from 1 to 
Preference choiceAdventure608 changed from 1 to 
ianknowles commented 1 month ago

Then we have this occurrence though where we should be succeeding but don't, it's possible 50% is not the correct target to guarantee success.

> Executing Orc Chasm/Twin Item [Route]
Maximizer: 0.01 MP regen, 0.001 HP regen, item 50min, -"equip broken champagne bottle", -"equip runed taper candle", -"equip ¶10058", -acc2, -acc3, -familiar, -hat, -off-hand, -weapon, 30 "bonus Everfull Dart Holster"

equip shirt autumn sweater-weather sweater

equip acc1 Everfull Dart Holster
> Maximize: item 50min,0.01 MP regen, 0.001 HP regen
Took choice 1509/1: Turn on the Disco Ball Light 
choice.php?whichchoice=1509&option=1
Preference ledCandleMode changed from ultraviolet to disco
> Equipped: none, June cleaver, carnivorous potted plant, vampyric cloake, autumn sweater-weather sweater, bloodied surgical dungarees, Everfull Dart Holster, lucky gold ring, mafia thumb ring, LED candle, Alice's Army Foil Coward, folder (KOLHS), folder (holographic fractal), folder (Knight Writer), rotting cowskin, ticksilver spurs
> = Item Drop: 136.749371855331
> CCS: [default]\n "if hasskill 7521;skill 7521;endif;while hasskill Darts: Throw at butt; skill Darts: Throw at butt; endwhile;while hasskill Darts: Throw at torso; skill Darts: Throw at torso; endwhile;if hasskill 7513;skill 7513;endif;if hasskill Summon Love Mosquito;skill Summon Love Mosquito;endif;attack;repeat;"
> Autoattack macro: if hasskill 7521;skill 7521;endif;while hasskill Darts: Throw at butt; skill Darts: Throw at butt; endwhile;while hasskill Darts: Throw at torso; skill Darts: Throw at torso; endwhile;if hasskill 7513;skill 7513;endif;if hasskill Summon Love Mosquito;skill Summon Love Mosquito;endif;attack;repeat;

use 1 rusty hedge trimmers
Preference lastAdventure changed from The Fungus Plains to Twin Peak
Preference nextAdventure changed from The Fungus Plains to Twin Peak

[371] rusty hedge trimmers
Preference lastEncounter changed from Bullet Bill to Lost in the Great Overlook Lodge
Encounter: Lost in the Great Overlook Lodge
Preference _concoctionDatabaseRefreshes changed from 804 to 805
Took choice 606/2: need +50% item drop, have 69%
choice.php?whichchoice=606&option=2&pwd
Preference lastEncounter changed from Lost in the Great Overlook Lodge to Go Check It Out!
Encounter: Go Check It Out!
Took choice 608/1: Search the shelves
choice.php?whichchoice=608&option=1&pwd
> Running looprobot version [c45dd2d] in KoLmafia r28056
Preference hpAutoRecoveryTarget changed from 1.0 to 0.0
Preference mpAutoRecoveryTarget changed from 0.65 to 0.0
Preference customCombatScript changed from garbo to grimoire_macro
Preference choiceAdventureScript changed from  to looprobot_choice.ash
Preference mpAutoRecoveryItems changed from phonics down;knob goblin superseltzer;psychokinetic energy blob;mountain stream soda;magical mystery juice;knob goblin seltzer;doc galaktik's invigorating tonic;cherry cloaca cola;soda water to phonics down;knob goblin superseltzer;psychokinetic energy blob;mountain stream soda;magical mystery juice;knob goblin seltzer;doc galaktik's invigorating tonic;cherry cloaca cola;soda water;black cherry soda
Preference choiceAdventure1340 changed from 1 to 3
> 
> Executing Orc Chasm/Twin Item Search [Route]

use 1 ultra-soft ferns
You acquire an effect: Ultra-Soft Steps (5)
Maximizer: 0.01 MP regen, 0.001 HP regen, item 50min, -combat, -"equip broken champagne bottle", -"equip runed taper candle", -"equip ¶10058", -acc2, -acc3, -familiar, -hat, -weapon, 30 "bonus Everfull Dart Holster"

equip off-hand unbreakable umbrella
Preference lastEncounter changed from Go Check It Out! to Adjust your Parka
Encounter: Adjust your Parka
Took choice 1481/5: Pull the pterodactyl tab
choice.php?whichchoice=1481&option=5
Preference parkaMode changed from kachungasaur to pterodactyl

equip shirt Jurassic Parka
> Maximize: item 50min, -combat,0.01 MP regen, 0.001 HP regen
> Equipped: none, June cleaver, unbreakable umbrella, vampyric cloake, Jurassic Parka, bloodied surgical dungarees, Everfull Dart Holster, lucky gold ring, mafia thumb ring, LED candle, Alice's Army Foil Coward, folder (KOLHS), folder (holographic fractal), folder (Knight Writer), rotting cowskin, ticksilver spurs
> = Combat Rate: -20
> = Item Drop: 161.749371855331
Preference hpAutoRecoveryItems changed from scroll of drastic healing;cannelloni cocoon;tongue of the walrus;lasagna bandages;doc galaktik's homeopathic elixir to scroll of drastic healing;cannelloni cocoon;tongue of the walrus;lasagna bandages;doc galaktik's homeopathic elixir;relaxing hot tub
> CCS: [default]\n "if monsterid 1246 || monsterid 1247 || monsterid 1245;if hasskill 7521;skill 7521;endif;while hasskill Darts: Throw at butt; skill Darts: Throw at butt; endwhile;while hasskill Darts: Throw at torso; skill Darts: Throw at torso; endwhile;if hasskill 7513;skill 7513;endif;if hasskill Summon Love Mosquito;skill Summon Love Mosquito;endif;attack;repeat;endif;if hasskill 7521;skill 7521;endif;while hasskill Darts: Throw at butt; skill Darts: Throw at butt; endwhile;while hasskill Darts: Throw at torso; skill Darts: Throw at torso; endwhile;if hasskill 7513;skill 7513;endif;if hasskill Summon Love Mosquito;skill Summon Love Mosquito;endif;attack;repeat;"
Preference choiceAdventure606 changed from 0 to 2
Preference choiceAdventure608 changed from  to 1
Preference choiceAdventure1468 changed from 2 to 1
Preference choiceAdventure1472 changed from 1 to 2
Preference choiceAdventure1473 changed from 1 to 2
Preference stillsuitFamiliar changed from  to Gelatinous Cubeling

[372] Twin Peak
Preference lastEncounter changed from Adjust your Parka to Lost in the Great Overlook Lodge
Encounter: Lost in the Great Overlook Lodge
Took choice 606/2: need +50% item drop, have 94%
choice.php?whichchoice=606&option=2&pwd
Preference lastEncounter changed from Lost in the Great Overlook Lodge to Go Check It Out!
Encounter: Go Check It Out!
Took choice 608/1: Search the shelves
choice.php?whichchoice=608&option=1&pwd
Preference twinPeakProgress changed from 1 to 3
Preference _concoctionDatabaseRefreshes changed from 806 to 807
> Orc Chasm/Twin Item Search completed!
Kasekopf commented 1 month ago

Looks like I get through it just with li'l ninja costume. Are there things that you have available that the script is not equipping for this? Or do we have to save some resources for it? I think 50% is the right target but familiars do not count, so you actually have less than 94%.

Kasekopf commented 1 month ago

Looks like umbrella + the friars buff would do it. Or cargo shorts. Or in a pinch There's No N in Love could work now that we mostly use embers to level.

ianknowles commented 8 hours ago

Its the min argument in the maximizer string, I have way more +item that can be worn but its only trying to meet the minimum threshold which isnt high enough. I think min is being used correctly for when the zone is being adventured in, the problem is its still being used when hedge trimmers are used so theres no need to wear anything thats not relevant to the test being done.

ianknowles commented 8 hours ago

Maximizer: 0.01 MP regen, 0.001 HP regen, item 50min, -"equip broken champagne bottle", -"equip runed taper candle", -"equip ¶10058", -acc2, -acc3, -familiar, -hat, -off-hand, -weapon, 30 "bonus Everfull Dart Holster"