The Tournament Director Forums

Main => Help Me => Topic started by: T-Bone on January 07, 2011, 07:54:32 AM

Title: Formula Help to Include In The Money
Post by: T-Bone on January 07, 2011, 07:54:32 AM
I want to award bonus points for finishing in the money. Usually we pay three places but have paid as few as two and as many as five (based on number of players). The formula I currently use--(n+1-r)*2 +switch(r,1,10,2,5,3,2)--takes care of the average game w/three in the money. How can I incorporate the inTheMoneyRank variable (or some other) to automatically hand out bonus points?

Thanks, guys and gals,

The Bone-Man
Title: Re: Formula Help to Include In The Money
Post by: Magic_fubu on January 07, 2011, 10:27:08 AM
I believe that Corey added the <inthemoney> token for 2.6.b4, if you're using the beta.
Title: Re: Formula Help to Include In The Money
Post by: Corey Cooper on January 07, 2011, 11:07:32 AM
The inTheMoney variable is available in formulas in 2.5.11.  Not sure when it was added.

If you're just looking to add some points, just add it to the formula, optionally with a multiplier.  inTheMoney will have a value of 1 if the player is "in the money", 0 otherwise.  For example:

(n + 1 - r) * 2 + switch(r, 1, 10, 2, 5, 3, 2) + inTheMoney

or

(n + 1 - r) * 2 + switch(r, 1, 10, 2, 5, 3, 2) + (inTheMoney * 2)
Title: Re: Formula Help to Include In The Money
Post by: T-Bone on January 07, 2011, 03:00:54 PM
Near as I can tell in testing, this doesn't work. Only points added are those specified by the switch--none by inTheMoney. If I change the formula to (n+1-r)*2 + inThe Money which (as I understand it) should add 1 point for every player cashing, I get a 2 point progression from last to first. 'Course linear thought is not my strong suit. I've always been the guy who says, "Let's push this button and see what happens!" No biggy...I can just adjust the formula/switch when number of payouts changes. Thanks for the suggestion.
Title: Re: Formula Help to Include In The Money
Post by: Corey Cooper on January 07, 2011, 03:50:53 PM
I assure you it does work.  How did you test it?
Title: Re: Formula Help to Include In The Money
Post by: T-Bone on January 07, 2011, 05:00:02 PM
I tested using the ever-popular Test Formula button (which didn't work but could have been an error on my part). After reading your reply, I ran a test tournament and points were as they should have been. Which means you were correct and I incorrect--because I am never wrong!  ;D

Thanks.
Title: Re: Formula Help to Include In The Money
Post by: Corey Cooper on January 08, 2011, 07:45:57 AM
:)