Author Topic: Couple of questions  (Read 846 times)

Magic_fubu

  • Hero Member
  • *****
  • Posts: 1035
    • View Profile
Couple of questions
« on: May 15, 2012, 11:04:10 AM »
I know that I can use the inLeagueRank to eliminate points from being distributed to non-League members. Is this a way to change the number of players? I know this next part would be a suggestion, but if not, would it be possible to have a token that counts players based upon their league rank? The reason that I ask is that we tier our points for making the final table based upon the number of people that show up (Under 20, 20-30, 30-40, and 40+). There are weeks that I don't host, and as a result, often have too many hits reported, or not enough. I adjust by placing "Unclaimed" players into the tournament to even things out, but I don't want them to count as part of the actual players if at all possible. I know I could just adjust the points, but I don't want to adjust ten players if I don't have to.
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!

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5428
    • View Profile
Re: Couple of questions
« Reply #1 on: May 15, 2012, 11:21:10 AM »
I'm not sure I follow, but let me at least enumerate the relative variables:

NumberOfLeagueMembers: total number of bought-in players who are also members of the league to which the tournament belongs
InLeague: 1 if this player is a member of the tournament's league, else 0
LeagueRank: This player's rank relative to other league members

Is NumberOfLeagueMembers what you're asking for/about?

Magic_fubu

  • Hero Member
  • *****
  • Posts: 1035
    • View Profile
Re: Couple of questions
« Reply #2 on: May 15, 2012, 11:53:43 AM »
Bingo! Exactly what I'm looking for. I use filler players (Unclaimed) to reconcile the points sheet, but I need to keep it within the number of people that actually played. Using the filler has sometimes bumped me up a points scale, and in this week's case would be two scales (from 20s to over 40).

So LeagueRank is able to replace R, but how would I be able to incorporate the NumberOfLeagueMembers into the weekly stats?
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!

Magic_fubu

  • Hero Member
  • *****
  • Posts: 1035
    • View Profile
Re: Couple of questions
« Reply #3 on: May 15, 2012, 12:47:26 PM »
I think I've got it... playing around with it now that I've got my laptop w/TD on it...

if(NumberOfLeagueMembers < 20, switch(LeagueRank,1,28,2,25,3,22,4,20,5,18,6,16,7,14,8,12,9,9,10,6), if(NumberOfLeagueMembers < 30, switch(LeagueRank,1,32,2,29,3,26,4,23,5,20,6,18,7,16,8,14,9,12,10,9), if(NumberOfLeagueMembers < 40, switch(LeagueRank,1,36,2,33,3,30,4,27,5,24,6,21,7,18,8,16,9,14,10,12), switch(LeagueRank,1,41,2,37,3,34,4,30,5,27,6,24,7,21,8,18,9,16,10,14))))
« Last Edit: May 15, 2012, 12:50:33 PM by Magic_fubu »
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!

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5428
    • View Profile
Re: Couple of questions
« Reply #4 on: May 15, 2012, 03:23:48 PM »
So for players not in the league, LeagueRank should be 0, and thus will default to a value of 0 in the switch() statements (awarding your non-league players 0 points).

Magic_fubu

  • Hero Member
  • *****
  • Posts: 1035
    • View Profile
Re: Couple of questions
« Reply #5 on: May 15, 2012, 03:44:49 PM »
Right. Only snag I came across was that, based upon my putting a '1' in for the 'points for playing' box. But that's not a HUGE deal to me, since I can make a filter comprising of unclaimed points and total them up, should they become claimed, since everyone gets a point for playing.
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!