Testing a Votecounter (prev. Any Mods Willing to Volunteer?)
- PokerFace
-
PokerFace Too Useful
- PokerFace
- Too Useful
- Too Useful
- Posts: 6231
- Joined: July 20, 2007
- Location: Ohio, USA
- Contact:
We could just test it here and now....
VOTE: ThespLast edited by PokerFace on Mon Oct 06, 2014 2:39 pm, edited 1 time in total.- N
-
N Jack of All Trades
- N
- Thesp
-
Thesp Supersaint
- Thesp
- Supersaint
- Supersaint
- Posts: 5781
- Joined: November 4, 2004
- Location: Round Rock, TX
- Contact:
In post 76, N wrote:Is it possible for this to automatically include the deadline? Like, if the mod puts the deadline in the op or something, could it just copy from there?
It is! I need to update the opening post to reflect this. See below, and let me know if you have any questions.
In post 44, Thesp wrote:I've done an update to the votecounter! It now:
1. Processes No Lynch votes.
Itshoulddo this smoothly, but I've not been able to test it thoroughly as I'd like. Please let me know if a No Lynch vote pops up in a game you're running with the votecounter, and how the votecounter handles it.
2. Properly warns on a lynching vote.
Previously, it logged when a potentially lynching vote had been placed, but I neglected toactually display that information to the user. This has now been corrected.
3. Optional Deadlines.
If you include a Deadline area tag in your settings, it will spit out deadline information with the votecount. The string inside the Deadline area tag should be the same one you would put in the countdown tag. Here is an example:
Let me know if you have any questions or need anything further. Here's a link to the votecounter site, again:
http://www.robandkriskris.com/votecounter/
Thanks!"When playing a game, the goal is to win, but it is the goal that is important, not the winning." -Reiner Knizia
Ask me about my automatic votecounter, and how you can use it inyourgame!
Check out my 15 minutes of fame on Wait Wait...Don't Tell Me!- Thesp
-
Thesp Supersaint
- Thesp
- Supersaint
- Supersaint
- Posts: 5781
- Joined: November 4, 2004
- Location: Round Rock, TX
- Contact:
FYI - the site is down due to a server upgrade over the weekend, and I'm working on getting things reconfigured properly. I'm going to try and complete the fix by this evening because work is busy and I feel like crap right now, so if it's down now please know it's going to be back up in a while. Thanks!"When playing a game, the goal is to win, but it is the goal that is important, not the winning." -Reiner Knizia
Ask me about my automatic votecounter, and how you can use it inyourgame!
Check out my 15 minutes of fame on Wait Wait...Don't Tell Me!- jasonT1981
-
jasonT1981 Jack of All Trades
- jasonT1981
- Jack of All Trades
- Jack of All Trades
- Posts: 9671
- Joined: June 15, 2009
- Location: Mourne Mountains
- Thesp
-
Thesp Supersaint
- Thesp
- Supersaint
- Supersaint
- Posts: 5781
- Joined: November 4, 2004
- Location: Round Rock, TX
- Contact:
I swear I've been working on this, it's just been a bit of a nightmare. If you have any experience with shared webhosting services, and feel like you have some knowledge you could contribute, I've got a Stack Overflow question open on it.
http://stackoverflow.com/questions/2624 ... weakrefset
Hopefully we'll have this knocked out by tonight!"When playing a game, the goal is to win, but it is the goal that is important, not the winning." -Reiner Knizia
Ask me about my automatic votecounter, and how you can use it inyourgame!
Check out my 15 minutes of fame on Wait Wait...Don't Tell Me!- Thesp
-
Thesp Supersaint
- Thesp
- Supersaint
- Supersaint
- Posts: 5781
- Joined: November 4, 2004
- Location: Round Rock, TX
- Contact:
Weshouldbe back up and running properly! Sorry for the downtime - hopefully there won't be another catastrophic security flaw found in Unix necessitating a server upgrade that breaks my site any time soon.
Please let me know if you encounter any problems. Thanks!"When playing a game, the goal is to win, but it is the goal that is important, not the winning." -Reiner Knizia
Ask me about my automatic votecounter, and how you can use it inyourgame!
Check out my 15 minutes of fame on Wait Wait...Don't Tell Me!- Thesp
-
Thesp Supersaint
- Thesp
- Supersaint
- Supersaint
- Posts: 5781
- Joined: November 4, 2004
- Location: Round Rock, TX
- Contact:
Made a minor tweak to the votecounter. It should now disregard all spoiler text as well, and now adds an italicized "None" if there are no people not voting. Please let me know if you experience any problems. Thanks!"When playing a game, the goal is to win, but it is the goal that is important, not the winning." -Reiner Knizia
Ask me about my automatic votecounter, and how you can use it inyourgame!
Check out my 15 minutes of fame on Wait Wait...Don't Tell Me!- tn5421
-
tn5421 he/himMafia Scum
- tn5421
he/him- Mafia Scum
- Mafia Scum
- Posts: 3000
- Joined: March 30, 2014
- Pronoun: he/him
I'm going to use this for my upcoming game, anything I should be aware of that isn't in the FAQ or here?
Also, how does this work?
In post 21, Thesp wrote:I have a site up and running now. If you want to try it, PM me with a link to your game that meets the formatting standards in the first post.
By the way, youcaninclude the initial information in spoiler tags, so it doesn't take up valuable real estate in your opening post if you like. So, something like:
Code: Select all
[spoiler=Votecounter Settings] [area=Living Players] Bob Carol (replaces Joe) Sue (replaces Tom; Lisa) Julio [/area] [area=Links] [post=#3329643]Day 1[/post] [post=#3329643]Night 1[/post] [post=#3329643]Day 2: Post #532[/post] [/area] [/spoiler]
...will look just like this...
Spoiler: Votecounter Settings
In post 82, Thesp wrote:Made a minor tweak to the votecounter. It should now disregard all spoiler text as well, and now adds an italicized "None" if there are no people not voting. Please let me know if you experience any problems. Thanks!WIP- Thesp
-
Thesp Supersaint
- Thesp
- Supersaint
- Supersaint
- Posts: 5781
- Joined: November 4, 2004
- Location: Round Rock, TX
- Contact:
Nope - Ithinkit should all be covered, but I can't remember if the info on the deadline settings made it into the FAQ or not (check the linked post for further details).
And you can absolutely spoiler the votecounter settings themselves - the votecounter will ignore spoilered text in posts when checking for votes, but it will indeed check in spoilered boxes in the first 5 posts when looking for the settings information. Let me know if you have any trouble setting it up and I'm happy to help. Thanks!"When playing a game, the goal is to win, but it is the goal that is important, not the winning." -Reiner Knizia
Ask me about my automatic votecounter, and how you can use it inyourgame!
Check out my 15 minutes of fame on Wait Wait...Don't Tell Me!- tn5421
-
tn5421 he/himMafia Scum
- tn5421
- xRECKONERx
-
xRECKONERx GD is my Best Man
- xRECKONERx
- GD is my Best Man
- GD is my Best Man
- Posts: 26087
- Joined: March 15, 2009
How hard would it be to add a prod check into this thing?
Like a field in the first post where you put in the prod limit (say, 72 hours) then have this check if anyone hasn't posted and add a prod for them at the bottom of the VC?
MS already has "activity overview" but I was just thinking it'd be a cool feature to havegreen shirt thursdays- tn5421
-
tn5421 he/himMafia Scum
- tn5421
he/him- Mafia Scum
- Mafia Scum
- Posts: 3000
- Joined: March 30, 2014
- Pronoun: he/him
- xRECKONERx
-
xRECKONERx GD is my Best Man
- xRECKONERx
- GD is my Best Man
- GD is my Best Man
- Posts: 26087
- Joined: March 15, 2009
- Thesp
-
Thesp Supersaint
- Thesp
- Supersaint
- Supersaint
- Posts: 5781
- Joined: November 4, 2004
- Location: Round Rock, TX
- Contact:
In post 86, xRECKONERx wrote:How hard would it be to add a prod check into this thing?
Like a field in the first post where you put in the prod limit (say, 72 hours) then have this check if anyone hasn't posted and add a prod for them at the bottom of the VC?
MS already has "activity overview" but I was just thinking it'd be a cool feature to have
Conceivable. I'll put it on the backburner for next update I do. It's a lower priority simply because of the existence of Activity Overview, but I could imagine the utility of having that handled all in one place."When playing a game, the goal is to win, but it is the goal that is important, not the winning." -Reiner Knizia
Ask me about my automatic votecounter, and how you can use it inyourgame!
Check out my 15 minutes of fame on Wait Wait...Don't Tell Me!- insanity018
-
insanity018 Mafia Scum
- insanity018
- Mafia Scum
- Mafia Scum
- Posts: 2256
- Joined: April 9, 2014
- Location: Australia
- tn5421
-
tn5421 he/himMafia Scum
- tn5421
he/him- Mafia Scum
- Mafia Scum
- Posts: 3000
- Joined: March 30, 2014
- Pronoun: he/him
- Thesp
-
Thesp Supersaint
- Thesp
- Supersaint
- Supersaint
- Posts: 5781
- Joined: November 4, 2004
- Location: Round Rock, TX
- Contact:
I ran into an interesting problem this weekend on a votecounter, so I wanted to share the issue with everyone, in case it should come up again.
In the heading post for a game, this line:
Code: Select all
16. Bookitty [size=10][strike]CrashTextDummie[/strike] [strike]Juls[/strike] [strike]farside22[/size][/strike]
...caused a problem for the HTML parser. See the "/size" tag inside the "strike" and "/strike" tags around farside22's name? It properly should be:
Code: Select all
16. Bookitty [size=10][strike]CrashTextDummie[/strike] [strike]Juls[/strike] [strike]farside22[/strike][/size]
...which keeps the strike tags self-contained, and a proper subset of the size tags. When it's switched around like in the first example, BBCode causes the HTML to be a bit malformed, and BeautifulSoup (the HTML parser that my program uses) can't process the post properly and truncates the rest of the post. Since the settings for the votecounter were below this point, it couldn't find the settings and refused to work.
I don't know of a good way of preventing this in the future - you may just have to watch how your tags match up. Let me know if you run into any other issues, and I'm happy to help make votecounts easy for you in your game!"When playing a game, the goal is to win, but it is the goal that is important, not the winning." -Reiner Knizia
Ask me about my automatic votecounter, and how you can use it inyourgame!
Check out my 15 minutes of fame on Wait Wait...Don't Tell Me!- quadz08
-
quadz08 Jack of All Trades
- quadz08
- Jack of All Trades
- Jack of All Trades
- Posts: 5619
- Joined: May 30, 2010
- Location: where the wily things are
- BROseidon
-
BROseidon Expert Marxman
- BROseidon
- Expert Marxman
- Expert Marxman
- Posts: 8242
- Joined: April 18, 2013
- Happy Scumday!
In post 93, quadz08 wrote:the correct answer is "don't suck at HTML tags," I think.
Too hard, cannot be done.- tn5421
-
tn5421 he/himMafia Scum
- tn5421
he/him- Mafia Scum
- Mafia Scum
- Posts: 3000
- Joined: March 30, 2014
- Pronoun: he/him
tl;dr if people nest their tags then problems happen.
Highly recommend that you put the settings spoiler at the top of the post and have formatting below it. That should stop all but the spoiler code being malformed from having any negative effects.
I personally use post #2 to put settings in and record confirmationsWIP- fferyllt
-
fferyllt Titan of Trajectory
- fferyllt
- Titan of Trajectory
- Titan of Trajectory
- Posts: 20493
- Joined: December 28, 2012
- Location: Left Coast
Is anyone else having problems with the vote counter today? I've been getting the following error since sometime last night:
500 (Page Unavailable)
Sorry, but the requested page is unavailable due to a server hiccup.
Please let Robin know so he can see what the trouble is and get it fixed. Thanks!
Click here to return to the website.- Thesp
-
Thesp Supersaint
- Thesp
- Supersaint
- Supersaint
- Posts: 5781
- Joined: November 4, 2004
- Location: Round Rock, TX
- Contact:
I just looked into this. Your settings look correct, so I can't imagine that's an issue. It also seems to be working on other games. I imagine it's timing out, as might happen if it tries to go over too many pages to count votes. A workaround might be to find the oldest vote, and trick the votecounter by telling it that Day 1 begins at that post, rather than from the first page. That would reduce its overhead in pulling pages from the site, and possibly avoid the timeout."When playing a game, the goal is to win, but it is the goal that is important, not the winning." -Reiner Knizia
Ask me about my automatic votecounter, and how you can use it inyourgame!
Check out my 15 minutes of fame on Wait Wait...Don't Tell Me!- fferyllt
-
fferyllt Titan of Trajectory
- fferyllt
- Titan of Trajectory
- Titan of Trajectory
- Posts: 20493
- Joined: December 28, 2012
- Location: Left Coast
I moved the setting of Day 1 start to post 618. I'm still getting the time-out message. The last successful vote count is in post 1757.
I also have a vote that isn't being picked up in post 1063. I can't figure out what's wrong with the vote or the settings for that one.- Thesp
-
Thesp Supersaint
- Thesp
- Supersaint
- Supersaint
- Posts: 5781
- Joined: November 4, 2004
- Location: Round Rock, TX
- Contact:
In post 98, fferyllt wrote:I moved the setting of Day 1 start to post 618. I'm still getting the time-out message. The last successful vote count is in post 1757.
I also have a vote that isn't being picked up in post 1063. I can't figure out what's wrong with the vote or the settings for that one.
I don't know if the settings were changed or not, but IthinkI've figured out the solution. In the settings, there was a line that read like this:
Code: Select all
Aneninen (replaces aninem; Aneninen)
I took the liberty of editing it to read like this:
Code: Select all
Aneninen (replaces aninem)
...since the exact same spelling of "Aneninen" appears as both the original player and the replacement. It seems to work now. I don't know if that setting was changed between now and your last vote count, but that may have contributed to the breaking.
That said, I have no idea why it's missing Post 1063, and I'll look deeper into that, because it really should pick up vote tags easily. That's really weird."When playing a game, the goal is to win, but it is the goal that is important, not the winning." -Reiner Knizia
Ask me about my automatic votecounter, and how you can use it inyourgame!
Check out my 15 minutes of fame on Wait Wait...Don't Tell Me! - Thesp
Copyright © MafiaScum. All rights reserved.
- fferyllt
- Thesp
- fferyllt
- tn5421
- BROseidon
- quadz08
- Thesp
- tn5421
- insanity018
- Thesp
- xRECKONERx
- tn5421
- xRECKONERx
- Thesp
- tn5421
- Thesp
- Thesp
- Thesp
- jasonT1981
- Thesp
- Thesp
- PokerFace