FantasyRealm

Thank you for the suggestion, but I did not move anything. For some reason, gain.ash was never installed during the installation of FantasyRealm. I appear to have fixed my problem by installing gain.ash manually:

Code:
svn checkout https://github.com/Ezandora/Gain/branches/Release/
 
Last edited:
It wants to cast Weapon of the Pastalord against the swamp trolls. Spirit of Cayenne is active (according to mafia) but when Weapon is cast it only does 1 damage. Is there some player configuration that might inhibit the hot damage? A possible bug in setting/changing Flavors where mafia gets out of synch?

This is a case where it would again be helpful to know what the script is trying to accomplish in the swamp. The trolls can be fought manually, the choice taken properly and then the script rerun with the same goal.
 
Last edited:
I'm a bit of a neat freak and usually have all my .ash scripts in one folder. When I got that same error I had moved gain file into my .ash folder, returned it to the main scripts folder and all was well. Apparently, gain does *not* like to be moved from its original home. And is also sentient. Obviously.

If you remove the "script/", then you can put gain.ash anywhere you have scripts. That's what I did.
 
It wants to cast Weapon of the Pastalord against the swamp trolls. Spirit of Cayenne is active (according to mafia) but when Weapon is cast it only does 1 damage. Is there some player configuration that might inhibit the hot damage? A possible bug in setting/changing Flavors where mafia gets out of synch?

This is a case where it would again be helpful to know what the script is trying to accomplish in the swamp. The trolls can be fought manually, the choice taken properly and then the script rerun with the same goal.

So today Weapon cast Hot. Not sure how to reliably repeat this so Nevermind :-)
 
Did mafia yesterday, as part of the maximizing, equip something that tunes spells? Because that would override the Spirit of Cayenne.
I make that mistake for the first two or three adventures in hobopolis whenever I try to get scobo parts, because the witch's bra is such a nice shirt item.
 
In the newest Kolmafia Build I get this error Expression syntax errors for 'Effect:[162]':
Expected ), found when i run fantasyrealm gems.
 
Expression syntax errors for 'Effect:[162]':
Expected ), found

I noticed this same thing yesterday (although not in FantsasyRealm). After some poking around, it appears that there were maybe some closing parentheses omitted in modifiers.txt when the fiberglass fedora multiplier was added to sonata & cantata.

Additions in bold:

Effect Carlweather's Cantata of Confrontation Combat Rate: [5*(1+equipped(fiberglass fedora))]

same for sonata - an opener with no closer.

I guess this should be a bug report instead of being posted here.
 
Last edited:
Pazleysox, thanks!

For what it's worth to anyone, I collected my gear using the auto command. After the outfits were gathered, I ran it for three or for more days on auto, and it only ever collected denastified haunches. If that's a thing you want, then, good news! ;)
 
mall: Collect a consumable, sell it in the mall.
Does it automatically select the consumable that is currently selling for the most meat per gem?
And will it save up gems for said consumable (buying nothing) if the most efficient one is currently unaffordable but inefficient ones are affordable?
 
Last edited:
You're thinking of the wrong consumables, the ones from the rubee store aren't tradeable. So I assume the script looks to make one of the denastified haunch, bad rum and cola or potion of heroism. (Maybe mourning wine, satchel of strange powder and druidic s'more too)
 
You're thinking of the wrong consumables, the ones from the rubee store aren't tradeable. So I assume the script looks to make one of the denastified haunch, bad rum and cola or potion of heroism. (Maybe mourning wine, satchel of strange powder and druidic s'more too)
oh, I see now.

well in that case, any chance it automatically compares the mall sale price of those consumables to the 1 day ticket to fantasy realm that is bought for 350 rubees?

also seriously, that is a ridiculously high price for denastified haunch at the mall right now. its only 4.5 adv per fullness.
 
Last edited:
I am not sure why but the script is just going into an infinite loop where it just starts consuming my inventory.

First it happened with universal recovery
Code:
[COLOR=olive]> FantasyRealm auto[/COLOR]

FantasyRealm     v1.2.1
Maximizing...
192 combinations checked, best score 654.00
Putting     on nurse's hat...
Equipment changed.
Holding Brimstone Bunker...
Equipment     changed.
Putting on Moonthril Greaves...
Equipment changed.
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     1002.2727272727274 meat total.[/COLOR]
[COLOR=blue]In mallmode,     best HP restorative is: scroll of drastic healing @ 726.6666666666666 meat     total.[/COLOR]
[COLOR=blue]In mallmode, best MP restorative is:     magical mystery juice @ 1002.2727272727274 meat total.[/COLOR]
[COLOR=blue]In     mallmode, best HP restorative is: scroll of drastic healing @     726.6666666666666 meat total.[/COLOR]

[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     1002.2727272727274 meat total.[/COLOR]
[COLOR=blue]In mallmode,     best HP restorative is: scroll of drastic healing @ 726.6666666666666 meat     total.[/COLOR]
[COLOR=blue]In mallmode, best MP restorative is:     magical mystery juice @ 1002.2727272727274 meat total.[/COLOR]
[COLOR=blue]In     mallmode, best HP restorative is: scroll of drastic healing @     726.6666666666666 meat total.[/COLOR]

Visit to FantasyRealm: The     Bandit Crossroads in progress...

[2069] The Bandit Crossroads
Encounter:     You'll See You at the Crossroads

[COLOR=blue]In mallmode,     best MP restorative is: magical mystery juice @ 1002.2727272727274 meat     total.[/COLOR]
[COLOR=blue]In mallmode, best HP restorative is:     scroll of drastic healing @ 726.6666666666666 meat total.[/COLOR]
Maximizing...
88     combinations checked, best score 30.20
Putting on double-ice cap...
Equipment     changed.
Holding double-ice box...
Equipment changed.
Putting on     double-ice britches...
Equipment changed.
lastEncounter =>
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     888.6363636363636 meat total.[/COLOR]
[COLOR=blue]In mallmode,     best HP restorative is: scroll of drastic healing @ 726.6666666666666 meat     total.[/COLOR]
[COLOR=#66CC00]Restoring HP! Currently at 432 of     832 HP, 97 of 313 MP, current meat: 319416 ... Target HP = 832.[/COLOR]
[COLOR=blue]In     mallmode, best HP restorative is: Camp Scout pup tent @ 636.0 meat total.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     177.27272727272728 meat total.[/COLOR]
[COLOR=blue]Mall price to     restore 27MP is 0 meat.[/COLOR]
[COLOR=blue]Cast a healing skill.[/COLOR]
Casting     Shake It Off 1 times...
You gain 1 hit point
Shake It Off was     successfully cast.
[COLOR=blue]Current HP: 433, MP: 67[/COLOR]
[COLOR=blue]In     mallmode, best HP restorative is: Camp Scout pup tent @ 634.4100000000001     meat total.[/COLOR]
[COLOR=blue]In mallmode, best MP restorative     is: magical mystery juice @ 177.27272727272728 meat total.[/COLOR]
[COLOR=blue]Mall     price to restore 27MP is 0 meat.[/COLOR]
[COLOR=blue]Cast a     healing skill.[/COLOR]
Casting Shake It Off 1 times...
You gain 1 hit     point
Shake It Off was successfully cast.
[COLOR=blue]Current     HP: 434, MP: 37[/COLOR]
[COLOR=blue]In mallmode, best HP     restorative is: Camp Scout pup tent @ 632.82 meat total.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     177.27272727272728 meat total.[/COLOR]
[COLOR=blue]Mall price to     restore 27MP is 0 meat.[/COLOR]
[COLOR=blue]Cast a healing skill.[/COLOR]
Casting     Shake It Off 1 times...
You gain 1 hit point
Shake It Off was     successfully cast.
[COLOR=blue]Current HP: 435, MP: 7[/COLOR]
[COLOR=blue]In     mallmode, best HP restorative is: Camp Scout pup tent @ 631.23 meat total.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     177.27272727272728 meat total.[/COLOR]
[COLOR=blue]Mall price to     restore 27MP is 0 meat.[/COLOR]
[COLOR=blue]Cast a healing skill.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     45.45454545454545 meat total.[/COLOR]
[COLOR=green]Trying to use     1 magical mystery juice[/COLOR]
Using 1 magical mystery juice...
You     gain 45 Mojo Points
Finished using 1 magical mystery juice.
[COLOR=blue]Current     HP: 435, MP: 52[/COLOR]
[COLOR=blue]Current HP: 435, MP: 52[/COLOR]
[COLOR=blue]In     mallmode, best HP restorative is: Camp Scout pup tent @ 631.23 meat total.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     177.27272727272728 meat total.[/COLOR]
[COLOR=blue]Mall price to     restore 27MP is 0 meat.[/COLOR]
[COLOR=blue]Cast a healing skill.[/COLOR]
Casting     Shake It Off 1 times...
You gain 1 hit point
Shake It Off was     successfully cast.
[COLOR=blue]Current HP: 436, MP: 22[/COLOR]
[COLOR=blue]In     mallmode, best HP restorative is: Camp Scout pup tent @ 629.64 meat total.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     177.27272727272728 meat total.[/COLOR]
[COLOR=blue]Mall price to     restore 27MP is 0 meat.[/COLOR]
[COLOR=blue]Cast a healing skill.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     11.363636363636363 meat total.[/COLOR]
[COLOR=green]Trying to use     1 magical mystery juice[/COLOR]
Using 1 magical mystery juice...
You     gain 44 Mojo Points
Finished using 1 magical mystery juice.
[COLOR=blue]Current     HP: 436, MP: 66[/COLOR]
[COLOR=blue]Current HP: 436, MP: 66[/COLOR]
[COLOR=blue]In     mallmode, best HP restorative is: Camp Scout pup tent @ 629.64 meat total.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     177.27272727272728 meat total.[/COLOR]
[COLOR=blue]Mall price to     restore 27MP is 0 meat.[/COLOR]
[COLOR=blue]Cast a healing skill.[/COLOR]
Casting     Shake It Off 1 times...
You gain 1 hit point
Shake It Off was     successfully cast.
[COLOR=blue]Current HP: 437, MP: 36[/COLOR]
[COLOR=blue]In     mallmode, best HP restorative is: Camp Scout pup tent @ 628.0500000000001     meat total.[/COLOR]
[COLOR=blue]In mallmode, best MP restorative     is: magical mystery juice @ 177.27272727272728 meat total.[/COLOR]
[COLOR=blue]Mall     price to restore 27MP is 0 meat.[/COLOR]
[COLOR=blue]Cast a     healing skill.[/COLOR]
Casting Shake It Off 1 times...
You gain 1 hit     point
Shake It Off was successfully cast.
[COLOR=blue]Current     HP: 438, MP: 6[/COLOR]
[COLOR=blue]In mallmode, best HP     restorative is: Camp Scout pup tent @ 626.46 meat total.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     177.27272727272728 meat total.[/COLOR]
[COLOR=blue]Mall price to     restore 27MP is 0 meat.[/COLOR]
[COLOR=blue]Cast a healing skill.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     47.72727272727273 meat total.[/COLOR]
[COLOR=green]Trying to use     1 magical mystery juice[/COLOR]
Using 1 magical mystery juice...
You     gain 45 Mojo Points
Finished using 1 magical mystery juice.
[COLOR=blue]Current     HP: 438, MP: 51[/COLOR]
[COLOR=blue]Current HP: 438, MP: 51[/COLOR]
[COLOR=blue]In     mallmode, best HP restorative is: Camp Scout pup tent @ 626.46 meat total.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     177.27272727272728 meat total.[/COLOR]
[COLOR=blue]Mall price to     restore 27MP is 0 meat.[/COLOR]
[COLOR=blue]Cast a healing skill.[/COLOR]
Casting     Shake It Off 1 times...
You gain 1 hit point
Shake It Off was     successfully cast.
[COLOR=blue]Current HP: 439, MP: 21[/COLOR]
[COLOR=blue]In     mallmode, best HP restorative is: Camp Scout pup tent @ 624.87 meat total.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     177.27272727272728 meat total.[/COLOR]
[COLOR=blue]Mall price to     restore 27MP is 0 meat.[/COLOR]
[COLOR=blue]Cast a healing skill.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     13.636363636363635 meat total.[/COLOR]
[COLOR=green]Trying to use     1 magical mystery juice[/COLOR]
Using 1 magical mystery juice...
You     gain 43 Mojo Points
Finished using 1 magical mystery juice.
[COLOR=blue]Current     HP: 439, MP: 64[/COLOR]
[COLOR=blue]Current HP: 439, MP: 64[/COLOR]
[COLOR=blue]In     mallmode, best HP restorative is: Camp Scout pup tent @ 624.87 meat total.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     177.27272727272728 meat total.[/COLOR]
[COLOR=blue]Mall price to     restore 27MP is 0 meat.[/COLOR]
[COLOR=blue]Cast a healing skill.[/COLOR]
Casting     Shake It Off 1 times...
You gain 1 hit point
Shake It Off was     successfully cast.
[COLOR=blue]Current HP: 440, MP: 34[/COLOR]
[COLOR=blue]In     mallmode, best HP restorative is: Camp Scout pup tent @ 623.28 meat total.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     177.27272727272728 meat total.[/COLOR]
[COLOR=blue]Mall price to     restore 27MP is 0 meat.[/COLOR]
[COLOR=blue]Cast a healing skill.[/COLOR]
Casting     Shake It Off 1 times...
You gain 1 hit point
Shake It Off was     successfully cast.
[COLOR=blue]Current HP: 441, MP: 4[/COLOR]
[COLOR=blue]In     mallmode, best HP restorative is: Camp Scout pup tent @ 621.69 meat total.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     177.27272727272728 meat total.[/COLOR]
[COLOR=blue]Mall price to     restore 27MP is 0 meat.[/COLOR]
[COLOR=blue]Cast a healing skill.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     52.27272727272727 meat total.[/COLOR]
[COLOR=green]Trying to use     1 magical mystery juice[/COLOR]
Using 1 magical mystery juice...
You     gain 43 Mojo Points
Finished using 1 magical mystery juice.
[COLOR=blue]Current     HP: 441, MP: 47[/COLOR]
[COLOR=blue]Current HP: 441, MP: 47[/COLOR]
[COLOR=blue]In     mallmode, best HP restorative is: Camp Scout pup tent @ 621.69 meat total.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     177.27272727272728 meat total.[/COLOR]
[COLOR=blue]Mall price to     restore 27MP is 0 meat.[/COLOR]
[COLOR=blue]Cast a healing skill.[/COLOR]
Casting     Shake It Off 1 times...
You gain 1 hit point
Shake It Off was     successfully cast.
[COLOR=blue]Current HP: 442, MP: 17[/COLOR]
[COLOR=blue]In     mallmode, best HP restorative is: Camp Scout pup tent @ 620.1 meat total.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     177.27272727272728 meat total.[/COLOR]
[COLOR=blue]Mall price to     restore 27MP is 0 meat.[/COLOR]
[COLOR=blue]Cast a healing skill.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     22.727272727272727 meat total.[/COLOR]
[COLOR=green]Trying to use     1 magical mystery juice[/COLOR]
Using 1 magical mystery juice...
You     gain 45 Mojo Points
Finished using 1 magical mystery juice.
[COLOR=blue]Current     HP: 442, MP: 62[/COLOR]
[COLOR=blue]Current HP: 442, MP: 62[/COLOR]
[COLOR=blue]In     mallmode, best HP restorative is: Camp Scout pup tent @ 620.1 meat total.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     177.27272727272728 meat total.[/COLOR]
[COLOR=blue]Mall price to     restore 27MP is 0 meat.[/COLOR]
[COLOR=blue]Cast a healing skill.[/COLOR]
Casting     Shake It Off 1 times...
You gain 1 hit point
Shake It Off was     successfully cast.
[COLOR=blue]Current HP: 443, MP: 32[/COLOR]
[COLOR=blue]In     mallmode, best HP restorative is: Camp Scout pup tent @ 618.51 meat total.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     177.27272727272728 meat total.[/COLOR]
[COLOR=blue]Mall price to     restore 27MP is 0 meat.[/COLOR]
[COLOR=blue]Cast a healing skill.[/COLOR]
Casting     Shake It Off 1 times...
You gain 1 hit point
Shake It Off was     successfully cast.
[COLOR=blue]Current HP: 444, MP: 2[/COLOR]
[COLOR=blue]In     mallmode, best HP restorative is: Camp Scout pup tent @ 616.9200000000001     meat total.[/COLOR]
[COLOR=blue]In mallmode, best MP restorative     is: magical mystery juice @ 177.27272727272728 meat total.[/COLOR]
[COLOR=blue]Mall     price to restore 27MP is 0 meat.[/COLOR]
[COLOR=blue]Cast a     healing skill.[/COLOR]
[COLOR=blue]In mallmode, best MP     restorative is: magical mystery juice @ 56.81818181818182 meat total.[/COLOR]
[COLOR=green]Trying     to use 1 magical mystery juice[/COLOR]
Using 1 magical mystery juice...
You     gain 44 Mojo Points
Finished using 1 magical mystery juice.
[COLOR=blue]Current     HP: 444, MP: 46[/COLOR]
[COLOR=blue]Current HP: 444, MP: 46[/COLOR]
[COLOR=blue]In     mallmode, best HP restorative is: Camp Scout pup tent @ 616.9200000000001     meat total.[/COLOR]
[COLOR=blue]In mallmode, best MP restorative     is: magical mystery juice @ 177.27272727272728 meat total.[/COLOR]
[COLOR=blue]Mall     price to restore 27MP is 0 meat.[/COLOR]
[COLOR=blue]Cast a     healing skill.[/COLOR]
Casting Shake It Off 1 times...
You gain 1 hit     point
Shake It Off was successfully cast.
[COLOR=blue]Current     HP: 445, MP: 16[/COLOR]
[COLOR=blue]In mallmode, best HP     restorative is: Camp Scout pup tent @ 615.33 meat total.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     177.27272727272728 meat total.[/COLOR]
[COLOR=blue]Mall price to     restore 27MP is 0 meat.[/COLOR]
[COLOR=blue]Cast a healing skill.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @ 25.0 meat total.[/COLOR]
[COLOR=green]Trying     to use 1 magical mystery juice[/COLOR]
Using 1 magical mystery juice...
You     gain 45 Mojo Points
Finished using 1 magical mystery juice.
[COLOR=blue]Current     HP: 445, MP: 61[/COLOR]
[COLOR=blue]Current HP: 445, MP: 61[/COLOR]
[COLOR=blue]In     mallmode, best HP restorative is: Camp Scout pup tent @ 615.33 meat total.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     177.27272727272728 meat total.[/COLOR]
[COLOR=blue]Mall price to     restore 27MP is 0 meat.[/COLOR]
[COLOR=blue]Cast a healing skill.[/COLOR]
Casting     Shake It Off 1 times...
You gain 1 hit point
Shake It Off was     successfully cast.
[COLOR=blue]Current HP: 446, MP: 31[/COLOR]
[COLOR=blue]In     mallmode, best HP restorative is: Camp Scout pup tent @ 613.74 meat total.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     177.27272727272728 meat total.[/COLOR]
[COLOR=blue]Mall price to     restore 27MP is 0 meat.[/COLOR]
[COLOR=blue]Cast a healing skill.[/COLOR]
Casting     Shake It Off 1 times...
You gain 1 hit point
Shake It Off was     successfully cast.
[COLOR=blue]Current HP: 447, MP: 1[/COLOR]
[COLOR=blue]In     mallmode, best HP restorative is: Camp Scout pup tent @ 612.15 meat total.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     177.27272727272728 meat total.[/COLOR]
[COLOR=blue]Mall price to     restore 27MP is 0 meat.[/COLOR]
[COLOR=blue]Cast a healing skill.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     59.09090909090909 meat total.[/COLOR]
[COLOR=green]Trying to use     1 magical mystery juice[/COLOR]
Using 1 magical mystery juice...
You     gain 45 Mojo Points
Finished using 1 magical mystery juice.
[COLOR=blue]Current     HP: 447, MP: 46[/COLOR]
[COLOR=blue]Current HP: 447, MP: 46[/COLOR]
[COLOR=blue]In     mallmode, best HP restorative is: Camp Scout pup tent @ 612.15 meat total.[/COLOR]
[COLOR=blue]In     mallmode, best MP restorative is: magical mystery juice @     177.27272727272728 meat total.[/COLOR]
[COLOR=blue]Mall price to     restore 27MP is 0 meat.[/COLOR]
[COLOR=blue]Cast a healing skill.[/COLOR]
Casting     Shake It Off 1 times...
You gain 1 hit point
Shake It Off was     successfully cast.
[COLOR=blue]Current HP: 448, MP: 16[/COLOR]
[COLOR=blue]In     mallmode, best HP restorative is: Camp Scout pup tent @ 610.5600000000001     meat total.[/COLOR]
[COLOR=blue]In mallmode, best MP restorative     is: magical mystery juice @ 177.27272727272728 meat total.[/COLOR]
[COLOR=blue]Mall     price to restore 27MP is 0 meat.[/COLOR]
[COLOR=blue]Cast a     healing skill.[/COLOR]
[COLOR=blue]In mallmode, best MP     restorative is: magical mystery juice @ 25.0 meat total.[/COLOR]
[COLOR=green]Trying     to use 1 magical mystery juice[/COLOR]
Using 1 magical mystery juice...
You     gain 43 Mojo Points
Finished using 1 magical mystery juice.
[COLOR=blue]Current     HP: 448, MP: 59[/COLOR]
[COLOR=blue]Current HP: 448, MP: 59[/COLOR]
[COLOR=blue]In     mallmode, best HP restorative is: Camp Scout pup tent @ 610.5600000000001     meat total.[/COLOR]
[COLOR=blue]In mallmode, best MP restorative     is: magical mystery juice @ 177.27272727272728 meat total.[/COLOR]
[COLOR=blue]Mall     price to restore 27MP is 0 meat.[/COLOR]
[COLOR=blue]Cast a     healing skill.[/COLOR]
Casting Shake It Off 1 times...
[COLOR=red]Script     abort.[/COLOR]

I thought maybe the problem is universal recovery script itself, so I disabled it so it will use the default recover_mp and recover_hp scripts... but it still just burns inventory items
Code:
[COLOR=olive]> FantasyRealm auto[/COLOR]

FantasyRealm     v1.2.1
Maximizing...
192 combinations checked, best score 654.00
Putting     on nurse's hat...
Equipment changed.
Holding Brimstone Bunker...
Equipment     changed.
Putting on Moonthril Greaves...
Equipment changed.
Using     1 bottle of Monsieur Bubble...
You gain 64 Mojo Points
Finished     using 1 bottle of Monsieur Bubble.

Visit to FantasyRealm: The     Bandit Crossroads in progress...

[2069] The Bandit Crossroads
Encounter:     You'll See You at the Crossroads

Maximizing...
88 combinations     checked, best score 30.20
Putting on double-ice cap...
Equipment     changed.
Holding double-ice box...
Equipment changed.
Putting on     double-ice britches...
Equipment changed.
lastEncounter =>
Casting     Shake It Off 1 times...
You gain 1 hit point
Shake It Off was     successfully cast.
Casting Shake It Off 1 times...
You gain 1 hit     point
Shake It Off was successfully cast.
Casting Shake It Off 1     times...
You gain 1 hit point
Shake It Off was successfully cast.
Using     1 bottle of Monsieur Bubble...
You gain 63 Mojo Points
Finished     using 1 bottle of Monsieur Bubble.
Casting Shake It Off 1 times...
You     gain 1 hit point
Shake It Off was successfully cast.
Casting Shake     It Off 1 times...
You gain 1 hit point
Shake It Off was successfully     cast.
Using 1 bottle of Monsieur Bubble...
You gain 49 Mojo Points
Finished     using 1 bottle of Monsieur Bubble.
Casting Shake It Off 1 times...
You     gain 1 hit point
Shake It Off was successfully cast.
Using 1 bottle     of Monsieur Bubble...
You gain 48 Mojo Points
Finished using 1     bottle of Monsieur Bubble.
Casting Shake It Off 1 times...
You gain     1 hit point
Shake It Off was successfully cast.
Casting Shake It Off     1 times...
You gain 1 hit point
Shake It Off was successfully cast.
Using     1 bottle of Monsieur Bubble...
You gain 65 Mojo Points
Finished     using 1 bottle of Monsieur Bubble.
Casting Shake It Off 1 times...
You     gain 1 hit point
Shake It Off was successfully cast.
Casting Shake     It Off 1 times...
You gain 1 hit point
Shake It Off was successfully     cast.
Using 1 bottle of Monsieur Bubble...
You gain 53 Mojo Points
Finished     using 1 bottle of Monsieur Bubble.
Casting Shake It Off 1 times...
You     gain 1 hit point
Shake It Off was successfully cast.
Casting Shake     It Off 1 times...
You gain 1 hit point
Shake It Off was successfully     cast.
Using 1 bottle of Monsieur Bubble...
You gain 49 Mojo Points
Finished     using 1 bottle of Monsieur Bubble.
Casting Shake It Off 1 times...
You     gain 1 hit point
Shake It Off was successfully cast.
Casting Shake     It Off 1 times...
You gain 1 hit point
Shake It Off was successfully     cast.
Using 1 bottle of Monsieur Bubble...
You gain 52 Mojo Points
Finished     using 1 bottle of Monsieur Bubble.
Casting Shake It Off 1 times...
You     gain 1 hit point
Shake It Off was successfully cast.
Using 1 bottle     of Monsieur Bubble...
You gain 48 Mojo Points
Finished using 1     bottle of Monsieur Bubble.
Casting Shake It Off 1 times...
You gain     1 hit point
Shake It Off was successfully cast.
Casting Shake It Off     1 times...
You gain 1 hit point
Shake It Off was successfully cast.
Using     1 bottle of Monsieur Bubble...
You gain 50 Mojo Points
Finished     using 1 bottle of Monsieur Bubble.
Casting Shake It Off 1 times...
You     gain 1 hit point
Shake It Off was successfully cast.
Casting Shake     It Off 1 times...
You gain 1 hit point
Shake It Off was successfully     cast.
Using 1 bottle of Monsieur Bubble...
You gain 53 Mojo Points
Finished     using 1 bottle of Monsieur Bubble.
Casting Shake It Off 1 times...
You     gain 1 hit point
Shake It Off was successfully cast.
Using 1 bottle     of Monsieur Bubble...
You gain 61 Mojo Points
Finished using 1     bottle of Monsieur Bubble.
Casting Shake It Off 1 times...
You gain     1 hit point
Shake It Off was successfully cast.
Casting Shake It Off     1 times...
You gain 1 hit point
Shake It Off was successfully cast.
Using     1 bottle of Monsieur Bubble...
You gain 63 Mojo Points
Finished     using 1 bottle of Monsieur Bubble.
Casting Shake It Off 1 times...
You     gain 1 hit point
Shake It Off was successfully cast.
Casting Shake     It Off 1 times...
You gain 1 hit point
Shake It Off was successfully     cast.
Using 1 bottle of Monsieur Bubble...
You gain 50 Mojo Points
Finished     using 1 bottle of Monsieur Bubble.
Casting Shake It Off 1 times...
You     gain 1 hit point
Shake It Off was successfully cast.
Casting Shake     It Off 1 times...
You gain 1 hit point
Shake It Off was successfully     cast.
Using 1 bottle of Monsieur Bubble...
You gain 46 Mojo Points
Finished     using 1 bottle of Monsieur Bubble.
Casting Shake It Off 1 times...
You     gain 1 hit point
Shake It Off was successfully cast.
Casting Shake     It Off 1 times...
You gain 1 hit point
Shake It Off was successfully     cast.
Using 1 bottle of Monsieur Bubble...
[COLOR=red]Script     abort.[/COLOR]
You gain 48 Mojo Points

Oh, it was also randomly using pvp fights for some inexplicable reason that I cannot fathom.
Note that I had auto restore your mana disabled...
Also note that script abort is me manually aborting it.

---

Also, it seems to have overwritten the built in stopper that happens when semi-rare adventure happens. and wasted it in fantasy realm. It should abort if semi-rare counter = 0

I recommend that it also disable monster mind control device, disable moods from whatever you left it on, and unaffect biker swagger (+30 ML) other such high +ML buffs... although I can understand how this might be edge case enough to not bother with.
 
Last edited:
Ok, got out of pete, went sauceror, bought saucestorm which should really be listed as a prereq of the script (and have it auto abort if not found). Things started out good... and then it burned all my money on very expensive buffing potions (not that much money though, only 100k. I had recently went through some expensive wastefulness so i was low to begin with)

Code:
Maximizing...
1536 combinations checked, best score 59.00
Putting on     topeé...
Equipment changed.
Wielding LyleCo premium magnifying     glass...
Equipment changed.
Holding six-rainbow shield...
Equipment     changed.
Putting on miming shirt...
Equipment changed.
Putting on     dungeoneer's dungarees...
Equipment changed.
Putting on psychic's     amulet...
Equipment changed.
Putting on LyleCo premium monocle...
Equipment     changed.
lastEncounter =>
Searching for "sticky lava globs"...
Search     complete.
Searching for "pec oil"...
Search complete.
Searching     for "lotion of spookiness"...
Search complete.
Searching     for "lotion of hotness"...
Search complete.
Searching for     "programmable turtle"...
Search complete.
Searching for     "cold powder"...
Search complete.
Searching for "Tapioc     berry"...
Search complete.
Searching for "recording of     Rolando's Rondo of Resisto"...
Search complete.
Searching for     "patent preventative tonic"...
Search complete.
Searching     for "can of black paint"...
Search complete.
Searching for     "scroll of Protection from Bad Stuff"...
Search complete.
Item     sticky lava globs: 20 turns of Burning Hands: 2.066666666666667 efficiency
Using     cached search results for sticky lava globs...
Purchasing sticky lava     globs (1 @ 124)...
Purchases complete.
Using 1 sticky lava globs...
You     acquire an effect: Burning Hands (20)
Finished using 1 sticky lava     globs.
Item pec oil: 20 turns of Oiled-Up: 4.15 efficiency
Using 1     pec oil...
You acquire an effect: Oiled-Up (20)
Finished using 1 pec     oil.
Item lotion of spookiness: 20 turns of Spooky Hands: 7.925     efficiency
Searching for "spooky powder"...
Search     complete.
Verifying ingredients for lotion of spookiness (1)...
Creating     lotion of spookiness (1)...
You acquire lotion of spookiness (3)
Successfully     created lotion of spookiness (3)
Using 1 lotion of spookiness...
You     acquire an effect: Spooky Hands (20)
Finished using 1 lotion of     spookiness.
Item lotion of hotness: 20 turns of Hot Hands: 9.75     efficiency
Searching for "hot powder"...
Search complete.
Verifying     ingredients for lotion of hotness (1)...
Using cached search results     for hot powder...
Purchasing hot powder (1 @ 100)...
Purchases     complete.
Creating lotion of hotness (1)...
You acquire lotion of     hotness (3)
Successfully created lotion of hotness (3)
Using 1     lotion of hotness...
You acquire an effect: Hot Hands (20)
Finished     using 1 lotion of hotness.
Item programmable turtle: 15 turns of Spiro     Gyro: 13.066666666666666 efficiency
Using 1 programmable turtle...
You     acquire an effect: Spiro Gyro (15)
Finished using 1 programmable turtle.
Item     cold powder: 5 turns of Insulated Trousers: 20.0 efficiency
Using     cached search results for cold powder...
Purchasing cold powder (1 @     100)...
Purchases complete.
Using 1 cold powder...
You acquire an     effect: Insulated Trousers (5)
Finished using 1 cold powder.
Item     Tapioc berry: 20 turns of Berry Elemental: 27.45 efficiency
Using     cached search results for Tapioc berry...
Purchasing Tapioc berry (1 @     547)...
Purchases complete.
Using 1 Tapioc berry...
You acquire     an effect: Berry Experiential (20)
You acquire an effect: Berry     Elemental (20)
Finished using 1 Tapioc berry.
Item patent     preventative tonic: 30 turns of Patent Prevention: 33.333333333333336     efficiency
Using cached search results for patent preventative tonic...
Purchasing     patent preventative tonic (1 @ 2,000)...
Purchases complete.
Using 1     patent preventative tonic...
You acquire an effect: Patent Prevention     (30)
Finished using 1 patent preventative tonic.
Item recording of     Rolando's Rondo of Resisto: 20 turns of Rolando's Rondo of Resisto: 37.0     efficiency
Using cached search results for recording of Rolando's Rondo     of Resisto...
Purchasing recording of Rolando's Rondo of Resisto (1 @     2,400)...
recording of Rolando's Rondo of Resisto is multiusable, but     KoLmafia thought it was not
Purchases complete.
Using 1 recording of     Rolando's Rondo of Resisto...
You acquire an effect: Rolando's Rondo of     Resisto (20)
Finished using 1 recording of Rolando's Rondo of Resisto.
Item     can of black paint: 10 turns of Red Door Syndrome: 45.0 efficiency
Using     1 can of black paint...
You acquire an effect: Red Door Syndrome (10)
Finished     using 1 can of black paint.
Item scroll of Protection from Bad Stuff:     20 turns of Protection from Bad Stuff: 70.0 efficiency
Using cached     search results for scroll of Protection from Bad Stuff...
Purchasing     scroll of Protection from Bad Stuff (1 @ 2,500)...
Purchases complete.
Using     1 scroll of Protection from Bad Stuff...
You acquire an effect:     Protection from Bad Stuff (20)
Finished using 1 scroll of Protection     from Bad Stuff.
Searching for "cuppa Toast tea"...
Search     complete.
Item cuppa Toast tea: 30 turns of Toast Tea:     71.58333333333333 efficiency
Using cached search results for cuppa     Toast tea...
Purchasing cuppa Toast tea (1 @ 4,290)...
Purchases     complete.
Using 1 cuppa Toast tea...
You acquire an effect: Toast     Tea (30)
Finished using 1 cuppa Toast tea.
Searching for "Ancient     Protector Soda"...
Search complete.
Item Ancient Protector     Soda: 50 turns of Ancient Protected: 78.625 efficiency
Using cached     search results for Ancient Protector Soda...
Purchasing Ancient     Protector Soda (1 @ 2,002)...
Purchases complete.
Using 1 Ancient     Protector Soda...
You gain 25 Mana Points
You acquire an effect:     Ancient Protected (50)
Finished using 1 Ancient Protector Soda.
Searching     for "murderbot shield unit"...
Search complete.
Item     murderbot shield unit: 20 turns of Shielded Unit: 125.0 efficiency
Verifying     ingredients for murderbot shield unit (1)...
Searching for "murderbot     power cell"...
Search complete.
Purchasing murderbot power cell     (2 @ 490)...
Purchases complete.
Creating murderbot shield unit     (1)...
You acquire an item: murderbot shield unit
Successfully     created murderbot shield unit (1)
Using 1 murderbot shield unit...
You     acquire an effect: Shielded Unit (20)
Finished using 1 murderbot shield     unit.
Searching for "Gene Tonic: Elemental"...
Search     complete.
Item Gene Tonic: Elemental: 30 turns of Human-Elemental     Hybrid: 159.96666666666667 efficiency
Using cached search results for     Gene Tonic: Elemental...
Purchasing Gene Tonic: Elemental (1 @ 9,598)...
Purchases     complete.
Using 1 Gene Tonic: Elemental...
You acquire an effect:     Human-Elemental Hybrid (30)
Finished using 1 Gene Tonic: Elemental.
Searching     for "Oil of Parrrlay"...
Search complete.
Item Oil of     Parrrlay: 5 turns of Well-Oiled: 173.0 efficiency
Using 1 Oil of     Parrrlay...
You acquire an effect: Well-Oiled (5)
Finished using 1     Oil of Parrrlay.
Searching for "robin's egg"...
Search     complete.
Item robin's egg: 10 turns of Egged On: 240.0 efficiency
Using     cached search results for robin's egg...
Purchasing robin's egg (1 @     7,200)...
Purchases complete.
Using 1 robin's egg...
You acquire     an effect: Egged On (10)
Finished using 1 robin's egg.
Searching for     "bottle of antifreeze"...
Search complete.
Item bottle of     antifreeze: 10 turns of Fever From the Flavor: 361.1 efficiency
Using     cached search results for bottle of antifreeze...
Purchasing bottle of     antifreeze (1 @ 13,999)...
Purchases complete.
Using 1 bottle of     antifreeze...
You acquire an effect: Fever From the Flavor (10)
Finished     using 1 bottle of antifreeze.
Searching for "smudge stick"...
Search     complete.
Item smudge stick: 10 turns of Wreathed in Smoke: 783.0     efficiency
Using cached search results for smudge stick...
Purchasing     smudge stick (1 @ 7,800)...
Purchases complete.
Using 1 smudge     stick...
You acquire an effect: Wreathed in Smoke (10)
Finished     using 1 smudge stick.
Searching for "celestial olive oil"...
Search     complete.
Item celestial olive oil: 10 turns of Celestial Sheen: 1920.0     efficiency
Using cached search results for celestial olive oil...
Purchasing     celestial olive oil (1 @ 10,000)...
celestial olive oil is multiusable,     but KoLmafia thought it was not
Purchases complete.
Using 1     celestial olive oil...
You acquire an effect: Celestial Sheen (10)
Finished     using 1 celestial olive oil.
Searching for "spoonful of Linguine-Os"...
Search     complete.
Item spoonful of Linguine-Os: 10 turns of Blessing of the Hot     Linguine: 2000.0 efficiency
Searching for "spoonful of Linguine-Os"...
Search     complete.
Desired purchase quantity not reached (wanted 1, got 0)
Searching     for "spoonful of Linguine-Os"...
Search complete.
Desired     purchase quantity not reached (wanted 1, got 0)
[COLOR=red]You     need 1 more spoonful of Linguine-Os to continue.[/COLOR]
Those seem to be buffs targetting elemental resist? The question is... do you really need that much? it seemed to just be buying ALL elemental resist instead of reaching a specific target. It is also overruling my existing setting of not using any item that costs over 2000 meat.

When I ran out of money i was at

Really Very Extremely Inconceivably High (46)
Extremely Impossibly High (68)
Extremely Inconceivably High (44)
Really Very Extremely Inconceivably High (46)
Extremely Inconceivably High (44)

[TD="align: right"]Hot Protection:[/TD]

[TD="align: right"]Cold Protection:[/TD]

[TD="align: right"]Spooky Protection:[/TD]

[TD="align: right"]Stench Protection:[/TD]

[TD="align: right"]Sleaze Protection:[/TD]

If it IS supposed to be going that high, then it really should popup a yes/no box with a meat estimation on the cost
 
Last edited:
Ok, got out of pete, went sauceror, bought saucestorm which should really be listed as a prereq of the script (and have it auto abort if not found). Things started out good... and then it burned all my money on very expensive buffing potions (not that much money though, only 100k. I had recently went through some expensive wastefulness so i was low to begin with)

Apologies about that. You're the second person to encounter this bug, but I don't know why it's happening. What it appears to be doing is infinite looping without passing the check to stop. My only guess is mafia's numeric_modifier() isn't updating properly? But that makes no sense. I've updated gain.ash to verify that we're making progress, but, that seems like a long shot.

Try updating the script. "svn update"
 
Apologies about that. You're the second person to encounter this bug, but I don't know why it's happening. What it appears to be doing is infinite looping without passing the check to stop. My only guess is mafia's numeric_modifier() isn't updating properly? But that makes no sense. I've updated gain.ash to verify that we're making progress, but, that seems like a long shot.

Try updating the script. "svn update"
No problem... I think I have idea of what might have happened to me during pete.
I noticed there is a function that does "Cast a healing skill."

In pete the only healing skill available costs 35 MP. In mafia if you try to use a skill through mafia interface and don't have enough MP, it will automatically call restore MP to give you enough MP. So the function that is designed to burn MP must look at the MP cost of the skill it wants to call any make sure you have enough MP to actually cast it.

---
Anyways, I tried the new version, it seems to be more careful about buying resistance buffs which is good, a relatively small amount of meat was spent to get me to
Very Extremely Amazingly High (15)
Very Extraordinarily High (18)
Really Very Amazingly High (13)
Extraordinarily High (17)
Really Very Amazingly High (13)

[TD="align: right"]Hot Protection:[/TD]

[TD="align: right"]Cold Protection:[/TD]

[TD="align: right"]Spooky Protection:[/TD]

[TD="align: right"]Stench Protection:[/TD]

[TD="align: right"]Sleaze Protection:[/TD]

---
An issue I ran into now is when trying to burn MP using the "casting a healing skill" function it got into a loop of trying to cast canonelli cocoon, failing with "you already have max HP". Although it detected the loop and aborted on its own after 3 failed attempts to cast cocoon.

My recommendation for MP burning function, instead of healing skill, is to bulk use the 1MP buffs each class starts with (you can use "cast X" to multi cast them). just make sure to unequip items that give -MP cost to use skills. If none of those skills are found, error and stop running. Avatar runs can be programmed seperately if you are willing to, but otherwise will not run due not having the right skills.
http://kol.coldfront.net/thekolwiki/index.php/Seal_Clubbing_Frenzy_(skill)
http://kol.coldfront.net/thekolwiki/index.php/Patience_of_the_Tortoise_(skill)
http://kol.coldfront.net/thekolwiki/index.php/Manicotti_Meditation
http://kol.coldfront.net/thekolwiki/index.php/Sauce_Contemplation
http://kol.coldfront.net/thekolwiki/index.php/Disco_Aerobics
http://kol.coldfront.net/thekolwiki/index.php/Moxie_of_the_Mariachi
 
Last edited:
Running it again after the above it worked. I got legging of the spider queen and some rubees. It aborted twice when losing to the quadcopter fairy, but that was fine, it happened due to really poor luck on that 50% miss chance (missed 6 times in a row), and I wouldn't want to burn insane amounts of money on resistance to have 100% victory chance, better to risk an adventure. (actually, I don't think 100% victory chance is even possible, just ever smaller loss chance)

PS, I realized I have not said thank you for this script yet. So thank you. very helpful.
 
Last edited:
Sprawling cemetary issue with accordion thief. It tries to melee the ghosts in the sprawling cemetary instead of using http://kol.coldfront.net/thekolwiki/index.php/Bawdy_Refrain
which also requires some more spooky resist for an accordion thief...

Also it should really turn off the mind control device.

I really need to get around to perming sauce geyser, it really makes a difference for that battle.
 
Last edited:
When fighting the quadfarie with a lyleco premium magnifying glass equipped, it should buff muscle enough to actually hit them at all. (especially if it equips lavaproof pants which give -50% to all stats). would help to disable mind control device on that as well.
 
Thanks for the script, it worked great

306 Rubees(tm) and all I had to do was buy a FR key, which I will do manually in advance next time

Cheers
E
 
Back
Top