Feature - Implemented Update questM01Untinker when visiting untinker

ckb

Minion
Staff member
Currently, there is a Mafia recognition of visiting the Untinker and accpting the quest, but the questM01Untinker flag is not set until checking / updating the quest log.

Before:
Code:
> get questM01Untinker
unstarted

Visiting and untinker and click button to get the quest:
Code:
Accepting quest to find the Untinker's screwdriver
>     get questM01Untinker
unstarted

then after clicking / viewing the quest log:
Code:
> get questM01Untinker
started

It seems this should be set to 'started' after the "Accepting quest to find the Untinker's screwdriver" message.
 
I am bumping my own thread here for more visability, and because this would be sweet.
 
There is code to do that.
Code:
		if ( responseText.indexOf( "I'm just lost without my screwdriver" ) != -1 )
		{
			QuestDatabase.setQuestProgress( Quest.UNTINKER, QuestDatabase.STARTED );
		}
Apparently that is the wrong message to look for, but this thread doesn't have the correct message to fix the issue.
 
Odd, it looks like it should work (other than Zombie), though it doesn't catch up the quest status when visited again. This patch fixes revisit and Zombie I think, but maybe not OP.
 

Attachments

12547 fixes it by allowing the page to actually be parsed (since the URL for accepting the quest doesn't have "untinker" in it). It also adds the message for unlocking the quest in Zombie Slayer.
 
Cool. I'll check this when I get back around to ascending again. thanks.
 
Using KoLmafia-12694, still seems to have the problem. Visiting the untinker the first time does not set it to "started"
Also, debugging this sucks because it is only once per run. I'll double check again on my next one.
 
Back
Top