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.

Topics - Corey Cooper

Pages: 1 2 [3] 4
Templates, Layouts and Sounds / Sharing your layouts
« on: March 17, 2010, 10:42:24 AM »
First, let me just say there are some really fantastic layouts that have been posted and shared here.  Some of you have done some things with the software I never even realized was possible.  Thanks to everyone who has shared their work with others, I'm sure everyone appreciates your hard work.

I'd like to make some of these layouts a little more accessible to others, with your permission of course.  To that end, I'd like to post your layouts on a dedicated page on the main Tournament Director site, where everyone can easily see them, download and try them out.  So if you have a layout you're willing to share, attach it to a post, or send it to me via email (, or send a personal message to me, however you want to get it to me, and I'll package it up and post it on the main site.

Some pointers:
- The best way to share a layout is to use the Export function on the Layout tab.  This will create a ZIP file with everything your layout needs, including any images it uses.
- Include your name: full name, nickname, or forum name, or share it anonymously, it's up to you.
- Include any other information about the layout that you think is relevant (or none, again, it's up to you).
- If you've already posted your layout somewhere in the forums, a link to the relevant topic is fine

After I get a few together I'll set up a page that should make it a little easier for others to use some of these great layouts.

Beta Testing / Version 2.6 alpha 1
« on: February 12, 2010, 01:36:53 AM »
This is an ALPHA release of the software.  Alpha typically means that the software is not ready for prime-time, and has known or anticipated bugs.  For this release, there are a few known issues (listed in the changes.txt file, and below), but mainly the software is classified as alpha because it has not been thoroughly tested.  Thus, the probability of bugs is high.  It is not recommended that you use the software for live tournaments (but I hope some adventurous people out there will).

First, backup your data first.  I cannot stress this enough.  This is good advice with any alpha/beta software.  Use the Backup feature on the Database tab to backup your saved tournament files, templates, preferences, and database.  Go the extra mile and be aware of the location of all of your saved data and make a backup copy of it.

The user manual has not been updated yet.  Below is the relevant part of the changes.txt file.  The link to download the alpha is at the bottom.

Thank you in advance to everyone who will participate in this test release.  I welcome your feedback.

The Tournament Director 2.6 alpha release 1
Copyright (c) 2004 - 2010 Corey Cooper

Version 2.6.a1 (alpha release 1)
New Features:
- Tournament files (.tdt) are now associated with the Tournament Director
  application.  Double-clicking a Tournament Director tournament file in
  Windows Explorer will now start the Tournament Director and open the
  selected tournament automatically
- The database, preferences, tournaments, and templates are now saved in a
  new format
- Major rewrite of all underlying object code, dialog code, and UI code
- Added ability to specify more than one hitman for a player bust-out
- Stats tab now uses Profiles.  Tournament file location now specified in
  profile and not on Preferences tab.  Currently selected profile displayed
  on Stats tab
- Layout is now saved independently from tournament
- Various Layout dialogs completely overhauled
- Added feature to import components from other Layouts
- Added Layout Design Mode
- Cells simplified to use only Property Sets.  Property Groups removed
- Added Advanced conditions to allow formula-style conditions for Property Sets
  and Screen Sets (basic conditions still available)
- Added Layout screen property "expand"
- Added "expand" and "outline" attributes to <tables> token
- Added <playernames>, <evenchop>, <prizemoneyleft> and <prizepointsleft>
- Added "link" attribute to <tdbutton> token in token descriptor (attribute
  was already there, but not displayed in the "Add Token" dialog)
- "Add Token" dialog now displays token code as the token is being defined
- Added "Used by" button to Global Properties Dialog
- Auto-resize feature now adjusts everything, not just visible components
- Added Seating Chart Screen option to set table width
- Added Seating Chart Screen option for multiple columns in List mode
- Added new table blueprints:
- Game Player dialog overhauled
- Stats Player dialog overhauled
- New Tournament dialog now gives option to use any saved tournament as a
- Default filename provided for new tournaments
- Added context-menu option for removing a player from a league (Database tab)
- Added feature to shift the time of a tournament (useful when the PC clock was
- Countdown dialog now gives option to start the clock immediately or pause the
- ID field added to Name Format custom option
- added "roundToNearest()", "roundUpToNearest()", and "roundDownToNearest()"
  functions for formulas
- Tables tab now renders tables dynamically according to window width
- Added tournament status to Controls tab (Clock section)
- Chop dialog now recognizes negative relative rankings numbers (allows for
  easily moving a chopped player to a higher rank)
- "Problems" changed to more appropriate "Alerts"
- "Columns" (arrangement) and "Column Names" functions consolidated under
  "Preferences" on respective Settings tabs

Bugs Fixed:
- Settings window size/location not saved on exit (sometimes)
- "position" variable calculated incorrectly for manually adjusted chops
- when exporting a layout and a file is found that is outside of the current
  Data Store, a confirmation dialog is presented with the option to continue
  or cancel, but only an OK button is given
- Status Messages sometimes fail to "flash"
- In the History section of the Game Player dialog, "Knocked out" events always
  show a player collecting the bounty chip even if the player was not
  eligible to collect the bounty chip
- "Find" on Remove Players From Tournament dialog broken
- Selecting "Allow players to rebuy if not busted" in the Quick Start Wizard
  does not set the option correctly
- The Extended Display dialog sometimes can not move the Game window to the
  Extended display unless the Game window is first resized
- Decimal point and Decimal comma preferences allowed to be set to same
- Changing Name Format preference does not automatically update built-in
- XML exports do not properly encode special characters
- Restoring a backup file does not restore preferences
- Formula variables "buyinrake", "rebuyrake", and "addonrake" always set to 0
- Background images for tables are broken when player movement highlighting
- Automatic prizes feature, in simple mode, uses number of players in the
  tournament, not the number of entrants
- Automatic prizes feature uses hard-coded prize name if the name attribute
  is not included in the XML descriptor file
- Test All dialog (on Tournament Scoring dialog) "Points" column should be
  "Score" column

Known Issues:
- In testing, one particular PC experienced rhythmic high CPU usage.  Unable
  at this time to determine what factors are causing this.  It is very
  reproducible on the one PC, but cannot reproduce on other PCs.
- Some Layout operations can take a very long time to complete.  For example,
  pressing the "Global Properties" button on the Layout tab may take a few
  seconds for the dialog to open.  Working on speeding this up.
- Undoing a buy-in from the History section of the Game Player dialog will not
  unseat the player.  This is an existing bug and is not new in this release
  (but was not fixed, either).

Edit: 2.6 beta 1 has superceded this.  See

Suggestions / Another virus on the website
« on: October 13, 2009, 12:09:17 PM »
Yesterday the Tournament Director website was hit with a virus.  It compromised a lot of pages, and I spent a good few hours cleaning it up.  I believe I have it cleaned at this point.

Mainly it tried to add some tasteless advertising to the site, but it also attempted to redirect your browser to a page with known browser exploits.  I was using Firefox 3 and the virus was unable to redirect my browser.  I hope this was also the case with other browsers.  I tried to visit the intended destination using the Chrome browser and it immediately warned me that it was a known bad site.  Again, I hope that other browsers would do the same.

The end effect, it seems, was to break the forums, but that's about it.  I'm sorry if anyone else was affected by this.  Please let me know if you notice anything strange on the site.

Beta Testing / Upcoming version question
« on: May 01, 2009, 10:23:34 AM »
The version I'm currently working on once again has a pretty serious structural change.  The code now has a much more modern object architecture, which makes maintenance much easier.  The side effects are (1) (the good one) upgrading objects in the code is dramatically simpler.  This will make adding new features that require changes to the Tournament or Layout much simpler than in the past.  And (2) (the down side) the serialization of these objects results in much larger file sizes.  Thus, a saved tournament that may be 50k bytes today will likely be 100k or 150k bytes saved in the new model.  Size really isn't the issue (hard drives are enormous in comparison), but loading and saving these files IS, and it will require a not-insignificant increase in load/save times.

All the technical talk aside, loading and saving files (tournaments and layouts) will take longer in the new version.  As it turns out, the biggest culprit is the layout.  It usually takes up, on average, about 2/3 of a saved tournament file, while the tournament information itself takes the remaining 1/3.  Therefore, I've decided it's time to cut the umbilical cord between a tournament and its corresponding layout.

Currently, when you load a tournament file, you are also loading the layout saved with the tournament file.  The question I pose to you, the users, is which method do you think would be best to facilitate this change:

(1) The tournament and layout are completely separate items.  A tournament and a layout are loaded and saved completely independently of each other.  When you load a tournament, the current layout is unaffected.  When you load a layout, the current tournament is unaffected (this is how it is today - just like loading any "template").  When you exit the program, you are prompted to save your tournament if it has not been saved, and you are prompted to save your layout, if it has not been saved.


(2) Pretty much the same except the tournament has a "pointer" to the layout used.  A filename only.  When you load the tournament, the software looks for the layout referenced in the tournament file and attempts to load it as well.  If it cannot be found, either the current layout remains or the software restores the default layout.  When you save your tournament, the filename of the currently loaded layout is saved with the tournament, so the layout can be restored when the tournament is loaded again.   Of course this means that you could delete a layout or make dramatic changes to one outside of a tournament, so that the next time you loaded the tournament you wouldn't necessarily see the same layout that was used during that tournament (as you've made changes to the layout).

Initially I was planning to implement (2).  But the more I think about it, the more I'm inclined to go with (1).  I believe this one is a slightly simpler model, and oddly enough I think it will be easier for people to grasp.  I actually think it might be simpler to understand than the current system (with the Layout saved with the tournament).

What do you think?

In the interest of complete disclosure, this isn't technically a vote where I'm going to implement the one with the most votes.  But I would like to hear some opinions from people who use the software, and see how this change might affect everyone.  Once I get into the code for this, things could change regardless.

Thanks in advance to everyone for contributing.

Help Me / No file (load/save) dialogs
« on: December 17, 2008, 11:21:03 AM »
Update Jan 18, 2009: Version 2.5.5 contains a fix for this problem.  Please download the latest version of the Tournament Director if you are experiencing this issue:

A number of you are reporting that file dialogs are no longer working.  That means that when you press the "Load" button to load a tournament, or the "Save As..." button to save a tournament, or any button that would open a file browser dialog, essentially nothing happens.

It seems at the moment that this may have been caused by a recent update to Internet Explorer 7.  I am currently researching this issue.  As always, it's easiest if I can reproduce the problem myself so I can try to work through it, but I have been unsuccessful thus far.

So this will be the main topic for this issue.  If you are experiencing this problem and can provide help or information, please post to this topic.  I'm going to point other open topics to this one.

As a first stab at this, here's something to try:

1) Close the TD and any open instances of Internet Explorer.  For good measure, you should close all running programs.
2) On the Windows Start menu, select "Run..."
3) Type the following and press Enter:

regsvr32 /u comdlg32.ocx

4) You should see a dialog like the this:

5) Press the "OK" button, then start the TD
6) You *may* see a dialog like this:

7) If so, press the "No" button
8 ) After the TD initializes, press the "Load" button and see if the file browser dialog opens
9) If so, yay!
10) If not, close the TD and repeat these steps.  When you get to step 7, press the "Yes" button instead

General Discussion / The spammers will not win
« on: November 10, 2008, 06:58:15 PM »
Thanks to everyone who reports the spam posts.

Help Me / Internet Explorer version 8 BETA
« on: September 12, 2008, 12:17:27 PM »
Edit: This thread is not relevant now that IE 8 has been released.  To save future readers from having to read the entire thing, the TD is fully functional using Internet Explorer 8.  In fact, Microsoft has made some excellent speed improvements to the scripting engine in IE 8, resulting in a noticeably faster TD (in my experience), so I recommend using IE 8 over IE 7.

The Tournament Director requires Internet Explorer version 6 or later in order to function.  The requirements listed on the website note this ( and, and have been recently updated to point out that beta versions of IE will not work.

Internet Explorer 8 is currently in beta testing, and thus is not a finished product.  Feel free to give it a try with the Tournament Director, but in all likelihood it will not work, and more importantly, it is not supported.

There has been some confusion around IE 8 and Vista with regards to going back to IE 7 when one discovers the Tournament Director will not work with it.

Apparently, Internet Explorer is not considered a product or a program in Vista, but an update.  Therefore, you can't "uninstall" it in the traditional way.  You must therefore uninstall the update that contained IE 8 if you wish to revert to IE 7.

There are a number of ways to revert listed in various forums, so I've listed a few of them below:

To uninstall Internet Explorer 8, go to Control Panel, and click on Uninstall Programs link or Programs and Features icon. Then on Tasks pane on the left, click on View installed updates link. Locate and select Windows Internet Explorer 8 in the list of installed updates, and then click on Uninstall button. Click on Yes when asked that are you sure want to uninstall the update. Restart the computer.

From the IE8 release note:

If Internet Explorer 8 Beta 2 does not appear in the Currently Installed
Updates list, run the following command at an elevated command prompt:
FORFILES /P %WINDIR%\servicing\Packages/M
Microsoft-Windows-InternetExplorer-8*.mum /c "cmd /c echo Uninstalling
package @fname && start /w pkgmgr /up:@fname /norestart"

And an informative forum topic:

Thanks to jklaver for working through this with me.

General Discussion / Version 2.5.3 is available
« on: April 22, 2008, 05:31:33 PM »
I discovered just before release of 2.5.3 that the new version check was broken in 2.5 and has remained broken since, so I wanted to make sure everyone knew that version 2.5.3 had been released.

Download at:

Version 2.5.3
New Features:
- Added Table Blueprints for displaying dynamic table images on the
  Seating Chart screen (with players shown at specific locations
  within the image)
- Added printing to Rounds export, Prizes export, Tables export

Bugs Fixed:
- For Points for Playing and Tournament Scoring formulas, the variable
  "tnr" (for total number of rebuys) was set to the total number of
  add-ons; the variable "tna" (for total number of add-ons) was not
- When importing players, an error could occur if the timestamp of
  the imported file could not be determined (rare)
- When editing cell properties, if all global property sets were
  deleted, an error could occur when tabs were switched (Odd Rounds/
  Even Rounds/Breaks tab) (very rare)
- If the language was changed, an error could occur when the Help
  dialog was displayed (very rare)
- On the Preferences tab, setting the "Decimal point" to an empty
  string caused an error (very rare)
- On the Quick Start Wizard, if the current tournament settings had
  changed, a confirmation dialog at the end of the wizard displayed,
  but the text was missing from the message catalog
- New version alert was broken

Beta Testing / Version 2.5 is available
« on: March 09, 2008, 09:40:43 PM »
Version 2.5 has been released.

Download it at

Once again I want to thank everyone who participated in the beta testing.  This was a big release and your input and testing were very helpful.

Beta Testing / Version 2.5 beta 5
« on: February 17, 2008, 12:20:45 PM »
Version 2.5 beta 5 is available.

See changes in beta 5 below.  See other forum topics for for information on previous betas and changes since 2.4.3.

Download 2.5 beta 5 here:

Edit: Version 2.5 is now available, therefore beta 5 is no longer available.

Version 2.5 beta 5
New Features:

Bugs Fixed:
- Tournament screen stops updating after bust-out, add-on, rebuy, etc
- Minimize/maximize when in full-screen mode resized the window

Beta Testing / Version 2.5 beta 4
« on: February 16, 2008, 08:31:57 PM »
Version 2.5 beta 4 is available.  As always, your feedback is greatly appreciated.

See changes in beta 4 below.  See other forum topics for for information on previous betas and changes since 2.4.3.

Download 2.5 beta 4 here:

Edit: Version 2.5 beta 4 is no longer available.  See this topic for info on 2.5 beta 5:

Version 2.5 beta 4
New Features:
- Added context-menu options for players on Tables tab (buy-in, bust-
  out, rebuy, add-on, etc)
- Added feature to configure background images for tables on Seating
  Chart screen

Bugs Fixed:
- Error when the "Move to Extended Display" button pressed
- When the "Move Manually" feature is used to move the Game window,
  and in full-screen mode, the window was moved by an few additional
  pixels each time
- Resetting the tournament did not update the Seating Chart screen
- Error when Auto-seat selected on buy-in dialog
- Auto-seating at buy-in wasn't causing Game window to update
- Highlighting on Tables tab wasn't functioning
- "'undefined' is null or not an object" on several input controls
- "Open dialogs on main display" preference did not always work

Beta Testing / Version 2.5 beta 3
« on: February 08, 2008, 03:32:33 PM »
Version 2.5 beta 3 is available.  As always, your feedback is greatly appreciated.

See changes in beta 3 below.  See other forum topics for for information on previous betas and changes since 2.4.3.

Download 2.5 beta 3 here:

Edit: Version 2.5 beta 3 is no longer available.  See this topic for info on 2.5 beta 4:

Version 2.5 beta 3
New Features:
- Added feature to highlight recently moved players on the Seating
  Chart screen; hotkey also added to toggle highlighting mode
- Items added to the Controls tab:
  - Time until the next break, Hand Timer button (Clock Section)
  - Current Game Name, Blinds, Limits, and Antes (Level Section)
  - Bust-outs remaining until the money (Players section)
  - Elapsed Time (Tournament Section)
- +60 and -60 buttons added to Hand Timer dialog
- "Extended Screen" is now "Extended Display" to avoid confusion
  with layout screens.  The dialog has been overhauled to allow for
  extended displays offset from the main display, and to allow for
  manually positioning the Game Window
- Added hotkey Ctrl+Alt+Shift+F to maximize the Settings Window
- Added hotkey Ctrl+Alt+Shift+O to restore the Settings Window to
  its default size (1024x768)
- Tournament History dialog made resizable
- Chop dialog made resizable
- Added "Save As..." button to Tournament History dialog
- Game names now pulled from single language file key
  (Settings.Rounds.GameNames); this allows anyone to add, remove, or
  change any games that are in the list by default
- Buy-in, Add-on, Rebuy, and Bust-out buttons on Controls tab changed
  to bold-face
- Suggest Movement button on Controls tab now highlighted in same way
  as is done on Tables tab
- Import players (on Players tab and Database tab) converted to new
  wizard control (no new functionality, but more familiar feel)
- "Default.tlo" layout is now the new default layout.  It is the same
  as the BlueAndGreen.tlo layout (previously the default layout) but
  contains only the main screen (ie, the default layout has been
- Removed some naming restrictions (for various objects: cells,
  screens, property groups, sounds, etc; allows for foreign
  language names)

Bugs Fixed:
- "Round prize amounts down" reset to "Don't round prize amounts" when
  the tournament or a prizes template was loaded
- Number between -1 and 0 (exclusive) were display as positive numbers
- Context-menu items (Bust-out player, etc) were broken on Seating
  Chart screen when displayed in List mode
- Error "'dataRow.0' is null or not an object" when a user attempts
  to import players from an Excel spreadsheet (NOT a CSV file, but
  from an XSL file - or really from any binary file)
- Errors sometimes seen when exiting the application
- Occasional errors seen at startup when checking web site for latest
- Error when changing language
- Error displayed when changing language and a language file is
  not found; now falls back to English language file for the missing
- If an event was created to pause the clock at 0 seconds, the clock
  would roll back to 1 second when the event fired
- (from last beta) Status icons (screen lock, keyboard lock, etc)
  where not properly updated on Player Rankings, Player Movement,
  Seating Chart, and Blinds Schedule screens
- (from last beta) Settings Window size was not saved when the window
  was closed (IE7 only)

Beta Testing / Version 2.5 beta 2
« on: December 21, 2007, 04:16:15 PM »
Here's beta 2 of version 2.5.  Not a whole lot of changes because I wanted to get a quick fix out for the problem with the Tournament screens updating - without it the program wasn't much use.

See changes in beta 2 below.  For information on beta 1 and changes since 2.4.3, see

Edit: Version 2.5 beta 2 is no longer available.  See this topic for info on 2.5 beta 3:

Version 2.5 beta 2
New Features:
- Added attribute "includeBreaks" to <rebuytimeleft> and
  <addontimeleft> tokens
- Added Restore feature, to restore backups

Bugs Fixed:
- Tournament screens were not updated properly
- Error when adding or editing database players
- Error when renaming columns on the Stats tab
- "r" formula variable (representing a player's rank) was set to
  the player's position (inverse of rank)
- Changed references to "Options tab" to "Game tab" in language files

Beta Testing / Version 2.5 beta 1
« on: December 18, 2007, 10:39:35 PM »
Here's the first beta of version 2.5.  The big change is the separation of the Settings into its own dialog.  The release also adds two new screens: Player Movement and Blinds Schedule.  There are a few other changes and bug fixes, all are listed below.

Please be aware that this is a beta release, which means it is not *necessarily* ready for primetime.  I believe all of the bugs have been fixed, but real-world use always exercises the code in new and different ways, so if you decide to use it, be prepared.

Note that the user manual has NOT been updated, but the new features are mostly self-explanatory, so if you are familiar with the TD, you shouldn't have any problem using the beta version.

I welcome any and all beta testers.  Please share your experiences with the beta version, whether posting them here or emailing them to me.  Your feedback always helps to improve the software in the best way - the way that real users really use it.

Edit: Version 2.5 beta 1 is no longer available.  See this topic for info on 2.5 beta 2:

Version 2.5 beta 1
New Features:
- "Tournament" screens now display in main window, Settings now opens
  in its own dialog.  This allows multi-display setups to display
  the Tournament screen to players at all times, while performing
  settings modifications, buy-ins, bust-outs, etc, on another screen
- Added "Player Movement" page to more easily display player movement
  to players
- Added "Blinds Schedule" page to more easily display the blinds/
  rounds schedule to players
- Added player table and seat information to Tournament History, at
  start of tournament for every player, and at bust-out for each
- Added option to add your own entries to the Tournament History
- Added Seat column to Add-on and Rebuy dialogs
- Added "Custom" option to Name Formats
- Added option to specify one dimension of a banner image and allow
  the image to display proportional to original image dimensions
- Added "position" variable to Points for Playing and Tournament
  Score formulas
- Added option to disable Status Messages (without creating a new
  Status Message Set with each message disabled)

Bugs Fixed:
- Tournament history entry for setting clock said "Clock set to NaN"
- Tournament history entry for removing a player from tournament who
  had already bought-in said "Undo buy-in for Unknown Player"
- Incorrect message displayed when attempting to enter empty string
  in Unavailable Seat label dialog
- Using "numberOfScores" and "s" variable on the Overall Score formula
  (in the Stats) caused a formula error
- Using hotkeys F6 and F10 sometimes caused other hotkeys to stop
  working momentarily.  Using hotkey F5 sometimes attempted to restart
  the software
- Unbalanced tables icon sometimes displayed when in simple
  (non-tracking) mode
- Exporting the layout and overwriting an existing ZIP file did not
  overwrite the file; instead it added files to the existing ZIP
- Background images on the Seating Chart and Player Rankings pages
  were omitted from the layout export
- Player movement suggestion sometimes shows immediately after
  buying player(s) in and having them automatically randomly seated
- Tables page in "Problems" dialog showed no players were seated even
  in simple (non-tracking) mode
- Not specifying "rotateMax" and "rotateDelay" attributes in <prizes>
  token when "rotate" attribute was set to true caused the software
  to appear to lock-up
- Formula test dialogs showed an error in the formula when a new
  variable was created using the assign() function
- Show Last Movement dialog (on Tables tab) rendered incorrectly

Suggestions / Virus on the TD site
« on: August 27, 2007, 09:49:56 PM »
Earlier today a courteous user informed me that the TD site had been infected with a virus of some type (thanks Jarmy).  I confirmed that 2 pages, the site's main page and the forum main page, had been updated by someone other than myself.  Script code had been appended to these two pages that ultimately attempts to redirect your browser to a page that is full of known exploits in IE, Firefox, Windows Media Player, etc.

I am not an expert on this type of thing, so I really have no idea if these exploits are old, new, were patched long ago, etc.  I do know that I use Firefox ( and my browser was not redirected, much less compromised.

According to the dates on the modified files, it would seem that the infection occurred today, at around 6:45pm central US time, and I removed it at around 8:10pm, although I cannot be certain of the times.  So hopefully the window of opportunity for this thing was small.

Anyway, I'm sorry this happened, but anyone who visited the site around this time should take precaution.  If you don't have a virus scanner, here are two free scanners:


I've notified the hosting service and am awaiting their answer as to how this occurred.  I'll keep everyone updated.

Pages: 1 2 [3] 4