Feature - Implemented improvements to quest tracking

Bale

Minion
Awesome.

It adds azazel completion, but not starting. I'm actually not sure what the trigger is for the quest first showing up in the quest log. Wiki isn't much help.

I can answer that easily enough. It is actually on the wiki here. The very first time you click on the link to enter Pandamonium you see this text:

On your first visit to Pandamonium said:
After arriving in Pandamonium, you walk into Azazel's temple, as it's the largest and most dangerous-looking building you can see.

It's your basic evil hellish demon dwelling: the decorative motifs include blood, pulsating skin, flames, and the occasional throw rug to add some visual interest. Azazel hovers over his throne. He looks like a rip in reality that's full of red, glowing eyes and razor-sharp teeth.

"So," he says, in a burbling, mucousy whisper, "I heard you were looking for my misplaced talismans of evil power. I trust you would not dare enter this monument to eternal pain unless you had completed that quest. So you must have all three of my talismans, yes?"

"Um. Actually, I left them -- er -- at the coat check! I'll just pop out and get them, because I totally have them, and I'll be right back," you say, and make a quick exit.

Yeah, you should probably look for those talismans before you try going back in there.

That's when it appears in the quest log.
 

Winterbay

Active member
Yeah, nemesis is.. yeah.

10504 adds artist and pirates. It adds azazel completion, but not starting. I'm actually not sure what the trigger is for the quest first showing up in the quest log. Wiki isn't much help.

ETA: I'm going to mark this implemented, mostly because I just want a green tag on something I've put this many commits into. There is a bit of polish left to do on some bits, but the core functionality is fully in place.

If anyone urgently needs live tracking for a particular quest, let me know and I'll consider working on it. Otherwise, take a look over the various commits I've made here and the methodology should all be there if you want to code it up yourself.

I think the azazel quest is either started when you finish helping the firars or when you click the gate to go to pandamonium. Not sure though...
 

Veracity

Developer
Staff member
How about the Subject 37 quest? For the first time ever, I did it in-run. Non-optimal me!

The Pretty Good Escape
You've done a good turn, and helped Subject 37 make his escape from the Cobb's Knob Menagerie.

I didn't think to record the earlier stages. Perhaps the Wiki has them. If not, I'll check next time.
 

chef noodleman

New member
First let me say thanks to roippi for adding this; its much appreciated. But I noticed that a few of the "live updating" quests don't appear to be updating at the right times, unless I'm missing something. For example, in the "current quests" section of my quest log I have

The Rain on the Plains is Mainly Garbage
The Council of Loathing wants you to investigate the source of the giant garbage raining down on the Nearby Plains.


but the property "questL10Garbage" is still "unstarted", even after talking to the council a few times. Something odd might also be happening with the Goblins, but the others before level 10 seem to be working fine. Sorry in advance if I'm just not understanding something about how Bale's "started, step1, step2, ..., finished" naming scheme is supposed to work, but I had assumed it was based on the wiki's description http://kol.coldfront.net/thekolwiki/index.php/Quest_Log of the quest log, according to the correspondence:

Wiki term ---> property value
"current" ---> "started"
"in between" ---> "stepX"
"completed" ---> "finished"

Again, thanks a million for implementing this awesome feature!
 
Last edited:

roippi

Developer
@veracity: right now we at least parse the starting and ending steps for that quest- questM13Escape- when we hit the quest log. The 3 intermediate steps are not currently in questslog.txt, nor is any of the live updating stuff. Yet.

@noodleman: Glad you like the feature. There's very probably a difference in what we think the council text is and what the council text actually is. What we think it is, first visit: "Something is amiss, Adventurer. The Nearby Plains are filling up with giant piles of garbage, and despite our best efforts, it keeps falling from the sky faster than we can clean it up. We need you to figure out where it's coming from, and put a stop to it." and subsequently: "Please try to figure out where this garbage is coming from, Adventurer! Perhaps you can find a clue by poking around the Nearby Plains."

We should probably correct whatever's incorrect about that, but I can also probably make the string matching more robust.
 

Fluxxdog

Active member
Have to ask: Does questL11Worship include discovering the Hidden Temple at all? If not, what does pick up on that?
 

roippi

Developer
Code:
    Gotta Worship Them All 

        [Current] You father seemed to think the hidden temple in the Distant Woods might be guarding part of the Staff of Ed. I hope you've got your lucky fedora with you. 

            (In between) You've cunningly evaded one of the Hidden Temple's traps. But what else lies in store? cue ominous music
            (In between) Having proved that you ain't no hollaback girl, there's just one more trap to go. Pity dad never got around to translating that last passage...
            (In between) Awesome, you've evaded all of the temple's traps! Of course, it turned out that getting the piece of the Staff of Ed isn't going to be nearly that easy, but you were probably expecting that anyway. If you weren't, well, sorry. 

        [Completed] You've defeated the ancient ghost of an ancient mummy of an ancient high priest and claimed his ancient amulet! Go you!

Not really. Started means you've read the diary; step1 only happens once you get the first special noncombat.
 

Bale

Minion
Nothing picks up the opening of the temple. :(

BTW, I'm having a bit of fun with this feature. My relay_AdventureAdvisor has really become an adventure advisor as a result. I've written a good bit of code like this:

PHP:
	switch(get_property("questL04Bat")) {
	case "unstarted": if(my_level() < 4) break;
	case "started":
		if(numeric_modifier("stench resistance") <= 0 && !have_skill($skill[Astral Shell]) && !have_skill($skill[Elemental Saucesphere]))
			kingdom[$location[Bat Hole Entryway]].useful = true;
	case "step1":
	case "step2":
		kingdom[$location[Guano Junction]].useful = true;
		kingdom[$location[Beanbat Chamber]].useful = true;
		kingdom[$location[Batrat and Ratbat Burrow]].useful = true;
	case "step3":
		kingdom[$location[Boss Bat Lair]].useful = true;
	case "step4":
	case "finished":
	}
 

Bale

Minion
if ( get_property("lastTempleUnlock") == my_ascensions() )

How did I not know that?!


===================

Mafia did not notice that I finished the questL08Trapper quest. It got stuck on step3. HTML:

Code:
<html><head>
<script language=Javascript>
<!--
if (parent.frames.length == -1) location.href="game.php";
top.charpane.location.href="charpane.php";
//-->
</script>
<script language=Javascript src="/images/scripts/window.js"></script><script language=Javascript src="/images/scripts/jquery-1.3.1.min.js"></script>
<link rel="stylesheet" type="text/css" href="http://images.kingdomofloathing.com/styles.css">

<script language="Javascript" src="/basics.js"></script><link rel="stylesheet" href="/basics.css" /></head>

<body>
<centeR><table  width=95%  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>The L337 Tr4pz0r:</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><center><img src="http://images.kingdomofloathing.com/otherimages/hermit.gif" width=60 height=100 alt="The Trapper"></center><p>"The next step is to get us some provisions for the trip up the peak.  I've got a hankerin' for goat cheese pizzas, so that's what we'll pack.  There's a pass over yonder where you can find some goats.  Bring me back 6 chunks of goat cheese, and I'll cook us up some pizzas."<p>"Yee, haw, Adventurer!  That goat cheese looks mighty good.  Lemme cook it up, and we'll be ready to head up to the Peak."<p>You sit around for a while watching the Tr4pz0r cook some pizzas.  When he's done, he hands you your share.<p><center><table class="item" style="float: none" rel="id=325&s=84&q=0&d=1&g=0&t=1&n=3&m=0&p=0&u=e"><tr><td><img src="http://images.kingdomofloathing.com/itemimages/pizza.gif" alt="goat cheese pizza" title="goat cheese pizza" class=hand onClick='descitem(260824801)'></td><td valign=center class=effect>You acquire <b>3 goat cheese pizzas</b> <font size=1>[<a href="javascript:singleUse('inv_eat.php','which=1&whichitem=325&pwd=3e0acea5d1edc3d22315cddb15a8fd5d&ajax=1');void(0);">eat</a>]</font></td></tr></table></center><p>"Well, Adventurer, we're almost ready to head up to the Peak.  I reckon you'll need some kind of protection from the cold, though.<p>If you can't find some magical way to do it, you can probably get some warm clothes from those crazy kids up on the eXtreme Slope.<p>I'd recommend steering clear of those Ninja Snowmen, though.  They're pretty fierce."<p>"Great -- it looks like you're all set for some cold weather.  Let's head on up there, shall we?"<p>You accompany the Tr4pz0r to the Icy Peak, where he teaches you the ins and outs of Yeti hunting.  You come back with a sizable haul of furs and Meat, which you divide up.<p><center><table class="item" style="float: none" rel="id=388&s=92&q=0&d=1&g=0&t=1&n=5&m=0&p=0&u=."><tr><td><img src="http://images.kingdomofloathing.com/itemimages/yetifur.gif" alt="yeti fur" title="yeti fur" class=hand onClick='descitem(696768936)'></td><td valign=center class=effect>You acquire <b>5 yeti furs</b></td></tr></table></center><center><table><tr><td><img src="http://images.kingdomofloathing.com/itemimages/meat.gif" height=30 width=30 alt="Meat"></td><td valign=center>You gain 5,000 Meat.</td></tr></table></center><p>As you turn to leave, the Tr4pz0r says "Thanks for yer help, Adventurer.  If'n you ever feel like tradin' them furs for some different furs, you just come on back."<p><center><a href="mclargehuge.php">Back to Mt. McLargeHuge</a></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></centeR></body><script src="/onfocus.js"></script></html>

Yeah, I suppose I should open a bug report for that...
 

Bale

Minion
It does not appear in the quest log even though, bizarrely, it appears in the Quest Tracker in the Character Pane. The appearance in the second which was previously reserved for quest which appear in the log is probably what led to Rinn's confusion.
 

roippi

Developer
Yeesh. That's.. yeah.

There's actually no reason we can't track quests that don't appear in the quest log, but it's clunky. The onus on us is to document what each step means, and there's no way to synchronize states with KoL if we miss a step.
 

Bale

Minion
there's no way to synchronize states with KoL if we miss a step.

Speaking of missing a step... Right now if it needs to synchronize I need to "refresh session" which is a lot of refreshing. Could you add a "refresh quests" option? What do you think about synchronizing quest state if I actually click on my quest log? (It doesn't do that.)
 
Top