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 ... 378
Beta Testing / Re: 3.5 Progress
« on: March 20, 2019, 04:26:23 PM »
- Added "hide cursor" preference.  This just causes the mouse pointer to disappear automatically after a few seconds when over the Game window, and reappear when moved (you'll see the same behavior when watching a YouTube video, for example).  This was actually a feature many years ago, but removed when it caused problems.  In all likelihood my code was buggy, but I removed it instead of chasing it down.
- Fixed a bug when player images are missing (from version 3.4).
- Removed some obsolete code and updated additional places where paths were being created using "/" or "\" instead of using proper os-specific methods (this will help should we ever get the TD to run on MacOS or Linux).
- Realized many places we show a file dialog were actually implemented incorrectly, and fixed them.
- Discovered that the loading of tournaments when running stats had slowed WAY down.  Figured this was due to me changing file I/O back to synchronous instead of asynchronous.  Returned this part to asynchronous and didn't see any improvement.  Finally realized the introduction of a package that allows for proper detection of file encodings (which is required since some files saved with the TD could be encoded with ASCII, UTF-8, or UTF-16) caused this.  Found a workaround to return it to normal speed and still use the encoding detection.
- Added 10 new screen transitions because I can't help myself.
- Started working on restyling the scrollbars on the built-in screens (Player Rankings, Seating Chart, etc), since we can now do this.
- Fixed the <timer> token, which previously used VML (no longer supported on any browser), to use SVG.

Most time was spent working on the layout.  I experimented using flexbox and it turns out the Chrome rendering issue I was trying to avoid is also present when using flexbox or grid layout.  So it doesn't help to retool the layout in this way.  I spent quite a bit of time experimenting, testing, and going back and forth between using "zoom" versus "scale" for layout scaling.  I found a new issue with "zoom" that ultimately pushed me to decide to move ahead using "scale".

zoom: actually looks good, but doesn't work on iframes.  I can probably work around the iframe issue.  But also noticed that using zoom can change the way the layout looks.  That is, a scaled down version of the screen using "zoom" may not look exactly like a smaller version, but may have spacing changes within the layout.

scale: Looks great, works with iframes, but introduces gaps between elements.

So to give you an idea of the "introduces gaps" issue with using "scale", here is the default layout scaled to 640x480:

Notice the line below the description?  That shouldn't be there.  Also, the lines below "No Limit Texas Hold 'Em", "Next Round: No Limit Texas Hold 'Em", and "Blinds $15/$30" shouldn't be there.

If I turn off borders, the issue is even more pronounced.  There should be NO white lines in this image:

I decided that I could probably modify the layouts to avoid this (mostly) and just live with it as a Chrome bug until they finally fix it.  Shortly after that I realized that having property sets be part of columns and rows would be required, which is not a simple change.  It might be the right thing to do eventually, but I don't want to make that kind of change yet.

But today through some additional google-fu I finally found that I am not the only person who has seen this issue.  It was submitted to Google in June of 2017, so I'm not holding my breath on it being fixed anytime soon.  However, the same search came with a workaround, which I *think* will work for us.  When I apply the workaround, the layout looks like this:

And with borders turned off:


I just got back from a vacation, so I've got to get my head back around where I'm at in this process.  Making progress every day and getting much closer.

Help Me / Re: Chop Points not adding up Correctly
« on: March 19, 2019, 09:24:21 AM »
I'm currently on vacation, so I've only quickly gone over the formula, but it looks OK to me.

When players chop, you can control how they ultimately rank.  By default, chopping players will tie for the specific rank.  For example, if the final two players chop they will tie for 1st place (and there will be no player ranking 2nd).  Prizes and points are awarded based on this rank, so if you have a Points for Playing formula configured, both players will be computed having 1st place rank.

On the Chop dialog, you can control the ranking.  On the right side of the dialog is a column for Ranking, which has an input for "Relative" and next to it displays the actual ranking.  The Relative can hold any numeric value, positive or negative.  This simply controls the final ordering of the players.  For example, if you give one player a relative rank of 0 (zero) and the other a relative rank of 1 (or 2 or 10 or 1000), the first player will be ranked 1st and the 2nd player will be ranked 2nd.  Give the first player a relative rank of 2 and the second player a relative rank of 1 and their actual ranking will swap.  Give them both the same value and they will tie.

Templates, Layouts and Sounds / Re: Clock paused display
« on: March 13, 2019, 02:18:37 PM »
Those are status messages.  Right-click on it and select "Disable Status Messages".  Or, if you're using an older version of the TD and you don't see that option, go to the Preferences tab and press the Status Messages button and then check the box at the bottom that says "Disable all status messages".  There's also a checkbox on the Controls tab, in the Messages section, to do the same.

If you want to keep them but just move them, you can do that by pressing the Status Messages button on the Preferences tab.

Help Me / Re: Hot Keys not working after upgrade
« on: February 25, 2019, 12:49:01 PM »
I am not aware of any problems with Hotkeys.  Where do you experience the issue?  If the Settings window is closed, do hotkeys work?

Help Me / Re: Computer crash
« on: February 21, 2019, 10:58:20 PM »
If your tournament was saved, the only proper way is to simply load the saved tournament.  It should continue right where you left off when at the time of save.

Take a look at this topic:

There are some steps in there to make sure you can continue in the event of an issue like this.

Help Me / Re: unable to access media player
« on: February 21, 2019, 10:56:54 PM »
This error shouldn't prevent the application from loading.  You should simply get a warning that sounds won't be able to play.

Are you certain WMP is installed?  It can be removed via the "Windows Features" control panel applet in Windows.  In the Control Panel, select "Programs and Features".  Then select "Turn Windows features on or off".  Expand "Media Features" and then make sure "Windows Media Player" is checked.  If not, check it and press OK.

I'm using Windows 7 right now so this might be a little different on Windows 8 or 10.

Suggestions / Re: Black Screens Trouble
« on: February 17, 2019, 01:00:37 PM »
Unfortunately you're probably running into this:

No fix yet, but the work is long underway.  You can follow the work here:

Until 3.5 is done, the first topic I linked above has some information that can help manage the issue.

Beta Testing / Re: 3.5 Progress
« on: February 17, 2019, 12:58:21 PM »
Feb 17 update:

- Finished formula dialogs.
- Finished Hotkeys, Layout, Rules, Summary tabs.
- Discovered the zoom feature doesn't work on <iframe> objects, so layout scaling won't work on HTML screens or any layout using an iframe.  Luckily there's another mechanism, but this unfortunately shows some graphic artifacts on many layouts (little lines between cells).  I think the layout will have to be refactored.
- Finished Import Players functionality.
- Fixed file encoding.  I believe we can now load/save properly files that are UTF-8 or UTF-16 encoded.
- Finished Token Builder dialog.
- Finished backup and restore features.
- Finished seating chart tables images.
- Finished HTML screens in the game window.  Also fixed the Minimalist layout.  Much simplified and looks great.
- Added a few screen transitions.
- Tons of other fixes and refactors all over the application.

Currently working on the dialog code again, as the sizing part appears to have an issue.  Once I complete that, I'm going to refactor the layout using flexbox instead of tables and see how it goes.  After that is done, I plan to take a step back and reassess and see what is left.  From that I can determine what must be complete for a beta test to start, and begin working towards beta.

Help Me / Re: como crear una liga con puntos por recompra y add on
« on: February 15, 2019, 11:10:14 PM »
Seems pretty straightforward:

n / r + 2 * numberOfRebuys + numberOfAddOns

Put that into the Points for Playing field on the Game tab.

Help Me / Re: League Points System - Help
« on: February 13, 2019, 11:42:12 PM »
You're not doing anything wrong.  I told you wrong.  Try this:

sum(top(9, listpoints))

If that doesn't work, I swear I'll actually try it out myself ... :-)

Help Me / Re: League Points System - Help
« on: February 13, 2019, 03:51:31 PM »
Yep.  On the Stats tab, press the "Edit Profiles" button.  Press the New button to create a new Profile.  Near the bottom click the Edit button next to "Create Overall Scores using formulas".  Change the formula to:

sum(top(9, points))

When you "Refresh Stats", make sure to select your new profile.  The sum of the top 9 points for each player will be in the "Overall Score" column.

If you want, you can rename columns by pressing the Preferences button.

Help Me / Re: designate a table for the main table
« on: February 13, 2019, 03:47:53 PM »
On the Tables tab, press the "Collapse Order" button.  Move your "final" table into the "Collapse these tables last" section.  Leave the rest in the "No preference" section.

Help Me / Re: League Points System - Help
« on: February 12, 2019, 06:20:36 PM »
Like they say, the only dumb question is the one you didn't ask.

Yes, you simply copy and paste the equation into the "Points for Playing" formula on the Game tab.

switch(r,1,15,2,12,3,10,4,8,5,7,6,6,7,5,8,4,9,3,10,2,11,2,12,2,13,2,1) * (if(n <= 5,0.5) + if(n = 6,0.6) + if(n = 7,0.7) + if( n = 8,0.8 ) + if(n = 9,0.9) + if(n = 10,1.1) + if(n = 11,1.1) + if(n = 12,1.3) + if(n = 13,1.3) + if(n = 14,1.5) + if(n = 15,1.5) + if(n >= 16,1.8 ))

The Points column on the Players tab will be populated with values one players bust out of the tournament.

Help Me / Re: League Points System - Help
« on: February 12, 2019, 12:01:31 PM »
Not better necessarily, but you could use a switch for the second part:

if(n <= 5, 0.5, switch(n, 6, 0.6, 7, 0.7, 8, 0.8, 9, 0.9, 10, 1.1, 11, 1.1, 12, 1.3, 13, 1.3, 14, 1.5, 15, 1.5, 16, 1.8, 17, 1.8, 18, 1.8 ))

Making the whole formula:

switch(r,1,15,2,12,3,10,4,8,5,7,6,6,7,5,8,4,9,3,10,2,11,2,12,2,13,2,1) * if(n <= 5, 0.5, switch(n, 6, 0.6, 7, 0.7, 8, 0.8, 9, 0.9, 10, 1.1, 11, 1.1, 12, 1.3, 13, 1.3, 14, 1.5, 15, 1.5, 16, 1.8, 17, 1.8, 18, 1.8 ))

Functionally these are the same, so it doesn't matter which you use.

When I finally get back to feature enhancements, I plan to add a tool to create a formula from a table.  It's really simple and will make creating formulas from pre-defined values a lot easier.

I'm also adding the function lswitch right now, for linear switch.  Since most of the uses of the switch() function involve linear lists of values, it can be simplified by not specifying the index.  For example:

switch(rank, 1, 20, 2, 17, 3, 12, 4, 6, 5, 4, 3, 2, 2, 1, 0)

would become

lswitch(rank, 20, 17, 12, 6, 4, 2, 1, 0)

Suggestions / Re: Adding "AI" to blind intervals
« on: February 11, 2019, 07:06:33 PM »
Got it, thanks!

Pages: [1] 2 3 ... 378