• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 04:40
CET 10:40
KST 18:40
  • 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
RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10
Community News
RSL Season 3: RO16 results & RO8 bracket13Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge1[TLMC] Fall/Winter 2025 Ladder Map Rotation14Weekly Cups (Nov 3-9): Clem Conquers in Canada4SC: Evo Complete - Ranked Ladder OPEN ALPHA12
StarCraft 2
General
RSL Season 3: RO16 results & RO8 bracket SC: Evo Complete - Ranked Ladder OPEN ALPHA RSL Season 3 - Playoffs Preview Mech is the composition that needs teleportation t GM / Master map hacker and general hacking and cheating thread
Tourneys
RSL Revival: Season 3 $5,000+ WardiTV 2025 Championship StarCraft Evolution League (SC Evo Biweekly) Constellation Cup - Main Event - Stellar Fest 2025 RSL Offline Finals Dates + Ticket Sales!
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 500 Fright night Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened
Brood War
General
Data analysis on 70 million replays A cwal.gg Extension - Easily keep track of anyone soO on: FanTaSy's Potential Return to StarCraft [ASL20] Ask the mapmakers — Drop your questions FlaSh on: Biggest Problem With SnOw's Playstyle
Tourneys
[Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL21] GosuLeague T1 Ro16 - Tue & Thu 22:00 CET [BSL21] RO16 Tie Breaker - Group B - Sun 21:00 CET
Strategy
Current Meta Game Theory for Starcraft How to stay on top of macro? PvZ map balance
Other Games
General Games
Clair Obscur - Expedition 33 Stormgate/Frost Giant Megathread EVE Corporation Path of Exile [Game] Osu!
Dota 2
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
Mafia Game Mode Feedback/Ideas
Community
General
Russo-Ukrainian War Thread The Games Industry And ATVI US Politics Mega-thread Things Aren’t Peaceful in Palestine About SC2SEA.COM
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread Korean Music Discussion
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
TL Community
The Automated Ban List
Blogs
The Health Impact of Joining…
TrAiDoS
Dyadica Evangelium — Chapt…
Hildegard
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2139 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
Spain18130 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
RSL Revival
07:30
Playoffs
Classic vs MaxPaxLIVE!
herO vs Maru
Crank 1186
Tasteless1152
IndyStarCraft 188
Rex124
CranKy Ducklings86
3DClanTV 83
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Crank 1181
Tasteless 1107
IndyStarCraft 183
mouzHeroMarine 172
Rex 126
MindelVK 10
StarCraft: Brood War
PianO 1121
Larva 688
Killer 491
firebathero 273
sorry 181
HiyA 56
Hm[arnc] 23
Purpose 2
Dota 2
XcaliburYe322
NeuroSwarm87
League of Legends
JimRising 476
Heroes of the Storm
Khaldor149
Other Games
summit1g19520
Happy367
C9.Mang0312
Fuzer 134
Trikslyr34
Dewaltoss21
crisheroes12
Organizations
Dota 2
PGL Dota 2 - Main Stream18186
Other Games
gamesdonequick670
StarCraft: Brood War
UltimateBattle 77
lovetv 9
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• Berry_CruncH267
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Lourlo1518
• Stunt371
Upcoming Events
WardiTV Korean Royale
2h 20m
SC Evo League
2h 50m
IPSL
7h 20m
Julia vs Artosis
JDConan vs DragOn
OSC
7h 20m
BSL 21
10h 20m
TerrOr vs Aeternum
HBO vs Kyrie
RSL Revival
21h 50m
Wardi Open
1d 4h
IPSL
1d 10h
StRyKeR vs OldBoy
Sziky vs Tarson
BSL 21
1d 10h
StRyKeR vs Artosis
OyAji vs KameZerg
OSC
1d 13h
[ Show More ]
OSC
1d 23h
Monday Night Weeklies
2 days
OSC
2 days
Wardi Open
3 days
Replay Cast
3 days
Wardi Open
4 days
Tenacious Turtle Tussle
4 days
The PondCast
5 days
Replay Cast
5 days
LAN Event
6 days
Replay Cast
6 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2025-11-16
Stellar Fest: Constellation Cup
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
CSCL: Masked Kings S3
SLON Tour Season 2
RSL Revival: Season 3
META Madness #9
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 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.