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 ... 394
1
Help Me / Re: Status Update don't provide seat of players ?
« on: June 28, 2020, 06:32:45 PM »
Yep, same issue.  The field is only populated when the bust-out window is opened.  So before the tournament starts it is empty for all players.

If you really need it populated before the tournament starts, you can start the tournament, press X to bust-out players, cancel, then reset the tournament.  Just make sure to check all the boxes on the Reset Tournament window so the only thing that gets reset is the clock back to before the tournament started.

2
Help Me / Re: Status Update don't provide seat of players ?
« on: June 28, 2020, 01:26:37 PM »
It was removed.  I received a bug report regarding that field and realized I had unintentionally added it to the Status Update.  That field is an internal convenience field used only at one specific place in the application (during bust-out), and it is not kept updated.  If players are moved for any reason besides a bust-out, that "Seat" field may be incorrect.  Once I realized it was accidentally exposed for Status Updates, I simply removed it.  I can look into adding it back in the next update.

3
Help Me / Re: Bonus for winning
« on: June 19, 2020, 06:00:37 PM »
Just add + if(rank = 1, 50) to your current formula.

4
Help Me / Re: Create an event for the last 3 hands at one level?
« on: June 06, 2020, 10:53:19 AM »
  • Open the Settings window
  • Select Events tab
  • Press New Event button
  • Select Create a new event from scratch, press OK button
  • Give it a Description
  • Select The clock ticks for Trigger
  • Enter the following for Conditions:
    isRound and roundNum = 6 and secondsLeft = 180
  • Press New Action button
  • Select Pause the clock, press OK button
  • Press New Action button
  • Select Display message, enter your message, press OK button
  • Press OK button

5
Help Me / Re: Stats Page - Looking for a Rolling Average?
« on: June 06, 2020, 10:43:07 AM »
And this will likely work for a small group.  Where it breaks, I think, is when people miss tournaments.  If you have a 10 tournament season but want to see a rolling average for the last 5 tournaments, you setup the filter by date to include the last 5 tournaments, but not everyone participated in all 5 as they may have missed a tourney.  What you want to happen is the averaging of the last 5 tournaments each player participated in, which when players miss tournaments ends up being a different set of tournaments for each player.  That's the part the TD can't do currently.

6
Help Me / Re: Stats Page - Looking for a Rolling Average?
« on: June 05, 2020, 12:11:43 PM »
I think this would be a great thing to add.  But the difficulty is how the TD currently computes statistics.  It goes through a few phases:

- Look for all tournament files in the specified locations
- Filter out the tournaments that don't match the stats profile
- Go through the tournaments and get a list of all players
- Filter out the players that don't match the stats profile
- Go through all remaining tournaments and compute stats for each player in each tournament

By the time it gets to the last step where formulas are computed, we have a bunch of "player statistics" objects that contain all of the computed statistics.  This is used to compute the formula values.  To use your example:

sum(last(10, scores))

... at this point the scores variable is a list of the scores computed from the Tournament Scores formula.  But those scores are no longer associated with specific tournaments.  Functions like top(...) work fine because they only care about the score values themselves - they don't care which tournament they belong to.  That connection is gone.  But to implement something like last(...), we have to keep an association between the value and the tournament, so we can sort those values by tournament date.  It's not impossible, it's just not how the stats were designed.

tl;dr: you can't do it today, but could be a future enhancement.

7
General Discussion / Re: Is anybody playing home games?
« on: May 31, 2020, 12:20:33 AM »
TD usage has gone up a bit recently, starting at about mid-May, but it's not too significant, and it still fluctuates quite a bit.  Seems like *some* people are starting to play, but not too many.  Poker is such a personal, interactive game.  I'm really curious to see how casinos will handle it.

8
Help Me / Re: Define the final table?
« on: May 31, 2020, 12:18:09 AM »
Designating a final table is done by configuring which table(s) to collapse last.  On the Tables tab, press the "Collapse Order" button.  Then move the table you want to be your final table from the No preference list to the Collapse these tables last list.  You can do some more complicated collapsing of tables here if you want, but usually most people just want to designate that one table to be the final table.

9
Suggestions / Re: API
« on: May 05, 2020, 04:43:49 PM »
It's similar to JSON, but it isn't.  And sure, you could interact with it in JavaScript, but the format is not documented and ever changing.  You *might* find a JSON parser that could parse it into an object form, or modify one to do so, but it would not be an easy task.

I have been trying to understand and parse these for some time. I would be so much happier if there was a doc / resource to the definition of how this format is created/updated. (Or just move to straight JSON) it would certainly make the work I am trying to do simpler.

These files were never meant for external consumption, so I would not recommend it.  Have you tried the Status Updates feature on the Preferences tab?  Depending on what you're trying to do, that might be the right place look.  It exports a good amount of tournament information, including player info, to JSON.

10
Suggestions / Re: API
« on: May 05, 2020, 04:40:38 PM »

Hey Corey. Thanks for all the great work done with the new version.

Did you find a way to improve code, so that we could start looking at a way to build an API?
It would be so great to have a listener running on the main host - and I could stay at my table and bust people out from my phone while gaming is running.

Or a card reader with a screen, where people could scan their card - and bust them self out..
I would then have to stand up when someone have to move table or a table closes down.

It's almost certainly possible with version 3.7 since it was built on a different framework.  So it can likely be done.  I actually have this on my list of new features for the next major version, and I'd love to make it happen.  Hopefully I'l be able to.

And responding to myself: in my notes I included a few actions for the first pass:
- Start or stop the clock
- Move to next/previous round
- Buy-in player
- Bust-out player
- Add-on player
- Rebuy player

Any thoughts on other functions?

11
Suggestions / Re: API
« on: May 05, 2020, 04:37:54 PM »
Hey Corey. Thanks for all the great work done with the new version.

Did you find a way to improve code, so that we could start looking at a way to build an API?
It would be so great to have a listener running on the main host - and I could stay at my table and bust people out from my phone while gaming is running.

Or a card reader with a screen, where people could scan their card - and bust them self out..
I would then have to stand up when someone have to move table or a table closes down.

It's almost certainly possible with version 3.7 since it was built on a different framework.  So it can likely be done.  I actually have this on my list of new features for the next major version, and I'd love to make it happen.  Hopefully I'l be able to.

12
No issue I know of.  Can you give us a screenshot?

13
So upgrading should work seamlessly, but it will depend on the version you upgraded from.  Were you using version 2.5 or version 2.5.x?  There were 15 "patch" versions released: 2.5.1, 2.5.2, etc - all the way to 2.5.15.  If you were using 2.5.6 or later, it should "just work".  2.5.6 introduced the Data Store, which moved all of the included templates and sample files, as well as all of your saved data, from the installation folder (C:\Program Files (x86)\The Tournament Director 2) to your Documents folder.  If you were using 2.5.5 or earlier, you might have to copy files from the (old) installation folder over to your Documents folder.  In that case, open Windows File Explorer and go to C:\Program Files (x86)\The Tournament Director 2 and copy the folders saves, templates, db, images, and sounds to your C:\Users\<your-Windows-login>\Documents\The Tournament Director 2\Data.

14
Beta Testing / Re: 3.7 Released!
« on: April 01, 2020, 02:58:45 PM »
Thanks.

I do think your instance of TD 3.7.1 is using language catalogs from 3.4.3, because I duplicated the context-menu part of pointing my version 3.7.1 at the language catalogs of 3.4.3, and it looks exactly like your screenshot.  But I don't see anything in your information that would *specifically* cause this.  But I do see some weird things.

For example:

Data Folder:    C:\Users\jrwil\OneDrive\Documents\The Tournament Director 2
DB File:        C:\Users\jrwil\AppData\Local\Programs\TheTournamentDirector\db\td.db
DB Folder:      C:\Users\jrwil\AppData\Local\Programs\TheTournamentDirector\db
Install Folder: C:\Users\jrwil\AppData\Local\Programs\TheTournamentDirector
Repo Folder:    C:\Users\jrwil\AppData\Local\Programs\TheTournamentDirector


OK, notice that the Data Folder is, I presume, where you have your Documents folder, which is what it should be.  I don't know if you've configured Windows so that your Documents folder is on your OneDrive, or if you're using the TD's "specialfolders.txt" override.  Either way, that's more or less correct.

However, it looks like you've got your Data Store inside of the install folder.  This is NOT a good thing.  When the TD is updated, either by updating itself or by you downloading and installing a new version, the install folder is completely deleted (along with everything in it).  So an upgrade will delete your Data Store.  I don't think that's what you want.  You really should not be putting anything inside of the install folder.  I actually ran into this issue when I added the language pack support during 3.7 beta, and I initially put them inside the install folder, until someone pointed out that their language pack was deleted when they upgraded.  So keep everything out of there.

If you happened to copy stuff from your old (3.4.3 or older) TD instance to this folder, it might explain why the language catalogs are out of date.  To fix this, first move your Data Store somewhere else.  Then re-install version 3.7.1.  See if this clears up the issue.

15
Beta Testing / Re: 3.7 Released!
« on: April 01, 2020, 12:12:15 AM »
Is this what you are looking for?

Not quite.  Press Ctrl+Shift+Alt+V within the TD.  It should open a "System Information" window with some TD specific information.

Pages: [1] 2 3 ... 394