Mafia Vote Count Bot
- ironstove
-
ironstove Mafia Scum
- ironstove
- Mafia Scum
- Mafia Scum
- Posts: 1742
- Joined: July 22, 2016
- Contact:
Mafia Vote Count Bot
Hi all,
I'm not sure if this is the place to put it, but I don't know if MS currently has an automated method for counting votes. None that I'm aware of at least.
On a different forum I am on which I play mafia, I created a semi-crude vote-count bot that runs on the client side that utilizes chrome web driver + python to parse through a game thread and keep track of votes for the host.
Additional functions the bot can also do are post vote counts on demand from any user, and declare when hammer has been reached.
If there is interest or support from the staff on implementing this, I can modify the existing code to fit for mafia scum.
However, by support what I mean is I would ideally like to explore the idea of eventually moving the bot to run server-side rather than having the hosts download the bot on their end and run it to count/display votes. The reason I created the bot client side on the forum I am using is because the site-admins were providing no help to implement the bot on the back-end.
Back-end support would make the bot run more smoothly, require less updates/maintenance/bugs due to the removal of the chrome webdriver layer. I would however require a bit of guidance if the back-end is not in django or some python/javascript-related platform- vonflare
-
vonflare doot
- vonflare
- doot
- doot
- Posts: 3093
- Joined: January 1, 2014
- Location: Blue Gatorade Factory
thesp made one a while ago, but it's external. A backend votecounter would be invaluable, if it works and the admins approve.
http://www.robandkriskris.com/votecounter/THIS POST IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.- Alisae
-
Alisae lolbalance
- Alisae
- borkjerfkin
-
borkjerfkin He/HimXenophile
- borkjerfkin
He/Him- Xenophile
- Xenophile
- Posts: 10337
- Joined: April 3, 2012
- Pronoun: He/Him
- Location: Madison, WI
If you're interested in doing dev work for the site in general (including this project) PM me with your email and I can get you invited to the developer slack where we can hash out more details. I'm obviously not an admin, but I'm an active member of the dev team.
(That goes for anyone else as well)beefycheese- MathBlade
-
MathBlade He/HimTechnical Support
- MathBlade
He/Him- Technical Support
- Technical Support
- Posts: 42761
- Joined: September 9, 2013
- Pronoun: He/Him
- Location: Western US
PM sentScumBlade's eloquent performance left me utterly disoriented, debased, depraved and sent me spiraling into a horrific murky abyss with emotional turmoil and immense despair as my only companions until slowly I suffocate in my own gloom, surrounded by failure. I will never recover. -- Zachstralkita about Mini 1841
GTKAS -- MathBlade- Gamma Emerald
-
Gamma Emerald AnySurvivor
- Gamma Emerald
Any- Survivor
- Survivor
- Posts: 69101
- Joined: August 9, 2016
- Pronoun: Any
- Location: Hell on Earth (aka Texas)
- jasonT1981
-
jasonT1981 Jack of All Trades
- jasonT1981
- Jack of All Trades
- Jack of All Trades
- Posts: 9671
- Joined: June 15, 2009
- Location: Mourne Mountains
I used this back when I modded. It is great, the only issue is if someone spells the name of the person wrong, or shortens it, the bot will not pick up the vote.In post 1, vonflare wrote:thesp made one a while ago, but it's external. A backend votecounter would be invaluable, if it works and the admins approve.
http://www.robandkriskris.com/votecounter/- PokerFace
-
PokerFace Too Useful
- PokerFace
- Too Useful
- Too Useful
- Posts: 6231
- Joined: July 20, 2007
- Location: Ohio, USA
- Contact:
^or the bot will pick it up as a vote for someone else.
I use thesp's bot toreviewmy counting. Not make the calls for me.
I count the votes then run the bot to see if I missed anything. As you mod the game, you can correct spelling errors and that will fix the bot's errors if there be any.When I joined this site, I was a software tester for mobile business applications and the song PokerFace was not yet written by Lady Gaga
Now I test lottery and gambling software as my job. It's funny how my life has turned out. Somewhere a Time Traveler is laughing madly- Nancy Drew 39
-
Nancy Drew 39 She/HerNot that Inno Scent
- Nancy Drew 39
She/Her- Not that Inno Scent
- Not that Inno Scent
- Posts: 14979
- Joined: January 14, 2018
- Pronoun: She/Her
- Location: HYDRAs 4EVA!!!
- Contact:
*Thanks thread topic***********We just need to tread carefully because if you slip up around her as scum she notices and will tear your spine out and slap you to death with it. (I'm slightly scared of Nancy)~the worst*******Nancy is pretty heavenly ngl~CheekyTeekyNancy-scum feels like a hot knife slicing through butter. Nancy-town feels like a magnifying glass in the sun glaring down at an insect.~Taly- Alisae
-
Alisae lolbalance
- Alisae
- lolbalance
- lolbalance
- Posts: 47097
- Joined: October 31, 2016
- Location: Cali~ (PST)
- Nancy Drew 39
-
Nancy Drew 39 She/HerNot that Inno Scent
- Nancy Drew 39
She/Her- Not that Inno Scent
- Not that Inno Scent
- Posts: 14979
- Joined: January 14, 2018
- Pronoun: She/Her
- Location: HYDRAs 4EVA!!!
- Contact:
I hope this tool is implemented soon. That’s really one of my main frustrations with games on here, not being able to check the current votecount often enough.**********We just need to tread carefully because if you slip up around her as scum she notices and will tear your spine out and slap you to death with it. (I'm slightly scared of Nancy)~the worst*******Nancy is pretty heavenly ngl~CheekyTeekyNancy-scum feels like a hot knife slicing through butter. Nancy-town feels like a magnifying glass in the sun glaring down at an insect.~Taly - Nancy Drew 39
Copyright © MafiaScum. All rights reserved.
- Alisae
- Nancy Drew 39
- PokerFace
- jasonT1981
- Gamma Emerald
- MathBlade
- borkjerfkin
- vonflare
- ironstove