Bug Violet Fog not working

adeyke

Member
I think this is from KoLmafia itself. If it's instead one my installed scripts, I apologize.

Lately, when my Violet Fog flashbacks haven't been working properly. I have violetFogGoal set to 8 (munchies pills), but the automatic choice handling is instead sending me in infinite circles. And if I look in the relay browser, the spoiler says that "Wander this way" should lead to She's So Unusual (Food), when that actually leads to the mysticality training. In addition, the choice adventure displays "Loading graph..." at the bottom, but I never see said graph.

I don't know if this is user error, the result of corrupted preferences, or a bug in KoLmafia.
 
At a guess, we're parsing the HTML wrong, but this is tested (choice spoilers) and the test still passes. Maybe the HTML has changed.

On the graph, at first I thought this was like Wumpus and the graph was hosted elsewhere, but it looks like we generate it ourselves. Check the dev console for JavaScript errors.
 
Out of curiosity, do you ascend infrequently? The violet fog stuff gets randomized each ascension, and there was a KOL issue a while back that caused it to change mid-ascension. So if you haven't ascended since, maybe mafia just has recorded a map of the fog that doesn't match reality (and if it's trying to follow a map that is wrong, it's obviously going to fail).
 
I noticed this a few weeks ago. If you choose "go to goal", it is supposed to automate to your goal, learning the map, if needed (I think it changes only on ascension), but it never gets there; it goes forever.

I thought it was corrupted preferences and reset the appropriate ones and have seen no issue since - but perhaps have seen no violet fog?

I put in logging to save the HTML when visiting, but if it goes into the infinite loop for a long time before I notice, that's a very very large log file.

Huh. Should be testable with a magical mushroom, rather than having to wait for a flashback.
 
I haven't ascended in a long time, so that may be the cause of the problem.

I decided to clear lastVioletFogMap and violetFogLayout, restart KoLmafia, and use an astral mushroom to test. This time, it was able to successfully get to the goal.

As for the chart, I got this in the the console:
Uncaught TypeError: can't access property "graphviz", hpccWasm is undefined
<anonymous> http://127.0.0.1:60080/choice.php:327
 
Back
Top