Author Topic: Poker league - points... help plz  (Read 2261 times)

Bojan1983

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Poker league - points... help plz
« on: July 17, 2009, 12:33:27 PM »
Hi... I am old TD user but havent been using it for a while...

Now i want to start new league and I need some help...

I am familiour with basic stuff but when i got to awarding pts i am not sure where to put the formula...  (at game tab? or where?)
Also i am not sure how to make formula for calculating pts, but i have a system which i would like to use... It would be based on number of players...

if its between 6 and 20 players ->
1. 12% prize pool / 100
2. 10% pp / 100
3. 8% pp/100
etc
4.
5.

if its between 21 and 25 players ->
1. 12 pp /100
etc
2.
3.
4.
5.
6.

if its between.... etc...

I am sure if someone writes mi guidelines i would be able to write whole formula by myself...
Proud owner of TD licence :)

Bojan1983

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Re: Poker league - points... help plz
« Reply #1 on: July 18, 2009, 08:28:23 AM »
yes, one more thing... what happens when last 2 (or3) players decide to split the prize pool and there is no actual winner... how do the points get awarded?...

If last 3 players decide to make a deal i would like for them to each get points for 3rd place... is that doable?
Proud owner of TD licence :)

Bojan1983

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Re: Poker league - points... help plz
« Reply #2 on: July 20, 2009, 06:32:28 AM »
Hmm... I started on my own, read whole manual and I still dont know what to do...  this should be line only for the first place...

if r=1, 0,12*pp/100

not working...


really need help...
Proud owner of TD licence :)

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6216
    • View Profile
Re: Poker league - points... help plz
« Reply #3 on: July 20, 2009, 10:00:04 AM »
if(r=1, 12*pp/100, 0)

Gotta have the parentheses in there.  And it reads "if r equals 1 then 12*pp/100 else 0", so you've got to swap the values, too.

I'd help more with your formula but there's not enough info in your post to know where you're going with it.

Bojan1983

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Re: Poker league - points... help plz
« Reply #4 on: July 20, 2009, 10:47:44 AM »
Hmm... i thought i explained it well, sorry...

If there are less then 20 players i want to reward top5 players with pts, if its between 21 and 25 i wanna give pts to top 6 players, 26-30 top 7 players etc, 31-40 top 8, 41-50 top 9, 51+ top10....

1st  - should get exactly 12% prize pool / 100 (if there is 10000€ prize pool that would give player exactly 12 pts)
2nd - 10% prize pool / 100
3rd -  8%prize pool / 100
4th - 7% prize pool / 100
5h - 6% prize pool / 100
6th - 5% prize pool / 100
7th - 4% prize pool / 100
8th - 3% prize pool / 100
9th - 2% prize pool / 100
10th - 1% prize pool / 100


I dont know how to expain it better... is this possible?

Also, as i wrote above, in case of deal, i want to all players same amount of pts which should be minumum they coulda won... Lets say 3 players left and decided to make a deal and split the prize pool... i want to give them all points for 3rd place...
Proud owner of TD licence :)

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6216
    • View Profile
Re: Poker league - points... help plz
« Reply #5 on: July 21, 2009, 10:35:26 AM »
(switch(r, 1, 12, 2, 10, 3, 8, 4, 7, 5, 6, 6, 5, 7, 4, 8, 3, 9, 2, 10, 1, 0) / 100) * (r < (if(n < 21, 5, if(n < 26, 6, if(n < 31, 7, if(n < 41, 8, if(n < 51, 9, 10)))))) ? 1 : 0) * prizePool / 100

In the case of a deal, I would recommend editing those players on the Players tab and manually adjusting their points.  The issue is that the Points for Playing formula will still apply to them - there's no way to make it apply to certain players and not to others.  Also, while the Chop dialog allows you to rank the players involved in the chop, it still applies ranking rules.  If you have a race with 3 people, and 2 tie for first, then you have two people ranked 1st, the 3rd person ranked 3rd, and no one ranked 2nd.  If they all tie then you have 3 people ranked 1st and no one ranked 2nd or 3rd.  Likewise with the chop.  You can't make them all rank 3rd and no one ranked 1st or 2nd.

Bojan1983

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Re: Poker league - points... help plz
« Reply #6 on: July 22, 2009, 04:49:11 AM »
Thanks Corey!

Now i see I would be never able to write it my own...

But, i tried it and it allways awards 1 player less then it should be... so when there is 20 players, instead 5, only top4 players get pts...
So i changed some numbers :

(switch(r, 1, 12, 2, 10, 3, 8, 4, 7, 5, 6, 6, 5, 7, 4, 8, 3, 9, 2, 10, 1, 0) / 100) * (r < (if(n < 21, 6, if(n < 26, 7, if(n < 31, 8, if(n < 41, 9, if(n < 51, 10, 11)))))) ? 1 : 0) * prizePool / 100

Just tell me is this ok?
Atm I am testing it... and everything looks fine for now...


(Even though i couldnt write it, i understand your formula, and that confuses me... It seams ok... can you explain me what was wrong?) (I guess somewhere where you put "<", you forgot to add "=")
« Last Edit: July 22, 2009, 05:04:50 AM by Bojan1983 »
Proud owner of TD licence :)

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6216
    • View Profile
Re: Poker league - points... help plz
« Reply #7 on: July 22, 2009, 09:42:30 AM »
You're right, it should have been:

(switch(r, 1, 12, 2, 10, 3, 8, 4, 7, 5, 6, 6, 5, 7, 4, 8, 3, 9, 2, 10, 1, 0) / 100) * (r <= (if(n < 21, 5, if(n < 26, 6, if(n < 31, 7, if(n < 41, 8, if(n < 51, 9, 10)))))) ? 1 : 0) * prizePool / 100