I have a script which uses a number of llama lama gongs, and in recent builds (currently using r10949) this script has suddenly started to fail when attempting to use a gong for the second time, when the "Welcome Back" adventure for the first gong is due.
The script in question is basically doing this:
Below is a relevant section of CLI output, note that mafia does correctly visit the Noob Cave and receive the "Welcome Back" adventure:
If I abort the script at this point and manually attempt to visit an adventure.php location (like the Noob Cave), then I get the "The Gong Has Been Bung" encounter, and pressing the 'Auto' button correctly chooses the path of the mole:
However, when the effect from that gong expires, I get the same thing happening again.
It almost looks like mafia is getting stuck in the "The Gong Has Been Bung" choice adventure, and keeps trying to use another gong instead of choosing a path.
The script in question is basically doing this:
Code:
if (have_effect($effect[Shape of...Mole!]) == 0)
{
set_property("gongPath","2");
use(1, $item[llama lama gong]);
}
Below is a relevant section of CLI output, note that mafia does correctly visit the Noob Cave and receive the "Welcome Back" adventure:
[59207] Mt. Molehill
Encounter: No Sects in the Potion Room
You acquire an item: digital underground potion
Using 1 llama lama gong...
[59208] Noob Cave
Encounter: Welcome Back!
Using 1 llama lama gong...
Finished using 1 llama lama gong.
Finished using 1 llama lama gong.
Using 1 llama lama gong...
Finished using 1 llama lama gong.
Using 1 llama lama gong...
Finished using 1 llama lama gong.
Using 1 llama lama gong...
Finished using 1 llama lama gong.
Using 1 llama lama gong...
If I abort the script at this point and manually attempt to visit an adventure.php location (like the Noob Cave), then I get the "The Gong Has Been Bung" encounter, and pressing the 'Auto' button correctly chooses the path of the mole:
KoLmafia declares world peace.
[59208] Noob Cave
Encounter: The Gong Has Been Bung
You acquire an effect: Shape of...Mole! (duration: 12 Adventures)
However, when the effect from that gong expires, I get the same thing happening again.
It almost looks like mafia is getting stuck in the "The Gong Has Been Bung" choice adventure, and keeps trying to use another gong instead of choosing a path.