• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 14:26
CEST 20:26
KST 03:26
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Code S RO12 Preview: Maru, Trigger, Rogue, NightMare12Code S RO12 Preview: Cure, sOs, Reynor, Solar15[ASL19] Ro8 Preview: Unyielding3Official Ladder Map Pool Update (April 28, 2025)17[ASL19] Ro8 Preview: Rejuvenation8
Community News
Code S Season 1 - RO12 Group A Results (2025)1$1,250 WardiTV May [May 6th-May 18th]4Clem wins PiG Sty Festival #66Weekly Cups (April 28-May 4): ByuN & Astrea break through1Nexon wins bid to develop StarCraft IP content, distribute Overwatch mobile game29
StarCraft 2
General
Code S RO12 Preview: Maru, Trigger, Rogue, NightMare How does the number of casters affect your enjoyment of esports? Code S Season 1 - RO12 Group A Results (2025) Nexon wins bid to develop StarCraft IP content, distribute Overwatch mobile game Code S RO12 Preview: Cure, sOs, Reynor, Solar
Tourneys
[GSL 2025] Code S:Season 1 - RO12 - Group B GSL 2025 details announced - 2 seasons pre-EWC 2025 GSL Season 2 (Qualifiers) [GSL 2025] Code S:Season 1 - RO12 - Group A $1,250 WardiTV May [May 6th-May 18th]
Strategy
[G] PvT Cheese: 13 Gate Proxy Robo Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 472 Dead Heat Mutation # 471 Delivery Guaranteed Mutation # 470 Certain Demise Mutation # 469 Frostbite
Brood War
General
[G] GenAI subtitles for Korean BW content BGH auto balance -> http://bghmmr.eu/ StarCraft & BroodWar Campaign Speedrun Quest ToSsGirL stream thread Battlenet Game Lobby Simulator
Tourneys
[Megathread] Daily Proleagues [ASL19] Ro8 Day 4 [ASL19] Ro8 Day 2 [ASL19] Ro8 Day 3
Strategy
[G] How to get started on ladder as a new Z player Creating a full chart of Zerg builds [G] Mineral Boosting
Other Games
General Games
What do you want from future RTS games? Stormgate/Frost Giant Megathread Grand Theft Auto VI Nintendo Switch Thread Battle Aces/David Kim RTS Megathread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
LiquidLegends to reintegrate into TL.net
Heroes of the Storm
Simple Questions, Simple Answers
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia TL Mafia Community Thread TL Mafia Plays: Diplomacy TL Mafia: Generative Agents Showdown Survivor II: The Amazon
Community
General
US Politics Mega-thread Elon Musk's lies, propaganda, etc. Things Aren’t Peaceful in Palestine UK Politics Mega-thread Russo-Ukrainian War Thread
Fan Clubs
Serral Fan Club
Media & Entertainment
Movie Discussion! Anime Discussion Thread [Books] Wool by Hugh Howey Surprisingly good films/Hidden Gems
Sports
2024 - 2025 Football Thread NHL Playoffs 2024 NBA General Discussion Formula 1 Discussion
World Cup 2022
Tech Support
Cleaning My Mechanical Keyboard How to clean a TTe Thermaltake keyboard? Logitech mx518 cleaning.
TL Community
The Automated Ban List TL.net Ten Commandments
Blogs
SECOND COMMING
XenOsky
What High-Performing Teams (…
TrAiDoS
WombaT’s Old BW Terran Theme …
WombaT
Heero Yuy & the Tax…
KrillinFromwales
BW PvZ Balance hypothetic…
Vasoline73
Test Entry for subject
xumakis
Racial Distribution over MMR …
Navane
Customize Sidebar...

Website Feedback

Closed Threads



Active: 9942 users

MafiaTools

Forum Index > TL Mafia
Post a Reply
1 2 3 Next All
Xatalos
Profile Joined January 2011
Finland9675 Posts
August 26 2014 17:47 GMT
#1
Hello TL Mafia players!

Around the start of this year I made the Java program for creating somewhat balanced "normal" setups of roles ( http://www.teamliquid.net/forum/mafia/436988-automatic-balance-tester ). It probably hasn't seen a huge amount of use (since the hosts are mostly pretty experienced players anyway and better judges of balance than a simple algorithm), but it was quite fun to create it. And maybe it has helped some hosts - at least it was interesting to discuss about balance in the feedback thread for the program.

A few months ago I had a university course for creating a simple database and a website to make use of it. I decided to name my project "MafiaTools" and to make it something potentially useful for Mafia players. Originally I had various ideas for what to do, but I ended up with a simple feature: a note application for keeping track of each player in a game of Mafia - specifically their posting and things related to role claims / usage.

I finished the course already some time ago, but it wasn't yet quite ready for actual use. In the recent days I've been making changes to make the website more practically usable and now it should be ready for actual use.

Of course I haven't really used *that* much time on the project and there's certainly always room for improvement. If you have suggestions, please share them in this thread. My studies will be starting pretty soon though, so I may not have time to make major changes in the near future.

In any case I decided that this should be a good time to share the website for testing out with actual users (people on this forum playing real games of Mafia). I've done a bit of testing myself already and it feels like reasonably useful especially at the start of a game. Later on it tends to become less useful as the reads become stronger and fewer people remain alive.

Here's the website: http://t-teesalmi.users.cs.helsinki.fi/MafiaTools/

Registering is as simple as entering a username and password. The password is hashed with PBKDF2 so it's impossible for anyone to find out what password you use for the website. On the other hand, if you forget your own password, it's also impossible to recover your account. That's why I'd recommend using a reasonably simple password.

Once you've registered, you can create games and then add players to those games. The game view includes the players' names as well as various pieces of information about them (points, play notes and role notes).

Points: Kind of a town/mafia ranking based on your own opinion. The players in the game view are ordered according to these points and they can help you to get a "bigger picture" of how suspicious each player in the game is.

Play notes: This is where you write notes about each player's posting style, relations to other players, voting patterns and stuff like that. You can also insert HTML to this text field (things like bold <b>text</b> or links). There's a also a specific button to conveniently enter HTML links into this text field.

Role notes: This is where you write notes about each player's bluetells, claimed roles, role usage and stuff like that. You can also insert HTML to this text field (things like bold <b>text</b> or links). There's a also a specific button to conveniently enter HTML links into this text field.

Not sure how useful this will be, but it should be worth at least trying out as a learning experience.

Huge thanks to raynpelikoneet for helping with the testing and for making numerous suggestions for the website! Also thanks to gonzaw for helping with the early phase of this project.
"The opportunity to secure ourselves against defeat lies in our own hands, but the opportunity of defeating the enemy is provided by the enemy himself." - Sun Tzu
kushm4sta
Profile Blog Joined July 2011
United States8878 Posts
August 26 2014 19:22 GMT
#2
why did you use java
OMGUS.net, kush sex blogs every friday night
Xatalos
Profile Joined January 2011
Finland9675 Posts
August 26 2014 19:28 GMT
#3
On August 27 2014 04:22 kushm4sta wrote:
why did you use java


Haha :D Why not?
"The opportunity to secure ourselves against defeat lies in our own hands, but the opportunity of defeating the enemy is provided by the enemy himself." - Sun Tzu
kushm4sta
Profile Blog Joined July 2011
United States8878 Posts
August 26 2014 19:54 GMT
#4
cause if you are on a mac you have to use safari
OMGUS.net, kush sex blogs every friday night
Xatalos
Profile Joined January 2011
Finland9675 Posts
August 26 2014 20:08 GMT
#5
https://support.mozilla.org/en-US/kb/use-java-plugin-to-view-interactive-content#w_mac-os-x-10-7-and-above ?
"The opportunity to secure ourselves against defeat lies in our own hands, but the opportunity of defeating the enemy is provided by the enemy himself." - Sun Tzu
Xatalos
Profile Joined January 2011
Finland9675 Posts
August 26 2014 20:14 GMT
#6
Hm. It works just fine on iPhone so I don't think you even need to have Java installed?
"The opportunity to secure ourselves against defeat lies in our own hands, but the opportunity of defeating the enemy is provided by the enemy himself." - Sun Tzu
Xatalos
Profile Joined January 2011
Finland9675 Posts
August 26 2014 20:39 GMT
#7
I also tested it with Firefox on my Macbook Air and it worked fine. Are you sure it doesn't work outside of Safari for you?
"The opportunity to secure ourselves against defeat lies in our own hands, but the opportunity of defeating the enemy is provided by the enemy himself." - Sun Tzu
Xatalos
Profile Joined January 2011
Finland9675 Posts
August 26 2014 22:40 GMT
#8
Well, testing this would naturally work best while playing an actual game. Next games coming up seem to be the Cell + Mission games. So if any of the players in those games want to use it, that could be good.
"The opportunity to secure ourselves against defeat lies in our own hands, but the opportunity of defeating the enemy is provided by the enemy himself." - Sun Tzu
Professor Apathy
Profile Joined August 2014
Spain151 Posts
Last Edited: 2014-08-26 22:59:27
August 26 2014 22:54 GMT
#9
I'll give it a try and can post thoughts on it once the game's over if you want. I haven't looked into it yet but one basic question:
Is it possible for other people to search for other people who have registered? Just from a smurfs point of view, do I have to be afraid of people looking at the email I signed up with? Can I just sign up with my real accountname from TL?

Oh don't even need an email but the question still remains for the name I register with
Xatalos
Profile Joined January 2011
Finland9675 Posts
August 26 2014 23:38 GMT
#10
On August 27 2014 07:54 Professor Apathy wrote:
I'll give it a try and can post thoughts on it once the game's over if you want. I haven't looked into it yet but one basic question:
Is it possible for other people to search for other people who have registered? Just from a smurfs point of view, do I have to be afraid of people looking at the email I signed up with? Can I just sign up with my real accountname from TL?

Oh don't even need an email but the question still remains for the name I register with


There's no way to view the usernames except by looking directly at the database information, of which only me and raynpelikoneet should have the knowledge of doing currently. I could completely disable the option of doing that too if you're worried about information leaks? Probably I should just in case. Passwords are 100% impossible to look for though since they're hashed.
"The opportunity to secure ourselves against defeat lies in our own hands, but the opportunity of defeating the enemy is provided by the enemy himself." - Sun Tzu
Professor Apathy
Profile Joined August 2014
Spain151 Posts
Last Edited: 2014-08-27 00:28:22
August 27 2014 00:21 GMT
#11
No need to disable that if that's the case. As long as it's not out in public à la "people online right now: XYZ" or "newest registered: XYZ". There shouldn't be an issue as it should be impossible to link people who are currently playing on TL in whatever game and people on your site anyways. Unless of course I happen to be one the first guys to sign up and it were to be out in the open
Just asked to make sure of it.

first suggestion: When registering, ask for the password twice and only accept it when it's identical. I found myself typing it 5 times to make sure I don't mistype with it being lost if I typo'ed
Xatalos
Profile Joined January 2011
Finland9675 Posts
August 27 2014 00:24 GMT
#12
On August 27 2014 09:21 Professor Apathy wrote:
No need to disable that if that's the case. As long as it's not out in public à la "people online right now: XYZ" or "newest registered: XYZ" there shouldn't be an issue. Just asked to make sure of it.


Haha OK I think I'll disable it just in case in the near future though. For example I accidentally saw your "real" username when I just went to check the database. It would be bad if an actual game was screwed because one of the players found their way into the database contents or something like that.
"The opportunity to secure ourselves against defeat lies in our own hands, but the opportunity of defeating the enemy is provided by the enemy himself." - Sun Tzu
Xatalos
Profile Joined January 2011
Finland9675 Posts
August 27 2014 00:30 GMT
#13
On August 27 2014 09:21 Professor Apathy wrote:
No need to disable that if that's the case. As long as it's not out in public à la "people online right now: XYZ" or "newest registered: XYZ". There shouldn't be an issue as it should be impossible to link people who are currently playing on TL in whatever game and people on your site anyways. Unless of course I happen to be one the first guys to sign up and it were to be out in the open
Just asked to make sure of it.

first suggestion: When registering, ask for the password twice and only accept it when it's identical. I found myself typing it 5 times to make sure I don't mistype with it being lost if I typo'ed


Haha yeah that's actually a good addition. Btw you should maybe make a new post instead of editing the old post since it's not as easy to notice you updating that post.
"The opportunity to secure ourselves against defeat lies in our own hands, but the opportunity of defeating the enemy is provided by the enemy himself." - Sun Tzu
raynpelikoneet
Profile Joined April 2007
Finland43268 Posts
August 27 2014 14:06 GMT
#14
On August 27 2014 08:38 Xatalos wrote:
There's no way to view the usernames except by looking directly at the database information, of which only me and raynpelikoneet should have the knowledge of doing currently.

I am pretty sure i do not have the knowledge to do this or if i do i do not know about it. ^^
table for two on a tv tray
Xatalos
Profile Joined January 2011
Finland9675 Posts
August 27 2014 15:18 GMT
#15
On August 27 2014 23:06 raynpelikoneet wrote:
Show nested quote +
On August 27 2014 08:38 Xatalos wrote:
There's no way to view the usernames except by looking directly at the database information, of which only me and raynpelikoneet should have the knowledge of doing currently.

I am pretty sure i do not have the knowledge to do this or if i do i do not know about it. ^^


I thought you did but OK Nvm then.

In any case, I just disabled access to view the database contents. Now it shouldn't be possible to fetch any information from the database (at least with any reasonable ease). I can temporarily enable access if really needed, but I think it's better if I (or anyone else) can't accidentally see something they shouldn't. And I don't really even *need* to look at the database at this point since I've finished working on the database stuff.
"The opportunity to secure ourselves against defeat lies in our own hands, but the opportunity of defeating the enemy is provided by the enemy himself." - Sun Tzu
Professor Apathy
Profile Joined August 2014
Spain151 Posts
August 27 2014 15:29 GMT
#16
second suggestion: Add more input fields for the "add player" option so that you can add a bunch at once and don't have to do the same thing 15 or 30 times. From a pure aesthetics point of view having 30 input fields on one page is probably overkill but if you could add 5 seperate people at once that'd be already a bunch more comfy.
Xatalos
Profile Joined January 2011
Finland9675 Posts
August 27 2014 15:40 GMT
#17
On August 28 2014 00:29 Professor Apathy wrote:
second suggestion: Add more input fields for the "add player" option so that you can add a bunch at once and don't have to do the same thing 15 or 30 times. From a pure aesthetics point of view having 30 input fields on one page is probably overkill but if you could add 5 seperate people at once that'd be already a bunch more comfy.


Yeah, it's a bit inconvenient to enter all the player names at once if there are a lot of them. I actually tried some sort of a multiple name input system earlier (when the structure of the database was still quite different) but ran into technical difficulties. Now it would be easier to implement though so I might look into it. Another idea I've been thinking about is a button that enters all the player names on your clipboard into the database (so you could basically just copy-paste the playerlist from the OP of a game).

I'll probably implement your first suggestion tonight and the second one I'm not exactly sure how I'll go about doing it yet, but I'll try to do something about the issue.
"The opportunity to secure ourselves against defeat lies in our own hands, but the opportunity of defeating the enemy is provided by the enemy himself." - Sun Tzu
kushm4sta
Profile Blog Joined July 2011
United States8878 Posts
August 27 2014 18:56 GMT
#18
you shoudl add a captcha
OMGUS.net, kush sex blogs every friday night
Xatalos
Profile Joined January 2011
Finland9675 Posts
August 27 2014 18:59 GMT
#19
On August 28 2014 03:56 kushm4sta wrote:
you shoudl add a captcha


:D:D:D
"The opportunity to secure ourselves against defeat lies in our own hands, but the opportunity of defeating the enemy is provided by the enemy himself." - Sun Tzu
Xatalos
Profile Joined January 2011
Finland9675 Posts
August 27 2014 19:00 GMT
#20
On August 28 2014 03:56 kushm4sta wrote:
you shoudl add a captcha


Did you get it working btw?

And yeah I guess... Although I wonder who would be bored enough to start botting my website.
"The opportunity to secure ourselves against defeat lies in our own hands, but the opportunity of defeating the enemy is provided by the enemy himself." - Sun Tzu
1 2 3 Next All
Please log in or register to reply.
Live Events Refresh
Replay Cast
17:00
GSL 2025 Group A
IndyStarCraft 258
EnkiAlexander 75
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 759
IndyStarCraft 258
ProTech100
StarCraft: Brood War
Soulkey 573
BRAT_OK 129
HiyA 62
Mind 48
KwarK 37
Sexy 34
Dota 2
Gorgc10020
Dendi1410
febbydoto15
Counter-Strike
fl0m1250
pashabiceps631
flusha240
NBK_224
Heroes of the Storm
Khaldor248
Other Games
tarik_tv18282
gofns12551
ceh9638
ArmadaUGS164
Trikslyr50
QueenE37
NonY14
Organizations
Other Games
gamesdonequick1566
StarCraft 2
ESL.tv126
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Reevou 9
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Nemesis4103
• TFBlade1442
Other Games
• Shiphtur316
Upcoming Events
Replay Cast
5h 34m
OSC
5h 34m
Replay Cast
5h 34m
The PondCast
15h 34m
Online Event
1d 9h
ShoWTimE vs MaxPax
SHIN vs herO
Clem vs Cure
SHIN vs Clem
ShoWTimE vs SHIN
SOOP
1d 14h
DongRaeGu vs sOs
CranKy Ducklings
1d 15h
WardiTV Invitational
1d 16h
SC Evo League
1d 17h
WardiTV Invitational
1d 19h
[ Show More ]
Chat StarLeague
1d 21h
PassionCraft
1d 22h
Circuito Brasileiro de…
1d 23h
Online Event
2 days
Matvey vs herO
SHIN vs Cure
Clem vs MaxPax
ShoWTimE vs herO
ShoWTimE vs Clem
Sparkling Tuna Cup
2 days
WardiTV Invitational
2 days
uThermal 2v2 Circuit
2 days
Chat StarLeague
2 days
Circuito Brasileiro de…
2 days
Afreeca Starleague
3 days
BeSt vs Light
Wardi Open
3 days
PiGosaur Monday
4 days
Afreeca Starleague
4 days
Snow vs Soulkey
WardiTV Invitational
4 days
Replay Cast
5 days
GSL Code S
5 days
ByuN vs Rogue
herO vs Cure
Replay Cast
6 days
GSL Code S
6 days
Classic vs Reynor
GuMiho vs Maru
The PondCast
6 days
Liquipedia Results

Completed

FGSL Season 1
PiG Sty Festival 6.0
Calamity Stars S2

Ongoing

BSL Nation Wars Season 2
StarCastTV Star League 4
JPL Season 2
ASL Season 19
YSL S1
BSL 2v2 Season 3
BSL Season 20
China & Korea Top Challenge
KCM Race Survival 2025 Season 2
2025 GSL S1
Heroes 10 EU
Asian Champions League '25
ECL Season 49: Europe
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025
BLAST Open Spring 2025
ESL Pro League S21
PGL Cluj-Napoca 2025

Upcoming

CSLPRO Spring 2025
CSLPRO Last Chance 2025
CSLAN 2025
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
Bellum Gens Elite Stara Zagora 2025
2025 GSL S2
DreamHack Dallas 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.