Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Corey Cooper

Pages: 1 2 3 [4] 5 6 ... 372
46
Help Me / Re: Cant validate into new version
« on: May 15, 2018, 08:32:04 PM »
Try support@thetournamentdirector.net.  Make sure to include details like the exact message you are seeing, and any errors you are seeing.  If you're emailing from an email address different from the one you purchased your license with, make sure to include the last 5 digits of your license key.  That will minimize the back-and-forth emails if I need to lookup your license.  The more details you can provide the more likely I will be able to help resolve the issue.

47
efdenny is correct.

isbreak is a technically a boolean (true or false), but its actual value will be 1 or 0 which is functionally the same thing.  It's a 1 whenever the tournament is on a break, 0 otherwise.  So it "isbreak=1" will be true during any break.

Actually, you want to combine the two, because breakNum will be 1 once the tournament enters the first break, but if I recall correctly, it will remain 1 until the 2nd break.  For example, if there are 3 rounds between break 1 and two, breakNum will still have a value of 1 during those rounds.  So you want to do something like:

isBreak and breakNum=1

48
Help Me / Re: Open Face Chinese Poker
« on: May 11, 2018, 02:48:29 PM »
If the values change per round, but are always the same from tournament to tournament, you could use a set of layout tokens to accomplish this.  Not ideal, but I think it would work.

On the Layout tab, press the "Tokens" button in the "Other Controls" section.  This opens the Layout Tokens dialog.  Basically you can add your own tokens here, which, when inserted into the layout, will show whatever you want them to.

So, add a token named "roundone".  Set it to "Text" and also "Plain text".  For it's value, put the values for round 1.  For example:

1 - 5
2 - 10
3 - 15
4 - 20
.
.
.
19 - 95
20 - 100


Repeat, adding a new token named "roundtwo" with the values for round 2.  And so on.

In your layout, choose the cell where this will be displayed.  You should probably remove all existing Property Sets, but this will depend on your layout.  Create a new property set for the first round.  With the new property set selected, press the Conditions button and set the "Level" to "Round number:" "=" "1" and press OK.  Edit the "Contents" and set the HTML to:

<roundone>

Repeat, adding a new property set for round 2, using the <roundtwo> token.

Tedious to set up the first time, but it's a one-time setup.  Unless those values change, but then you just need to edit the values, not the setup.

49
Help Me / Re: Computer crash
« on: May 11, 2018, 02:36:12 PM »
As long as you've saved your tournament, you can exit, restart, reboot, whatever, start up the TD again, load the tournament, and you should be exactly where you left off.  I always recommend you enable Auto-save, so you can always get back to exactly (or very close to) where you left off.  In a future version, once the code is ported to a new framework, auto-save will be the default.

Game over only occurs if the tournament has already started and there is 1 or 0 players left in the tournament.  Were players suddenly busted out when you loaded the tournament again?

50
Help Me / Re: Auto-addon at a certain stage?
« on: May 06, 2018, 05:28:39 PM »
You can't have to software automatically apply an add-on for those who haven't busted out.  And the limitations to who can rebuy or add-on are somewhat primitive.  You can't apply any other logic, other than what you see on the Game tab in the Rebuys and Add-ons sections.  There is a feature request in the queue for adding more logic to this.  Basically, you could have a formula for add-ons, for example, that evaluates to the number of add-ons a player has "available".  It could be based on just about anything in the tournament, including the number of rebuys the player has already purchased, what the currently level is, how many add-ons in total have been purchased by the entire tournament, etc.  But it isn't there today.

51
Help Me / Re: Open Face Chinese Poker
« on: May 06, 2018, 05:24:07 PM »
I honestly have never heard of this game, so I definitely don't understand the blinds.  I just read a quick primer on it, but it didn't mention anything to do with rounds or blinds.  What exactly are you showing (is it actual blind bets?) and how does it change per level?

52
Help Me / Re: Tournament Status HTML table from JSON?
« on: May 06, 2018, 05:12:54 PM »
Sure.  Sort the players first.  You can try something like this:

Code: [Select]
TDStatus.Vars.Players.sort(function(a, b) {
  if(a.LastName < b.LastName)
    return -1;
  else if(a.LastName > b.LastName)
    return 1;
  else if(a.FirstName < b.FirstName)
    return -1;
  else if(a.FirstName > b.FirstName)
    return 1;
  else if(a.NickName < b.NickName )
    return -1;
  else if(a.NickName > b.NickName )
    return 1;
 
  return 0;
});

You probably want to clear the table each time first.  See https://stackoverflow.com/questions/2620181/clear-table-jquery.

53
Help Me / Re: Tournament Status HTML table from JSON?
« on: May 01, 2018, 11:07:04 PM »
Well, I don't do a whole lot of building the DOM this way, using jQuery or anything else, but I do spot some simple errors in your code.

for (var z = 0; z < theBuyIns;; z++) {

Those two semicolons together will cause an error, because it expects after the first of the two it will find an expression (z++).  So take out one of the two semicolons.

tr.append("<td>" + TDStatus.Vars.Players[z].Rank; + "</td>");

Actually each of these lines has an extraneous semicolon (after TDStatus.Vars.Players[z].Rank in this case).  Remove them.

$('table').append(tr);

This is probably OK.  I tend to reference things by ID, so I immediately thought this needed a # in front of "table", but this will reference every table on the page and append the rows to it.  If this is what you want, then OK.

54
Help Me / Re: Tournament Status HTML table from JSON?
« on: April 30, 2018, 05:12:32 PM »
I was going to refer you to this topic: http://www.thetournamentdirector.net/forums/index.php?topic=5384.0

... but then discovered that was you.  :)

What are you struggling with?

55
General Discussion / Re: User Manual
« on: April 24, 2018, 10:50:42 PM »
No, it's not posted online.  It is installed with the TD.

56
Help Me / Re: Poker League - Formula for calculating points
« on: April 24, 2018, 10:49:48 PM »
I'm not really sure about the first one.  Whether or not the formula is awarding the correct points is certainly questionable, but it's not awarding an additional 5 points for spots 1 through 9.  Spots 1 through 9 get a percentage of 10*buyins, plus what every other player gets.  Every other player gets 5 points plus 5 points per hit.

For importing players into Stats Genie, just press the Export button on the Game tab after your tournament.  There's a button for Stats Genie.  Once you configure the TD with your Stats Genie info, it becomes very easy to have the TD submit your tournament info the the Stats Genie website for you.  But it won't update it in real time.  You have to wait for your tournament to end before you can upload it.  As far as I know, Stats Genie won't accept partially complete tournament data.


57
General Discussion / Re: User Manual
« on: April 23, 2018, 03:32:35 PM »
On the Help tab, look to the bottom.  You'll see buttons for opening in a separate window, opening in Internet Explorer, and printing.  There's also a shortcut installed on the Windows Start Menu which will open the help file in your default internet browser.

58
Help Me / Re: WSOP POY Formula
« on: April 21, 2018, 05:24:15 PM »
Dangit, I just came to the same conclusion but didn't look to see that you had figured it out first.

Also, you wanted it rounded, which I omitted.  So just take the close parentheses off the end of the first line (after the assigns) and put it at the end:

assign("p", n - 9)
assign("p20", round(p * .2))
assign("p30", round(p * .3))

round(switch(r,1,477.45,2,238.75,3,214.845,4,190.97,5,179.05,6,167.1,7,143.25,8,131.27,9,119.35)*pow(n,0.125)
+ if((r > 9) and (r <= 9 + p20), 95.49 * pow(n, 0.125))
+ if((r > 9 + p20) and (r <= 9 + p20 + p30), 47.745 * pow(n, 0.125))
+ if(r > 9 + p20 + p30, 23.875 * pow(n, 0.125)))

59
Help Me / Re: WSOP POY Formula
« on: April 20, 2018, 11:48:47 AM »
Would you believe I worked on this and tested it to the extent that it didn't error, but didn't really see if the values were correct?  I would.

The variable names in the "assign" statements need quotes:

assign("p", n - 9)
assign("p20", round(p * .2))
assign("p30", round(p * .3))

round(switch(r,1,477.45,2,238.75,3,214.845,4,190.97,5,179.05,6,167.1,7,143.25,8,131.27,9,119.35)*pow(n,0.125))
+ if((r > 9) and (r <= 9 + p20), 95.49 * pow(n, 0.125))
+ if((r > 9 + p20) and (r <= p + 9 + p20 + p30), 47.745 * pow(n, 0.125))
+ if(r > p + 9 + p20 + p30, 23.875 * pow(n, 0.125))


60
Help Me / Re: Each Players Starting Table
« on: April 20, 2018, 11:42:49 AM »
Player seating is recorded in the tournament history at tournament start.  There are preferences to record accepted player movement suggestions and manual player movement in the tournament history, but those are relatively recent additions.

Keep in mind that this is recorded in what is essentially a human readable log, not a program friendly format.  It certainly could be kept, but there has not been, historically, much interest in this.

Pages: 1 2 3 [4] 5 6 ... 372