MafiaWiki Thread

This forum is for discussion related to the game.
User avatar
Ether
Ether
Lyrical Rampage
User avatar
User avatar
Ether
Lyrical Rampage
Lyrical Rampage
Posts: 4790
Joined: July 24, 2006
Pronoun:
Location: New Jersey
Contact:

Post Post #225 (ISO) » Wed Sep 23, 2015 6:54 am

Post by Ether »

I think it'd be better to have completely separate versions. I don't know a whole lot about making new things, but if any amount of gruntwork will help, tell me how and I'll do it.
As I move my vote
Towards your wagon, town is taking note
It fills my head up and gets louder and
LOUDER
User avatar
Ether
Ether
Lyrical Rampage
User avatar
User avatar
Ether
Lyrical Rampage
Lyrical Rampage
Posts: 4790
Joined: July 24, 2006
Pronoun:
Location: New Jersey
Contact:

Post Post #226 (ISO) » Mon Sep 28, 2015 7:12 am

Post by Ether »

Huh. Does the system account for third parties? I just threw some Friends and Enemies and Enemies setups into the database, and I'm not sure how to make it handle werewolves. And now that I'm looking, I can't find anything else with more than two sides either. (For now I'm filing both mafia wins and werewolf wins as scum wins, which makes sense for symmetrical multiball games. But that doesn't really work for asymmetrical setups like Jungle Republic: both mafia and werewolf are definitely scum, but the two play extremely differently and their win rates aren't interchangeable, and I don't want to say one group is the "real" scum and the other is third party. Is there a way to change which sides appear in an individual game's history template?)

I still think it'd be better to split up win rates. Things like the original Twin Trap game being run with only 7 players...well,
of course
the mafia won that, we switched to 9 player micros as the baseline for a reason.
As I move my vote
Towards your wagon, town is taking note
It fills my head up and gets louder and
LOUDER
User avatar
wgeurts
wgeurts
They/Them
Pokédex
User avatar
User avatar
wgeurts
They/Them
Pokédex
Pokédex
Posts: 4771
Joined: September 15, 2014
Pronoun: They/Them
Location: The Netherlands
Contact:

Post Post #227 (ISO) » Mon Sep 28, 2015 6:08 pm

Post by wgeurts »

Werewolf Win gets accounted as scum I believe but it shouldn't be too hard to split them at will.
As for the separate ones per page, I'll have a look at it but I believe that should be doable as well with some variables added.
I'm planning to get round to this this weekend.
"
i agree we should have a rule against wgeurts
" -
Davsto

"
let's have 2 rules against wgeurts
" -
DeathRowKitty

User avatar
Ether
Ether
Lyrical Rampage
User avatar
User avatar
Ether
Lyrical Rampage
Lyrical Rampage
Posts: 4790
Joined: July 24, 2006
Pronoun:
Location: New Jersey
Contact:

Post Post #228 (ISO) » Mon Sep 28, 2015 6:14 pm

Post by Ether »

Cool. I messed around a bit; all Opens from 400 through 595 should be in the database, except for some games that never happened or got abandoned on like Page 2. I figure I'll at least keep going until I get to the point where the old game sizes were used. Going through the micros is going to be more annoying, but I guess I'll be giving that a shot too. Let me know if there's anything else I can do!
As I move my vote
Towards your wagon, town is taking note
It fills my head up and gets louder and
LOUDER
User avatar
wgeurts
wgeurts
They/Them
Pokédex
User avatar
User avatar
wgeurts
They/Them
Pokédex
Pokédex
Posts: 4771
Joined: September 15, 2014
Pronoun: They/Them
Location: The Netherlands
Contact:

Post Post #229 (ISO) » Mon Sep 28, 2015 6:21 pm

Post by wgeurts »

That's basically what I was doing except starting at Open 1.
Then I was going to tackle adding the stats to all of them.
Thanks for the help, it gets things done a lot faster.
"
i agree we should have a rule against wgeurts
" -
Davsto

"
let's have 2 rules against wgeurts
" -
DeathRowKitty

User avatar
wgeurts
wgeurts
They/Them
Pokédex
User avatar
User avatar
wgeurts
They/Them
Pokédex
Pokédex
Posts: 4771
Joined: September 15, 2014
Pronoun: They/Them
Location: The Netherlands
Contact:

Post Post #230 (ISO) » Mon Sep 28, 2015 6:25 pm

Post by wgeurts »

I'm thinking I should change the stats to allow users to specify what gets registered as what to allow "Ice Mafia Win" and stuff to be picked up and not just seen as "Other".
Either that or you can manually go to the template for now and copy the Mafia Win thing to get it to show up as scum and somewhere there's a switch which you could get the stats template seeing it as mafia win.
"
i agree we should have a rule against wgeurts
" -
Davsto

"
let's have 2 rules against wgeurts
" -
DeathRowKitty

User avatar
Ether
Ether
Lyrical Rampage
User avatar
User avatar
Ether
Lyrical Rampage
Lyrical Rampage
Posts: 4790
Joined: July 24, 2006
Pronoun:
Location: New Jersey
Contact:

Post Post #231 (ISO) » Mon Sep 28, 2015 6:40 pm

Post by Ether »

Yeah, it's just asymmetrical setups that bother me there. Manual editing I have no problem with. It took me a while to figure out that there was even an alternative.

Also, note to self: Fire and Ice only became 13 players starting with Open 522. All earlier ones, which is about three quarters of them, used 12 players.
As I move my vote
Towards your wagon, town is taking note
It fills my head up and gets louder and
LOUDER
User avatar
wgeurts
wgeurts
They/Them
Pokédex
User avatar
User avatar
wgeurts
They/Them
Pokédex
Pokédex
Posts: 4771
Joined: September 15, 2014
Pronoun: They/Them
Location: The Netherlands
Contact:

Post Post #232 (ISO) » Wed Sep 30, 2015 1:39 am

Post by wgeurts »

Whoop, managed to allow there to be multiple versions of a setup to allow seperate history tables for seperate versions of the same setup. So if ever a major change is made to a setup you can now start a new history table to record the played games in.
Now to get it to work with generating seperate stats as well as making modular stat generation.

Edit: it seems something's going wrong somewhere and you have to specify a version for history to show. Going to see if I can revert that, otherwise I'll have to add the new parameters to all pages with the "SetupHistory:Database" template.
"
i agree we should have a rule against wgeurts
" -
Davsto

"
let's have 2 rules against wgeurts
" -
DeathRowKitty

User avatar
wgeurts
wgeurts
They/Them
Pokédex
User avatar
User avatar
wgeurts
They/Them
Pokédex
Pokédex
Posts: 4771
Joined: September 15, 2014
Pronoun: They/Them
Location: The Netherlands
Contact:

Post Post #233 (ISO) » Wed Sep 30, 2015 2:14 am

Post by wgeurts »

Well I found the problem and the fix, it's going to need some work though.
If there's anyone willing to do so could you copy/paste the following just before the "}}" in all the SetupHistory Databases?

Code: Select all

| Version_Check={{{Version|}}}| Version=

This will also make stat-gen easy to implement with the change.
"
i agree we should have a rule against wgeurts
" -
Davsto

"
let's have 2 rules against wgeurts
" -
DeathRowKitty

User avatar
Ether
Ether
Lyrical Rampage
User avatar
User avatar
Ether
Lyrical Rampage
Lyrical Rampage
Posts: 4790
Joined: July 24, 2006
Pronoun:
Location: New Jersey
Contact:

Post Post #234 (ISO) » Wed Sep 30, 2015 3:51 am

Post by Ether »

Easy enough, that's just a find/replace after temporarily cutting away the two games you were testing it with. Done.

Can the separate histories have different names before you expand them?
As I move my vote
Towards your wagon, town is taking note
It fills my head up and gets louder and
LOUDER
User avatar
wgeurts
wgeurts
They/Them
Pokédex
User avatar
User avatar
wgeurts
They/Them
Pokédex
Pokédex
Posts: 4771
Joined: September 15, 2014
Pronoun: They/Them
Location: The Netherlands
Contact:

Post Post #235 (ISO) » Wed Sep 30, 2015 3:57 am

Post by wgeurts »

That would be doable however cant you just make something like this:
History of 13 player...

-Table-
History of 12 player...

-Other Table-

I'll go add something to Template:SetupHistory explaining how to use the added version feature. Check Near-Vanilla to see it already implemented though.


Edit: After testing what I said I believe having changeable text for the unexpanded table will look better.
"
i agree we should have a rule against wgeurts
" -
Davsto

"
let's have 2 rules against wgeurts
" -
DeathRowKitty

User avatar
wgeurts
wgeurts
They/Them
Pokédex
User avatar
User avatar
wgeurts
They/Them
Pokédex
Pokédex
Posts: 4771
Joined: September 15, 2014
Pronoun: They/Them
Location: The Netherlands
Contact:

Post Post #236 (ISO) » Wed Sep 30, 2015 4:12 am

Post by wgeurts »

Use the parameter "Table_Name" to add a custom name now on the setup page.
So:

Code: Select all

{{SetupHistory/Database|Table_Name=Bla Bla}}
"
i agree we should have a rule against wgeurts
" -
Davsto

"
let's have 2 rules against wgeurts
" -
DeathRowKitty

User avatar
Ether
Ether
Lyrical Rampage
User avatar
User avatar
Ether
Lyrical Rampage
Lyrical Rampage
Posts: 4790
Joined: July 24, 2006
Pronoun:
Location: New Jersey
Contact:

Post Post #237 (ISO) » Wed Sep 30, 2015 4:16 am

Post by Ether »

Noted.

This isn't a coding thing, just an aesthetic preference, but I think the old version histories should probably be below the section that contains the newer tables and their stats.

Speaking of which, how do I use stats with this?
As I move my vote
Towards your wagon, town is taking note
It fills my head up and gets louder and
LOUDER
User avatar
Untrod Tripod
Untrod Tripod
Fat and Sassy
User avatar
User avatar
Untrod Tripod
Fat and Sassy
Fat and Sassy
Posts: 11652
Joined: September 1, 2003

Post Post #238 (ISO) » Wed Sep 30, 2015 4:40 am

Post by Untrod Tripod »

bro

do my wiki page?
User avatar
wgeurts
wgeurts
They/Them
Pokédex
User avatar
User avatar
wgeurts
They/Them
Pokédex
Pokédex
Posts: 4771
Joined: September 15, 2014
Pronoun: They/Them
Location: The Netherlands
Contact:

Post Post #239 (ISO) » Wed Sep 30, 2015 4:56 am

Post by wgeurts »

In post 237, Ether wrote:Noted.

This isn't a coding thing, just an aesthetic preference, but I think the old version histories should probably be below the section that contains the newer tables and their stats.

Speaking of which, how do I use stats with this?

You don't yet, I'm tweaking stuff there to make it compatible.
Multiball fix is as good as done though, only need to make the generator work with it.
"
i agree we should have a rule against wgeurts
" -
Davsto

"
let's have 2 rules against wgeurts
" -
DeathRowKitty

User avatar
wgeurts
wgeurts
They/Them
Pokédex
User avatar
User avatar
wgeurts
They/Them
Pokédex
Pokédex
Posts: 4771
Joined: September 15, 2014
Pronoun: They/Them
Location: The Netherlands
Contact:

Post Post #240 (ISO) » Wed Sep 30, 2015 4:56 am

Post by wgeurts »

In post 238, Untrod Tripod wrote:bro

do my wiki page?

Sure?
Maybe later
"
i agree we should have a rule against wgeurts
" -
Davsto

"
let's have 2 rules against wgeurts
" -
DeathRowKitty

User avatar
Cheery Dog
Cheery Dog
Kayak
User avatar
User avatar
Cheery Dog
Kayak
Kayak
Posts: 8035
Joined: June 30, 2012
Location: OMG BALL!

Post Post #241 (ISO) » Wed Sep 30, 2015 4:40 pm

Post by Cheery Dog »

In post 238, Untrod Tripod wrote:bro

do my wiki page?

Don't push in, he still needs to repair mine!
Holder of the Longest Continuous Weekly Mafiascum Post Record. 1 July 2012 - 16 Feb 2023
*It may be held by someone else if you discount the major downtime in 2012 and 2014, I'm not doing the research.
User avatar
wgeurts
wgeurts
They/Them
Pokédex
User avatar
User avatar
wgeurts
They/Them
Pokédex
Pokédex
Posts: 4771
Joined: September 15, 2014
Pronoun: They/Them
Location: The Netherlands
Contact:

Post Post #242 (ISO) » Wed Sep 30, 2015 11:55 pm

Post by wgeurts »

And done.
You can now generate seperate stats for seperate setup versions as well as enabling multiball stat-gen. It's now also possible for you to make stuff like "Ice Mafia Win" be picked up by the generator as "Mafia Win".

I'll write up how to do this later but if you want to look at it yourself check Masons and Monks.
"
i agree we should have a rule against wgeurts
" -
Davsto

"
let's have 2 rules against wgeurts
" -
DeathRowKitty

User avatar
wgeurts
wgeurts
They/Them
Pokédex
User avatar
User avatar
wgeurts
They/Them
Pokédex
Pokédex
Posts: 4771
Joined: September 15, 2014
Pronoun: They/Them
Location: The Netherlands
Contact:

Post Post #243 (ISO) » Thu Oct 01, 2015 1:34 am

Post by wgeurts »

You going to have to redo all the existing stats as they'll be off with the changes. Notably I've decided to not have "Abandoned" game counted to have scum/town win rates be more accurate.
I'll start doing so.
"
i agree we should have a rule against wgeurts
" -
Davsto

"
let's have 2 rules against wgeurts
" -
DeathRowKitty

User avatar
Ether
Ether
Lyrical Rampage
User avatar
User avatar
Ether
Lyrical Rampage
Lyrical Rampage
Posts: 4790
Joined: July 24, 2006
Pronoun:
Location: New Jersey
Contact:

Post Post #244 (ISO) » Thu Oct 01, 2015 4:14 am

Post by Ether »

Good call on ditching the abandoned rate for stats. I'm gonna try to get the rest of the games into the database before I update. (This has been helping with the micro games, but it's still a pain.)

Someone should probably make a page for Triplicate, it's come up a couple times and doesn't seem to have one yet.

Also, the first time I came across a Cult Vengeful, I went "ugh, I don't care if this has a wiki page, I'm not going to validate it by putting it in the database." And then it turns out that it's been run at least least six times, all of which have naturally ended in a cult win. Bluh. I guess I need to go back and warn the masses.
As I move my vote
Towards your wagon, town is taking note
It fills my head up and gets louder and
LOUDER
User avatar
wgeurts
wgeurts
They/Them
Pokédex
User avatar
User avatar
wgeurts
They/Them
Pokédex
Pokédex
Posts: 4771
Joined: September 15, 2014
Pronoun: They/Them
Location: The Netherlands
Contact:

Post Post #245 (ISO) » Thu Oct 01, 2015 4:15 am

Post by wgeurts »

I'll do triplicate, I've also updated those with old abandoned stats.
Edit: any reason Cult Vengeful has be entered as "Cult Vengeful)"?
"
i agree we should have a rule against wgeurts
" -
Davsto

"
let's have 2 rules against wgeurts
" -
DeathRowKitty

User avatar
wgeurts
wgeurts
They/Them
Pokédex
User avatar
User avatar
wgeurts
They/Them
Pokédex
Pokédex
Posts: 4771
Joined: September 15, 2014
Pronoun: They/Them
Location: The Netherlands
Contact:

Post Post #246 (ISO) » Sat Oct 10, 2015 5:58 am

Post by wgeurts »

So I'm working on importing those actually good-looking and functional wikipedia navigation bars to the wiki.
"
i agree we should have a rule against wgeurts
" -
Davsto

"
let's have 2 rules against wgeurts
" -
DeathRowKitty

User avatar
wgeurts
wgeurts
They/Them
Pokédex
User avatar
User avatar
wgeurts
They/Them
Pokédex
Pokédex
Posts: 4771
Joined: September 15, 2014
Pronoun: They/Them
Location: The Netherlands
Contact:

Post Post #247 (ISO) » Sun Oct 11, 2015 7:31 am

Post by wgeurts »

"
i agree we should have a rule against wgeurts
" -
Davsto

"
let's have 2 rules against wgeurts
" -
DeathRowKitty

User avatar
wgeurts
wgeurts
They/Them
Pokédex
User avatar
User avatar
wgeurts
They/Them
Pokédex
Pokédex
Posts: 4771
Joined: September 15, 2014
Pronoun: They/Them
Location: The Netherlands
Contact:

Post Post #248 (ISO) » Sun Oct 11, 2015 8:00 am

Post by wgeurts »

So it works, anyone got any comments on the aesthetics?
I literaly ripped the thing from wikipedia and made a few minor tweaks as the mafiaWiki doesn't have all the fancy add-ons wikipedia has. The style is the same but if anyone knows a better look feel free to suggest some stuff.
"
i agree we should have a rule against wgeurts
" -
Davsto

"
let's have 2 rules against wgeurts
" -
DeathRowKitty

User avatar
N
N
Jack of All Trades
User avatar
User avatar
N
Jack of All Trades
Jack of All Trades
Posts: 8539
Joined: August 2, 2012

Post Post #249 (ISO) » Sun Oct 11, 2015 12:45 pm

Post by N »

In post 248, wgeurts wrote:anyone got any comments

fix cheerygod's page
GTKAS

Share And Enjoy
(go stick your head in a pig)
Post Reply

Return to “Mafia Discussion”