• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 18:00
CEST 00:00
KST 07:00
  • 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 1 - Final Week6[ASL19] Finals Recap: Standing Tall15HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0
Community News
Esports World Cup 2025 - Brackets Revealed14Weekly Cups (July 7-13): Classic continues to roll8Team TLMC #5 - Submission extension3Firefly given lifetime ban by ESIC following match-fixing investigation17$25,000 Streamerzone StarCraft Pro Series announced7
StarCraft 2
General
RSL Revival patreon money discussion thread Who will win EWC 2025? The GOAT ranking of GOAT rankings Server Blocker Weekly Cups (July 7-13): Classic continues to roll
Tourneys
FEL Cracov 2025 (July 27) - $8000 live event Sparkling Tuna Cup - Weekly Open Tournament Sea Duckling Open (Global, Bronze-Diamond) RSL: Revival, a new crowdfunded tournament series $5,100+ SEL Season 2 Championship (SC: Evo)
Strategy
How did i lose this ZvP, whats the proper response
Custom Maps
External Content
Mutation # 482 Wheel of Misfortune Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome
Brood War
General
Flash Announces (and Retracts) Hiatus From ASL BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion Soulkey Muta Micro Map? [ASL19] Finals Recap: Standing Tall
Tourneys
Starcraft Superstars Winner/Replays [Megathread] Daily Proleagues Cosmonarchy Pro Showmatches CSL Xiamen International Invitational
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread CCLP - Command & Conquer League Project The PlayStation 5
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread We are Ready to Testify: Emergence Things Aren’t Peaceful in Palestine Stop Killing Games - European Citizens Initiative
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Movie Discussion! Korean Music Discussion [Manga] One Piece Anime Discussion Thread [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Ping To Win? Pings And Their…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 641 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
Spain17978 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 12h
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ZombieGrub300
Nathanias 161
UpATreeSC 141
JuggernautJason72
ForJumy 35
CosmosSc2 13
StarCraft: Brood War
Larva 1046
scan(afreeca) 163
ZZZero.O 133
Aegong 113
Dota 2
NeuroSwarm113
League of Legends
Grubby4625
Counter-Strike
Stewie2K747
fl0m567
flusha498
byalli347
oskar242
Super Smash Bros
Liquid`Ken53
Heroes of the Storm
Liquid`Hasu597
Other Games
tarik_tv18756
summit1g7895
shahzam400
C9.Mang0152
Skadoodle133
ViBE80
Trikslyr52
PPMD40
Organizations
Other Games
gamesdonequick2721
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• sitaska38
• musti20045 27
• IndyKCrew
• Migwel
• AfreecaTV YouTube
• sooper7s
• intothetv
• Kozan
• LaughNgamezSOOP
StarCraft: Brood War
• HerbMon 19
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota22678
• Ler85
League of Legends
• TFBlade1055
Other Games
• imaqtpie2143
Upcoming Events
CranKy Ducklings
12h
Epic.LAN
14h
CSO Contender
19h
Sparkling Tuna Cup
1d 12h
Online Event
1d 18h
Esports World Cup
3 days
ByuN vs Astrea
Lambo vs HeRoMaRinE
Clem vs TBD
Solar vs Zoun
SHIN vs Reynor
Maru vs TriGGeR
herO vs Lancer
Cure vs ShoWTimE
Esports World Cup
4 days
Esports World Cup
5 days
Esports World Cup
6 days
Liquipedia Results

Completed

JPL Season 2
RSL Revival: Season 1
Murky Cup #2

Ongoing

BSL 2v2 Season 3
Copa Latinoamericana 4
Jiahua Invitational
BSL20 Non-Korean Championship
CSL Xiamen Invitational
CSL Xiamen Invitational: ShowMatche
Championship of Russia 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25

Upcoming

2025 ACS Season 2
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
BSL Season 21
RSL Revival: Season 2
SEL Season 2 Championship
uThermal 2v2 Main Event
FEL Cracov 2025
Esports World Cup 2025
Underdog Cup #2
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 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.