Page 10 of 22

Posted: Wed Sep 23, 2015 6:54 am
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.

Posted: Mon Sep 28, 2015 7:12 am
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.

Posted: Mon Sep 28, 2015 6:08 pm
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.

Posted: Mon Sep 28, 2015 6:14 pm
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!

Posted: Mon Sep 28, 2015 6:21 pm
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.

Posted: Mon Sep 28, 2015 6:25 pm
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.

Posted: Mon Sep 28, 2015 6:40 pm
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.

Posted: Wed Sep 30, 2015 1:39 am
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.

Posted: Wed Sep 30, 2015 2:14 am
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.

Posted: Wed Sep 30, 2015 3:51 am
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?

Posted: Wed Sep 30, 2015 3:57 am
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.

Posted: Wed Sep 30, 2015 4:12 am
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}}

Posted: Wed Sep 30, 2015 4:16 am
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?

Posted: Wed Sep 30, 2015 4:40 am
by Untrod Tripod
bro

do my wiki page?

Posted: Wed Sep 30, 2015 4:56 am
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.

Posted: Wed Sep 30, 2015 4:56 am
by wgeurts
In post 238, Untrod Tripod wrote:bro

do my wiki page?

Sure?
Maybe later

Posted: Wed Sep 30, 2015 4:40 pm
by Cheery Dog
In post 238, Untrod Tripod wrote:bro

do my wiki page?

Don't push in, he still needs to repair mine!

Posted: Wed Sep 30, 2015 11:55 pm
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.

Posted: Thu Oct 01, 2015 1:34 am
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.

Posted: Thu Oct 01, 2015 4:14 am
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.

Posted: Thu Oct 01, 2015 4:15 am
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)"?

Posted: Sat Oct 10, 2015 5:58 am
by wgeurts
So I'm working on importing those actually good-looking and functional wikipedia navigation bars to the wiki.

Posted: Sun Oct 11, 2015 7:31 am
by wgeurts

Posted: Sun Oct 11, 2015 8:00 am
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.

Posted: Sun Oct 11, 2015 12:45 pm
by N
In post 248, wgeurts wrote:anyone got any comments

fix cheerygod's page