New Content - Implemented Community Service: 2015 Fall Path

heeheehee

Developer
Staff member
Code:
--------------------
8545	blood-drive sticker	978088376	plasticball.gif	spleen, usable	t	0
blood-drive sticker	10	3	awesome	1-1	0	0	0	Unspaded
# Item blood-drive sticker
--------------------
--------------------
8546	bag of grain	190573127	knobsack.gif	usable	t	0
Item	bag of grain	Effect: "Nearly All-Natural", Effect Duration: 1
--------------------
--------------------
1936	Nearly All-Natural	knobsack.gif	a6708fb7d4ae8200584e8fbdc1a3fb59	use 1 bag of grain
Effect	Nearly All-Natural	Mysticality Percent: +200, Booze Drop: +60
--------------------
--------------------
8547	pocket maze	683762927	puzzle.gif	usable	t	0
Item	pocket maze	Effect: "Amazing", Effect Duration: 1
--------------------
--------------------
1937	Amazing	puzzle.gif	713377d5825b78085bfd432dfa61e8c7	use 1 pocket maze
Effect	Amazing	Moxie Percent: +200, Hot Resistance: +4
--------------------
--------------------
8548	shady shades	601502664	bigglasses.gif	usable	t	0
Item	shady shades	Effect: "Throwing Some Shade", Effect Duration: 1
--------------------
--------------------
1938	Throwing Some Shade	bigglasses.gif	c5cff9851dd22e65ea938582e6eabe68	use 1 shady shades
Effect	Throwing Some Shade	Muscle Percent: +200, Combat Rate: -5
--------------------
--------------------
8549	squeaky toy rose	549232387	rose.gif	usable	t	0
Item	squeaky toy rose	Effect: "A Rose by Any Other Material", Effect Duration: 1
--------------------
--------------------
1939	A Rose by Any Other Material	rose.gif	a045be8e57e7ed0a5fefaec9e1fa70c9	use 1 squeaky toy rose
Effect	A Rose by Any Other Material	Combat Rate: -5
--------------------
--------------------
8550	weird gazelle steak	918011282	gnatfilet.gif	food	t	0
weird gazelle steak	10	1	awesome	1-1	0	0	0	Unspaded
Item	weird gazelle steak	Effect: "Gaze of the Gazelle", Effect Duration: 1
--------------------
--------------------
1940	Gaze of the Gazelle	nopic.gif	07d1f36bb0141751020c2f5f5cc210ce	eat 1 weird gazelle steak
Effect	Gaze of the Gazelle	Spell Damage Percent: +200, Booze Drop: +60
--------------------
--------------------
8551	sausage without a cause	710239230	sausage.gif	food	t	0
sausage without a cause	10	1	awesome	1-1	0	0	0	Unspaded
Item	sausage without a cause	Effect: "East of Eaten", Effect Duration: 1
--------------------
--------------------
1941	East of Eaten	sausage.gif	3703664f3aec4fd25a893ad7486154a9	eat 1 sausage without a cause
Effect	East of Eaten	Weapon Damage Percent: +200, Hot Resistance: +4
--------------------
--------------------
8552	silver face paint	375755054	tube.gif	usable	t	0
Item	silver face paint	Effect: "Robot Friends", Effect Duration: 1
--------------------
--------------------
1942	Robot Friends	c13cookie1.gif	8fed47f63c86f55d3aa48d1845b8cf94	use 1 silver face paint
Effect	Robot Friends	Familiar Weight: +20
--------------------
--------------------
8553	emergency margarita	886234063	daquiri.gif	drink	t	0
emergency margarita	10	1	awesome	1-1	0	0	0	Unspaded
Item	emergency margarita	Effect: "Margamergency", Effect Duration: 1
--------------------
--------------------
1943	Margamergency	nopic.gif	c72ea0d9451011b604ec1142dfc01914	drink 1 emergency margarita
Effect	Margamergency	Weapon Damage Percent: +200, Spell Damage Percent: +200
--------------------
--------------------
8554	vintage smart drink	485189565	waterbottle.gif	drink	t	0
vintage smart drink	10	1	awesome	1-1	0	0	0	Unspaded
Item	vintage smart drink	Effect: "Smart Drunk", Effect Duration: 1
--------------------
--------------------
1944	Smart Drunk	waterbottle.gif	83fedcd3dde8eee303cb432d4138ffdb	drink 1 vintage smart drink
Effect	Smart Drunk	Maximum HP: +120, Familiar Weight: +20
--------------------
--------------------
8555	a ten-percent bonus	869271245	percent.gif	usable	q	0
# Item a ten-percent bonus: Gain 1,000 points in each stat
--------------------
 

Magus_Prime

Well-known member
Code:
Encounter: Community Service
Took choice 1089/11: unknown
choice.php?whichchoice=1089&option=11&pwd
Encounter: Community Service
--------------------
8555	a ten-percent bonus	869271245	percent.gif	usable	q	0
# Item a ten-percent bonus: Gain 1,000 points in each stat
--------------------
You lose 60 Adventures
You acquire an item: a ten-percent bonus
 

Magus_Prime

Well-known member
Heeheehee posted these above but here's a bit more information. Unknown items as of r16184:

Code:
Looking at item #8554...
Unknown item found: vintage smart drink (8554, 485189565)
--------------------
8554 vintage smart drink 485189565 waterbottle.gif drink t 0
vintage smart drink 10 1 awesome 1-1 0 0 0 Unspaded
Item vintage smart drink Effect: "Smart Drunk", Effect Duration: 1
--------------------
--------------------
1944 Smart Drunk waterbottle.gif 83fedcd3dde8eee303cb432d4138ffdb drink 1 vintage smart drink
Effect Smart Drunk Maximum HP: +120, Familiar Weight: +20
--------------------

Unknown item found: blood-drive sticker (8545, 978088376)
--------------------
8545 blood-drive sticker 978088376 plasticball.gif spleen, usable t 0
blood-drive sticker 10 3 awesome 1-1 0 0 0 Unspaded
# Item blood-drive sticker
--------------------

Unknown item found: squeaky toy rose (8549, 549232387)
--------------------
8549 squeaky toy rose 549232387 rose.gif usable t 0
Item squeaky toy rose Effect: "A Rose by Any Other Material", Effect Duration: 1
--------------------
--------------------
1939 A Rose by Any Other Material rose.gif a045be8e57e7ed0a5fefaec9e1fa70c9 use 1 squeaky toy rose
Effect A Rose by Any Other Material Combat Rate: -5
--------------------

Unknown item found: silver face paint (8552, 375755054)
--------------------
8552     silver face paint 375755054 tube.gif usable t 0
Item silver face paint     Effect: "Robot Friends", Effect Duration: 1
--------------------
--------------------
1942     Robot Friends c13cookie1.gif 8fed47f63c86f55d3aa48d1845b8cf94 use 1 silver     face paint
Effect Robot Friends Familiar Weight: +20
--------------------

Unknown item found: emergency margarita (8553, 886234063)
--------------------
8553 emergency margarita 886234063 daquiri.gif drink t 0
emergency margarita 10 1 awesome 1-1 0 0 0 Unspaded
Item emergency margarita Effect: "Margamergency", Effect Duration: 1
--------------------
--------------------
1943 Margamergency daquiri.gif c72ea0d9451011b604ec1142dfc01914 drink 1 emergency margarita
Effect Margamergency Weapon Damage Percent: +200, Spell Damage Percent: +200
--------------------

Unknown item found: sausage without a cause (8551, 710239230)
--------------------
8551 sausage without a cause 710239230 sausage.gif food t 0
sausage without a cause 10 1 awesome 1-1 0 0 0 Unspaded
Item sausage without a cause Effect: "East of Eaten", Effect Duration: 1
--------------------
--------------------
1941 East of Eaten sausage.gif 3703664f3aec4fd25a893ad7486154a9 eat 1 sausage without a cause
Effect East of Eaten Weapon Damage Percent: +200, Hot Resistance: +4
--------------------

Unknown item found: weird gazelle steak (8550, 918011282)
--------------------
8550 weird gazelle steak 918011282 gnatfilet.gif food t 0
weird gazelle steak 10 1 awesome 1-1 0 0 0 Unspaded
Item weird gazelle steak Effect: "Gaze of the Gazelle", Effect Duration: 1
--------------------
--------------------
1940 Gaze of the Gazelle gnatfilet.gif 07d1f36bb0141751020c2f5f5cc210ce eat 1 weird gazelle steak
Effect Gaze of the Gazelle Spell Damage Percent: +200, Booze Drop: +60
--------------------

Unknown item found: shady shades (8548, 601502664)
--------------------
8548 shady shades 601502664 bigglasses.gif usable t 0
Item shady shades Effect: "Throwing Some Shade", Effect Duration: 1
--------------------
--------------------
1938 Throwing Some Shade bigglasses.gif c5cff9851dd22e65ea938582e6eabe68 use 1 shady shades
Effect Throwing Some Shade Muscle Percent: +200, Combat Rate: -5
--------------------

Unknown item found: pocket maze (8547, 683762927)
--------------------
8547 pocket maze 683762927 puzzle.gif usable t 0
Item pocket maze Effect: "Amazing", Effect Duration: 1
--------------------
--------------------
1937 Amazing puzzle.gif 713377d5825b78085bfd432dfa61e8c7 use 1 pocket maze
Effect Amazing Moxie Percent: +200, Hot Resistance: +4
--------------------
You acquire an item: pocket maze
Unknown item found: bag of grain (8546, 190573127)
--------------------
8546 bag of grain 190573127 knobsack.gif usable t 0
Item bag of grain Effect: "Nearly All-Natural", Effect Duration: 1
--------------------
--------------------
1936 Nearly All-Natural knobsack.gif a6708fb7d4ae8200584e8fbdc1a3fb59 use 1 bag of grain
Effect Nearly All-Natural Mysticality Percent: +200, Booze Drop: +60
--------------------

Unknown item found: Thwaitgold termite statuette (8556, 301131366)
--------------------
8556 Thwaitgold termite statuette 301131366 thwaittermite.gif none 0
# Item Thwaitgold termite statuette
--------------------

Rewards for completing Community Service tasks.
 
Last edited:

Magus_Prime

Well-known member
Debug log generated with r16197 on completing a Community Service run

I did a HC TT Community Service run and when I got the termite statue I also got a debug log.

Code:
Unknown item found: Thwaitgold termite statuette (8556, 301131366)
--------------------
8556 Thwaitgold termite statuette 301131366 thwaittermite.gif none 0
# Item Thwaitgold termite statuette
--------------------
You acquire an item: Thwaitgold termite statuette
Unexpected error, debug log printed.

You acquire an item: Thwaitgold termite statuette
Unexpected error, debug log printed.
View attachment DEBUG_20150818.txt
 

Veracity

Developer
Staff member
You were in the Relay Browser.
Doing whatever you did sent you to "ascend.php".
You have a relay script for that URL. It called visit_url().
When it got back the result, since it was a Relay Request, we attempted to do all of the usual decorations we do on the "jump the gash" page.
However, it was not the usual page and it took an NPE attempting to delete something that was not there.

Obviously, the New Content that is the new challenge path does something unexpected when you complete a run and want to return to Valhalla. I'm going to merge this in to the existing New Content thread that discusses this path and, assuming somebody gets a DEBUG log of the whole process of finishing up such a run, somebody will be able to look at this.
 

Bale

Minion
Mafia still doesn't support most of the new items and effects. Here are some which were unsupported when I encountered them today.

Code:
--------------------
1944	Smart Drunk	waterbottle.gif	83fedcd3dde8eee303cb432d4138ffdb
Effect	Smart Drunk	Maximum HP: +120, Familiar Weight: +20
--------------------
--------------------
8549	squeaky toy rose	549232387	rose.gif	usable	t	0
Item	squeaky toy rose	Effect: "A Rose by Any Other Material", Effect Duration: 1
--------------------
--------------------
1939	A Rose by Any Other Material	rose.gif	a045be8e57e7ed0a5fefaec9e1fa70c9	use 1 squeaky toy rose
Effect	A Rose by Any Other Material	Combat Rate: -5
--------------------
--------------------
8545	blood-drive sticker	978088376	plasticball.gif	spleen, usable	t	0
blood-drive sticker	10	3	awesome	1-1	0	0	0	Unspaded
# Item blood-drive sticker
--------------------
--------------------
8546	bag of grain	190573127	knobsack.gif	usable	t	0
Item	bag of grain	Effect: "Nearly All-Natural", Effect Duration: 1
--------------------
--------------------
1936	Nearly All-Natural	knobsack.gif	a6708fb7d4ae8200584e8fbdc1a3fb59	use 1 bag of grain
Effect	Nearly All-Natural	Mysticality Percent: +200, Booze Drop: +60
--------------------
--------------------
8551	sausage without a cause	710239230	sausage.gif	food	t	0
sausage without a cause	10	1	awesome	1-1	0	0	0	Unspaded
Item	sausage without a cause	Effect: "East of Eaten", Effect Duration: 1
--------------------
--------------------
1941	East of Eaten	sausage.gif	3703664f3aec4fd25a893ad7486154a9	eat 1 sausage without a cause
Effect	East of Eaten	Weapon Damage Percent: +200, Hot Resistance: +4
--------------------
--------------------
8550	weird gazelle steak	918011282	gnatfilet.gif	food	t	0
weird gazelle steak	10	1	awesome	1-1	0	0	0	Unspaded
Item	weird gazelle steak	Effect: "Gaze of the Gazelle", Effect Duration: 1
--------------------
--------------------
1940	Gaze of the Gazelle	gnatfilet.gif	07d1f36bb0141751020c2f5f5cc210ce	eat 1 weird gazelle steak
Effect	Gaze of the Gazelle	Spell Damage Percent: +200, Booze Drop: +60
--------------------
--------------------
8553	emergency margarita	886234063	daquiri.gif	drink	t	0
emergency margarita	10	1	awesome	1-1	0	0	0	Unspaded
Item	emergency margarita	Effect: "Margamergency", Effect Duration: 1
--------------------
--------------------
1943	Margamergency	daquiri.gif	c72ea0d9451011b604ec1142dfc01914	drink 1 emergency margarita
Effect	Margamergency	Weapon Damage Percent: +200, Spell Damage Percent: +200
--------------------
--------------------
8552	silver face paint	375755054	tube.gif	usable	t	0
Item	silver face paint	Effect: "Robot Friends", Effect Duration: 1
--------------------
--------------------
1942	Robot Friends	c13cookie1.gif	8fed47f63c86f55d3aa48d1845b8cf94	use 1 silver face paint
Effect	Robot Friends	Familiar Weight: +20
--------------------
 

Bale

Minion
Thanks Darzil. Bag of grain is still missing. Forum tab lines up with the border between letters if you click edit or quote, so it was probably a problem with your copy/paste from the forum.

Code:
--------------------
8546	bag of grain	190573127	knobsack.gif	usable	t	0
Item	bag of grain	Effect: "Nearly All-Natural", Effect Duration: 1
--------------------
 
Last edited:

Bale

Minion
Obviously, the New Content that is the new challenge path does something unexpected when you complete a run and want to return to Valhalla. I'm going to merge this in to the existing New Content thread that discusses this path and, assuming somebody gets a DEBUG log of the whole process of finishing up such a run, somebody will be able to look at this.

The final service always seems to give a debug log. I captured that for whomever has time to examine it:

> debug on

Unknown item found: Thwaitgold termite statuette (8556, 301131366)
--------------------
8556 Thwaitgold termite statuette 301131366 thwaittermite.gif none 0
# Item Thwaitgold termite statuette
--------------------
You acquire an item: Thwaitgold termite statuette
Unexpected error, debug log printed.

> debug off

Debug Log: DEBUG_20150821

PS. Still need that statuette added!
Code:
Took choice 1089/30: unknown
choice.php?whichchoice=1089&option=30&pwd

ascend.php?alttext=communityservice
--------------------
8556	Thwaitgold termite statuette	301131366	thwaittermite.gif	none		0
# Item Thwaitgold termite statuette
--------------------
You acquire an item: Thwaitgold termite statuette
Unexpected error, debug log printed.
 
Last edited:

Bale

Minion
One more thing: After clicking on the final service and getting the Thwaitgold termite statuette...

KoLmafia should recognize that I am no longer in Community Service and run my kingLiberatedScript.
 

iceikkle

New member
There are some issues with florist_available() with regard to this path, since the Florist doesn't become accessible until you open the Forest (often in aftercore). Today I had opened the Forest in aftercore but when I ascended into Standard mafia didn't detect the Florist until I ran "refresh all".
 

xKiv

Active member
I had the same result (mafia not realizing florist is available) after ascending yesterday. Previous ascension was HC AoJ (florist was available and used). I went into HC STD the same day I broke prism and noticed CHIT wasn't displaying florist block until refresh.
ETA: meaning that this is not CS specific.
 

lostcalpolydude

Developer
Staff member
I think The Florist Friar is all handled in 16233. Mafia now doesn't even try to check if you aren't level 2, and it checks when you unlock The Spooky Forest.
 

Veracity

Developer
Staff member
The final service always seems to give a debug log. I captured that for whomever has time to examine it:
Choice 1089 is Community Service. I guess that's what you see in the Council to select a task. I'll never see it, myself.

choice.php?whichchoice=1089&option=30&pwd
redirects to
ascend.php?alttext=communityservice

Fascinating. It sends you straight to ascend.php, which is what you get when you click on the Astral Gash. It includes "alttext=comunityservice" to give different text, though.

Code:
<html><head><script language=Javascript><!--if (parent.frames.length == 0) location.href="game.php";top.charpane.location.href="charpane.php";//--></script><script language=Javascript src="//images.kingdomofloathing.com/scripts/keybinds.min.2.js"></script><script language=Javascript src="//images.kingdomofloathing.com/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 src="//images.kingdomofloathing.com/scripts/jquery-1.3.1.min.js"></script><link rel="stylesheet" type="text/css" href="//images.kingdomofloathing.com/styles.20150113.css"><style type='text/css'>.faded {zoom: 1;filter: alpha(opacity=35);opacity: 0.35;-khtml-opacity: 0.35;-moz-opacity: 0.35;}</style></head><body><Center><table  width=95%  cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>The Astral Gash</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><form name=ascend action=ascend.php method=post><input type=hidden name=action value="ascend"><input type=hidden name=pwd value='1e85f391c5534415ce3bb1dd648fb3ec'><input type=hidden name=alttext value='communityservice'>You go to the body donation facility across the street from the Sleazy Back Alley and fill out all the forms.  They congratulate you on your decision, show you to the nearest science donation vessel, and, weirdly, give you a souvenir.  You'll enjoy it for the rest of your life!<center><table class="item" style="float: none" rel="id=8556&s=0&q=0&d=0&g=0&t=0&n=1&m=0&p=0&u=."><tr><td><img src="http://images.kingdomofloathing.com/itemimages/thwaittermite.gif" alt="Thwaitgold termite statuette" title="Thwaitgold termite statuette" class=hand onClick='descitem(301131366)'></td><td valign=center class=effect>You acquire an item: <b>Thwaitgold termite statuette</b></td></tr></table></center><p><center><input type=submit class=button value="Ascend"> <input type=checkbox name=confirm> (confirm) <input type=checkbox name=confirm2> (seriously)</center></form><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></body></html>
I see an Ascend button, complete with a (confirm) checkbox. So, this looks like it should get decorated with the "things you might want to do" that we decorate the gash with.

I'd say that ValhallaDecorator.decorateGashJump needs to understand the new format. Perhaps we could pass in the URL and use that to distinguish between the normal text or various "alttext" variants, of which we now have one example. Or, perhaps there is a way to Do The Right Thing regardless of the format of the "ascend" page.

I'll leave it to somebody whose actually going to do runs in this path. :)
 

Theraze

Active member
There is no gash in the CS path, you jump straight from path to Valhalla without any aftercore farming opportunity. Since it doesn't unlock the 'normal' stuff either, most of the reminders are irrelevant... you won't be grabbing free goofballs if you can't go to the tavern, for example.
 

Veracity

Developer
Staff member
Revision 16238 should make things a little easier for that "somebody": it passes the ascend.php URL that was submitted to get to the "Astral Gash" (or body donation center) to ValhallaDecorator.decorateGashJump. I also verified from Bale's log file that the "Ascend" button and the two "confirm" checkboxes are identical with what we see on a normal Astral Gash page, and refactored the code a little bit to make it a bit clearer regarding how we replace those controls with our own controls.

Time for "somebody" to finish the job for Community Service.
 

Veracity

Developer
Staff member
There is no gash in the CS path, you jump straight from path to Valhalla without any aftercore farming opportunity. Since it doesn't unlock the 'normal' stuff either, most of the reminders are irrelevant... you won't be grabbing free goofballs if you can't go to the tavern, for example.
I see no indication that you are forced to click the "Ascend" button on that page, just as you are not forced to click the "Ascend" button on the Astral Gash page. Therefore, you obviously do have an "aftercore farming opportunity" - although, it will be quite limited if the council hasn't unlocked a bunch of zones for you by offering quests.

But the "here are the skills you haven't yet permed" and "do you want to replace your garden" and "here is what in your chateau currently" sort of reminders seem just as relevant as any other kind of ascension.

"Somebody" should look into that. :)
 

heeheehee

Developer
Staff member
Hm. I had a much simpler edit in mind, wherein I just wrapped the call to buffer.delete in an if statement. It looked acceptable.

(note that the message when you go back is different, so I haven't quite tested it on the initial block of text)
 
Top