• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 00:05
CET 06:05
KST 14:05
  • 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 Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
Weekly Cups (Dec 15-21): Classic wins big, MaxPax & Clem take weeklies1ComeBackTV's documentary on Byun's Career !10Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win4Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump1Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2
StarCraft 2
General
Weekly Cups (Dec 15-21): Classic wins big, MaxPax & Clem take weeklies ComeBackTV's documentary on Byun's Career ! Micro Lags When Playing SC2? When will we find out if there are more tournament Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win
Tourneys
$5,000+ WardiTV 2025 Championship Sparkling Tuna Cup - Weekly Open Tournament $100 Prize Pool - Winter Warp Gate Masters Showdow Winter Warp Gate Amateur Showdown #1 RSL Offline Finals Info - Dec 13 and 14!
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 505 Rise From Ashes Mutation # 504 Retribution Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ Klaucher discontinued / in-game color settings Anyone remember me from 2000s Bnet EAST server? How Rain Became ProGamer in Just 3 Months FlaSh on: Biggest Problem With SnOw's Playstyle
Tourneys
[BSL21] LB QuarterFinals - Sunday 21:00 CET Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL21] WB SEMIFINALS - Saturday 21:00 CET
Strategy
Simple Questions, Simple Answers Game Theory for Starcraft Current Meta Fighting Spirit mining rates
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Beyond All Reason Path of Exile General RTS Discussion Thread
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 Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread The Games Industry And ATVI Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread YouTube Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List TL+ Announced Where to ask questions and add stream?
Blogs
The (Hidden) Drug Problem in…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1159 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
Spain18158 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 1d 6h
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
WinterStarcraft501
RuFF_SC2 185
SortOf 18
Ketroc 8
StarCraft: Brood War
Britney 43185
ZergMaN 151
ggaemo 109
GoRush 66
sorry 62
Noble 38
Bale 17
Icarus 8
Dota 2
NeuroSwarm107
League of Legends
JimRising 604
C9.Mang0459
Counter-Strike
summit1g8289
minikerr43
Super Smash Bros
hungrybox386
Other Games
Trikslyr62
Mew2King54
Organizations
Other Games
gamesdonequick1150
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Hupsaiya 102
• practicex 41
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• RayReign 19
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota22274
Upcoming Events
WardiTV Invitational
1d 6h
Gerald vs YoungYakov
Spirit vs MaNa
SHIN vs Percival
Creator vs Scarlett
Replay Cast
2 days
WardiTV Invitational
2 days
ByuN vs Solar
Clem vs Classic
Cure vs herO
Reynor vs MaxPax
Replay Cast
3 days
Sparkling Tuna Cup
5 days
Krystianer vs TBD
TriGGeR vs SKillous
Percival vs TBD
ByuN vs Nicoract
Replay Cast
6 days
Wardi Open
6 days
Liquipedia Results

Completed

YSL S2
WardiTV 2025
META Madness #9

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
BSL Season 21
Slon Tour Season 2
CSL Season 19: Qualifier 2
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22

Upcoming

CSL 2025 WINTER (S19)
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
OSC Championship Season 13
Nations Cup 2026
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
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.