monkeyman200
New member
Can anybody help me going over this problem: Bad skill value: "Unaccompanied Miner" (miner.ash, line 504)? I really don't want to spend 100k every time I ascend.
> fmine
Bad location value: "Knob Goblin Harem" (miner.ash, line 164)
Why do you need the Menagerie key? The Knob Shaft is in the lab. As far as I can tell, the only fix I need to make is to change the location name. Am I missing something?But you also need a Menagerie key now, so you should also add "return false;" at the end of line 162.
Why do you need the Menagerie key? The Knob Shaft is in the lab. As far as I can tell, the only fix I need to make is to change the location name. Am I missing something?
Now that we have try/finally, you can add this at the top level:I just tested this in aftercore - I only needed to visit the old man to avoid having Mafia throw an error when getting a blank page from seafloor.php, but it's just a one time thing.
string safe_visit_url(string url, boolean post, boolean encoded) {
string res;
try { res = visit_url(url,post,encoded); }
finally { return res; } return res;
}
string safe_visit_url(string url, boolean post) { return safe_visit_url(url,post,false); }
string safe_visit_url(string url) { return safe_visit_url(url,true,false); }
contains_text(visit_url("seafloor.php"), "mineb.gif")
contains_text(safe_visit_url("seafloor.php"), "mineb.gif")
Nothing short of a power failure should prevent the 'finally' block from at least starting to execute. It has no protection against further presses of ESC, however.