Author Topic: Points / Forumla help  (Read 1958 times)

Johno

  • Full Member
  • ***
  • Posts: 191
    • View Profile
    • The Poker Leaderbaord
Points / Forumla help
« on: April 03, 2009, 09:51:30 PM »
I'd like a simple forumla for the following points system please if someone with more know how can help.

1st: 20 * # of Players
2nd: 16  * # of Players
3rd: 14 * # of Players
4th: 11 * # of Players
5th: 10 * # of Players
6th: 9 * # of Players
7th: 8 * # of Players
8th: 7 * # of Players
9th: 6 * # of Players
10th+: 20 Points

If there is a way of determining the time they registered they could get a bonus 10 points for regoing 15+ mins before tourney start.

If there is a chop i'd like all players in the chop to get the lower places points.

For example, if top 5 chop, i'd like them all to get 5th place points not 1st's points.

I'm also interested in finding out how I can total these points towards season points too. I really dont have a clue how this works.

Can we export the season standings to html?


Thanks.
My League Website - Joomla Component for TD. Now available for Joomla 1.5, 1.7 & 2.5

macacan

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
    • Chorley Poker League
Re: Points / Forumla help
« Reply #1 on: April 04, 2009, 02:17:58 AM »
You can set up leagues and within that league you have the games.

So you set a league up or several leagues on the data base tab.

Then you set the game in a league and even season if you like on the game tab.

All you do then is run the stats on the stats tab, you select the filters that you want first in stats filter
then refresh tournys.
 
It will give you the league table up to that date, you can then export that.


 8) 8) 8) 8) 8) 8) 8) 8) 8) 8)




Johno

  • Full Member
  • ***
  • Posts: 191
    • View Profile
    • The Poker Leaderbaord
Re: Points / Forumla help
« Reply #2 on: April 04, 2009, 09:26:45 AM »
thanks.

Looking for the formula help now thanks.
My League Website - Joomla Component for TD. Now available for Joomla 1.5, 1.7 & 2.5

Johno

  • Full Member
  • ***
  • Posts: 191
    • View Profile
    • The Poker Leaderbaord
Re: Points / Forumla help
« Reply #3 on: April 04, 2009, 07:26:46 PM »
here's what i'm going to use..

assign("x", 20)
assign("v", switch(r, 1, 10 * n, 2, 8 * n, 3, 7 * n, 4, 5.5 * n, 5, 5 * n, 6, 4.5 * n, 7, 4 * n, 8, 3.5 * n, 9, 3 * n))

if(bc >0 , v * 1.5, v) + x

It's not quiet what I was after but as close as I can work out.

It multiplies the scores by 1.5 for entry fee games.
My League Website - Joomla Component for TD. Now available for Joomla 1.5, 1.7 & 2.5

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6220
    • View Profile
Re: Points / Forumla help
« Reply #4 on: April 06, 2009, 10:28:56 AM »
Here's the formula for your original request:

switch(r, 1, 20, 2, 16, 3, 14, 4, 11, 5, 10, 6, 9, 7, 8, 8, 7, 9, 6) * n + if(n > 9, 20)

To add your "entry fee" multiplier:

(switch(r, 1, 20, 2, 16, 3, 14, 4, 11, 5, 10, 6, 9, 7, 8, 8, 7, 9, 6) * n + if(n > 9, 20)) * if(bc > 0, 1.5, 1)

Johno

  • Full Member
  • ***
  • Posts: 191
    • View Profile
    • The Poker Leaderbaord
Re: Points / Forumla help
« Reply #5 on: May 22, 2009, 08:21:34 PM »
I'm trying to get this streamlined formula working but it's not quite right.

(switch(r, 1, 10, 2, 8, 3, 7, 4, 5.5, 5, 5, 6, 4.5, 7, 4, 8, 3.5, 9, 3) * n + if(n > 9, 20)) * if(bc > 0, 1.5, 1)

Wanting to produce:

1. number of Players x 10
2. number of Players x 8
3. number of Players x 7
4. number of Players x 5.5
5. number of Players x 5
6. number of Players x 4.5
7. number of Players x 4
8. number of Players x 3.5
9. number of Players x 3
10+ Players will receive 20 points

Cash entry games are multiplied by 1.5

The above formula seems to add the 10+ players points to everyone.

Example.. a tourney with 50 players and a buyin of $10 should see 1st place get awarded 750 points. (50 x 10 x 1.5) But they are getting 780 (50 x 10 x 1.5 + 30)

Any idea why ?
My League Website - Joomla Component for TD. Now available for Joomla 1.5, 1.7 & 2.5

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6220
    • View Profile
Re: Points / Forumla help
« Reply #6 on: May 22, 2009, 09:02:10 PM »
Yeah, the part

if(n > 9, 20)

should be

if(r > 9, 20)

I think.  That would give players ranking 10th or above the 20 points.  The way it was, everyone gets 20 points if there are at least 10 players in the tournament.  Multiplied by 1.5 accounts for the additional 30 points.

That was my mistake originally, wasn't it?   Sorry.   :)

Johno

  • Full Member
  • ***
  • Posts: 191
    • View Profile
    • The Poker Leaderbaord
Re: Points / Forumla help
« Reply #7 on: May 22, 2009, 09:03:33 PM »
haha.. I just saw that and came back to post it, but you beat me.

As always, awesome support.

Thanks Corey.
My League Website - Joomla Component for TD. Now available for Joomla 1.5, 1.7 & 2.5