The Tournament Director Forums

Main => Beta Testing => Topic started by: Corey Cooper on February 25, 2014, 11:34:07 PM

Title: 3.3 beta 2
Post by: Corey Cooper on February 25, 2014, 11:34:07 PM
Well, I didn't really plan on a beta 2, but as usual I couldn't help but mess with things.  This will hopefully be a [very] short beta.

Standard beta testing disclaimer:
This is a BETA release of the software.  Beta means I am not aware of any bugs, but I'd like to get some more testing done before an official release.

If you plan to participate in the beta test, backup your data first.  This can never be stated too often.  The TD can do this for you, just press the "Backup" button on the Database tab and check all options.  You should do this whether you try a beta version or not.

Below is the relevant part of the changes.txt file.

Thank you again to everyone who will participate in this test release.  Please post or email any feedback you have.

Edit: Version 3.3 has been released, so this beta has now ended.  You can download version 3.3 from the main download page: http://www.thetournamentdirector.net/download.html


Version 3.3.b2 (beta release 2)
======================================================================
New Features:
----------------------------------------------------------------------
- The Tournament Director and The Hendon Mob (http://www.thehendonmob.com) are now partners!  Completed tournaments
  can now be sent directly to The Hendon Mob website for inclusion in their poker database.
- Added preference "Allow override when add-on or rebuy period is over".  Disabling this preference prevents the
  add-on and rebuy dialogs from showing the "Override" option when the add-on or rebuy period is over.
- Added "Upon application start, continue where I left off" preference to automatically load the tournament that was
  loaded when the application was last exited
- Added "Display tournament filename first on title bar" preference
- Added "Load this tournament" to context menu on StatsPlayer dialog, for Income and Tournaments sections
- Updated Stats tab to allow personal information and Overall Score columns in Single Field view mode
- Updated Stats tab to use distinct (editable) columns in Single Field view mode
- Added Sum and Average columns and Average row for Single Field view mode on Stats tab
- Improved player sorting for player HTML exports.  Added sorting to Stats exports.
- Allow hiding and rearranging sections on Controls tab



----------------------------------------------------------------------
Bugs Fixed:
----------------------------------------------------------------------
- BUG (3.3.b1): Error setting all chip values on Set Chip Counts dialog
- BUG (3.3.b1): Adding a player to the tournament from the Database tab does not copy all player information correctly
- BUG (3.3.b1): Sorting by "Table Name" or "Seat Number" column doesn't work
- BUG (3.3.b1): Error when "Set from statistics" [Overall Score formula dialog] button pressed
- BUG (3.3.b1): Some file inputs render too wide
- BUG (3.2): 10s are 0-padded for various layout tokens using the format="HHMMSS" attribute
- BUG (3.2): The <clock> layout token description indicates that it uses the HHMMSS format but does not
- BUG (3.0): Column name doesn't render properly on Stats tab Single Field view mode for a tournament with no Event Name
- BUG (3.2): Tooltip tournament path incorrect (Stats tab View Player dialog)
Title: Re: 3.3 beta 2
Post by: T-Bone on February 26, 2014, 03:48:53 AM
"Upon application start, continue where I left off" not working for me. Still loads default tournament.

Refreshing stats no longer displays them on my pre-tournament screen.
Title: Re: 3.3 beta 2
Post by: Corey Cooper on February 26, 2014, 08:53:52 AM
Quote
"Upon application start, continue where I left off" not working for me. Still loads default tournament.

Hmmm... odd, I'm just not seeing that.  The default tournament is initialized first.  Then it looks for a tournament path passed on the command line.  If there is one, it loads it.  If not, it checks the last tournament loaded, and tries to load that one.

It's working for me, so ... I guess, is it possible you have a tournament path passed to the application on the command line?

Quote
Refreshing stats no longer displays them on my pre-tournament screen.

Oh, excellent catch, thank you.  I made extensive changes to the Stats tab, and completely forgot about this layout token (I assume you're referring to the <stats> token).
Title: Re: 3.3 beta 2
Post by: T-Bone on February 26, 2014, 01:31:33 PM
No command line of which I am aware involved. And, yes, <stats> token is the culprit.
Title: Re: 3.3 beta 2
Post by: Corey Cooper on February 26, 2014, 02:01:00 PM
Frustrating, because I can't make that happen.  I guess we'll see if anyone else has the same issue.

<stats> token is all fixed up.  Thanks again.
Title: Re: 3.3 beta 2
Post by: T-Bone on February 27, 2014, 06:31:02 AM
Any plan to patch for <stats> fix or should I rollback to previous beta?
Title: Re: 3.3 beta 2
Post by: Corey Cooper on February 27, 2014, 09:00:40 AM
No, I won't patch it (because it's a beta), but my plan is to try to release 3.3 over the upcoming weekend, depending on feedback from my integration partner (The Hendon Mob).  Barring any unforeseen serious issues, of course, but I don't know of any so far that I haven't already fixed.

If you need it before then and don't still have the last beta (it's no longer posted on the site), send me an email: support@thetournamentdirector.net.
Title: Re: 3.3 beta 2
Post by: Corey Cooper on March 06, 2014, 04:42:50 PM
"Upon application start, continue where I left off" not working for me. Still loads default tournament.

Is this still broken for you, or did you roll back to the previous beta?

I've had this enabled since beta 2 was released and it continues working for me.  It's great!  I wish I had added this to the software years ago.  It makes developing and testing the software so much easier.  :)
Title: Re: 3.3 beta 2
Post by: T-Bone on March 07, 2014, 06:29:41 AM
Still broken. I kept beta 2 on this PC and left previous version on my "Tournament" laptop.
Title: Re: 3.3 beta 2
Post by: Corey Cooper on March 07, 2014, 09:14:03 AM
When "Continue where I left off" is enabled, when the TD starts it will load the last tournament loaded and a dialog will open showing that the tournament was loaded (typical dialog you get after loading a tournament).  If the file can't be found or opened, nothing will happen.  Unfortunately.  It doesn't tell you if there was an error of any kind.  Maybe I should add a dialog.

I tried loading a tournament on a mapped drive, and on a network drive with UNC path (\\myPC\c$\Users\Corey\Documents\The Tournament Director 2\Data\saves\myTourney.tdt).  All worked.  I can't think of anything else that might be different.

Is there anything unusual about your TD environment?
Title: Re: 3.3 beta 2
Post by: T-Bone on March 08, 2014, 03:50:38 AM
The only thing I can think of that might be "unusual" is my datastore is in the Tournament Director 2 folder, not my documents. Which I now notice is where yours is!
Title: Re: 3.3 beta 2
Post by: efdenny on March 08, 2014, 03:08:40 PM
"Upon application start, continue where I left off" not working for me. Still loads default tournament.

Same for me on 3.3 final.
Title: Re: 3.3 beta 2
Post by: Corey Cooper on March 08, 2014, 03:33:00 PM
I added an error message in the final version.  If the last tournament loaded when you quit the application can't be found the next time you start the application, you should see an error.  Otherwise, it should have successfully loaded the tournament.
Title: Re: 3.3 beta 2
Post by: T-Bone on March 08, 2014, 03:53:48 PM
No load...no error. ???
Title: Re: 3.3 beta 2
Post by: Corey Cooper on March 08, 2014, 09:05:24 PM
OK, so bear with me ... and please don't get offended, I just want to make absolutely sure we're all on the same page.  Because I can't see in the code why this wouldn't work.

Start up the TD.  Go to the Preferences tab.  Select the "Loading / Saving" category.  Near the top, make sure "Upon application start, continue where I left off" is checked.  Go back to the Game tab and load a tournament.  Look in the "Filename" box at the top of the "Tournament Information" section.  The path to the tournament you just loaded should be listed there.  Now exit the TD application.  Start it up again.

Does the same tournament load automatically?  That's what should happen.  What is listed in the "Filename" box at the top of the "Tournament Information" section?  Is there a file path listed in there?  If only the default tournament loaded, then the Filename box should be empty.
Title: Re: 3.3 beta 2
Post by: T-Bone on March 09, 2014, 01:20:29 AM
Started TD, made sure box was checked, loaded a tournament, correct path displayed in the "Filename" box, exited application, started again, default tournament loaded, Filename box empty, no error message.

I'll install on game laptop later today--it's 3 o'clock in the freaking morning--and see if problem is machine-specific. This is not a big deal to me, but I understand you want it to work for everyone. I'll let you know what happens.
Title: Re: 3.3 beta 2
Post by: Silver Owl on March 09, 2014, 06:30:42 AM
Same here, I just downloaded 3.3, I checked "Upon application start, continue where I left off" loaded a tournament, exited the program, started the program and the default tournament loaded with (no filename) displayed at the top.
Title: Re: 3.3 beta 2
Post by: efdenny on March 09, 2014, 04:49:15 PM
Same here, I just downloaded 3.3, I checked "Upon application start, continue where I left off" loaded a tournament, exited the program, started the program and the default tournament loaded with (no filename) displayed at the top.

Same here.  Verified settings, loaded tournament. Exited program, upon restart of the program, default tournament is loaded.  Windows 7 OS.
Title: Re: 3.3 beta 2
Post by: efdenny on March 09, 2014, 04:53:08 PM


Same here.  Verified settings, loaded tournament. Exited program, upon restart of the program, default tournament is loaded.  Windows 7 OS.
[/quote]

Only additional information I can think to provide is the path: "C:\Program Files (x86)\The Tournament Director 3\saves\league\2013-2014\March Tourney.tdt".  Could subfolders be causing the issue?  Just a thought...
Title: Re: 3.3 beta 2
Post by: Corey Cooper on March 09, 2014, 08:17:13 PM
I'd say this is pretty definitively not working.  Wish I understood why.

During the initialization process, the code gets to a point where it looks to see if a tournament filename has been passed on the command line.  This is done to support double-clicking a tournament file in Windows Explorer and having Windows automatically start the TD application and load that tournament file.  Just like double-clicking a Word or Excel document fires up Word or Excel and automatically opens that document.  If there's nothing passed to the application on the command line, it looks to see if this preference is enabled, and, if so, it tries to load the last loaded tournament.

So, the only thing I can think at this point is (1) there's an error before it gets to this point in the code, but the error isn't displayed and the application just keeps on trucking (but skipping the loading of the last tournament).  Although I think this is unlikely, it's possible; or (2) the software thinks a tournament has been passed on the command line.  In this case, if it can't find the tournament file, it just skips trying to load it.  No error is shown.  So if this is happening, it would explain why it's not trying to load the last tournament (because it's either load the tournament from the command line or load the last tournament).  But there's really no way to know.

Here's a quick thing to try: When the TD is not running, double-click a saved tournament file in Windows Explorer.  Does Windows launch the TD and the double-clicked tournament file gets loaded as soon as it finishes initializing?
Title: Re: 3.3 beta 2
Post by: efdenny on March 09, 2014, 08:32:42 PM
Here's a quick thing to try: When the TD is not running, double-click a saved tournament file in Windows Explorer.  Does Windows launch the TD and the double-clicked tournament file gets loaded as soon as it finishes initializing?

Yes, Windows does launch TD when I double-click the .tdt file, and the tournament file does get loaded properly.  I exited TD and relaunched via the program shortcut, no tournament gets loaded.
Title: Re: 3.3 beta 2
Post by: Corey Cooper on March 09, 2014, 09:13:22 PM
Thanks efdenny.  That's good to know.  It mostly eliminates (2) from my last post.  Can you send me your preferences file?  It should be in C:\Users\elfdenny\Documents\The Tournament Director 2\prefs.sav.  Replace elfdenny with your Windows login user name, of course.
Title: Re: 3.3 beta 2
Post by: efdenny on March 09, 2014, 10:58:17 PM
Can you send me your preferences file?

Sent via email.  Let me know if you'd like anything else!
Title: Re: 3.3 beta 2
Post by: T-Bone on March 10, 2014, 05:57:08 AM
Same behavior on laptop. Both machines running Windows 7 Ultimate X64. Plus, I can find nothing in my prefs.sav file which appears to reference "Upon application start, continue where I left off", but I'm old with fading eyesight and there's a lot of stuff in there!
Title: Re: 3.3 beta 2
Post by: efdenny on March 10, 2014, 07:55:47 AM
Both machines running Windows 7 Ultimate X64.

Good point, I'm also on Windows 7 x64.
Title: Re: 3.3 beta 2
Post by: Corey Cooper on March 10, 2014, 10:22:15 AM
Can you send me your preferences file?

Sent via email.  Let me know if you'd like anything else!

Thanks.  Looking at your prefs I can verify that the preference to "continue where I left off" is enabled, and the last tournament loaded is indeed saved.  So that can be eliminated.  Double-clicking a tournament file launches the TD and loads the double-clicked tournament, so that functionality is working.

OK, just figured it out.  It's the difference between running in development mode versus running in release mode.  Works in development mode.  In release mode, it confuses the program itself with a command line argument, so it thinks an invalid tournament file has been passed to it, and thus never gets the point of even trying to load the last loaded tournament.

Thanks everyone for your help.  Let me see if this is something I can patch.
Title: Re: 3.3 beta 2
Post by: Corey Cooper on March 10, 2014, 11:24:25 PM
Patch has been published.  Your TD should automatically download it.
Title: Re: 3.3 beta 2
Post by: T-Bone on March 11, 2014, 02:34:53 AM
You da man! Works as designed.
Title: Re: 3.3 beta 2
Post by: Corey Cooper on March 11, 2014, 10:31:40 AM
Glad to hear it.  :)
Title: Re: 3.3 beta 2
Post by: efdenny on March 11, 2014, 09:19:48 PM
Patch has been published.  Your TD should automatically download it.

Confirmed as well!  Thanks for the update, Corey...