• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 20:32
CET 02:32
KST 10:32
  • 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
ByuL: The Forgotten Master of ZvT28Behind the Blue - Team Liquid History Book19Clem wins HomeStory Cup 289HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info8
Community News
Weekly Cups (Feb 16-22): MaxPax doubles0Weekly Cups (Feb 9-15): herO doubles up2ACS replaced by "ASL Season Open" - Starts 21/0258LiuLi Cup: 2025 Grand Finals (Feb 10-16)46Weekly Cups (Feb 2-8): Classic, Solar, MaxPax win2
StarCraft 2
General
Terran AddOns placement How do you think the 5.0.15 balance patch (Oct 2025) for StarCraft II has affected the game? Nexon's StarCraft game could be FPS, led by UMS maker ByuL: The Forgotten Master of ZvT Oliveira Would Have Returned If EWC Continued
Tourneys
PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar) Sparkling Tuna Cup - Weekly Open Tournament SEL Doubles (SC Evo Bimonthly) WardiTV Team League Season 10 RSL Season 4 announced for March-April
Strategy
Custom Maps
Publishing has been re-enabled! [Feb 24th 2026] Map Editor closed ?
External Content
The PondCast: SC2 News & Results Mutation # 515 Together Forever Mutation # 514 Ulnar New Year Mutation # 513 Attrition Warfare
Brood War
General
Soma Explains: JD's Unrelenting Aggro vs FlaSh Recent recommended BW games TvZ is the most complete match up BGH Auto Balance -> http://bghmmr.eu/ ACS replaced by "ASL Season Open" - Starts 21/02
Tourneys
BWCL Season 64 Announcement The Casual Games of the Week Thread [Megathread] Daily Proleagues [LIVE] [S:21] ASL Season Open Day 1
Strategy
Soma's 9 hatch build from ASL Game 2 Fighting Spirit mining rates Simple Questions, Simple Answers Zealot bombing is no longer popular?
Other Games
General Games
Battle Aces/David Kim RTS Megathread Diablo 2 thread Nintendo Switch Thread Path of Exile Beyond All Reason
Dota 2
The Story of Wings Gaming Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine UK Politics Mega-thread YouTube Thread Mexico's Drug War
Fan Clubs
The IdrA Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece [Req][Books] Good Fantasy/SciFi books Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion TL MMA Pick'em Pool 2013
World Cup 2022
Tech Support
Laptop capable of using Photoshop Lightroom?
TL Community
The Automated Ban List
Blogs
Unintentional protectionism…
Uldridge
ASL S21 English Commentary…
namkraft
Inside the Communication of …
TrAiDoS
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
James Bond movies ranking - pa…
Topin
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2079 users

Mafia System - Updates and Suggestions - Page 7

Forum Index > TL Mafia
Post a Reply
Prev 1 5 6 7 All
Nisani201
Profile Joined September 2010
United States1400 Posts
Last Edited: 2012-12-06 18:05:09
November 28 2012 03:52 GMT
#121
I'll probably post there but there's tons of shit to read and I don't really have the patience to look through all of it, so I apologize in advance if I bring up something that you already mentioned.

this is a test for the ##vote: nisani teamliquid parser

+ Show Spoiler [test] +
##vote: quatol


##unvote

##vote: gonzaw
Enjoy your day.
gonzaw
Profile Joined December 2011
Uruguay4911 Posts
November 28 2012 04:11 GMT
#122
Most of the stuff is just me trying to figure out stuff and improve what I've said before.

If you just read the final posts and go backwards you'd probably get the most info and you could ignore the initial posts (except maybe the op).
GreYMisT
Profile Blog Joined October 2010
United States6736 Posts
November 28 2012 05:14 GMT
#123
How would you handle replacements?
"life of lively to live to life of full life thx to shield battery" / Join TL Mafia! http://www.teamliquid.net/forum/index.php?show_part=31
gonzaw
Profile Joined December 2011
Uruguay4911 Posts
November 28 2012 05:22 GMT
#124
On November 28 2012 14:14 GreYMisT wrote:
How would you handle replacements?


In the system a player is just a username. I just replace one of them with another one
Or rather, set the previous one as "replaced" and create a new one and give him the other guy's role/alignment/etc.

The host would just PM the bot "X is a replacement" and people that don't vote are automatically replaced when they fail to vote (if multiple people fail to vote then I guess one is chosen at random, seems fairer).

Basically, once the host PMs the bot "X is a replacement", the player X is put into a replacement list in the system, and is actually replaced when needed (and role PM is sent to him as well)
gonzaw
Profile Joined December 2011
Uruguay4911 Posts
November 29 2012 01:32 GMT
#125
Okay I think I have everything under control now.
I've finished designing the action resolution phase, and (apparently) it works fine now. It works only for the roles I'm restricting for this 1st iteration, so it won't work with bus drivers or 3rd party planar dragon and the likes.
Use cases are done as well (they were documented here too). Role creation is done (in general terms, we can get into specifics in the design phase), as is setup/game creation.

Chime in on OMGUS to discuss the final touches so we can start the next step.
Nisani201
Profile Joined September 2010
United States1400 Posts
Last Edited: 2012-11-29 01:54:58
November 29 2012 01:51 GMT
#126
On November 29 2012 10:32 gonzaw wrote:
Okay I think I have everything under control now.
I've finished designing the action resolution phase, and (apparently) it works fine now. It works only for the roles I'm restricting for this 1st iteration, so it won't work with bus drivers or 3rd party planar dragon and the likes.
Use cases are done as well (they were documented here too). Role creation is done (in general terms, we can get into specifics in the design phase), as is setup/game creation.

Chime in on OMGUS to discuss the final touches so we can start the next step.

Can you show me what you have now (either on OMGUS or here)? There should be a clear place where we can see what the progress is. I was about to work on my own action resolution thing in Lua., but I'd like to see yours as well.

EDIT: found the post you made where you talk about how it works, reading it now
Enjoy your day.
gonzaw
Profile Joined December 2011
Uruguay4911 Posts
November 29 2012 02:02 GMT
#127
Remember it only works for the "standard" roles.
I.e vet/vig/cop/medic/RBer/Framer/etc (the ones I posted before)

It won't work for other roles (or rather it's not planned to work), even if the whole "Create a Role" stuff I posted before would seem it does.

Also yeah the main place where I post progress is OMGUS....but nobody reads nothing there so I have to post it here :/
Nisani201
Profile Joined September 2010
United States1400 Posts
November 29 2012 02:09 GMT
#128
When I say "main place" I mean a single thread/post that is edited each time something is added to the project or something is changed. I shouldn't have to monitor the progress of 10 threads to see what's going on.
Enjoy your day.
gonzaw
Profile Joined December 2011
Uruguay4911 Posts
Last Edited: 2012-11-29 02:14:38
November 29 2012 02:11 GMT
#129
But whenever there's a new post in OMGUS the thread turns red, so you know which thread was updated.
You just go to every thread that's red and read the updates.

In the next phase we'll organize and tidy everything with models and nice drawings and stuff :3

EDIT: Also I didn't make each thread with the idea of updating them, I made them thinking about using them to discuss, and then update it with our conclusions...
...but yeah if I'm the only one posting it's just me updating so that didn't work >_>
Promethelax
Profile Joined February 2012
Canada7089 Posts
November 29 2012 02:19 GMT
#130
Gon: could you link the OMGUS thread. I wanna read it (and not understand it) but yeah, too lazy for google.
TL Mafia. Love it. Play it. http://www.teamliquid.net/forum/index.php?show_part=31 I find Kennigit really attractive. If anyone has a picture of him please feel free to PM it to me.
gonzaw
Profile Joined December 2011
Uruguay4911 Posts
November 29 2012 02:23 GMT
#131
fuck lol I though I included it in the op lol

It's in the OP now.

Here
http://www.omgus.net/forum/viewforum.php?f=51
gonzaw
Profile Joined December 2011
Uruguay4911 Posts
Last Edited: 2012-11-30 02:39:03
November 30 2012 02:31 GMT
#132
You know, I think I encountered a paradox with trackers and watchers, at least in the flow of actions.

Imagine a certain scenario, X is a RBer, Y is a tracker, Z is a VT.
Now X RBs Z, and Y tracks X. In this scenario Y would get a "X visited Z" report right? Good
Now imagine X RBs Y, and Y tracks X. Does Y get a "X visited you" report? No, he'd get a "You were RBed" one since he was RBed, right?


But how is this possible?
Think of Action Resolution as "roles going out of their houses in a certain order to act", and think if roleblocks as "locking someone inside their house".

In scenario 1, what happens? X goes out of his house and goes to Z's house, and locks Z inside. However, Y was already following X before that happened!
What does this mean? It means that first of all, Y went outside his house, and went over to X's house. Then he saw X go out and followed him. He saw him go to Z's house, and then saw him go home. After that Y goes home and gets the "X visited Z" check.

This makes sense right?

Now let's go to scenario 2.
Here, X goes out of his house and over to Y's house. X locks Y in and returns home. Y tries to leave his house but his door is locked, so he gets the "You were RBed!" message.
Makes sense right?



Absolutely not

Tell me, generically, when does Y attempt to leave his house? After or before X leaves his?
In scenario 1, Y tries to leave his house before X leaves his, that way he can track X.
In scenario 2, Y tries to leave his house after X leaves his, because X already visited him to RB him.

So the paradoxical question: How does Y know when to attempt to leave his house without knowing who X is visiting?

If X visits Z, then Y attempts to leave his house before X left his
If X visits him, then Y attempts to leave his house after X left his

Thinking "realistically" this doesn't make sense and is a paradox.

"But gonzaw! Why the hell does this matter? 'People leaving their houses' is just a conceptualization of what these roles would do in real life, but in the mafia game these are actions the host sees and can easily identify who visits who in the fly without following any specific order!"

Yeah, the problem is that my system follows this "conceptualization" pattern, which is the one that makes sense.
You know the Action Resolution order: first people get RBed, then bus drivers drive people, then framers frame people, then Cops get checks, then other stuff, and then KP goes through.
This can easily be modeled with the "people leaving their house first" model, and is exactly what happens in my system.
The problem is that if that model fails then so does the system....at least if it attempts to follow that model to a T.


Yes I have an ugly way to fix that, but I wanted to know if there's "another" way to use this "model" to determine how RBers and trackers/watchers behave.
Basically, if you think of trackers/watchers/Rbers as real people who "leave their house" at a certain time to perform their actions, how would you solve the tracker problem?
Anything can be added to it to work, don't worry.

Maybe you say something like "Every night, right before people go to sleep, the RBer gives his target a phone call telling him a story. This makes his target more sleepy than usual so he's guaranteed to wake up after the RBer.. After going to sleep an waking up at night, the RBer follows the usual pattern, while his target is guaranteed to be asleep when he goes to his house".
That could easily be "translated" into a specific design of my system.

The thing is yeah I just thought of that so I don't know if it would work (specially with other roles, for instance other RBers) so I dunno.

EDIT: Another possibility is coming up with a "different" model that states how roles act. But yeah that's not very easy.
Acrofales
Profile Joined August 2010
Spain18224 Posts
November 30 2012 04:09 GMT
#133
I think it's time to lay off the crazy pills. How about this for an explaation, just to humour you, because the actual explanation is: it's a game.

Watcher/tracker are not actually watching or tracking. They are actually police dogs. They come in after the fact and sniff out who was at their target's house/where their target went.

They were not actually there at the time of the deed, but could puzzle it together afterwards.

Obviously if the polic dog was locked in his kennel, he couldn't get out there and do his job...
gonzaw
Profile Joined December 2011
Uruguay4911 Posts
Last Edited: 2012-11-30 04:32:09
November 30 2012 04:22 GMT
#134
I'm using these "stupid" analogies so I don't have to get technical about programming stuff.

I was thinking about doing something like:
After every action is done, the tracker/watcher goes to his target's house and asks the guy "Who did you visit last night?" or "Who visited you last night?"
But that wouldn't work since if that guy died by KP he wouldn't be able to ask him since he's dead, so I didn't consider that (basically making trackers/watchers the last guys in action resolution, even after KP. Rules of the game dictate you can't target a dead guy, so they wouldn't be able to watch/track him
EDIT: Well....at least you can't do "normal" stuff on a dead guy.)

However if what he tracks/watches is the house itself and the house itself has the "scent" of each visit somehow, that could work.
The scent would disappear after that cycle is done, and a new scent would appear next cycle.
Yes yes..that can indeed happen.

I guess you were being sarcastic but thanks anyway lol
Keirathi
Profile Joined May 2012
United States4679 Posts
November 30 2012 04:31 GMT
#135
I think you are just overthinking it.

Just have it work the same as the regular system. If you are a tracker or a watcher, and you get roleblocked, you would still technically have a "result" but it just wouldn't be relayed to the player.

When you send the player the PM, you check if he was roleblocked first, THEN if not roleblocked, send them their result.
My dear friend if I have gone pants on head, you have gone socks on ears!!! -ShiaoPi
gonzaw
Profile Joined December 2011
Uruguay4911 Posts
November 30 2012 04:36 GMT
#136
That could work too.

Doesn't seem too consistent though, since "technically" the guy shouldn't receive a check.
If you use a "Get all Results" function you'd receive "Tracker got that X visited Y" even if the tracker was RBed, which "technically" didn't happen so the host will have erroneous information.

There are ways to get over that....but yeah the above thing (the "police dog") thing works better I think.
Like i said before I prefer to overthink it rather than overcomplicate it (in the implementation) and/or making the implementation "untidy" and/or making the system inconsistent/have erroneous data.
gonzaw
Profile Joined December 2011
Uruguay4911 Posts
December 06 2012 00:20 GMT
#137
Are any of you guys experienced in creating object-oriented models?
Also are you experienced in working with UML?

If you are then please head over to OMGUS if you can.
There's not much activity in the respective forum of OMGUS (i.e I'm just talking to myself again), and I need to discuss this stuff since it's not quite as easy as I thought, and could make our lives easier in the future if we model it right (and I'm no expert in that).

You may need to read all the walls of text about the requirements first though (so you know what you are supposed to model).....so yeah you may need some patience :/
Prev 1 5 6 7 All
Please log in or register to reply.
Live Events Refresh
Next event in 7h 28m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
UpATreeSC 334
RuFF_SC2 201
StarCraft: Brood War
Sea 5905
GuemChi 1384
Artosis 811
Shuttle 302
Moletrap 11
Dota 2
monkeys_forever445
League of Legends
JimRising 821
goblin14
Counter-Strike
Fnx 1877
taco 636
Super Smash Bros
hungrybox2508
Heroes of the Storm
Khaldor214
Other Games
summit1g12109
C9.Mang0353
Maynarde179
JuggernautJason20
Organizations
Other Games
gamesdonequick1179
Counter-Strike
PGL154
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Hupsaiya 204
• davetesta23
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• HerbMon 23
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota21784
League of Legends
• Doublelift4023
Upcoming Events
Replay Cast
7h 28m
Wardi Open
10h 28m
Monday Night Weeklies
15h 28m
Replay Cast
22h 28m
Replay Cast
2 days
Replay Cast
2 days
The PondCast
3 days
KCM Race Survival
3 days
Replay Cast
3 days
Ultimate Battle
4 days
Light vs ZerO
[ Show More ]
Replay Cast
4 days
CranKy Ducklings
5 days
Replay Cast
5 days
Sparkling Tuna Cup
6 days
Replay Cast
6 days
Liquipedia Results

Completed

Acropolis #4 - TS5
PiG Sty Festival 7.0
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
Jeongseon Sooper Cup
Spring Cup 2026
WardiTV Winter 2026
Nations Cup 2026
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025

Upcoming

ASL Season 21: Qualifier #1
ASL Season 21: Qualifier #2
ASL Season 21
Acropolis #4 - TS6
Acropolis #4
IPSL Spring 2026
CSLAN 4
HSC XXIX
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
RSL Revival: Season 4
NationLESS Cup
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
FISSURE Playground #3
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
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 © 2026 TLnet. All Rights Reserved.