Bug - Fixed Lair Quest mistake, too much step5

Bale

Minion
When you first accept the L13 quest, questL13Final is mis-set to "step5" instead of "started". Checking the quest log does not fix this.

Completing the first part of the entryway sets it back to step 2.

Then when I complete the second part of the entryway it is set to step5. Checking the quest log will return it to step3.

Then completing the hedge maze sets it to... you guessed it, step5. Checking the quest log will return it to step4.
 
Last edited:

roippi

Developer
It's not from visiting the council, there's logic to set quest progress when visiting lair.php.

Could you grab the html from the newly opened lair.php? And for that matter, could I get the html from the quest log, since apparently we have that wrong too? Thanks.
 

Bale

Minion
Could you grab the html from the newly opened lair.php? And for that matter, could I get the html from the quest log, since apparently we have that wrong too? Thanks.

Too late. Just ascended. I'll get it eventually though. I think I've got a character abandoned near ascension. Perhaps I'll go see what that character is up to.
 

Bale

Minion
Okay, I'm at the lair again. I've examined the problem in excruciating detail and I found exactly 2 bugs. One of them was sufficiently common that I mistook it for other problems. Merely looking at the sorceresses set the quest progress to step5. That confused my initial report.

There were also a few cases where the quest was not advanced by events. Obviously less significant, but included for completeness in hopes you'll be complete.

  • Looking at the lair = "step5". Bug! Checking the quest log returns to "started". The following is the html that sets it to step5:
    HTML:
    <body>
    <center><table  width=95%  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>The Lair of the Naughty Sorceress</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><table cellpadding=0 cellspacing=0><tr><td width=300 height=200><img src="http://images.kingdomofloathing.com/otherimages/lair/whole1.gif" border=0 width=300 height=200 usemap="#NoMap"></td></tr><tr><td width=300 height=100><a href="lair1.php"><img src="http://images.kingdomofloathing.com/otherimages/lair/wholeentrance.gif" width=300 height=100 border=0></td></tr></table><p><centeR><a href="main.php">Back to the Main Map</a></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></centeR>
        <map name="Map4">
          <area shape="rect" coords="108,141,207,202" href="lair3.php" title="The Sorceress's Courtyard">
          <area shape="poly" coords="179,139,172,78,140,78,136,139" href="lair4.php" title="The Sorceress's Tower (Bottom)">
          <area shape="poly" coords="139,78,172,79,164,8,145,9" href="lair5.php" title="The Sorceress's Tower (Top)">
          <area shape="rect" coords="167,1,193,32" href="lair6.php" title="The Sorceress's Chamber">
        </map>    
        <map name="Map3">
          <area shape="rect" coords="106,140,209,199" href="lair3.php" title="The Sorceress's Courtyard">
          <area shape="poly" coords="179,139,172,78,140,78,136,139" href="lair4.php" title="The Sorceress's Tower (Bottom)">
          <area shape="poly" coords="139,78,172,79,164,8,145,9" href="lair5.php" title="The Sorceress's Tower (Top)">
          </map>    
        <map name="Map2">
          <area shape="rect" coords="105,143,205,199" href="lair3.php" title="The Sorceress's Courtyard">
          <area shape="poly" coords="133,138,179,137,164,7,145,5" href="lair4.php" title="The Sorceress's Tower">
        </map> 
        <map name="Map">
          <area shape="rect" coords="107,138,205,201" href="lair3.php" title="The Sorceress's Courtyard">
        </map>
        <map name="NoMap">
        </map>
    		
    </body>
    It is also set to step5 by later versions that include more linked images, until it actually gets to step6 where I suppose you aren't surprised it then ceases to cause trouble.
  • Entering Entrance (1) = "step1". Bug! It shouldn't be at step1 until I reach the giant mirror. Checking the quest log returns to "started". The following should not advance quest status:
    HTML:
    <body>
    <centeR><table  width=95%  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>The Entrance Cavern (1)</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><table cellpadding=0 cellspacing=0><tr><form name=form1 action=lair1.php><input type=hidden name=action value="gates"><td width=100 height=100><a href="javascript:document.form1.submit()"><img src="http://images.kingdomofloathing.com/otherimages/lair/cave1gates.gif" width=100 height=100 border=0></a></td></form></tr><tr><td width=100 height=100 align=center valign=center><a href="lair.php"><img src="http://images.kingdomofloathing.com/otherimages/lair/cave1exit.gif" width=100 height=100 border=0></a></td></tr></table></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></center></body>
  • Reach the mirror = "step1". No bug.
  • Defeated my shadow and did not advance from "step7". The following is the html from the end of my shadow fight:
    HTML:
    <body>
    <img src='http://images.kingdomofloathing.com/itemimages/blank.gif' id='dragged'><div id='debug'></div><div class=contextmenu id='skillmenu'></div><div class=contextmenu id='itemsmenu'></div><div id=topbar><center><table class=actionbar cellpadding=0 cellspacing=1><tbody><tr class=label><td></td><td></td><td></td><td></td><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td><td>6</td><td>7</td><td>8</td><td>9</td><td>0</td><td>–</td><td>=</td><td></td><td></td><td></td></tr><tr class=blueback><td><a href='lair6.php'><img src='http://images.kingdomofloathing.com/itemimages/plexpock.gif'></td><td class=spacer></td><td><img src='http://images.kingdomofloathing.com/itemimages/book3.gif' id='skills'></td><td class=spacer></td><td><img src='http://images.kingdomofloathing.com/itemimages/blank.gif' id='button1'></td><td><img src='http://images.kingdomofloathing.com/itemimages/blank.gif' id='button2'></td><td><img src='http://images.kingdomofloathing.com/itemimages/blank.gif' id='button3'></td><td><img src='http://images.kingdomofloathing.com/itemimages/blank.gif' id='button4'></td><td><img src='http://images.kingdomofloathing.com/itemimages/blank.gif' id='button5'></td><td><img src='http://images.kingdomofloathing.com/itemimages/blank.gif' id='button6'></td><td><img src='http://images.kingdomofloathing.com/itemimages/blank.gif' id='button7'></td><td><img src='http://images.kingdomofloathing.com/itemimages/blank.gif' id='button8'></td><td><img src='http://images.kingdomofloathing.com/itemimages/blank.gif' id='button9'></td><td><img src='http://images.kingdomofloathing.com/itemimages/blank.gif' id='button10'></td><td><img src='http://images.kingdomofloathing.com/itemimages/blank.gif' id='button11'></td><td><img src='http://images.kingdomofloathing.com/itemimages/blank.gif' id='button12'></td><td valign=center align=center class=page><a class=nounder href='javascript:pageup();'><img src='http://images.kingdomofloathing.com/otherimages/tinyup.gif' class=updown></a><br><span id='page_out'></span><br><a class=nounder href='javascript:pagedown();'><img src='http://images.kingdomofloathing.com/otherimages/tinydown.gif' class=updown></a></td><td class=spacer></td><td><img src='http://images.kingdomofloathing.com/itemimages/backpack.gif' id='items'></td></tr><tr class=label><td>again</td><td></td><td>skills</td><td></td><td id='qty1'></td><td id='qty2'></td><td id='qty3'></td><td id='qty4'></td><td id='qty5'></td><td id='qty6'></td><td id='qty7'></td><td id='qty8'></td><td id='qty9'></td><td id='qty10'></td><td id='qty11'></td><td id='qty12'></td><td></td><td></td><td>items</td></tr></tbody></table></center></div><div class=content id='content_'><div id='effdiv' style='display: none'></div><div style='overflow: auto'><center><table  width=95%  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Combat: Round 6!</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><center><table><tr><td><img src="http://images.kingdomofloathing.com/otherimages/shadows/111.gif" width=60 height=100></td><td valign=center>You're fighting <span id='monname'>a Shadow Avatar of Boris</span><font size=2 color=gray><br />HP: 400, Atk: 150, Def: 135, Type: none</font></td></tr></table><br><table><tr><td valign=top><img src="http://images.kingdomofloathing.com/itemimages/gauzegarter.gif" width=30 height=30 alt="gauze garter" title="gauze garter"></td><td valign=center>You quickly wrap the garter around one of your wounded limbs.  You feel better, with sexy results!</td></tr></table><center><table><tr><td><img src="http://images.kingdomofloathing.com/itemimages/hp.gif" height=30 width=30></td><td valign=center class=effect>You gain 120 hit points.</td></tr></table></center>Your shadow writhes in agony.<script>if (typeof state != 'undefined') state['fightover'] = true; window.fightover = true;</script><div id='fightform' class='hideform'><p><center><table><a name="end"><form name=attack action=fight.php method=post><input type=hidden name=action value="attack"><tr><td align=center><input id='tack' picurl=trusty onclick="return killforms(this)"  class=button type=submit value="Attack with Trusty"></td></tr></form></a><form name=useitem action=fight.php method=post><input type=hidden name=action value="useitem"><tr><td align=left><select name=whichitem><option value=0>(select an item)</option><option picurl=8ball value=1907>8-ball (1)</option><option picurl=scroll1 value=548>668 scroll (1)</option><option picurl=scroll2 value=549>30669 scroll (1)</option><option picurl=scroll2 value=550>33398 scroll (1)</option><option picurl=poisoncup value=829>anti-anti-antidote (4)</option><option picurl=beer value=2350>beer bomb (3)</option><option picurl=claybottle value=2240>bottle of alcohol (1)</option><option picurl=exclam value=821>bubbly potion of sleepiness (2)</option><option picurl=butterfly value=615>chaos butterfly (3)</option><option picurl=exclam value=823>cloudy potion of inebriety (2)</option><option picurl=napkin value=2956>cocktail napkin (1)</option><option picurl=exclam value=826>dark potion of teleportitis (2)</option><option picurl=exclam value=824>effervescent potion of mental acuity (2)</option><option picurl=cookbook value=1316>facsimile dictionary (1)</option><option picurl=ferretbait value=2041>ferret bait (2)</option><option picurl=exclam value=825>fizzy potion of ettin strength (2)</option><option picurl=flaregun value=1705>flaregun (2)</option><option picurl=nitrous value=2349>gas balloon (3)</option><option picurl=gauzegarter selected value=2402>gauze garter (1)</option><option picurl=goto value=4948>GOTO (2)</option><option picurl=scpowder value=2581>handful of sand (6)</option><option picurl=scpowder value=3020>handful of sawdust (1)</option><option picurl=firecrack value=747>Knob Goblin firecracker (2)</option><option picurl=vortex value=546>meat vortex (1)</option><option picurl=exclam value=819>milky potion of confusion (1)</option><option picurl=molotov value=2400>molotov cocktail cocktail (1)</option><option picurl=hole value=613>plot hole (1)</option><option picurl=potion1 value=610>procrastination potion (1)</option><option picurl=ppotion value=464>red pixel potion (1)</option><option picurl=raccoon value=2613>rocky raccoon (4)</option><option picurl=tooth value=2>seal tooth (1)</option><option picurl=doubleice value=5048>shard of double-ice (2)</option><option picurl=exclam value=822>smoky potion of blessing (1)</option><option picurl=biscuit value=563>sonar-in-a-biscuit (2)</option><option picurl=scepter value=2678>spectre scepter (1)</option><option picurl=web value=27>spider web (1)</option><option picurl=radiogaga value=2351>superamplified boom box (8)</option><option picurl=exclam value=820>swirly potion of detection (1)</option><option picurl=tatpaper value=1959>tattered scrap of paper (2)</option><option picurl=teqgrenade value=2068>tequila grenade (2)</option><option picurl=book4 value=2947>The Big Book of Pirate Insults (1)</option><option picurl=dixiecup value=1788>unrefined Mountain Stream syrup (1)</option><option picurl=bong value=2348>water pipe bomb (5)</option></select> <input class=button type=submit onclick="return killforms(this);" value="Use Item"></td></tr></form><form name=skill action=fight.php method=post><input type=hidden name=action value="skill"><tr><td align=center><select name=whichskill><option value='none'>(select a skill)</option><option value="2" picurl="fireball" >Chronic Indigestion (5 Muscularity Points)</option><option value="15" picurl="commacha" >CLEESH (10 Muscularity Points)</option><option value="11000" picurl="mightyaxing" selected>Mighty Axing (0 Muscularity Points)</option><option value="11001" picurl="axecleave" >Cleave (5 Muscularity Points)</option><option value="11011" picurl="breath" >Intimidating Bellow (3 Muscularity Points)</option><option value="11026" picurl="belch" >Heroic Belch (5 Muscularity Points)</option></select> <input class=button type=submit onclick="return killforms(this);" value="Use Skill"></td></tr></form><form name=macro action=fight.php method=post><input type=hidden name=action value="macro"><input type="hidden" name="macrotext" value=""><tr><td align=center><select name=whichmacro><option value='0'>(select a macro)</option><option value="18415" picurl="heboulder" >Yellow Ray</option></select> <input class=button type=submit onclick="return killforms(this);" value="Execute Macro"></td></tr></form><form name=runaway action=fight.php method=post><input type=hidden name=action value="runaway"><tr><td align=center><input class=button onclick="return killforms(this);" type=submit value="Run Away"></td></tr></form></table></center></div><p><center>The shadow version of yourself explodes in a veritable volcano of fey force and arbitrary alliteration.  The explosion blows another big hole in the ceiling of the Sorceress' Chamber.<!--WINWINWIN--><p><p>Clancy plays you a tune on his crumhorn. He can't really smile while he's doing it, but the curve of the horn looks like a smile, so that's all right.<p>You gain 118 Strengthliness.<bR>You gain 47 Mysteriousness.<bR>You gain 53 Cheek.<bR><p><a name="end"></a></center><center><a href="lair6.php">Go back to the Sorceress' Chamber</a>
  • Clicking on the top of the lair did not advance the quest step either. Here's that html:
    HTML:
    <body>
    <centeR><table  width=95%  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>The Sorceress' Tower (Top)</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><center><a href="lair6.php?place=3"><img src="http://images.kingdomofloathing.com/otherimages/lair/chamber3.gif" height=176 width=200 border=0></a></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></center></body>
  • Checking quest log advances tracking to "step8". Yay!
  • Defeating the second familiar did not advance tracking to step9. Boo.
    HTML:
    <body>
    <centeR><table  width=95%  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Sorceress' Chamber</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><center><img src="http://images.kingdomofloathing.com/adventureimages/mosquito.gif" width=100 height=100></center><p>A giant mosquito buzzes angrily toward you, proboscis at the ready. <font color=#DD00FF>Sabre-Toothed Lime needed</font><p><p>Calling on all the Boris inside you, you emit a mighty bellow, and the sorceress's pet goes running.  That takes care of that!<p>You move further into the tower, while huge chunks of stone fall from the walls for no good reason.</td></tr></table></center></td></tr><tr><td height=4></td></tr></table><table  width=95%  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>The Sorceress' Tower (Top)</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><center><a href="lair6.php?place=5"><img src="http://images.kingdomofloathing.com/otherimages/lair/chamber5.gif" height=176 width=200 border=0></a></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></center></body>
  • Defeating the Final form of the NS doesn't trigger step10, but I don't really care. There are three different versions of that fight anyway.
 

roippi

Developer
Yeah, I'll just have to rewrite that particular function. I thought I was being clever...

Code:
	public static void handleQuestChange( String location, String responseText )
	{
		// lair.php and lair1-6.php all can check for the same things.
		// Work backwards from the end to see what zones are unlocked.
		
		if ( responseText.indexOf( "ascend.php" ) != -1 )
		{
			QuestDatabase.setQuestProgress( QuestDatabase.FINAL, QuestDatabase.FINISHED );
		}
		else if ( responseText.indexOf( "lair6.php" ) != -1 )
		{
			QuestDatabase.setQuestIfBetter( QuestDatabase.FINAL, "step5" );
		}
		else if ( responseText.indexOf( "lair5.php" ) != -1 )
		{
			QuestDatabase.setQuestIfBetter( QuestDatabase.FINAL, "step4" );
		}
		else if ( responseText.indexOf( "lair4.php" ) != -1 )
		{
			QuestDatabase.setQuestIfBetter( QuestDatabase.FINAL, "step4" );
		}
		else if ( responseText.indexOf( "lair3.php" ) != -1 )
		{
			QuestDatabase.setQuestIfBetter( QuestDatabase.FINAL, "step3" );
		}
		else if ( responseText.indexOf( "lair2.php" ) != -1 )
		{
			QuestDatabase.setQuestIfBetter( QuestDatabase.FINAL, "step2" );
		}
		else if ( responseText.indexOf( "lair1.php" ) != -1 )
		{
			QuestDatabase.setQuestIfBetter( QuestDatabase.FINAL, "step1" );
		}
	}

So I basically need to know what the difference in the html is between the version where you can actually click on lair6.php (i.e. the NS chamber) and the version where you can't.
 

Bale

Minion
Urgh. You needed me to save that particular bit of html? Sigh. I'll reach the lair again, in time.

In the meantime, could you fix the Entrance Cavern (1) bug where it advanced to step1 before you break the mirror, please?
 

Bale

Minion
The answer is to check usemap="#(.*?)"

  • Quest step: "started" lair.php =
    HTML:
    <body>
    <center><table  width=95%  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>The Lair of the Naughty Sorceress</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><table cellpadding=0 cellspacing=0><tr><td width=300 height=200><img src="http://images.kingdomofloathing.com/otherimages/lair/whole1.gif" border=0 width=300 height=200 usemap="#NoMap"></td></tr><tr><td width=300 height=100><a href="lair1.php"><img src="http://images.kingdomofloathing.com/otherimages/lair/wholeentrance.gif" width=300 height=100 border=0></td></tr></table><p><centeR><a href="main.php">Back to the Main Map</a></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></centeR>
        <map name="Map4">
          <area shape="rect" coords="108,141,207,202" href="lair3.php" title="The Sorceress's Courtyard">
          <area shape="poly" coords="179,139,172,78,140,78,136,139" href="lair4.php" title="The Sorceress's Tower (Bottom)">
          <area shape="poly" coords="139,78,172,79,164,8,145,9" href="lair5.php" title="The Sorceress's Tower (Top)">
          <area shape="rect" coords="167,1,193,32" href="lair6.php" title="The Sorceress's Chamber">
        </map>    
        <map name="Map3">
          <area shape="rect" coords="106,140,209,199" href="lair3.php" title="The Sorceress's Courtyard">
          <area shape="poly" coords="179,139,172,78,140,78,136,139" href="lair4.php" title="The Sorceress's Tower (Bottom)">
          <area shape="poly" coords="139,78,172,79,164,8,145,9" href="lair5.php" title="The Sorceress's Tower (Top)">
          </map>    
        <map name="Map2">
          <area shape="rect" coords="105,143,205,199" href="lair3.php" title="The Sorceress's Courtyard">
          <area shape="poly" coords="133,138,179,137,164,7,145,5" href="lair4.php" title="The Sorceress's Tower">
        </map> 
        <map name="Map">
          <area shape="rect" coords="107,138,205,201" href="lair3.php" title="The Sorceress's Courtyard">
        </map>
        <map name="NoMap">
        </map>
    		
    </body>
  • step3, lair.php =
    HTML:
    <body>
    <center><table  width=95%  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>The Lair of the Naughty Sorceress</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><table cellpadding=0 cellspacing=0><tr><td width=300 height=200><img src="http://images.kingdomofloathing.com/otherimages/lair/whole1.gif" border=0 width=300 height=200 usemap="#Map"></td></tr><tr><td width=300 height=100><a href="lair1.php"><img src="http://images.kingdomofloathing.com/otherimages/lair/wholeentrance.gif" width=300 height=100 border=0></td></tr></table><p><centeR><a href="main.php">Back to the Main Map</a></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></centeR>
        <map name="Map4">
          <area shape="rect" coords="108,141,207,202" href="lair3.php" title="The Sorceress's Courtyard">
          <area shape="poly" coords="179,139,172,78,140,78,136,139" href="lair4.php" title="The Sorceress's Tower (Bottom)">
          <area shape="poly" coords="139,78,172,79,164,8,145,9" href="lair5.php" title="The Sorceress's Tower (Top)">
          <area shape="rect" coords="167,1,193,32" href="lair6.php" title="The Sorceress's Chamber">
        </map>    
        <map name="Map3">
          <area shape="rect" coords="106,140,209,199" href="lair3.php" title="The Sorceress's Courtyard">
          <area shape="poly" coords="179,139,172,78,140,78,136,139" href="lair4.php" title="The Sorceress's Tower (Bottom)">
          <area shape="poly" coords="139,78,172,79,164,8,145,9" href="lair5.php" title="The Sorceress's Tower (Top)">
          </map>    
        <map name="Map2">
          <area shape="rect" coords="105,143,205,199" href="lair3.php" title="The Sorceress's Courtyard">
          <area shape="poly" coords="133,138,179,137,164,7,145,5" href="lair4.php" title="The Sorceress's Tower">
        </map> 
        <map name="Map">
          <area shape="rect" coords="107,138,205,201" href="lair3.php" title="The Sorceress's Courtyard">
        </map>
        <map name="NoMap">
        </map>
    		
    </body>
  • step4, lair.php =
    HTML:
    <body>
    <center><table  width=95%  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>The Lair of the Naughty Sorceress</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><table cellpadding=0 cellspacing=0><tr><td width=300 height=200><img src="http://images.kingdomofloathing.com/otherimages/lair/whole1.gif" border=0 width=300 height=200 usemap="#Map2"></td></tr><tr><td width=300 height=100><a href="lair1.php"><img src="http://images.kingdomofloathing.com/otherimages/lair/wholeentrance.gif" width=300 height=100 border=0></td></tr></table><p><centeR><a href="main.php">Back to the Main Map</a></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></centeR>
        <map name="Map4">
          <area shape="rect" coords="108,141,207,202" href="lair3.php" title="The Sorceress's Courtyard">
          <area shape="poly" coords="179,139,172,78,140,78,136,139" href="lair4.php" title="The Sorceress's Tower (Bottom)">
          <area shape="poly" coords="139,78,172,79,164,8,145,9" href="lair5.php" title="The Sorceress's Tower (Top)">
          <area shape="rect" coords="167,1,193,32" href="lair6.php" title="The Sorceress's Chamber">
        </map>    
        <map name="Map3">
          <area shape="rect" coords="106,140,209,199" href="lair3.php" title="The Sorceress's Courtyard">
          <area shape="poly" coords="179,139,172,78,140,78,136,139" href="lair4.php" title="The Sorceress's Tower (Bottom)">
          <area shape="poly" coords="139,78,172,79,164,8,145,9" href="lair5.php" title="The Sorceress's Tower (Top)">
          </map>    
        <map name="Map2">
          <area shape="rect" coords="105,143,205,199" href="lair3.php" title="The Sorceress's Courtyard">
          <area shape="poly" coords="133,138,179,137,164,7,145,5" href="lair4.php" title="The Sorceress's Tower">
        </map> 
        <map name="Map">
          <area shape="rect" coords="107,138,205,201" href="lair3.php" title="The Sorceress's Courtyard">
        </map>
        <map name="NoMap">
        </map>
    		
    </body>
  • Half-way up the tower the map was predictably changed although it is still step4, lair.php =
    HTML:
    <body>
    <center><table  width=95%  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>The Lair of the Naughty Sorceress</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><table cellpadding=0 cellspacing=0><tr><td width=300 height=200><img src="http://images.kingdomofloathing.com/otherimages/lair/whole1.gif" border=0 width=300 height=200 usemap="#Map3"></td></tr><tr><td width=300 height=100><a href="lair1.php"><img src="http://images.kingdomofloathing.com/otherimages/lair/wholeentrance.gif" width=300 height=100 border=0></td></tr></table><p><centeR><a href="main.php">Back to the Main Map</a></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></centeR>
        <map name="Map4">
          <area shape="rect" coords="108,141,207,202" href="lair3.php" title="The Sorceress's Courtyard">
          <area shape="poly" coords="179,139,172,78,140,78,136,139" href="lair4.php" title="The Sorceress's Tower (Bottom)">
          <area shape="poly" coords="139,78,172,79,164,8,145,9" href="lair5.php" title="The Sorceress's Tower (Top)">
          <area shape="rect" coords="167,1,193,32" href="lair6.php" title="The Sorceress's Chamber">
        </map>    
        <map name="Map3">
          <area shape="rect" coords="106,140,209,199" href="lair3.php" title="The Sorceress's Courtyard">
          <area shape="poly" coords="179,139,172,78,140,78,136,139" href="lair4.php" title="The Sorceress's Tower (Bottom)">
          <area shape="poly" coords="139,78,172,79,164,8,145,9" href="lair5.php" title="The Sorceress's Tower (Top)">
          </map>    
        <map name="Map2">
          <area shape="rect" coords="105,143,205,199" href="lair3.php" title="The Sorceress's Courtyard">
          <area shape="poly" coords="133,138,179,137,164,7,145,5" href="lair4.php" title="The Sorceress's Tower">
        </map> 
        <map name="Map">
          <area shape="rect" coords="107,138,205,201" href="lair3.php" title="The Sorceress's Courtyard">
        </map>
        <map name="NoMap">
        </map>
    		
    </body>
  • step5. You know what's gonna say, but if I'm gonna be obsessive I shouldn't quit half-way. lair.php =
    HTML:
    <body>
    <center><table  width=95%  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>The Lair of the Naughty Sorceress</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><table cellpadding=0 cellspacing=0><tr><td width=300 height=200><img src="http://images.kingdomofloathing.com/otherimages/lair/whole1.gif" border=0 width=300 height=200 usemap="#Map4"></td></tr><tr><td width=300 height=100><a href="lair1.php"><img src="http://images.kingdomofloathing.com/otherimages/lair/wholeentrance.gif" width=300 height=100 border=0></td></tr></table><p><centeR><a href="main.php">Back to the Main Map</a></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></centeR>
        <map name="Map4">
          <area shape="rect" coords="108,141,207,202" href="lair3.php" title="The Sorceress's Courtyard">
          <area shape="poly" coords="179,139,172,78,140,78,136,139" href="lair4.php" title="The Sorceress's Tower (Bottom)">
          <area shape="poly" coords="139,78,172,79,164,8,145,9" href="lair5.php" title="The Sorceress's Tower (Top)">
          <area shape="rect" coords="167,1,193,32" href="lair6.php" title="The Sorceress's Chamber">
        </map>    
        <map name="Map3">
          <area shape="rect" coords="106,140,209,199" href="lair3.php" title="The Sorceress's Courtyard">
          <area shape="poly" coords="179,139,172,78,140,78,136,139" href="lair4.php" title="The Sorceress's Tower (Bottom)">
          <area shape="poly" coords="139,78,172,79,164,8,145,9" href="lair5.php" title="The Sorceress's Tower (Top)">
          </map>    
        <map name="Map2">
          <area shape="rect" coords="105,143,205,199" href="lair3.php" title="The Sorceress's Courtyard">
          <area shape="poly" coords="133,138,179,137,164,7,145,5" href="lair4.php" title="The Sorceress's Tower">
        </map> 
        <map name="Map">
          <area shape="rect" coords="107,138,205,201" href="lair3.php" title="The Sorceress's Courtyard">
        </map>
        <map name="NoMap">
        </map>
    		
    </body>
 
Last edited:

roippi

Developer
r10888.

Side note: while I was poking around the code, I think I noticed that we don't deduct the hedge maze key from inventory when completing the maze. I noticed this too late to confirm - if someone wants to confirm for me, that would be helpful. I won't be in a position to check that for another couple of weeks.
 
Top