In post 22, xRECKONERx wrote:Suggestion: allow for a way to use manual nicknames for players? For example, a lot of longer names get abbreviated (DrippingGoofball -> DGB) and it's kind of a pain to ask players to just use the full name every time.
I see the issue popping up: when people vote "CDB", it's more likely to think that's "CooLDoG" than "ChannelDelibird", probably because the letter "D" is closer to the beginning of the word in CooLDoG's name than it is in ChannelDelibird's. In any case, the "replaces" trick above should handle it easily.
T-Bone wrote:This looks really cool. Great work.
Thanks!
"When playing a game, the goal is to win, but it is the goal that is important, not the winning." -
Is there a way to make it not care about capitalization? Because the site won't allow DGB and dgb as separate usernames... I mean, I guess there's notscience and Nobody Special, but I see both of them called arbitrary capitalizations as it is. Just seems simpler.
(wait dammit that means I must manually quote in quick post, I fail.
Holder of the Longest Continuous Weekly Mafiascum Post Record. 1 July 2012 - 16 Feb 2023
*It may be held by someone else if you discount the major downtime in 2012 and 2014, I'm not doing the research.
I'll fix it to have it ignore code tags sometime in the next week, along with another minor tweak in processing setup tags. And thanks for the kind words! I hope it becomes a standard tool that moderators enjoy using to make their lives easier.
"When playing a game, the goal is to win, but it is the goal that is important, not the winning." -
I'm attempting to use this, but when I try to edit the day start post into the vote count data, it keeps switching the actual post link on me. (To the opening post link.) What's going on here?
I'm not sure I understand what you're seeing. What game are you using this on? I can check out the code in your opening post and see if there's any typos, or help you draft the settings if you haven't done so.
"When playing a game, the goal is to win, but it is the goal that is important, not the winning." -
In post 38, xRECKONERx wrote:Does the VC check to see if there's been a hammer already? IE, I come and run a VC on a thread where someone hammered then someone else unvoted later
It is designed to do so, yes. It will actually give you the
current
vote, but it throws up a warning that it thinks there was a hammer vote at Post XXX.
"When playing a game, the goal is to win, but it is the goal that is important, not the winning." -
Also, in getting Zachrulezz set up for his game, he asked me about No Lynch votes, which I shamefully neglected to incorporate in my votecounter. I will put that in at some point, hopefully this Sunday (but I'm not sure exactly when).
"When playing a game, the goal is to win, but it is the goal that is important, not the winning." -
do 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 to
actually 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:
In post 44, Thesp wrote:I've done an update to the votecounter! It now:
1. Processes No Lynch votes.
It
should
do 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 to
actually 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:
Also, as a note... I'm currently using it in a game. It processed this as a vote for the player '4nxi3ty':
unvote
vote: zzzx
When I edited zzzx to be ZZZX, it processed it correctly for that player.
This is easily fixed by putting both the vote string and the possible matches in lowercase.
Also, I volunteer.
I've pondered the utility of this, and I really need to do some benchmarking, because it's already a bit slow (in part because I'm on shared webhosting). Parsing a 21 page game for votes takes about ~13 seconds of computation time. I've wondered if it's worth adding the additional overhead of lowercasing every votee, and running the final responses through another dictionary to match the lowercased player names to the correctly cased counterparts. (I also had illusions that players would generally be better about correct casing and by preserving casing, I'd more likely pick up abbreviations like "STD" for "Save the Dragons" better, which has shown some degree of success. I may be wrong in that regard, though.)
I'm not sure if my concerns about performance and the utility of preserving case are warranted or not, though.
And I'm glad people are enjoying the votecounter! Now that I've gotten to use it in a game I'm modding, I've found it has saved me immeasurable amounts of work and has made it trivially easy to post a votecount on every page.
"When playing a game, the goal is to win, but it is the goal that is important, not the winning." -