The Tournament Director Forums
Main => Help Me => Topic started by: mm48 on March 31, 2014, 12:30:20 PM

I have a formula assigning points based on ranking in the tournament. How can I display the points awarded to the next outgoing?

Are you wanting to display the points earned at the last tournament?

Current tournament:
If 17 players remaining in the tournament, display how many points will score the next player (rank 17th), busted out, according to a formula.
Formula is :
assign("payes",33);
assign ("primeTF",n);
assign ("primeHU",(0*n));
roundUpToNearest ( if (r>n*(payes/100),0,1)*(10 *(10*sqrt(n))/(sqrt(r)) + if (r < 9,primeTF,0) + if (r < 3,primeHU,0)),10)

<pointsFormula text='assign("payes",33); assign ("primeTF",n); assign ("primeHU",(0*n)); roundUpToNearest ( if (r>n*(payes/100),0,1)*(10 *(10*sqrt(n))/(sqrt(r)) + if (r < 9,primeTF,0) + if (r < 3,primeHU,0)),10)' ranks="117" displayRank="true">
The ranks attribute is a bit limited unfortunately. It would be nice if you could tell it to display only the rank of the next bustout, or something like that. I'll put that on my todo list. Also a way to set the text attribute to just pull the actual Points for Playing formula, instead of having to reproduce it in the token.

I'll put that on my todo list.
Is it ready in the Beta testing version 3.4 ?

It looks like if you omit the text attribute or give it an empty value, it will pull your configured Points for Playing formula (this is actually in the explanation of the pointsFormula token). So that part is there. It doesn't look like I've modified the ranks attribute yet.

Actually, ranks will take ranges of ranks, like ranks="13" or ranks="13,56,89" (why anyone would want to do that I don't know). But it doesn't recognize "next" yet.