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 ... 3 4 [5] 6 7 ... 368
Help Me / Re: Black screens and application slow down
« on: February 09, 2018, 01:42:28 PM »
I honestly do not expect this to fix the issue for everyone, because of the varied experiences, and I seriously doubt this is the only place in the code that is exposing this memory leak in IE.  I just hope this helps some.  It could still help if you're already using an empty formula, potentially, since it effects all expression/formula evaluations, which as I mentioned is done for events and the layout.

What happens when IE runs out of memory almost seems random to me.  For example, the last 3 tests I ran where I continued until IE ran into trouble, I repeated the exact same test (it was automated) and got 3 different results.  First time I got a dialog window that said "Out of memory".  I couldn't do anything with the application, because every click made a "ding" from Windows like there was an open modal dialog over the application.  I had to kill it with the task manager.  Next time the application simply exited.  No warning, no errors, no nothing.  Just gone.  The third time, Windows showed an error message noting that the TD crashed and that Windows was going to restart it automatically (which it did).

Help Me / Re: Black screens and application slow down
« on: February 08, 2018, 02:44:25 PM »
One thing I'm working on now, and I can't believe I forgot to mention earlier, is the Points for Playing formula.  Since tournament state is recomputed constantly, the Points for Playing formula is evaluated again and again throughout the tournament, for every player.  Similar evaluations are happening for determining when to fire events and for which screens and cells and cell properties to display.  When I prevented the evaluation of formulas, memory use dropped dramatically.  So in version 3.4 I added some code to skip formula evaluation when your Points for Playing formula is empty.  It's a cheap attempt to workaround the problem, but it might help.

So I recommend, if you're using version 3.4 or later, clear out the Points for Playing formula before your next tournament.  You won't see points accumulated during the tournament, but you can always put the formula back after the tournament ends and points will instantly be computed for every player.  Hopefully this will help with the memory issue while your tournament is running.

In my testing this dramatically improved the memory size.  For example, with a 300 player tournament, the memory size got to 1GB by the time 120 players were busted out.  By the time 140 players busted out, it was over 1.5GB and usually the application crashed.  I was able to refactor the way formulas are evaluated.  After the change, the tournament was able to bust out all 300 players with the memory size reaching around 350MB.  The application remained completely responsive and didn't appear to slow at all.  Not perfect results but a really big improvement.  This will be in version 3.4.3.  I hope my results are not isolated and this helps everyone.  In the meantime, try removing your points formula as described above.

Help Me / Re: Team Ranking
« on: February 02, 2018, 11:26:38 AM »
Yep.  But be aware the software will likely consolidate players at a 10-seat table when 10 players remain, and then move everyone to the final table when only 9 players remain.

Help Me / Re: Status Update - questions
« on: February 02, 2018, 11:24:51 AM »
Sure, it's possible.  I'll put it on the long list of items to-do.  :)

Help Me / Re: Team Ranking
« on: February 01, 2018, 06:35:32 PM »
Or marking a seat as unavailable.  Or actually designating the table as the final table (press the Collapse Order button on the Tables tab).

Help Me / Re: Team Ranking
« on: February 01, 2018, 11:36:53 AM »
The finalTable variable is true (1) if this player made the final table or false (0) if not.  Before the tournament is over, this is a calculated guess.  After the tournament is over, it is more accurate.  I say more accurate because you can do things to make it inaccurate (like modify the tables after the tournament is over or manually move players from what it thinks should be the final table to some other table).  Regardless, it does take into account the number of seats at what it determines to be the final table.

Help Me / Re: Show Print System Dialog
« on: January 30, 2018, 03:09:44 PM »
It's a bug, and already fixed.  I'm working on the memory issue now.  Based on the progress I'm making, I might have to pause and release an update to fix this and a few other minor issues.

Help Me / Re: Program Freezing Up
« on: January 30, 2018, 03:08:53 PM »
Not necessarily at the end, but after a certain amount of time/use, yes.  It's probably IE11, as discussed in this thread:

This is my primary focus at the moment.  No new work is happening.  I'm spending all development time trying to determine how to make this situation better...

Help Me / Re: Overall Score Formula Help
« on: January 30, 2018, 03:06:49 PM »
I don't think it is.  You can't distinguish a player's values from a different league.  The league only comes into play as a means to filter.  So you can do (1) and you can do (2) but there's no way to combine them within the TD.

Help Me / Re: Team Ranking
« on: January 30, 2018, 02:03:56 PM »
Formula is easy: 5 + if(finalTable, 5) + if(r = 1, 10)

It's just that for the formula, now comes the tricky part, we want to promote a ranking in "teams", couples to be precise, where everytime an predefined team, or a player of the team plays, their points are summed up; is that possible? if not, how can i solve that?

This is a feature request (ability to define teams).  Actually, this is an extension of the current feature request, and to be completely honest adds a pretty big dimension.  The current feature request really is just to be able to identify groups of players by name or color or some means like that.  Today formulas involve a single player and the player's status in the tournament.  Referencing another player gets tricky and messy.  But I suppose if you could sort players by team it might be easier to tally up team scores outside of the TD.

Help Me / Re: Settings Screen is too big
« on: January 30, 2018, 01:54:56 PM »
The size of the tables didn't change.  Only the addition of the player images.  Once you disable the player images, the table size should return to normal.  I also added the ability to adjust the line spacing of the tables.  It's on the same Screen Properties dialog, right where you enable/disable player images.  The default value is "1".

Right-click on the Seating Chart page and select "Screen Properties".  Then look for Line spacing in the Format section near the bottom.

Suggestions / Re: Screen sets
« on: January 30, 2018, 01:21:16 PM »
Moreover, it will be nice to add the possibility to import a XML file (table image) to display the seating chart in the layout (not only in the seating chart screen). Add XML attribute to "SeatingChart" token and maybe an "index" to define the table.

It's on my list, but there are other higher priority items on there, too.  It's definitely something I'd like to add at some point.

Help Me / Re: Settings Screen is too big
« on: January 24, 2018, 11:36:14 PM »
Settings window -> Preferences tab -> Display category.  In the "Text" section set the Text size and if you'd like to adjust the size of information tables, change the "Row padding for lists" value.  Player images are now enabled by default, so that will increase the size of the table diagrams on the Tables tab.  You can disable images on that tab below the "Text" section by unchecking the box next to "Display player images on the Tables tab".  The next version will have a more convenient settings for this directly on the Tables tab.  To stop displaying player images on other tabs (like the Players tab, Database tab, etc), remove the "Player Image" column on those tabs directly.

Help Me / Re: Windows cannot find
« on: January 23, 2018, 04:04:54 PM »
Good point.  Many anti-virus packages have recently detected the TD.exe file as having a virus (false positive!  there's no infection!), so it's certainly possible it was quarantined.

Help Me / Re: Opening new files in old TTD
« on: January 23, 2018, 04:03:07 PM »
RichieD is correct, but to be a little more precise, it's more like there's no guarantee an older version will be able to read files saved with a newer version.  In fact, if object structures aren't changed, there's a good possibility an older version will read files from a newer version.  For example, version 3.3 should happily read files from version 3.3.1, because only the "launcher" was changed.  Unfortunately this is more the exception than the rule.

Pages: 1 ... 3 4 [5] 6 7 ... 368