MafiaWiki Thread

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

Post Post #225  (ISO)  » Wed Sep 23, 2015 12:54 pm

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

Ether
Lyrical Rampage
 
User avatar
Joined: July 24, 2006
Location: New Jersey
Pronoun: She

Post Post #226  (ISO)  » Mon Sep 28, 2015 1:12 pm

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

wgeurts
Mafia Scum
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

Post Post #227  (ISO)  » Tue Sep 29, 2015 12:08 am

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

Ether
Lyrical Rampage
 
User avatar
Joined: July 24, 2006
Location: New Jersey
Pronoun: She

Post Post #228  (ISO)  » Tue Sep 29, 2015 12:14 am

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

wgeurts
Mafia Scum
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

Post Post #229  (ISO)  » Tue Sep 29, 2015 12:21 am

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

wgeurts
Mafia Scum
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

Post Post #230  (ISO)  » Tue Sep 29, 2015 12:25 am

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

Ether
Lyrical Rampage
 
User avatar
Joined: July 24, 2006
Location: New Jersey
Pronoun: She

Post Post #231  (ISO)  » Tue Sep 29, 2015 12:40 am

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

wgeurts
Mafia Scum
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

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

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

wgeurts
Mafia Scum
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

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

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

Ether
Lyrical Rampage
 
User avatar
Joined: July 24, 2006
Location: New Jersey
Pronoun: She

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

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

wgeurts
Mafia Scum
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

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

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

wgeurts
Mafia Scum
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

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

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

Ether
Lyrical Rampage
 
User avatar
Joined: July 24, 2006
Location: New Jersey
Pronoun: She

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

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

Untrod Tripod
Fat and Sassy
 
User avatar
Joined: September 01, 2003
Location: Âu Lạc

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

bro

do my wiki page?
Oh my gosh. Hold on to your hooves – I am just about to be brilliant!

There's a fancy new Large Theme Queue. Come mod a Large Theme game!

wgeurts
Mafia Scum
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

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

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

wgeurts
Mafia Scum
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

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

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

Cheery Dog
Kayak
 
User avatar
Joined: July 01, 2012
Location: OMG BALL!

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

In post 238, Untrod Tripod wrote:bro

do my wiki page?

Don't push in, he still needs to repair mine!
Life is always what it seems.

wgeurts
Mafia Scum
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

Post Post #242  (ISO)  » Thu Oct 01, 2015 5:55 am

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

wgeurts
Mafia Scum
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

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

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

Ether
Lyrical Rampage
 
User avatar
Joined: July 24, 2006
Location: New Jersey
Pronoun: She

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

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

wgeurts
Mafia Scum
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

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

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

wgeurts
Mafia Scum
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

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

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

wgeurts
Mafia Scum
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

Post Post #247  (ISO)  » Sun Oct 11, 2015 1:31 pm

"i agree we should have a rule against wgeurts" -Davsto
"let's have 2 rules against wgeurts" -DeathRowKitty

wgeurts
Mafia Scum
 
User avatar
Joined: September 16, 2014
Location: The Netherlands
Pronoun: They

Post Post #248  (ISO)  » Sun Oct 11, 2015 2:00 pm

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

N
Jack of All Trades
 
User avatar
Joined: August 03, 2012

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

In post 248, wgeurts wrote:anyone got any comments

fix cheerygod's page
GTKAS

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

PreviousNext
[ + ]

Return to Mafia Discussion

cron