New Content - Implemented Changes to the Shore

Theraze

Active member
August 30
Desert Beach has been given a new coat of paint, and The Shore has been given a new coat of basically everything.
When you click on the shore (shore.php) in the beach.php page from the top menu, it reloads the beach, which seems like a KoL bug. It appears we should be directing to place.php?whichplace=desertbeach instead, as that's the page listed on the main map. When you click on the shore again, you go to snarfblat 355, which is choiceAdventure793.
Code:
<html><head>
<script language=Javascript>
<!--
if (parent.frames.length == -1) location.href="game.php";
//-->
</script>
<script language=Javascript src="/images/scripts/jquery-1.5.1.js"></script>
<script language=Javascript src="/images/scripts/keybinds.min.2.js"></script>
<script language=Javascript src="/images/scripts/window.20111231.js"></script>
<script language="javascript">function chatFocus(){if(top.chatpane.document.chatform.graf) top.chatpane.document.chatform.graf.focus();}
if (typeof defaultBind != 'undefined') { defaultBind(47, 2, chatFocus); defaultBind(190, 2, chatFocus);defaultBind(191, 2, chatFocus); defaultBind(47, 8, chatFocus);defaultBind(190, 8, chatFocus); defaultBind(191, 8, chatFocus); }</script><script>
function switchFocus()
{
	if (top.chatpane.document.chatform.graf.focus) 
		top.chatpane.document.chatform.graf.focus(); 
	return false;
}
function repeat()
{
	var linx = document.getElementsByTagName("A");
	for (var i = 0; i < linx.length; i++)
	{
		if (typeof timersfunc != 'undefined') {
			if (!timersfunc()) { 
				return; 
			}
			timersfunc = null;
		}
		var link = linx[i];
		if (link.innerHTML.match(/Adventure Again/) || link.innerHTML.match(/Do it again/))
			location.href = link.href;
	}
}

defaultBind(47, CTRL, switchFocus);
defaultBind(191, CTRL, switchFocus);
defaultBind(47, META, switchFocus);
defaultBind(191, META, switchFocus);
defaultBind(192, NONE, repeat);
defaultBind(220, NONE, repeat);
</script><script language="javascript">
	function updateParseItem(iid, field, info) {
		var tbl = $('#ic'+iid);
		var data = parseItem(tbl);
		if (!data) return;
		data[field] = info;
		var out = [];
		for (i in data) {
			if (!data.hasOwnProperty(i)) continue;
			out.push(i+'='+data[i]);
		}
		tbl.attr('rel', out.join('&'));
	}
	function parseItem(tbl) {
		tbl = $(tbl);
		var rel = tbl.attr('rel');
		var data = {};
		if (!rel) return data;
		var parts = rel.split('&');
		for (i in parts) {
			if (!parts.hasOwnProperty(i)) continue;
			var kv = parts[i].split('=');
			tbl.data(kv[0], kv[1]);
			data[kv[0]] = kv[1];
		}
		return data;
	}
</script><script type="text/javascript" src="/images/scripts/pop_query.20130705.js"></script>
<script type="text/javascript"> function pop_ircm(clicked) { return false; } </script><script>

var currentkey = 49;
$(document).ready(function () {
	$('form').each(function () {
		var form = this;
		defaultBind(currentkey++, NONE, function () { form.submit(); });
		return currentkey < 58;
	});
});

</script><link rel="stylesheet" type="text/css" href="/images/styles.20120512.css">

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

<body onkeyup="handleCombatHotkey(event,false);" onkeydown="handleCombatHotkey(event,true);" ><div id="mafiabuttons"><center><table width="95%"><tr><td align=left><input type="button" onClick="document.location.href='choice.php?action=auto';void(0);" value="auto" id="defaultButton"> <input type="button" onClick="document.location.href='choice.php?action=auto';void(0);" value="script" disabled> <input type="button" onClick="document.location.href='choice.php?action=auto';void(0);" value="noodles" disabled> <input type="button" onClick="document.location.href='choice.php?action=auto';void(0);" value="olfaction" disabled> <input type="button" onClick="document.location.href='choice.php?action=auto';void(0);" value="salsaball" disabled> </td><td align=right><select id="hotkeyViewer" onchange="updateCombatHotkey();"><option>- update hotkeys -</option><option>0: </option><option>1: </option><option>2: </option><option>3: </option><option>4: </option><option>5: </option><option>6: </option><option>7: </option><option>8: </option><option>9: </option></select></td></tr></table></center></div>
<Center><centeR><table  width=95%  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Welcome to The Shore, Inc.</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><center><img src="/images/adventureimages/shorelady.gif" width=100 height=100></center><p>Welcome to The Shore, Inc., the finest travel agency in the Kingdom of Loathing. Our vacations are sure to be just the thing for a weary soul in need of rest and relaxation.  Just select a package, pay up, and let us do the rest!<center><form name=choiceform1 action=choice.php method=post><input type=hidden name=pwd value='f2e046a3aa92f9be8561ff0ac3cd41cb'><input type=hidden name=whichchoice value=793><input type=hidden name=option value=1><input class=button type=submit value="Distant Lands Dude Ranch Adventure"><br>(Costs 3 Adventures and 500 Meat)</form><form name=choiceform2 action=choice.php method=post><input type=hidden name=pwd value='f2e046a3aa92f9be8561ff0ac3cd41cb'><input type=hidden name=whichchoice value=793><input type=hidden name=option value=2><input class=button type=submit value="Tropical Paradise Island Getaway"><br>(Costs 3 Adventures and 500 Meat)</form><form name=choiceform3 action=choice.php method=post><input type=hidden name=pwd value='f2e046a3aa92f9be8561ff0ac3cd41cb'><input type=hidden name=whichchoice value=793><input type=hidden name=option value=3><input class=button type=submit value="Large Donkey Mountain Ski Resort"><br>(Costs 3 Adventures and 500 Meat)</form><form name=choiceform4 action=choice.php method=post><input type=hidden name=pwd value='f2e046a3aa92f9be8561ff0ac3cd41cb'><input type=hidden name=whichchoice value=793><input type=hidden name=option value=4><input class=button type=submit value="Exit through the gift shop"></form></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></center></body><script src="/hotkeys.js"></script><script src="/onfocus.js"></script></html>
Choices 1, 2, and 3 relate to the normal shore trips we had before. Choice 4 takes us to the gift shop. The gift shop appears to be a new coinmaster, since it uses Shore Inc. Ship Trip Scrip as its currency.
Code:
<html><head>
<script language=Javascript>
<!--
if (parent.frames.length == -1) location.href="game.php";
//-->
</script>
<script language=Javascript src="/images/scripts/keybinds.min.2.js"></script>
<script language=Javascript src="/images/scripts/window.20111231.js"></script>
<script language="javascript">function chatFocus(){if(top.chatpane.document.chatform.graf) top.chatpane.document.chatform.graf.focus();}
if (typeof defaultBind != 'undefined') { defaultBind(47, 2, chatFocus); defaultBind(190, 2, chatFocus);defaultBind(191, 2, chatFocus); defaultBind(47, 8, chatFocus);defaultBind(190, 8, chatFocus); defaultBind(191, 8, chatFocus); }</script><script language="javascript">
	function updateParseItem(iid, field, info) {
		var tbl = $('#ic'+iid);
		var data = parseItem(tbl);
		if (!data) return;
		data[field] = info;
		var out = [];
		for (i in data) {
			if (!data.hasOwnProperty(i)) continue;
			out.push(i+'='+data[i]);
		}
		tbl.attr('rel', out.join('&'));
	}
	function parseItem(tbl) {
		tbl = $(tbl);
		var rel = tbl.attr('rel');
		var data = {};
		if (!rel) return data;
		var parts = rel.split('&');
		for (i in parts) {
			if (!parts.hasOwnProperty(i)) continue;
			var kv = parts[i].split('=');
			tbl.data(kv[0], kv[1]);
			data[kv[0]] = kv[1];
		}
		return data;
	}
</script><script language=Javascript src="/images/scripts/jquery-1.3.1.min.js"></script>
<script type="text/javascript" src="/images/scripts/pop_query.20130705.js"></script>
<script type="text/javascript"> function pop_ircm(clicked) { return false; } </script><link rel="stylesheet" type="text/css" href="/images/styles.20120512.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 Shore, Inc. Gift Shop</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><table><tr><td valign=top><img src=/images/otherimages/terrence.gif width=60 height=100 alt="Terrence" title="Terrence"></td><td valign=top><center><b>Terrence</b></center><p>Welcome to The Gift Shop, Inc.  My name is Terrence.  May I help you?</td></tr></table><form name=bigform action=shop.php method=post><input type=hidden name=pwd value=f2e046a3aa92f9be8561ff0ac3cd41cb><input type=hidden name=whichshop value="shore"><input type=hidden name=action value=buyitem><center><table cellpadding=2><tr><td></td><td colspan=2 align=center><b>Item:</b> (click for description)</td><td colspan=10 align=center><b>Price:</b></td></tr><tr><td valign=center><input type=radio name=whichrow value=180></td><td><img src="/images/itemimages/crate.gif" class=hand onClick='javascript:descitem(241890928)'></td><td valign=center><a onClick='javascript:descitem(241890928)'><b>dude ranch souvenir crate</b>    </a></td><td><img src=/images/itemimages/shorescrip.gif width=30 height=30 onClick='javascript:descitem(591185724)' alt="Shore Inc. Ship Trip Scrip" title="Shore Inc. Ship Trip Scrip"></td><td><b>1</b> &nbsp</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td valign=center><input class=button type=button onClick='javascript:parent.mainpane.location="shop.php?whichshop=shore&action=buyitem&quantity=1&whichrow=180";' value='Buy'></td></tr><tr><td valign=center><input type=radio name=whichrow value=181></td><td><img src="/images/itemimages/crate.gif" class=hand onClick='javascript:descitem(631078936)'></td><td valign=center><a onClick='javascript:descitem(631078936)'><b>tropical island souvenir crate</b>    </a></td><td><img src=/images/itemimages/shorescrip.gif width=30 height=30 onClick='javascript:descitem(591185724)' alt="Shore Inc. Ship Trip Scrip" title="Shore Inc. Ship Trip Scrip"></td><td><b>1</b> &nbsp</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td valign=center><input class=button type=button onClick='javascript:parent.mainpane.location="shop.php?whichshop=shore&action=buyitem&quantity=1&whichrow=181";' value='Buy'></td></tr><tr><td valign=center><input type=radio name=whichrow value=182></td><td><img src="/images/itemimages/crate.gif" class=hand onClick='javascript:descitem(978195555)'></td><td valign=center><a onClick='javascript:descitem(978195555)'><b>ski resort souvenir crate</b>    </a></td><td><img src=/images/itemimages/shorescrip.gif width=30 height=30 onClick='javascript:descitem(591185724)' alt="Shore Inc. Ship Trip Scrip" title="Shore Inc. Ship Trip Scrip"></td><td><b>1</b> &nbsp</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td valign=center><input class=button type=button onClick='javascript:parent.mainpane.location="shop.php?whichshop=shore&action=buyitem&quantity=1&whichrow=182";' value='Buy'></td></tr><tr><td valign=center><input type=radio name=whichrow value=178></td><td><img src="/images/itemimages/meatglobe.gif" class=hand onClick='javascript:descitem(126219215)'></td><td valign=center><a onClick='javascript:descitem(126219215)'><b>meat globe</b>    </a></td><td><img src=/images/itemimages/shorescrip.gif width=30 height=30 onClick='javascript:descitem(591185724)' alt="Shore Inc. Ship Trip Scrip" title="Shore Inc. Ship Trip Scrip"></td><td><b>1</b> &nbsp</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td valign=center><input class=button type=button onClick='javascript:parent.mainpane.location="shop.php?whichshop=shore&action=buyitem&quantity=1&whichrow=178";' value='Buy'></td></tr><tr><td valign=center><input type=radio name=whichrow value=179></td><td><img src="/images/itemimages/toaster.gif" class=hand onClick='javascript:descitem(305442740)'></td><td valign=center><a onClick='javascript:descitem(305442740)'><b>cheap toaster</b>    </a></td><td><img src=/images/itemimages/shorescrip.gif width=30 height=30 onClick='javascript:descitem(591185724)' alt="Shore Inc. Ship Trip Scrip" title="Shore Inc. Ship Trip Scrip"></td><td><b>3</b> &nbsp</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td valign=center><input class=button type=button onClick='javascript:parent.mainpane.location="shop.php?whichshop=shore&action=buyitem&quantity=1&whichrow=179";' value='Buy'></td></tr><tr><td valign=center><input type=radio name=whichrow value=176></td><td><img src="/images/itemimages/boatplan.gif" class=hand onClick='javascript:descitem(642515521)'></td><td valign=center><a onClick='javascript:descitem(642515521)'><b>dinghy plans</b>    </a></td><td><img src=/images/itemimages/shorescrip.gif width=30 height=30 onClick='javascript:descitem(591185724)' alt="Shore Inc. Ship Trip Scrip" title="Shore Inc. Ship Trip Scrip"></td><td><b>3</b> &nbsp</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td valign=center><input class=button type=button onClick='javascript:parent.mainpane.location="shop.php?whichshop=shore&action=buyitem&quantity=1&whichrow=176";' value='Buy'></td></tr><tr><td valign=center><input type=radio name=whichrow value=177></td><td><img src="/images/itemimages/dice.gif" class=hand onClick='javascript:descitem(832984520)'></td><td valign=center><a onClick='javascript:descitem(832984520)'><b>fuzzy dice</b>    </a></td><td><img src=/images/itemimages/shorescrip.gif width=30 height=30 onClick='javascript:descitem(591185724)' alt="Shore Inc. Ship Trip Scrip" title="Shore Inc. Ship Trip Scrip"></td><td><b>5</b> &nbsp</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td valign=center><input class=button type=button onClick='javascript:parent.mainpane.location="shop.php?whichshop=shore&action=buyitem&quantity=1&whichrow=177";' value='Buy'></td></tr></table><center><input class=button type=submit value="Buy Item"> <input class=text type=text name=quantity size=2 value=1></center></form></form><p><b>You have:</b><table><tr><td><img src=/images/itemimages/shorescrip.gif width=30 height=30 onClick='javascript:descitem(591185724)' alt="Shore Inc. Ship Trip Scrip" title="Shore Inc. Ship Trip Scrip"></td><td>no Shore Inc. Ship Trip Scrip</td></tr></table><p><a href=place.php?whichplace=desertbeach>Exit to Desert Beach</a></center></td></tr></table></center></td></tr><tr><td height=4></td></tr></table></center></body><script src="/onfocus.js"></script></html>
You can see from the code that the new page is shop.php?whichshop=shore.
 
Since I hadn't pasted it above:
[1180] Unknown adventure
Encounter: Welcome to The Shore, Inc.
Adding new location: The Shore, Inc. Travel Agency - adventure.php?snarfblat=355
 
There's also place.php?whichplace=desertbeach&action=db_nukehouse at the beach now, which once per (day? ascension?) gives you anticheese.
 
The Shore has been revamped

Code:
[13708] Unknown adventure
Encounter: Welcome to The Shore, Inc.
Unknown item found: Shore Inc. Ship Trip Scrip (6725, 591185724)
--------------------
6725 Shore Inc. Ship Trip Scrip 591185724 shorescrip.gif none 0
# Shore Inc. Ship Trip Scrip
--------------------
You lose 3 Adventures
You spent 500 Meat
You gain 685 Beefiness
You acquire an item: Shore Inc. Ship Trip Scrip

(EDIT: Snipped a bunch of stuff already reported because for some reason this thread wasn't marked as unread!)

BTW, the wineglass warning worked wonderfully ^^ Oh, and you can get a drunken stupor at The Shore.
 
Last edited:
SOB! For some gul-darned reason, that didn't show up in my list as unread. I've been at work all day and never got a chance to read. Well fine, I'm contributing something, dang it!

Ah, The Shore, Inc. Travel Agency! Nothing brightens up an indoor space like some plants, I always say.
 
BTW, the wineglass warning worked wonderfully ^^ Oh, and you can get a drunken stupor at The Shore.
I also discovered both of those. :)

That solves the "you're too drunk to go on vacation" thing the old Shore had. Since it's an adventuring location - which happens to always take you to a choice - that happens automatically.

This is another choice adventure that you can just walk away from.

The "store" is interesting. Since it's available via a choice adventure from adventure.php, you presumably can't get to it if you have zero adventures left. I also notice that it didn't have a cheap toaster in it. Or is that because I already had one?
 
Since my shop-dump in post 1 had a cheap toaster (looks like row 179), guessing that it's due to you already having one. :)
 
Just validated that, while you can't actually go into the store through leaving the choiceadv with 0 adventures remaining, going straight to the shop.php does still work. So we probably want to save the server hits on official implementation and just go straight in.
 
Other new items:
--------------------
6726 dude ranch souvenir crate 241890928 crate.gif usable t 0
# dude ranch souvenir crate
--------------------
6727 tropical island souvenir crate 631078936 crate.gif usable t 0
# tropical island souvenir crate
--------------------
6728 ski resort souvenir crate 978195555 crate.gif usable t 0
# ski resort souvenir crate
--------------------

Each give 6-7 items, always at least one of each. Usually pretty even, I have seen booze as high as 4, garnish as high as 5, and tower items as high as 3. My spade doesn't have torso, so says nothing about shirts.
dude ranch crate gives whisky, coconut shell and dynamite.
tropical island crate gives rum, umbrella and orchid.
ski resort crate gives vodka, ice cube and barbed wire fence.

Stat gains on the adventures looks like it's around 50-80% of mainstat, though distribution looks fairly highly weighted toward the centre.
 
Last edited:
Revision 12540 should finish the job.

The Shore, Inc. Travel Agency is now an adventuring location. It has no combats, so visiting it will not force recovery (HP/MP, moods, beforeBattle script, etc.). Unfortunately, you can no longer simply select "Muscle Vacation" as an adventure and go there for X turnips. However, you can select The Shore and set the choice adventure to the vacation of your choice.
 
There's also place.php?whichplace=desertbeach&action=db_nukehouse at the beach now, which once per (day? ascension?) gives you anticheese.
I got an anticheese on 8/30 and another today (9/1).
A multi got an anticheese on 8/31 and was refused today (9/1).

Given that, I'd say it's an every-other-day thing. How convenient.
 
There's also the possibility that on 8/30, you managed to get the anticheese before Jick changed a few lines of code and reset the anticheese for everyone. I got... two on 8/30 and cannot access it today, I think.
 
Is this something which would be good for mafia to automatically pick up if it's been two days, or is the thing that lazy players will do to just hit the server every time on logout to see if it's anticheese time?
 
But it is just so troublesome for KoL to implement a once every other day item. Nothing else in the game works that way!
 
I'm pretty sure it was once per ascension until someone pointed out that a BM run could become impossible to finish that way, but they still didn't want people getting anticheese every day.
 
In "Way of the Secret Fist" a vacation costs 5 meat and 5 adventures. (I admit that was less true a few days ago, but it is true now.)

I think that isn't implemented.
 
Back
Top