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 ... 399
1
Help Me / Re: Windows 11
« on: October 11, 2021, 11:17:49 PM »
No idea, haven't seen Windows 11 yet let alone tested the TD on it.  I'm sure there's a VM image available to use.  I should probably download it and test it out.

Have you tried it out yet?

2
Help Me / Re: Quickstart edit default settings?
« on: October 03, 2021, 10:36:31 PM »
Make sure you've got the preference to save layouts with tournaments enabled when you save your default tournament.  Not saving layouts with tournaments makes tournament files smaller and makes the loading time faster, which can be a big boost for running stats where there may be dozens or hundreds of tournaments loaded, depending on your situation.  I believe the preference to save layouts with tournaments is enabled by default.  It's on the Preferences tab in the "Loading / Saving" category.

3
Help Me / Re: Status update working, but blank TournamentStatus.html
« on: October 03, 2021, 10:32:50 PM »
What does the contents of tdstatus.txt look like?

4
Help Me / Re: Simple fomula help
« on: October 01, 2021, 08:51:32 PM »
Dr Neau's formula can be googled, and there are plenty of posts over the years in this forum that have discussed it, but there are plenty of variants.  Post the one you're using so we can modify it accordingly.

5
Suggestions / Re: API
« on: October 01, 2021, 08:29:15 PM »
I hate giving this answer, but the truth is there's been no movement on this particular item.  Sorry.  Still on the high priority list though!

6
Help Me / Re: Points Not Calculating
« on: September 28, 2021, 08:37:58 PM »
Thanks Corey - this has been extremely helpful. I was looking right through the Points For Playing on the Game tab box because I thought it was just for showing up (although I guess it could be used for that too.)

Yeeeah, it may not have the best name.  I know there was a reason for that, but for the life of me I can no longer recall it.

To be clear, Points for Playing and Tournament Scores are basically the same thing, but they have a few key differences.

Points for Playing
* Saved as part of a tournament
* Can be different for every tournament
* Computed as soon as player busts out of tournament
* Don't need to run Stats to see
* Displays in the Points column on the Players tab

Tournament Score
* Saved as part of Stats
* Same for all tournaments in which Stats are computed
* Only displayed when Stats are computed
* Easy to make or change for many tournaments
* Can see by selecting Single field view on the Stats tab and selecting the Score column

Either can be used in your Overall Score formula(s).

7
Help Me / Re: Points Not Calculating
« on: September 28, 2021, 06:27:38 PM »
When I run the tournament, I know I won't see allocated points until the tournament is complete and I run a refresh, but I don't ever see points allocated.

Actually, points are computed immediately during a tournament.  In your case, since everything depends on rank, points will be zero for a player until that player busts out of the tournament.  But you shouldn't have to wait until the tournament is over.  This is of course referring to the Points for Playing formula on the Game tab.  Tournament Scores are computed during stats computation so you won't see those until you run stats, and a tournament won't be included until it is complete.

Can anyone tell me what I'm doing wrong please?

What is your Overall Score formula?  We can't see that from the screen capture.

You should see the results in the Overall Score column.  What's in that column?

8
Help Me / Re: Table balance event does not fire
« on: September 27, 2021, 06:57:22 PM »
I've attached my tournament file. Unless I'm missing something (I've tried to compare the preferences with another tournament that doesn't do this and can't see any difference) the "allow players who haven't bought in to be seated" preference doesn't seem to have stuck when it's been unchecked.

I'm seeing the same behavior with your tournament as with my own.  When I load the tournament, Allow seating of players who have not bought-in is already checked (because it was saved that way in your tournament).  In fact, I searched through the contents of the saved tournament (the raw tdt file) and found that this setting is enabled.  The behavior I see is the same as I described previously with my own tournament.  Players are not seated automatically when added to the tournament.  And only when Allow seating of players who have not bought-in is enabled can I seat unpaid players.

I obviously cannot see what you are seeing or necessarily explain it.  But I do often run into stuff like this, and it's usually me forgetting how something works or forgetting that there's another setting controlling this behavior somewhere.  That's probably what it is in this case, too, but I certainly can't completely rule out a bug in there somewhere.

9
Help Me / Re: Bringing all data to a new computer
« on: September 27, 2021, 12:17:16 PM »
The general answer to this is in this FAQ entry:

https://www.thetournamentdirector.net/faq.html#faq31

If you've decided to store items outside of the TD folder structure in your Documents folder, all bets are off, so to speak.  Further, if you've created more than one Data Store, you'll need to either  copy those yourself or use the backup feature on each one.  The backup feature will work off of your currently selected Data Store.  If you have say 3 different data stores, you can follow the same procedure from the FAQ to backup and restore each one individually, just not all at the same time.

For 99% of people using the TD software (who don't save anything outside of the "default" locations), the standard steps should work just fine.

10
Help Me / Re: help with the formula for the points
« on: September 27, 2021, 12:12:41 PM »

11
Help Me / Re: Need help with formula
« on: September 23, 2021, 05:22:31 PM »
I see now.  Here's a simpler version:

position + lswitch(rank, 28, 19, 13, 9, 7, 6, 5, 3, 2, 1, 0)

12
Help Me / Re: Need help with formula
« on: September 23, 2021, 10:57:22 AM »
lswitch(r, 10, 7, 5, 3, 3, 2, 2, 2, 2, 2, 1)

Only notable thing here is that everyone ranking higher than 10 gets 1 point.  Your sheet only goes to 20, but in the event there are more players they will also receive 1 point.

13
Help Me / Re: Table balance event does not fire
« on: September 23, 2021, 10:34:47 AM »
So it looks like a table balance event and a player bust out event are mutually exclusive, and they can't be consolidated into one, as I'd hoped, since both are dependent on triggers rather than conditions.

Correct.  A table balance resulting from a player busting out basically happens at exactly the same time as the player busts out.  And two events cannot fire at the same time (if both were supposed to play an audio file, which should play?)  So yeah, unfortunately you have to decide which should fire in that situation, and move it higher in priority.

I did notice something that might be playing a part in this, but I don't know. Recently I have been toggling some preferences including those around suggested movements under the behaviour section of preferences. I had "allow seating of players who have not bought in" checked, then I unchecked it, but even with it unchecked I am still able to seat players who haven't bought in. This means that as soon as I add players to the tournament TD suggests a player movement, and if I accept it, it seats players who haven't bought in. Maybe this has nothing to do with this current issue, so I'm sorry if this muddies the waters, but I did wonder if this is the correct behaviour for TD regardless.

I am unable to reproduce this behavior.  When I have players added to the tournament but none bought-in, on the Tables tab there is a message in the Unseated Players section regarding seating players (they must be bought in, or change the setting to allow seating of players who have not bought in, to paraphrase).  When I enable "Allow seating of players who have not bought-in", the message is removed and all added players are displayed in the Unseated Players section, allowing me to seat them if I want.  If I seat some of those players and then disallow seating of players who have not bought-in, the TD warns me that this will unseat those players, and does unseat them when I confirm.

Seating does not occur when players are added to the tournament and not-bought in.  Even when "Allow seating of players who have not bought-in" is enabled.

Would it be helpful if I sent you any other files?

EDIT: it seems I might be on to something with the preferences, and it seems to be something specific to this tournament. I loaded a different tournament and then loaded my events template into that. Then I added a bunch of players to the tournament. The "suggested movement" button did not turn red. Then I bought a player in and this immediately triggered the table balance event (I'm not exactly sure why, since nobody was seated meaning the tables were technically balanced, but the important thing is the event triggered!). I modified the event with the condition "state = 2" and this successfully prevented the event from firing during the buy-in period. Once players were bought in and seated I started the tournament and started busting them out to create an imbalance... and the event triggered just as it should. Win!

Definitely.  Reproducing the issue is about the most helpful thing I can do, and having "live" data to assist in that is usually extremely helpful.  If you still need it, please attach your tournament or send it directly to me.

One more question if I may: is there any way to have both the "table balance" event and the "bust out" event trigger without one invalidating the other? So the elimination message and sound would still play, followed by the table balance message and sound? I'm pretty sure the answer to that is no, so if that's the case I will combine the bust-out event into the table balance event as a workaround like I've done with similar scenarios, but I thought I would ask as there may be a condition I could implement that could delay the trigger, eg "a player movement is suggested" + "a player busted out 10 seconds ago" or something like that.

Thanks again for your help and your continuous hard work Corey  :)

I don't think so, unfortunately.  There are workarounds in some cases, like combining audio files.  But I'm not sure how to distinguish between a table balance triggered by a bust-out and a table balance triggered by something else (such as a buy-in or a rebuy).

14
Help Me / Re: Status update working, but blank TournamentStatus.html
« on: September 23, 2021, 10:21:51 AM »
The earlier version ready from "php://input", which is php-slang for the for the request body.  In other words, the contents of a "post" from a browser or application connecting to a web site.  The newer version does the same thing by reading from $_POST.  It also reads from $_GET, which is the part of the URL (location) that has variables.  For example:

http://my-website.com/statusListener-JSON.php?level=1&secondsLeft=125

Everything past the ? will be contained in $_GET.  So essentially the new version does the same as the old version (allows the variables to be sent in the POST body), but also reads the variables from the URL (they're referred to here as "query variables"), allowing the sender the flexibility to put them in either place.

If the tdstatus.txt file is created, it implies the status listener script has write access.  You might delete tdstatus.txt and see if it is recreated.  That would let you know if that is a permissions issue.

If tdstatus.txt is created and has nothing in it, well, I'm not sure what that means.  Make sure if you have JSON selected in the Status Updates Preferences, that you are sending it to statusListener-JSON.php and not statusListener-FormulaVariables.php.  That's the only thing I can think of that would end up with no data in tdstatus.txt.  statusListener-FormulaVariables.php will attempt to parse the data as variables in the format above.  It won't understand JSON and will likely write nothing.

15
Help Me / Re: Table balance event does not fire
« on: September 20, 2021, 09:02:30 PM »
Never seen so many events!  Kudos, you've done a lot of configuration to personalize your tournaments.

So I loaded up a sample tournament that was already over.  Then I loaded your Events template.  I examined your events to find the Table Balance event, and checked out each [enabled] event above it.  Everything seems in order.  I added an Action to your Table Balance event, just to display the word "Balance" when it triggered.

I got the tournament going again by un-busting out everyone.  This immediately triggered a table balance, since everyone needed to be re-seated.  And the "Balance" action immediately displayed.  I then began busting players out of the tournament.  When a table balance occurred, I always saw the "Balance" message.  When no table balance occurred, I saw the "<player> eliminated <player>" message.  Since that event is lower priority than the Table Balance event, it only triggered when a player busted out and no table balance occurred.

I'm not sure why it doesn't appear to be working for you.  Maybe the audio file is missing or corrupt?  Of course, all the events display in red when I load your template, because I don't have any of the audio files.  Does the Table Balance event appear in red?  That would indicate the audio file is missing.

Pages: [1] 2 3 ... 399