• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 17:46
CEST 23:46
KST 06:46
  • 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
[ASL21] Ro16 Preview Pt2: All Star10Team Liquid Map Contest #22 - The Finalists16[ASL21] Ro16 Preview Pt1: Fresh Flow9[ASL21] Ro24 Preview Pt2: News Flash10[ASL21] Ro24 Preview Pt1: New Chaos0
Community News
2026 GSL Season 1 Qualifiers14Maestros of the Game 2 announced92026 GSL Tour plans announced15Weekly Cups (April 6-12): herO doubles, "Villains" prevail1MaNa leaves Team Liquid24
StarCraft 2
General
Maestros of the Game 2 announced 2026 GSL Tour plans announced Team Liquid Map Contest #22 - The Finalists MaNa leaves Team Liquid Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool
Tourneys
2026 GSL Season 1 Qualifiers Sparkling Tuna Cup - Weekly Open Tournament GSL CK: More events planned pending crowdfunding RSL Revival: Season 5 - Qualifiers and Main Event Master Swan Open (Global Bronze-Master 2)
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players [M] (2) Frigid Storage
External Content
Mutation # 522 Flip My Base The PondCast: SC2 News & Results Mutation # 521 Memorable Boss Mutation # 520 Moving Fees
Brood War
General
ASL21 General Discussion Pros React To: ASL S21, Ro.16 Group C BGH Auto Balance -> http://bghmmr.eu/ ASL21 Strategy, Pimpest Plays Discussions Data needed
Tourneys
[ASL21] Ro16 Group C [ASL21] Ro16 Group D [Megathread] Daily Proleagues [ASL21] Ro16 Group B
Strategy
Simple Questions, Simple Answers What's the deal with APM & what's its true value Any training maps people recommend? Fighting Spirit mining rates
Other Games
General Games
Diablo IV Dawn of War IV Nintendo Switch Thread Starcraft Tabletop Miniature Game General RTS Discussion Thread
Dota 2
The Story of Wings Gaming
League of Legends
G2 just beat GenG in First stand
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 Five o'clock TL Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread YouTube Thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Manga] One Piece Anime Discussion Thread [Req][Books] Good Fantasy/SciFi books Movie Discussion!
Sports
2024 - 2026 Football Thread McBoner: A hockey love story Formula 1 Discussion Cricket [SPORT]
World Cup 2022
Tech Support
[G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Sexual Health Of Gamers
TrAiDoS
lurker extra damage testi…
StaticNine
Broowar part 2
qwaykee
Funny Nicknames
LUCKY_NOOB
Iranian anarchists: organize…
XenOsky
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1789 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
Spain18275 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 2h 14m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
elazer 309
ProTech125
StarCraft: Brood War
Dewaltoss 127
Dota 2
monkeys_forever439
League of Legends
Doublelift2857
Counter-Strike
fl0m1845
minikerr11
Super Smash Bros
PPMD103
Heroes of the Storm
Liquid`Hasu513
Other Games
summit1g8934
Grubby4056
shahzam541
C9.Mang0326
mouzStarbuck239
ArmadaUGS188
KnowMe109
Mew2King58
Trikslyr35
Organizations
Other Games
BasetradeTV293
StarCraft 2
angryscii 38
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 16 non-featured ]
StarCraft 2
• musti20045 17
• Reevou 3
• Dystopia_ 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Other Games
• imaqtpie1242
• WagamamaTV563
• Shiphtur301
Upcoming Events
Replay Cast
2h 14m
Escore
12h 14m
RSL Revival
19h 14m
Big Brain Bouts
19h 14m
PiG vs DeMusliM
Reynor vs Bunny
Replay Cast
1d 2h
WardiTV Map Contest Tou…
1d 13h
Ladder Legends
1d 17h
uThermal 2v2 Circuit
1d 17h
BSL
1d 21h
Sparkling Tuna Cup
2 days
[ Show More ]
WardiTV Map Contest Tou…
2 days
Ladder Legends
2 days
BSL
2 days
CranKy Ducklings
3 days
Replay Cast
3 days
Wardi Open
3 days
Afreeca Starleague
3 days
Soma vs hero
Monday Night Weeklies
3 days
Replay Cast
4 days
Replay Cast
4 days
Afreeca Starleague
4 days
Leta vs YSC
Replay Cast
6 days
The PondCast
6 days
Liquipedia Results

Completed

Proleague 2026-04-22
RSL Revival: Season 4
NationLESS Cup

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
IPSL Spring 2026
KCM Race Survival 2026 Season 2
StarCraft2 Community Team League 2026 Spring
WardiTV TLMC #16
Nations Cup 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026

Upcoming

Escore Tournament S2: W4
Acropolis #4
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
2026 GSL S2
RSL Revival: Season 5
2026 GSL S1
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
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.