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 ... 5 6 [7] 8 9 ... 365
92
Help Me / Black screens and application slow down
« on: November 06, 2017, 05:25:45 PM »
There are some topics and replies posted, and some of you have reported directly to me, about the application showing "black screens".  I've also been receiving error reports where the main issue is "out of memory".  I believe these are the same issue and that the application can behave unexpectedly when it no longer has the memory it needs to continue operating normally.  This doesn't mean your PC doesn't have enough memory.  It's how much memory IE allocates for the TD, and how IE allocates and uses that memory.

I now believe this is happening almost exclusively with Internet Explorer 11 and Windows 10.  Previously I was unable to reproduce this issue because I had forced my development PCs to stop updating Internet Explorer at version 10, and I wasn't developing on Windows 10 yet.  After performing testing on Windows 10 and IE 11, I can reproduce this issue quite easily.  Simply opening the Buy-in Players dialog or Bust-out Players dialog 50 to 100 times will cause the memory footprint of the application to increase to a size that will slow the application's responsiveness down noticeably, and eventually will lead to black screens and unexpected (and seemingly unrelated) errors, and ultimately crash the application.

As an example, and for some hard numbers, with IE 10 installed version 3.4.1 will start with a memory size of around 100 to 110 MB (megabytes) of memory.  After busting out 100 players, the memory size will increase to about 160 MB.  While it would be awesome if it didn't increase at all, this is actually fine.  If the memory consumption is consistent, 1000 players could be busted out without an issue.

With IE 11 installed, the same actions increase the memory size to over 700 MB.  The application noticeably slows, and ultimately it will freeze for 5 to 30 seconds, and then will continue working.  At this point, IE has done some memory "garbage collection" and the memory size has dropped to around 250 to 300 MB.  While that's good, the application still responds "sluggishly" and it is only a matter of time before it increases back to an unsustainable level and the black screens and ultimate crashing occurs.

Interestingly, the behavior is the same for version 3.3 and version 3.2, so I'm not sure why this wasn't a bigger issue before now, but it might just be that more and more people are moving to Windows 10.  Earlier versions didn't seem to exhibit this problem to the same extreme, but I've been unsuccessful in pinpointing any particular change from 3.11 to 3.2 that could have caused an issue.

So what can be done?

Well, for the long term I'm moving the applicaton to a modern framework.  I'm currently investigating Electron.  The model is very different, so it's going to be a lot of work, but I see this as really the only viable way forward for the TD application.

In the short term, here are some suggestions for working around this very annoying issue.  These are mostly good ideas to follow anyway to save you from losing information and/or time during a tournament should something go wrong.

1) Always use "Auto-save".  Always.  This should make it easy to get started right back where you left off if this should something happen.  That can be enabled on the Game tab.

2) Enable "Make backups when saving tournaments".  This is on the Preferences tab in the "Loading / Saving" section.  When this is enabled, every time auto-save kicks in and saves your tournament, instead of simply writing over the tournament file with the new version, it renames the tournament file first with a time stamp.  That would allow you to even go back to an earlier copy of the tournament if necessary.  In the extremely rare case that the TD application crashed while it was saving the tournament (rendering the saved tournament useless), you could go back to a previously saved version.  You might have to bust a player out again or move the clock forward a bit, but at least you wouldn't be starting from scratch.

3) On this same Preferences page, select "Automatically enable Auto-save".  This is really just an extra precaution.  This will help in case you forget to enable Auto-save.

4) On this same Preferences page, check the box next to "Upon application start, continue where I left off".  With this enabled, when you start the TD application the same tournament file you had loaded when you last exited the TD application will automatically be loaded again.  This makes continuing quick and easy.

5) Don't be afraid to exit the Tournament Director and restart it if you think there's an issue.  By using the previous settings, you can exit the TD at ANY time, restart it, and simply continue right where you left off.  This can be done in a matter of seconds.  Restarting the application will free all memory it is using and start it over "fresh".

6) Internet Explorer 11 is a problem with the TD.  For most people it is fine, but it uses a LOT more memory than Internet Explorer 10.  If you have the chance to move BACK to Internet Explorer 10, I would recommend it, especially if you're having an issue like this.  If you're using Windows 10, this is not an option, as you cannot use any version of IE except 11.  If you're using Windows 7 or 8 ([edit: not Windows 8.1], you can move back to IE 10.  I would do this.  You won't lose any functionality and you'll make it less likely you'll run into issues like this.  Here are steps for doing that if you want to try it:
  • Click on the "Start" button and type "Programs and Features" in the search box (or type "Programs and Features" in the search charm if you're running Windows 8 )
  • Click on the "View installed updates" in the left pane of the menu
  • Go over to the "Uninstall an update" screen and scroll down to the "Microsoft Windows" section
  • Select Internet Explorer 11 and click "Uninstall"
  • Restart your PC

tl;dr: This is a memory issue that is, I believe, exclusive to IE 11 (and possible Windows 10).  I'm trying to get away from IE entirely, but it will be a long time until that happens.  Roll back to IE 10 if you can (you can't if you're using Windows 10 [edit: or Windows 8.1]).  Use the above steps to help alleviate the pain of this problem if you must use IE 11.  I don't think going back to version 3.3 will help, but you're welcome to try it.  Some people have had success doing this.  Earlier versions of the application are available on the TD website: http://www.thetournamentdirector.net/downloadVersion2.html

93
Help Me / Re: dealers getting a free buy in
« on: November 03, 2017, 09:48:27 PM »
To buy-in someone for $0, just change the buy-in fee when you buy them in.  All the values can be changed at buy-in for any particular player.

94
Help Me / Re: Making a new formula for points
« on: October 30, 2017, 01:45:26 PM »
I think you can reduce the ITMFactor to:

if(pw, 1, if(rank <= 9, 0.67, 0.33))

pw is prize winnings.  The inTheMoney variable was created for this.  Either works, but there is a subtle difference.  pw will have a value (and thus be "true") if the player has won any money at all.  inTheMoney will only be true if the player has won a ranked prize.  Therefore inTheMoney wouldn't be true for a player that won a bounty prize, or a manually awarded prize.

The other side can be reduced a little, too, but I personally tend to use parentheses when they're not completely necessary, so I'd probably do the same thing.  But here it is nonetheless:

sqrt(n) / sqrt(rank) * (1 + log10((totalBuyinsAmount+totalAddOnsAmount+totalRebuysAmount) / n + 0.25))

For a total of:

36 * if(pw, 1, if(rank <= 9, 0.67, 0.33)) * sqrt(n) / sqrt(rank) * (1 + log10((totalBuyinsAmount+totalAddOnsAmount+totalRebuysAmount) / n + 0.25))

95
Help Me / Re: Too many PCs same license?
« on: October 24, 2017, 09:10:44 AM »
How many times the license "has been used" is irrelevant.  The licensing server knows on how many PCs the license is currently installed and restricts the total concurrent installations as defined in the licensing agreement.  If you need to move the license from one PC to another, the best thing to do is to remove the license from the first PC by pressing the "Register" button on the Game tab and then pressing the "Remove License" button.  That should ensure you have no problem then installing the license on another PC.  FYI, uninstalling the software will remove the license, too, but will NOT contact the licensing server.  Thus the licensing server will think, erroneously, that the license is still installed.

If you have trouble, always email support@thetournamentdirector.net.

96
Beta Testing / Re: Version 3.4 FINAL
« on: October 19, 2017, 12:54:50 PM »
To be clear, layouts and events are different things.  Events, configured on the Events tab, can have actions attached to them that can play a sound, display a message, pause the clock, etc.  An action that displays a message has a limited number of tokens available, such as <hitman> or <rank>.  The available tokens are usually related to the event (such as a player busting out).  If you want to see which tokens are available to event messages, edit an event or create a new one, then press the "New Action" button, select "Display message" and then press the "Insert Token" button.  There are 20 or so tokens available.

Layout tokens are different and there are a lot more that are available.  But they won't work for events.  <nextAnte> and <nextSmallBlind> and <nextBigBlind> are layout tokens, so they won't work for events.  But as I mentioned before, I'll see about how hard it would be to get them working for events.

97
Help Me / Re: TD.exe a Threat?
« on: October 17, 2017, 04:12:05 PM »
Microsoft has responded with a "not malware" reply.  Hopefully Windows Defender will stop tagging TD.exe as malware shortly...

98
Help Me / Re: my load button stopped working
« on: October 16, 2017, 02:59:25 PM »
If you've not downloaded version 3.4, please do.  It contains a workaround for this issue.  http://www.thetournamentdirector.net/download

99
Help Me / Re: TD.exe a Threat?
« on: October 16, 2017, 02:58:22 PM »
Thanks for reporting everyone.  If I could ask that you also report the name that your anti-virus software gives the threat, that would be very helpful, too.  For example, Avast and AVG give the detection the name "Win32:Malware-gen".  Most anti-virus vendors ask that the detection name be reported as well.

So far false positive submissions have been made for AVG, Avast, Windows Defender, Comodo, and BitDefender.

100
Beta Testing / Re: Version 3.4 FINAL
« on: October 14, 2017, 12:46:25 PM »
Hello,

I'm the Tournament Director of my poker club in France, which is located in Auffargis.

I tried 3.4.1 a few times, without any problem, except a strong fail when (if I understand well) I tried to associate too much (> 20 ?) actions with an event (a have a lot of jingles that I want to be played randomly at level changes).
But I managed to separate the jingles into two groups, the first for the first 12, the other for the rounds after.

I can't think of any technical reason this would be a problem.  What happened?  Was there an error?  If so, what did it say?

The main problem is a new one (yesterday) : Windows defender decided to remove TD.exe, saying there was a virus in it. I reloaded it after having removed the real time protection, but it's no long-term solution, I think.

Could you help me please ?

Thanks !

Jean-Luc

One by one all of the major anti-virus applications are starting to mis-identify the TD.exe file as a threat.  As I learn of them, I'm submitting false-positive reports.  Several have responded and removed the file from their threat list, but it takes time.

101
Beta Testing / Re: Version 3.4 FINAL
« on: October 14, 2017, 12:40:45 PM »
5 hour tournament last night went smooth as glass... everything looks good here!

Awesome!  Glad to hear it.

102
Beta Testing / Re: Version 3.4 FINAL
« on: October 14, 2017, 12:40:16 PM »
Ran a tournament with no issues.

I had asked for "Event action "Run program" can now be passed tokens from the event" and can tell you it works great.

Great to know.  Thanks!

103
Beta Testing / Re: Version 3.4 FINAL
« on: October 14, 2017, 12:39:41 PM »
in the previous version it worked very well!  ;)

in fact,
I'm currently translating the new version into French.
could you tell me how to make the pack "FR".

cordially

There are some tokens that work for events, but it's a set of tokens that are specific to events.  The layout tokens that work for the main tournament screens don't work for events.  If you have a specific one that used to work and now doesn't, please let me know.

As for translations, I can give you all the info you need.  Please email me at support@thetournamentdirector.net and let me know you need info for translating the application and I'll forward it to you.

104
Help Me / Re: Format Countdown Clock?
« on: October 14, 2017, 12:36:42 PM »
Try changing it to:

<clock format="hMSS:">

That will show the "hours" part only if there is an hour or more on the clock.  It will always show the minutes, but won't put a leading zero unless there are also hours showing.

105
Help Me / Re: TD.exe a Threat?
« on: October 14, 2017, 12:31:18 PM »
I am also having this problem on 3.4.1, but it's coming from Windows Defender Security Center on Win10.

This one is very interesting to me because I use Windows Defender/Microsoft Security Essentials on two Windows 10 PCs and a Windows 7 PC and none have ever flagged it.

Pages: 1 ... 5 6 [7] 8 9 ... 365