A problem with Welcome Back

jwylot

Member
Hi. I run a buffbot who adventures in Mt. Molehill for the Arcane in the Brain effect each day. Just before rollover, he goes off to make recordings on any remaining AT hobo buffs but there is a problem which I've resolved for the moment by having him adventure for one turn before heading off to make recordings.

The relevant log entries look like this.

[24666] Mt. Molehill
Encounter: No Sects in the Potion Room
You acquire an item: digital underground potion
..........
volcanoisland.php?action=tuba&pwd
Encounter: Welcome Back!
choice.php?whichchoice=409&option=1&pwd
Encounter: Welcome Back!........

I'm guessing there'a a better way to get the welcome back adventure out of the way than spending a turn and losing the arcane effect but I'll be darned if I can find it.

Help please?
 
Yes I know but how can I script for the Welcome Back to happen? At the moment I have this...
PHP:
void molehill()
//Get Arcane in the Brain effect and a Digital Underground potion
{
set_property("choiceAdventure276","2");
use(1, $item[llama lama gong]);
while(have_effect($effect[Shape of...Mole!]) > 0)
	{
	visit_url("adventure.php?snarfblat=177");
	use_skill($skill[tunnel downwards]);
	run_combat();
	}
}
//then runs as buffbot until just before rollover, when it calls recordsongs.ash with...
adventure(1 , $location[Outskirts of The Knob]);//DEBUG - seems to be needed to finish birdform
if (can_record())
record_it();
 
Use a visit_url()-call instead of the adventure()-call to make it just go there and not continue with a turn afterwards?
 
Or adv1 should adventure once instead of spending 1 turn adventuring, if I understand its purpose properly...
 
Weird. I was having this -exact- issue starting 4 days ago.
My logs are a bit messier though.


After getting Arcane in the Brain, I stop (as I also have Dreams and Lights running at this point and don't want to lose that)
Come end of day, I proceed to adventure in Mt. Molehill while the Form of... Mole effect is still active.

Then I go to burn my MP doing recordings. As far as I knew, this was working fine. Then I noticed (after changing -something-) that I'd have a stream of "Welcome Back!" in my gCLI, then it'd move on to something else, which makes me feel that it -somehow- got through. After one line of this other thing, whatever it may be, there is then a "Lag problems encountered" (or whatever the lag error is) and then the script is halted.

My fix was to get myself locked in the Welcome Back adventure on purpose (via attempting one extra adventure at Mt. Molehill after the while loop) then just throw the visit_url at it with the appropriate choices.... would any ol' "adventure" call automatically finish the Journey for me?
 
Last edited:
Sounds like the same problem which is down to Welcome Back trying to override your visit_url request. adv1 fixed it for me by getting Welcome Back out of the way without consuming an adventure and the subsequent visit_url calls worked normally.
 
would any ol' "adventure" call automatically finish the Journey for me?
If you do something like this:
PHP:
adventure(1 , $location[Outskirts of The Knob]);
to get the "Welcome Back" adventure, Mafia will adventure in the outskirts until one adventure is spend, which means that it will adventure again after the "Welcome Back" that doesn't take a turn.

adv1() tells Mafia to try to adventure in a location only once, whether an adventure is used or not.
 
Either way works, I was just wondering about breaking through the Welcome Back phase. Not that it really mattered at this point, as I had already thrown in a manual selection for the choice. Just a matter of curiosity... if both results do the same thing, why do you think Jick coded it so that the buttons submit different data? Is the result text different?
 
And yes, both should get you out of the adventure if you have already encountered it. And I don't think there are any differences between the two choices.
 
Back
Top