FantasyRealm

Ezandora

Member
Does the script work in a CS run now? I tried the day it was released, and it said something about not working while in run...
Wait. I might be thinking of Picky. Whichever path takes away those starting skills.

Did a little minor troubleshooting on this, and it's because the maximizer is trying to equip the nozzle of the phoenix and the double ice box at the same time.
Correct, updated a fix a while ago.

so i ran ogre, which is supposed to "Fight Ogre Chieftain for belt of Ogrekind." The script ran me through bandit crossroad, village, and crypt for some reason, then aborted because i didnt have a specific potion it wanted that i've never heard of.
You might have mafia set to not auto-buy things from the mall, which prevented the script from acquiring potions it needs to complete the ogre path. This is more or less necessary to complete FantasyRealm, even if you weren't using a script. That's my best guess for what happened? Not actually sure.

Check Preferences>Item Acquisition>Buy items from the mall whenever needed. That should be enabled to run this script properly, because it relies on items from the mall to run.

My only quibble is that the maximizer tends to over-buff at times.
It's paranoid about being beaten up on some lonely, far-off, low-skill account.

I don't need 3000 turns of seal clubbing frenzy
How/when does that happen? That sounds like mafia burning MP?
 

Pazleysox

Member
I don't need 3000 turns of seal clubbing frenzy

Were you perhaps fighting the boss that requires you to have the least amount of MP as possible, so you can survive the fight?

Wait. I might be thinking of Picky. Whichever path takes away those starting skills.

Any chance you can make it so we can run the script in run? I don't know how difficult it would be to do that. Maybe just for rubee farming perhaps?

Like I said before, I love this script, I love all your scripts. I'm amazed at the speed in which they are released too! Thank you for doing what you do!
 
Last edited:

fronobulax

Developer
Staff member
Using "auto"

[1264907] The Faerie Cyrkle
Encounter: The Cyrkle Is Compleat
Requested choice (3) for choice #1290 is not currently available.
choice 1: Get a faerie blessing (get 100 adv of Fantasy Faerie Blessing)
choice 2: Take some faerie dust with you (acquire faerie dust)
choice 6: Leave for now (leave)
Click here to continue in the relay browser.

This is probably not what I expected from Auto. Is it a side effect of having a Rouge's Mask in my Display Case but NOT in inventory?
 

fronobulax

Developer
Staff member
Is it a side effect of having a Rouge's Mask in my Display Case but NOT in inventory?

I pulled the mask and did not see this issue today.

It wanted to use a pirate pamphlet but aborted instead of equipping the Fledges and buying one. I did so manually and was quite pleased and impressed that it resumed where it had failed. That does not always happen with some other scripts. Thanks.
 

kinoth

New member
> fantasyrealm auto

FantasyRealm v1.1.11
Maximizing...
540 combinations checked, best score 355.00
lastEncounter =>

Taking Pabst the Mini-Hipster out of terrarium...
Checkpoints cleared.

Visit to FantasyRealm: The Cursed Village in progress...

[58] The Cursed Village
Encounter:
Nothing more to do here.

Putting Pabst the Mini-Hipster back into terrarium...

Taking Pabst the Mini-Hipster out of terrarium...
Checkpoints cleared.

Visit to FantasyRealm: The Cursed Village in progress...

[58] The Cursed Village
Encounter:
Nothing more to do here.

I'm getting this no matter which option I call the script with. I have the Cursed Village and the Towering Mountains unlocked, and stopping mafia and attempting to manually adventure anywhere in FantasyRealm works fine. Are there any obvious settings I may have missed?
 

Crowther

Active member
Putting Pabst the Mini-Hipster back into terrarium...

Taking Pabst the Mini-Hipster out of terrarium...
You can't go there with a familiar. The script put your familiar away, then something, likely a between battle script, pulled one out.
 

fronobulax

Developer
Staff member
Burned all available adventures for me. Issue was WHAM did not handle "a flock of every birds" so I would lose the fight and it would try again. I don't think this requires any change to the script but is a warning for users.
 

Ezandora

Member
This is probably not what I expected from Auto. Is it a side effect of having a Rouge's Mask in my Display Case but NOT in inventory?

The script picks whichever mask you have the least of, and doesn't check strategy -> mask. The assumption was, by the time you were ready to fight bosses, you would have already had all three masks.

It wanted to use a pirate pamphlet but aborted instead of equipping the Fledges and buying one.
Hmm. Some issue in gain.ash and how mafia acquires items, particularly the shifting-per-ascension pirate pamphlets?

Burned all available adventures for me. Issue was WHAM did not handle "a flock of every birds" so I would lose the fight and it would try again. I don't think this requires any change to the script but is a warning for users.
Strange, why was WHAM in control? FantasyRealm works by passing in a combat macro to adv1()'s third parameter, and disables in-game macros - from what I understand, this should override everything else. That overrides my personal combat consult script, at least.

Anyways, I added in some questionable code that might detect if you lost a fight. It might break everything!
 

fronobulax

Developer
Staff member
Thanks. I don't think the script is counting masks in my DC since I have 16, 1 and 1 and I think the onesies are from runs I did before the script. I can remember to pull one of each...

No more comment on the pamphlet.

I thought WHAM was in charge but maybe not. Whatever was running combat was not casting the area effect spells. I'll pay attention next time flocks are fought :)
 

Crowther

Active member
I thought WHAM was in charge but maybe not. Whatever was running combat was not casting the area effect spells. I'll pay attention next time flocks are fought :)
You can tell if WHAM is in charge, because when it starts up it lists a bunch of colorful status messages. I have not seen it fire under this script.

EDIT: Actually, that may depend on your verbosity. I run my at 5 or higher.
 

JaAchan

New member
I keep getting beat up at The Sprawling Cemetery. I also have bought all maps, but it still goes to You'll See You at the Crossroads first. Only option there is "Leave for now". Anything I'm doing wrong?

r24, KolMafia 18635, AT, level 41. Log:
Code:
> fantasyrealm gem

FantasyRealm v1.1.13
Putting on FantasyRealm G. E. M....
Equipment changed.
Maximizing...
5535 combinations checked, best score 345.00
Putting on plexiglass pith helmet...
Equipment changed.
Holding Brimstone Bunker...
Equipment changed.
Putting on sea chaps...
Equipment changed.
lastEncounter =>
Casting Cannelloni Cocoon 1 times...
You gain 98 hit points
Cannelloni Cocoon was successfully cast.

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

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

Maximizing...
1335 combinations checked, best score 38.00
Putting on double-ice cap...
Equipment changed.
Holding double-ice box...
Equipment changed.
Putting on double-ice britches...
Equipment changed.
lastEncounter =>
Casting Tongue of the Walrus 1 times...
You gain 38 hit points
Tongue of the Walrus was successfully cast.

Visit to FantasyRealm: The Sprawling Cemetery in progress...

[37258] The Sprawling Cemetery
Encounter: spooky ghost
Round 0: jaachan wins initiative!
Round 1: jaachan executes a macro!
Round 1: jaachan attacks!
Round 2: spooky ghost takes 41 damage.
Round 2: spooky ghost takes 17 damage.
Round 2: You lose 221 hit points
Round 2: jaachan attacks!
Round 3: spooky ghost takes 41 damage.
Round 3: spooky ghost takes 15 damage.
Round 3: You lose 221 hit points

Casting Cannelloni Cocoon 1 times...
You gain 354 hit points
Cannelloni Cocoon was successfully cast.
Beaten up, stopping...
Taking off FantasyRealm G. E. M....
Equipment changed.
 

ereinion

Member
It failed vs the ghoul king for me today, it seems it maximized for muscle, but still attacked with spells?

Code:
        [2406] The Faerie Cyrkle
Encounter: The Cyrkle Is Compleat
You      acquire an effect: Fantasy Faerie Blessing (100)

[COLOR=blue]Libram      summons #30 will cost 463 MP. Will summon when MP > 478.[/COLOR]
Maximizing...
39059      combinations checked, best score 538.00
75776 combinations checked,      best score 538.00
Putting on plexiglass pith helmet...
Equipment      changed.
Wielding Brimstone Bludgeon...
Equipment changed.
Holding      Brimstone Bludgeon...
Equipment changed.
Putting on little deuce      cape...
Equipment changed.
Putting on The Ghoul King's ghoulottes...
Equipment      changed.
Putting on Dinsey's oculus...
Equipment changed.
Putting      on Talisman of Baio...
Equipment changed.
lastEncounter =>
choiceAdventure1290      => 6
choiceAdventure1304 => 1
Casting Cannelloni Cocoon 1      times...
You gain 459 hit points
Cannelloni Cocoon was successfully      cast.
Using 3 generic mana potion...
You gain 190 Mojo Points
Finished      using 3 generic mana potion.

Visit to FantasyRealm: The Ghoul      King's Catacomb in progress...

[2407] The Ghoul King's Catacomb
Encounter:      He Is the Ghoul King, He Can Do Anything
Encounter: the Ghoul King
Round      0: ereinion wins initiative!
Round 1: ereinion executes a macro!
Round      1: ereinion casts SAUCEGEYSER!
Round 2: Ghoul King takes 113 damage.
Round      2: Ghoul King takes 2 damage.
Round 2: Ghoul King takes 6 damage.
Round      2: You lose 39 hit points
Round 2: ereinion casts SAUCEGEYSER!
Round      3: Ghoul King takes 235 damage.
Round 3: Ghoul King takes 2 damage.
Round      3: Ghoul King takes 6 damage.
Round 3: You lose 37 hit points
Round      3: ereinion casts SAUCEGEYSER!
Round 4: Ghoul King takes 121 damage.
Round      4: Ghoul King takes 2 damage.
Round 4: Ghoul King takes 2 damage.
Round      4: You lose 39 hit points
Round 4: ereinion casts SAUCEGEYSER!
Round      5: Ghoul King takes 239 damage.
Round 5: Ghoul King heals 219 hit      points.
Round 5: ereinion casts SAUCEGEYSER!
Round 6: Ghoul King      takes 121 damage.
You gain 72 Meat.
Round 6: Ghoul King heals 154      hit points.
Round 6: ereinion casts SAUCEGEYSER!
Round 7: Ghoul King      takes 120 damage.
Round 7: Ghoul King heals 174 hit points.
Round 7:      ereinion casts SAUCEGEYSER!
Round 8: Ghoul King takes 116 damage.
Round      8: Ghoul King takes 2 damage.
Round 8: Ghoul King takes 3 damage.
Round      8: You lose 37 hit points
Round 8: ereinion casts SAUCEGEYSER!
Round      9: Ghoul King takes 116 damage.
Round 9: Ghoul King heals 161 hit      points.
Round 9: ereinion casts SAUCEGEYSER!
Round 10: Ghoul King      takes 120 damage.
Round 10: Ghoul King heals 189 hit points.
Round      10: ereinion casts SAUCEGEYSER!
[COLOR=red]You're on your own,      partner.[/COLOR]
[URL="http://kolmafia.us/main.php"]Click      here to continue in the relay browser.[/URL]
 

snooty

Member
First, thanks for creating this and sharing it with us, Ezandora!

Second, at the crypt it's maximizing for init, and refuses to adv if I don't have a little round pebble equipped. While init is certainly part of getting through, I guess, it's *much* more about surviving being hit, which means init doesn't really matter since you can funk poultices or garters and survive just fine. I can adv there, and survive, without a pebble equipped, super curious why not having one is a deal breaker. Like a few other posts, this one is just fair warning for others, a minor hiccup in an awesome real-time saving script!
 

fronobulax

Developer
Staff member
I had several stops today when it was expecting a choice that was not there.

It would be helpful for both debugging and manual intervention if the current "goal" was displayed (or otherwise available) when the script was run with "auto".

I will pay attention next time when it wants an unavailable choice.
 

fronobulax

Developer
Staff member
Going for skeleton warrior.

[1269553] The Towering Mountains
Encounter: Out of Range
Requested choice (10) for choice #1282 is not currently available.
choice 1: Unlock the mine (unlock The Old Rubee Mine (using FantasyRealm key))
choice 2: Head into the deep cave (unlock The Foreboding Cave)
choice 5: Head to the Ogre Chieftain's Keep (unlock The Ogre Chieftain's Keep (with FantasyRealm Warrior's Helm))
choice 11: Leave for now (leave)
Click here to continue in the relay browser.

I think the issue is that I have the outfits, but the parts are in the DC and the script does not differentiate between "having" the outfit and being able to wear it. I'll pull the outfits and try again.
 
Last edited:

hollow2201

New member
I've installed and get this error:
scripts/gain.ash could not be found (FantasyRealm.ash, line 1)

I've deleted and reinstalled. Same error. Latest daily build. What am I missing?
 

snooty

Member
I've installed and get this error:
scripts/gain.ash could not be found (FantasyRealm.ash, line 1)

I've deleted and reinstalled. Same error. Latest daily build. What am I missing?

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.
 
Last edited:
Top