New Content - Implemented Voter Registration Form

Malibu Stacey

Active member
r18970 - Untested

Just tested it out with trackVoteMonster set to free & it's looking good. Tracked the first 3, gave me a warning each time & stopped auto adventuring as expected. Tracker didn't show up after the 3rd as expected too.

The only thing I would say to improve would be to check if the sticker is equipped when the wanderer is showing up similar to how it checks when you attempt to fight the Sea Beatles in the colosseum (and giving the option to not care & click past anyway).
 

Darzil

Developer
The only thing I would say to improve would be to check if the sticker is equipped when the wanderer is showing up similar to how it checks when you attempt to fight the Sea Beatles in the colosseum (and giving the option to not care & click past anyway).

r18972
 

Darzil

Developer
r18973 tracks Vote Monster name as _voteMonster, as scripts might want it. (obviously not known until the first time you meet one each day). Untested.
 

Erosion

Member
Requesting feature for this (and possibly any other applicable counter, Spookyraven?), another setting where the counter starts tracking in the effect pane, but doesn't interrupt you, the way Digitize is now.
 

AlbinoRhino

Active member
r18966 - Try this. I think the issue is that +20 Damage to Unarmed Attacks isn't tracked by mafia, and wasn't recognised.

Your html is way different from what I get, with extra spans all over it.

I got the +20 Damage to Unarmed Attacks again today. I am posting to confirm that everything worked as expected. Thanks!
 
The only thing I would say to improve would be to check if the sticker is equipped when the wanderer is showing up similar to how it checks when you attempt to fight the Sea Beatles in the colosseum (and giving the option to not care & click past anyway).


Works great, though the message is a currently doubled up and kinda confusing because of that:
The Vote Wanderer counter has expired, so you may wish to adventure somewhere else at this time.
The Vote Monster counter has expired, so you may wish to adventure somewhere else at this time.
If you are certain that this is where you'd like to adventure, click on the image to proceed.You do not have the "I voted" sticker equipped, to continue without, click the icon on the left to adventure. If you want the sticker equipped, click the icon on the right to adventure.
 
Ah, you're right, I did. Sorry, that explains it.

(The reason I set my postadventure script to make one is because mafia's counter isn't created until you hit up an adventure location, while it's useful to know when your first wanderer is available before you do so).
 

Magus_Prime

Well-known member
With r18977:

Code:
--------------------
10008	mutant legs	246218562	mutantlegs.gif	pants		0
mutant legs	200	Mus: 50
Item	mutant legs	Monster Level: +10, Muscle: +10, Critical Hit Percent: +10
--------------------
--------------------
142	Mutant Parts Apparel	vwmuttat.gif	mutant legs
Outfit	Mutant Parts Apparel	Muscle Percent: +100, Monster Level: +50
--------------------

After wearing the mutant arm and fighting a terrible mutant.
 

taltamir

Member
new item
Code:
Unknown item found: government     requisition form (10003, 273707867)
--------------------
10003     government requisition form 273707867 requisform.gif usable d 75
# Item     government requisition form
--------------------
 

Magus_Prime

Well-known member
Also: "Warning: image 'vwgovt.gif' does not match monster 'government bureaucrat' ()." I believe that was courtesy of zarqon's Mercenary Mood script.
 

Darzil

Developer
r18979 adds government bureaucrat.

It was missing because I hadn't seen one, as I wasn't able to play on the first day it was released due to time zone, and no one gave details here.
 

Malibu Stacey

Active member
For anyone else who runs into new wanderers (like today's Angry Ghosts) & doesn't want auto adventuring stopping them repeatedly after you've fought the first 3 free ones

set _voteFreeFights=3

will stop the counter showing up if you have trackVoteMonster = free and stopForFixedWanderer = true
Also their drops (ghostly ectoplasm) weren't showing up as unknown.
 
Last edited:

Darzil

Developer
r18983 adds angry ghosts and their related concoctions.

The drops had been previously added due to dropping by other methods.
 
Mafia has consistently failed to recognize the +30% food drop vote modifier option that HC Std TTs get on day 2, and this time I remembered to grab the html:

Encounter: Daily Loathing Ballot
Preference _voteLocal1 changed from to Experience: -3
Preference _voteLocal2 changed from to Experience: +3
Preference _voteLocal3 changed from to Stench Damage: +10
Preference _voteModifier changed from to Experience: +3, Stench Damage: +10 // I actually grabbed the food drop
You have cast your votes
You acquire an item: "I Voted!" sticker

Visiting The Voting Booth
Preference _voteModifier changed from Experience: +3, Stench Damage: +10 to Experience: +3, Food Drop: +30

HTML:
<body><img src='/images/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></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr class=blueback><td><a href='choice.php?action=auto'><img src='/images/itemimages/plexpock.gif'></td><td class=spacer></td><td><img src='/images/itemimages/blank.gif' id='skills'></td><td class=spacer></td><td><img src='/images/itemimages/blank.gif'></td><td><img src='/images/itemimages/blank.gif'></td><td><img src='/images/itemimages/blank.gif'></td><td><img src='/images/itemimages/blank.gif'></td><td><img src='/images/itemimages/blank.gif'></td><td><img src='/images/itemimages/blank.gif'></td><td><img src='/images/itemimages/blank.gif'></td><td><img src='/images/itemimages/blank.gif'></td><td><img src='/images/itemimages/blank.gif'></td><td><img src='/images/itemimages/blank.gif'></td><td><img src='/images/itemimages/blank.gif'></td><td><img src='/images/itemimages/blank.gif'></td><td class=spacer></td><td class=spacer></td><td><img src='/images/itemimages/blank.gif'></td></tr><tr class=label><td>auto</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr></tbody></table></center></div><div class='content' id='content_'><div id='effdiv' style='display: none;'></div><div style='overflow: auto;'>
<Center><table   cellspacing=0 cellpadding=0><tr><td style="color: white;" align=center bgcolor=blue><b>Daily Loathing Ballot</b></td></tr><tr><td style="padding: 5px; border: 1px solid blue;"><center><table><tr><td><form method="post" action="choice.php"><input type="hidden" name="pwd" value="snip" /><input type="hidden" name="option" value="1" /><input type="hidden" name="whichchoice" value="1331" /><b>Kingdom-Wide Ballot</b><br /><small>Vote today for tomorrow's leader!</small><p><input type='radio' name='g' value='1' /> <b>Master Phoebe Lane</b> - The Scions of Ich'Xuul'kor the Good and Normal are dedicated to creating the conditions necessary for their totally benevolent god to break through into our dimension, which will be pleasant and fun for everybody.<br><blockquote>"The Book of Smiling Teeth prophesizes that the Good and Normal One will arrive to the sound of a great hissing, with a great many of his limbless children writhing along the ground. So we figure he likes snakes? Everyone loves snakes, they're really cool, right? Snakes for everybody!"</blockquote><p><input type='radio' name='g' value='2' /> <b>Agent John Howard, Federal Dept. of Authentication</b> - The Bureau of Efficient Government is dedicated to making the Kingdom's government operate in a more efficient manner, by streamlining and removing redundancy and inefficiency in the Kingdom's government.<br><blockquote>"Distribution of necessary medical care is one of the largest sources of waste and inefficiency in our government. If elected, I will distribute all the medications for all known diseases simultaneously, in the water supply. The benefits are obvious."</blockquote><p><hr><b>Local Initiatives</b><br /><small>Your local budget only supports <i>two</i> projects.</small><p><label><input type="checkbox" name="local[]" value="0" class="locals" /> Distracting noises broadcast through compulsory teeth-mounted radio receivers.<br /><span style="display: inline-block; margin-left: 2em; padding-bottom: 1em; color: blue">-3 Stats Per Fight</span><br /></label><label><input type="checkbox" name="local[]" value="1" class="locals" /> Municipal journaling initiative.<br /><span style="display: inline-block; margin-left: 2em; padding-bottom: 1em; color: blue">+3 Stats Per Fight</span><br /></label><label><input type="checkbox" name="local[]" value="2" class="locals" /> A chicken in every pot!<br /><span style="display: inline-block; margin-left: 2em; padding-bottom: 1em; color: blue">+30% Food Drops from Monsters</span><br /></label><label><input type="checkbox" name="local[]" value="3" class="locals" /> All forms of deodorant are now illegal.<br /><span style="display: inline-block; margin-left: 2em; padding-bottom: 1em; color: blue">+10 <font color=green>Stench Damage</font></span><br /></label><center><input type="submit" value="Rock the Vote!" class="button" id="vote" /></center></form><p><form method="post" action="choice.php"><input type="hidden" name="pwd" value="snip" /><input type="hidden" name="option" value="2" /><input type="hidden" name="whichchoice" value="1331" /><center><input type="submit" value="Vote Later" class="button"  /></center></form></td></tr></table></center></td></tr><tr><td height=4></td></tr></table>
<script>
jQuery(function ($) {
  $('#vote').click(function (e) {
     if ($('.locals:checked').length != 2) {
          e.preventDefault();
          alert('You must vote for two, and only two, local initiatives.');
     }
  });
});
</script>
<!--faaaaaaart--></div></div></body>
 

AlbinoRhino

Active member
r18990
Code:
--------------------
9992	snake skin	420072627	rsnakeskin.gif	multiple	d	25
# Item snake skin
--------------------

drops from annoyed snake
 
Top