Mafia Bot
- Narninian
-
Narninian Contracts STDs
- Narninian
- Contracts STDs
- Contracts STDs
- Posts: 1653
- Joined: March 11, 2004
- Location: Santa Barbara, California
Mafia Bot
I've programmed a bot that will send out roles for 2 player (confrontation) 3 player (endgame) and 4+5 player(lyncher) mafia.
Its an AIM bot - so it would would require AIM names to use it.
How it works: The user says a command (currently newlynchergame) to start the process - they then start inputting names, and say /done when all the names are put in. The bot will determine which game is being played (confrontation, endgame, or lyncher) mafia and send Instant messages to the people with randomly distributed roles.
I didn't have the chance to playtest it yet - so I'm hoping some of you people with AIM SNs will help me with that (if you dont have AIM you should get it anyway!) tommorow.
The reason I made it - was so we could play with 1 more person (no need for a mod - the mafia would just IM who they killed and that person would reveal their own role). One flaw I can think of is it rely's on the honor system for the lyncher - but i don't see that as a problem with the people who chat on mafiascum - plus I might be able to figure out how to log it somehow. If the IM thing works - I will try to get the bot to work with AIM Chat - so to join a game players simply have to say /in, and the bot records those users until somebody says /done.
What do you guys think - Is this a worthy project? It seems like we're always short a couple people in chat - this would help out the process. Thoughts? Comment? Suggestions?The extra in is for /in- shadyforce
-
shadyforce U-S-E_T-H-E_F-O-R-C-E
- shadyforce
- U-S-E_T-H-E_F-O-R-C-E
- U-S-E_T-H-E_F-O-R-C-E
- Posts: 951
- Joined: August 21, 2003
- Location: Dublin
- Narninian
-
Narninian Contracts STDs
- Narninian
- Contracts STDs
- Contracts STDs
- Posts: 1653
- Joined: March 11, 2004
- Location: Santa Barbara, California
wheeee! I'm online now and I need playtesters! AIM: Narninian if you want to help me play test.
Trail 1: FAILED - User blocked
Trail 2: Succeeded with 2 player mafia with my own screennames
Trail 3: AIM express user blocked, doesnt work with Shadyfours
Trail 4: Succeeded with 2 player mafia with another AIM User, 3 player mafia sends out a message to one person and then stops.
Trial 5: Making Progress, Message sent to player 1 and player 2 - error for player 3 message
Trail 6: SUCCESS!!!! Thank you Nanookthewolf, Willows_Weep, and Shadyforce for testing up to this point. 2 player and 3 player mafia now work - Getting 4 player and 5 player to work should be a cynch.
currently coding 4 player mafia.The extra in is for /in- jeep
-
jeep Cappo Bastone
- jeep
- Cappo Bastone
- Cappo Bastone
- Posts: 747
- Joined: April 21, 2002
- Location: Portland, OR
Dourgrim's wish list with markup and additions:- Mod should be able to set a custom list of names (list of people who are alive in the game, names must notbe limited to the SMs of the players since so many players have such hard-to-type SNs) with which the bot will tally votes automatically. It should be easy for the Mod to remove names from that list as players die, etc.
/assign <alias> <playername>;; I also think it can match the beginning unique string in a name...
- Bot reads votes and on lynch publishes lynchee's role
/vote <name|alias|abbreviation>
/unvote
- Mod should be able to tell the bot to publish a votecount to the channel with a simple IM command.
/votecount [full]
- Mod should be able to set a deadline and have the bot enforce it via a timer of some sort. (If the bot could send regular reminders as to time remaining before deadline too, that'd be ultra-cool!)
/deadline <minutes> ??
- Mod should be able to easily remove names from the "alive" list (after processing a Night, for example).
/kill <name>
- Bot should be able to publish to the channel a list of alive/dead players (with role names. even?) with a simple IM'd command from the Mod.
/setup [display|<preconfigured>|<setupstring>]
<setupstring> = Mafia=>#, Townie=>#, <sanity>Cop=>#, Doc=>#
<sanity> = Sane|Insane|Naive|Paranoid (cap letters are required, rest optional)
<preconfigured> = Groza|Dethy|...
- Bot reads commands for in
/in
- Bot randomizes roles and sends them out
- Handle night actions?
- jeep
-
jeep Cappo Bastone
- jeep
- Cappo Bastone
- Cappo Bastone
- Posts: 747
- Joined: April 21, 2002
- Location: Portland, OR
Give me pre-defined setups:
Code: Select all
Dethy: Players: 5 1 Sane_cop 1 Insane_cop 1 Paranoid_cop 1 Naive_Cop 1 Mafia1 Special rules: cop head start DoubleDeth Players: 10 2 Sane_cop 2 Insane_cop 2 Paranoid_cop 2 Naive_Cop 2 Mafia1 Groza Players 12 2 Sane_cop 2 Insane_cop 2 Paranoid_cop 2 Naive_Cop 1 Retired Cop (takes sanity of replacement) 3 Mafia1
- cuban smoker
-
cuban smoker An Acquired Taste
- cuban smoker
- An Acquired Taste
- An Acquired Taste
- Posts: 493
- Joined: August 19, 2002
- Location: Kitchener, Ontario
- jeep
-
jeep Cappo Bastone
- jeep
- Cappo Bastone
- Cappo Bastone
- Posts: 747
- Joined: April 21, 2002
- Location: Portland, OR
Sure... We want these to be the "common" set ups that people will want to replay (try to get a set up for all ranges 4-10) and will eventually be modded by the bot.
I would also like a set of rules for random setups... so we have 8 players, but don't want to play a "known" set up..
I was thinking something like:- 20-30% mafia (minimum 1)
Remaining players get assigned a random role of:
- 30% chance of being Cop (even chance of Sane, Insane, Paranoid, Naive)
- 20% chance at being Doctor
- Else: Townie
- mathcam
-
mathcam Captain Observant
- mathcam
- Captain Observant
- Captain Observant
- Posts: 6116
- Joined: November 22, 2002
- cuban smoker
-
cuban smoker An Acquired Taste
- cuban smoker
- An Acquired Taste
- An Acquired Taste
- Posts: 493
- Joined: August 19, 2002
- Location: Kitchener, Ontario
- jeep
-
jeep Cappo Bastone
- jeep
- Cappo Bastone
- Cappo Bastone
- Posts: 747
- Joined: April 21, 2002
- Location: Portland, OR
6 player dethy with doctor is way unfair to mafia... The best case for mafia in 5 player is to get to 3 player end game with one cop knowing he's mafia. It makes it a 50/50 shot for him. And it requires a little luck in who/what you claim.
With 6 player you have confirmed innocent Day 1. (If Doc has counter claim, then you lynch the two docs day 1 and 2 and town wins.
-JEEP- Flying Dutchman
-
Flying Dutchman I never think
- Flying Dutchman
- I never think
- I never think
- Posts: 1941
- Joined: November 21, 2003
- Location: The land of clogs, tulips, mills, and cheese!
- Wacky
-
Wacky Goon
- Wacky
- Goon
- Goon
- Posts: 866
- Joined: July 16, 2003
- Location: Sydney, Australia
- jeep
-
jeep Cappo Bastone
- jeep
- Cappo Bastone
- Cappo Bastone
- Posts: 747
- Joined: April 21, 2002
- Location: Portland, OR
- Wacky
-
Wacky Goon
- Wacky
- Goon
- Goon
- Posts: 866
- Joined: July 16, 2003
- Location: Sydney, Australia
- jeep
-
jeep Cappo Bastone
- jeep
- Cappo Bastone
- Cappo Bastone
- Posts: 747
- Joined: April 21, 2002
- Location: Portland, OR
- mith
-
mith Godfather
- mith
- Godfather
- Godfather
- Posts: 9267
- Joined: March 27, 2002
- Location: McKinney, TX
- Contact:
- jeep
-
jeep Cappo Bastone
- jeep
- Cappo Bastone
- Cappo Bastone
- Posts: 747
- Joined: April 21, 2002
- Location: Portland, OR
- PolarBoy
-
PolarBoy Sir Not-Appearing-In-This-Mafia
- PolarBoy
- Sir Not-Appearing-In-This-Mafia
- Sir Not-Appearing-In-This-Mafia
- Posts: 358
- Joined: February 28, 2003
For the last stinkin' time: Lion King Mafia was a theoretical exercise in BAD theme design.Wacky wrote:We should have Darth Vader and Flying Pumpkins and Lion King Mafia and ....
As far as the bot is concerned, coolness. If I were able to use AIM I would be all over that. A forum bot would be neat. A "mixed theme" mode could be hilarious. The bot would have a gigantic pool of themed roles to pull from, and randomly grab them for the players. That could be awesome.MUNSCM Delegate for the United Kingdom
Check out the [url=http://www.mafiascum.net/cgi-bin/wiki.pl?HomePage]ScumWiki[/url], and while you're at it, check out [url=http://www.mafiascum.net/cgi-bin/wiki.pl?DocumentModeMafia]DocumentModeMafia[/url]- shadyforce
-
shadyforce U-S-E_T-H-E_F-O-R-C-E
- shadyforce
- U-S-E_T-H-E_F-O-R-C-E
- U-S-E_T-H-E_F-O-R-C-E
- Posts: 951
- Joined: August 21, 2003
- Location: Dublin
Well, it would be a cool idea, but is it really that useful? It seems to me on this site (looking at the mini mod queues) that there is an abundance of mods, not players, unlike other gaming sites.[size=75][color=darkblue]I'm never wrong... well I was wrong once but that was when I thought I'd made a mistake but hadn't.[/color][/size]- PolarBoy
-
PolarBoy Sir Not-Appearing-In-This-Mafia
- PolarBoy
- Sir Not-Appearing-In-This-Mafia
- Sir Not-Appearing-In-This-Mafia
- Posts: 358
- Joined: February 28, 2003
yeah, I was mainly thinking for AIM. I think most people would rather play chat games than mod them. I also think that a chat mixed theme game could be a good change of pace from the highly theoretical open setup games that we usually do.MUNSCM Delegate for the United Kingdom
Check out the [url=http://www.mafiascum.net/cgi-bin/wiki.pl?HomePage]ScumWiki[/url], and while you're at it, check out [url=http://www.mafiascum.net/cgi-bin/wiki.pl?DocumentModeMafia]DocumentModeMafia[/url]- jeep
-
jeep Cappo Bastone
- jeep
- Cappo Bastone
- Cappo Bastone
- Posts: 747
- Joined: April 21, 2002
- Location: Portland, OR
- shadyforce
-
shadyforce U-S-E_T-H-E_F-O-R-C-E
- shadyforce
- U-S-E_T-H-E_F-O-R-C-E
- U-S-E_T-H-E_F-O-R-C-E
- Posts: 951
- Joined: August 21, 2003
- Location: Dublin
- jeep
-
jeep Cappo Bastone
- jeep
- Cappo Bastone
- Cappo Bastone
- Posts: 747
- Joined: April 21, 2002
- Location: Portland, OR
- shadyforce
-
shadyforce U-S-E_T-H-E_F-O-R-C-E
- shadyforce
- U-S-E_T-H-E_F-O-R-C-E
- U-S-E_T-H-E_F-O-R-C-E
- Posts: 951
- Joined: August 21, 2003
- Location: Dublin
- shadyforce
Copyright © MafiaScum. All rights reserved.
- jeep
- shadyforce
- jeep
- PolarBoy
- shadyforce
- PolarBoy
- jeep
- mith
- jeep
- Wacky
- jeep
- Wacky
- Flying Dutchman
- jeep
- cuban smoker
- mathcam
- jeep
- cuban smoker
- jeep
- jeep
- Narninian
- shadyforce
- Narninian