OBBLM - House Rule For Average Points?

However you play online - Java, Vassal, Email, Cyanide etc - talk about it here.
This is also the place for discussing the various tools for managing leagues, teams and so on.

Moderator: TFF Mods

Post Reply
User avatar
J_Bone
Super Star
Super Star
Posts: 926
Joined: Sun Feb 23, 2014 5:40 pm
Location: Derby, UK

OBBLM - House Rule For Average Points?

Post by J_Bone »

Hi,

I have just set up our OBBLM website and have figured out how to work with the majority of the features but am having trouble making sense of the House Rules (hrs) function mentioned in the 'Customization' wiki page.

I would like our league to run in the same way as it always has with the teams being ranked on Averaged points (Total Points / Total Number Of Matches Played). Is there a way to configure the house rules setting in order to achieve this?

We used a couple of tie-breakers in our league as well. Can I include these in the code?

The way they were calculated in our last spreadsheet was...

Total Points / Total Number Of Matches Played

TIE BREAKER 1: Touchdowns Difference + Casualties Difference

TIE BREAKER 2: Total Touchdowns + Total Casualties

If anybody could help me with an example of a code that would enable me to make these changes I would be very grateful.

Reason: ''
The brains behind the Double Skulls Podcast http://doubleskulls.libsyn.com/

Beardman.
Aronne320
Rookie
Rookie
Posts: 32
Joined: Sun Sep 23, 2012 10:23 pm

Re: OBBLM - House Rule For Average Points?

Post by Aronne320 »

elo ELO value -- NOTE: this field can only be used for tournament standings
swon Largest Win streak -- NOTE: this field can only be used for tournament standings
sdraw Largest Draw streak -- NOTE: this field can only be used for tournament standings
slost Largest Loose streak -- NOTE: this field can only be used for tournament standings
pts Points
mvp MVP
cp CP
td TD
intcpt NT
bh BH
ki KI
si SI
cas CAS (player contributions only)
tdcas Numeric value of "td+cas" fields
smp Sportsmanship points
spp SPP sum
ff Fan Factor (total)
ff_bought Fan factor bought
won Won matches
lost Lost matches
draw Draw matches
played Played matches
win_pct Win percentages -- NOTE: this field can only be used for tournament standings
wt_cnt Number of won tournaments
ga Goals scores against team
gf Goals scored by team
sdiff Score/goal difference
tcasa Total team CAS inflicted on team
tcasf Total team CAS inflicted by team
tcdiff Total team CAS difference
name Team name
f_rname Race name of team
f_cname Coach name of team
tv Team value
treasury Treasury amount

those are the available tiebreakers for OBBLM, so the first 1 you have mentioned cannot be used, the thrird you have mentioned is tdcas,
For the second tiebreaker you have mentioned you have to use cas difference and goal difference separately.

Reason: ''
User avatar
Shteve0
Legend
Legend
Posts: 2479
Joined: Thu May 07, 2009 10:15 am
Location: Wellington, New Zealand

Post by Shteve0 »

Win Percentage - of you use a 2/1/0 system of points - is a euphemism for Average points, no? Only halved. Could that not work?

Reason: ''
League and tournament hosting, blogging and individual forums - all totally free. For the most immersive tabletop sports community experience around, check out theendzone.co
User avatar
J_Bone
Super Star
Super Star
Posts: 926
Joined: Sun Feb 23, 2014 5:40 pm
Location: Derby, UK

Re: OBBLM - House Rule For Average Points?

Post by J_Bone »

Thanks for the responses guys. I'm a little late in responding myself as this thread went so long without a reply that I stopped checking it.

I am now looking at doing away with the averaging system and just going with a straight points system while enforcing a set number of matches in the league.

I am still confused as to what the difference is between 'cas' and 'tcasf' though. What does "player contributions only" mean? Does 'tcasf' count casualties from wizards, fouls, thrown rocks etc or something? I can't figure out what the difference is.

Reason: ''
The brains behind the Double Skulls Podcast http://doubleskulls.libsyn.com/

Beardman.
User avatar
Shteve0
Legend
Legend
Posts: 2479
Joined: Thu May 07, 2009 10:15 am
Location: Wellington, New Zealand

Post by Shteve0 »

Got it in one. Fouls, crowd push cas, bombs, chainsaws, stabs... tcasf covers all casualties inflicted. Cas is just the total number of casualties scored by your players for spp purposes.

Reason: ''
League and tournament hosting, blogging and individual forums - all totally free. For the most immersive tabletop sports community experience around, check out theendzone.co
User avatar
nicholasmr
Experienced
Experienced
Posts: 110
Joined: Mon Oct 22, 2007 1:01 pm
Location: Copenhagen, Denmark
Contact:

Re: OBBLM - House Rule For Average Points?

Post by nicholasmr »

Okay, first of all, it's a long time since I wrote the rankings system for OBBLM and you guys who deal with OBBLM on a regular basis may disagree with me, but:
As far as I can see you might as well just define the points field to include the division by the number of matches played. So, for example (see http://nicholasmr.dk/obblmwiki/index.ph ... ms.2Frules ):

$hrs[5]['rule'] = array('-pts');
$hrs[5]['points'] = '(3*[won] + 2*[draw] + 1*[lost])/[played]'

Reason: ''
Post Reply