1
Help Me / Re: Poker league - points... help plz
« 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 "=")
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 "=")