Author Topic: Need help with a bad formula  (Read 1555 times)

Crazy_Call

  • Newbie
  • *
  • Posts: 4
    • View Profile
Need help with a bad formula
« on: October 22, 2011, 07:00:15 PM »
0.3 points for partecipation but....
ITM to 15 position 0,03 * n
ITM to 10 position 0,036 * n
9 position 0,04 * n
8 position 0,044 * n
7 position 0,048 * n
6 position 0,052 * n
5 position 0,056 * n
4 position 0,06 * n
3 position 0,066 * n
2 position 0,072 * n
1 position 0,08 * n

Example: In a tournament of 50 people the 4th gains 3 points (0,06*50),like the first gains 4 points (0,08*50)

Anyone can help me? Thanks you!

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6220
    • View Profile
Re: Need help with a bad formula
« Reply #1 on: October 24, 2011, 12:00:37 PM »
0.3
+ if((r <= inTheMoneyRank) and (r >= 15), n * .03)
+ if((r >= 10) and (r < 15), n * .036)
+ (n * switch(r, 9, 0.04, 8, 0.044, 7, 0.048, 6, 0.052, 5, 0.056, 4, 0.06, 3, 0.066, 2, 0.072, 1, 0.08, 0))


Crazy_Call

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Need help with a bad formula
« Reply #2 on: October 26, 2011, 08:50:17 PM »
I try it tomorrow. Thanks you Cooper for help me. I tell you if it works like I need. Bye.

Crazy_Call

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Need help with a bad formula
« Reply #3 on: October 27, 2011, 08:39:51 PM »
I test this formula tonight but ther are two kinds of problems.
My test has 17 players in torunament and only 4 are in the money,for that reason all players from ranking 10 to 15 must take only 0.3 points,because they aren't ITM,in this case.
Second problem is that: All players who take a number of points different to 0.3 standard,they didn't obtain this 0.3.

I try something test to resolve this problem,but your help to me are so whised!  ;)

P.S. Sorry for my english.

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6220
    • View Profile
Re: Need help with a bad formula
« Reply #4 on: November 01, 2011, 11:16:30 AM »
I test this formula tonight but ther are two kinds of problems.
My test has 17 players in torunament and only 4 are in the money,for that reason all players from ranking 10 to 15 must take only 0.3 points,because they aren't ITM,in this case.

Let's assume ITM is 4th place in your tournament.  Your original request says "ITM to 15 position 0,03 * n" and "ITM to 10 position 0,036 * n".  These are overlapping segments of your players.  Does that mean that 4th to 15th place gets .3 points for participation PLUS ".03 * n" points, and 4th to 10th place gets an ADDITIONAL ".036 * n" points?  I have to admit I'm confused.

Second problem is that: All players who take a number of points different to 0.3 standard,they didn't obtain this 0.3.

The first line of the formula "0.3" ensures every players gets 0.3 points, regardless of their position.  Are there certain players that shouldn't get it?

I try something test to resolve this problem,but your help to me are so whised!  ;)

P.S. Sorry for my english.

No worries.

Crazy_Call

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Need help with a bad formula
« Reply #5 on: November 02, 2011, 03:09:50 PM »
I need that the .3 points must be assigned to everybody, but not to the final table, is that possible in some way?
My final table is a 9 hand table, with 9 players.
I wait full of hope for answer :D
Thank's

Magic_fubu

  • Hero Member
  • *****
  • Posts: 1035
    • View Profile
Re: Need help with a bad formula
« Reply #6 on: November 02, 2011, 03:20:16 PM »
Not 100% sure, but couldn't we just add the following (or something like it) to the end?

- if(switch r,1,0.3,2,0.3,3,0.3,4,0.3,....)

I know that probably isn't the easiest way to accomplish it, but it should be able to get the job done at the very least
My cowboys shot down your rockets
---
If you send a request to me please send that you got me from here w/your TD name to confirm. Thanks!

TIMMER

  • Hero Member
  • *****
  • Posts: 562
    • View Profile
Re: Need help with a bad formula
« Reply #7 on: November 02, 2011, 04:32:17 PM »
0.3
+ if((r <= inTheMoneyRank) and (r >= 15), n * .03)
+ if((r >= 10) and (r < 15), n * .036)
+ (n * switch(r, 9, 0.04, 8, 0.044, 7, 0.048, 6, 0.052, 5, 0.056, 4, 0.06, 3, 0.066, 2, 0.072, 1, 0.08, 0))


If finale 9 no points, Just change Coreys post at the bottom,       + (n * switch(r, 9, 0.00, 8, 0.00, 7, 0.00, 6, 0.00, 5, 0.00, 4, 0.00, 3, 0.00, 2, 0.00, 1, 0.0, 0))
« Last Edit: November 02, 2011, 04:39:25 PM by TIMMER »