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.


Topics - rakrul

Pages: [1]
1
Help Me / Status update working, but blank TournamentStatus.html
« on: September 22, 2021, 07:10:56 AM »
So I had this working earlier, but made some changes on my web-server which receives these updates.

I can see that tdstatus.txt is updated correctly every minute, but the web-page still draws a blank. Meaning the fields/text is there, but the values from the tournament isn't (i.e. Clock: but no text after that, Round:, etc).
This is running on a linux server and I made sure that the php-file has write permission, and since the tdstatus is fine this shouldn't be a problem. I modified your html file earlier and it worked before, and I also tested with the original in the examples folder with the same results.
TournamentStatus.js is in the same folder as the php script. I figured this to be all my restructuring could cause issues with, but apparently not. I'm a bit stumped now, so any suggestions? (I know this isn't related to your software as it does what it's supposed to.)

2
Help Me / Remove decimals from points and score
« on: September 24, 2020, 04:06:11 PM »
Seems like an upgrade removed my Stats profiles. I only use one, so not a big problem. A small annoyance now is that the points are shown with 2 decimals and score has 4 decimals but I need none. So my points formula is
sum(Points))
and my (Overall) score formula is
sum(top(6, ListPoints))

So I tried to change to
round(sum(Points))
and
round(sum(top(6, ListPoints)))
as, according to the highligh-tip, if there's no second parameter it will assume zero and convert the first to integer. That's what I want but it doesn't change anything, I still get 2 and 4 decimals. I guess in my case sum() might be a list? I also tried int() instead of round() but it doesn't seem to exist.

3
Help Me / Stats over many seasons seems wrong
« on: August 31, 2018, 09:53:15 PM »
We've had a tourny league for quite some time and I was looking to check if we had some anniversary coming up soon, so I went to stats and I chose all seasons and later, any season and the stats came up with 41 tourneys. However, when I checked the save files, it was 176 tourneys. We're currently in season 16 and there's a minimum of 6 tourneys per season so 41 is wrong regardless. I thought maybe I had classified them as different leagues, but I only have one league and from the spot checks I did, they were all correct. So now I'm thinking that the filter, for whatever reason, stops counting after 41. Which doesn't make a whole lot of sense, programming-wise, unless you have some profound fear of Douglas Adams. So what's going on? :)

Let me know if you want my save directory zipped.

4
Help Me / Tournament starts at round 2
« on: January 03, 2018, 08:40:54 AM »
I changed my tournament a bit, so I loaded my last tournament, saved as different file, reset it, added a new first round (right click and insert round before round 1) and saved. Then I bought in players and started the tournament but it starts at my previous round 1 (which is now round 2) instead of my new first round. This happens both if I start the tournament as normal or with countdown.

If I click the Blinds schedule button, it shows the blinds correctly - meaning it includes my new round 1.

I'm pretty sure this is a bug, because if I insert a round before round 2 (or higher) and move it up to round 1, it will start at the newly added round 1 as it should.

5
Help Me / Status Update, Include paid player information unexpected error
« on: December 10, 2017, 05:17:11 PM »
I saw that you have done some updates on 3.4.1, so I try JSON and the Attempt update now button and it works fine. If I check Include paid player information and try to update I get an unexpected error occurred message with this message:

'theBustout' is undefined (PreferencesTab, TournamentPage: 109)
 at GamePlayer.toReportObj(Tournament)
 at GamePlayers.toReportObj(Tournament, Object, Boolean)
 at Tournament.toReportObj(null, Boolean, Boolean)
 at PrefStatusUpdates.performFileUpdate()
 at PrefStatusUpdates.updateNow()
 at PreferencesTab.StatusUpdateControl.updateNow()
 at anonymous()
 at openDialog(SettingsDialog)
 at SettingsDialog.openDialog()
 at SettingsDialog.enterTab()
 at Hotkey.handleCommonHotkeyActions(Hotkey.Binding)
 at GameWindow.processHotkeyBinding(Hotkey.Binding)
 at GameWindow.hotkey()
 at GameWindow.hotkeyHandler()

Browser: Microsoft Internet Explorer
Browser Beta: false
Browser Client Info Version: 7.0
Browser Code Name: Mozilla
Browser Decided Version: 11.0
Browser Detected Version: 11.0
Browser Language: en-US
Browser Minor Version: 0
Browser Version: 4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; Tablet PC 2.0)
Cookies Enabled: true
CPU Class: x86
Data Folder: C:\Users\gar\Documents\The Tournament Director 2
Date: 0:10:37 12/11/2017
DB File: C:\Users\gar\Documents\The Tournament Director 2\Data\db\td.db
DB Folder: C:\Users\gar\Documents\The Tournament Director 2\Data\db
Install Folder: C:\Program Files (x86)\The Tournament Director 3
Install Info: c3e91b4795ef567e0217979d272009fb5d65eb72eb4482d51059ce87b8eca8772a3b715efa5480c7d062b08928026ed2237bb3bd603b2eb5fa3b55f29fb1cfe5
JScript Build: 16384
JScript Version: 5.8
License Info: UurQ1V0Pbk6U5LPeldABplg794InwOnv/lE0F1ORZJCUR4/VxfXzOu1wFrrzijPG6TILzed9ySbpMgvN533JJmo8WOreLo7z1muOIznsjYk=
Media Player Version: 12.0.15063.726
Online: true
Platform: Win32
Preferences File: C:\Users\gar\Documents\The Tournament Director 2\prefs.sav
Preferences FS File: C:\Users\gar\Documents\The Tournament Director 2\prefs.fs
Repo Config File: C:\Users\gar\Documents\The Tournament Director 2\repo.sav
Repo Folder: C:\Users\gar\Documents\The Tournament Director 2\Data
Support Key: 26A9B19A0005Y69LC8E5NE1A7456DD46014ACF72A3A
System Language: nb-NO
TD Patch Level: null
TD Version: 3.4.1
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729; Tablet PC 2.0)
User Language: nb-NO

Also, with the JSON format, I guess I have to change my php-scripts. Do you have any examples available?

6
Help Me / TD3 suddenly stopped printing receipts
« on: June 30, 2017, 11:05:39 AM »
It tries but it's sending an almost empty job to the printer. The html receipt it stores in the receipt folder is correct but when I check the print queue, the file is just 1608 bytes. See attachment for the printer queue. So the printer basically roll up one (empty) line and that's it.

I've also tried other receipts, with the same result. If I open the receipt in Chrome and print from there, it works fine.


7
Help Me / Chip count history
« on: August 23, 2016, 06:41:12 PM »
We have a longer Final Table tournament every 6 months where we enter the chip count in each break and display on screen. Is there a way to see the history there, so I can the chip count at each break after we're done? Preferably just text. Is this stored anywhere or is it just a snap shot that isn't stored anywhere?

8
Help Me / Better scaling for hires screens
« on: April 20, 2016, 05:59:38 PM »
Hey Corey.

I initially thought of posting this in Suggestions but realized that you probably have a setting for this already so I posted it here instead. :)

We had a company event where I arranged a freeroll on my laptop which has a desktop resolution of 3200x1800 and the text and buttons where off to the point where I couldn't read them. I've included a screenshot to illustrate.


9
Help Me / How to get screen rotation back?
« on: April 10, 2016, 09:19:08 PM »
I'm switching between a start screen showing seating, pot size, prices, etc and another screen showing the current league stat. After the tournament I show a summary and the league stats again.

I'm using an RFID reader that players use to register buy ins with. They hit the buy-in hotkey and then use the RFI reader. The RFID chip they have always start with 0 so if they forget to hit the buy-in hotkey first and just heat the reader with the RFID chip, it's like hitting a bunch of numbers which are hotkeys to various other screens.

When this happens, how can I return to my original screens?

10
Help Me / Why does Hits have decimals?
« on: December 10, 2015, 07:22:37 PM »
Why are Hits displayed with .00 on the stats screen? Any way to change that? Same with points/overall score when you're using Round() function.

11
Help Me / Overall score on Player Rankings screen
« on: December 07, 2015, 09:03:17 PM »
I don't think it is possible to achieve this now as I'm guessing you have to define the filter that controls the overall score formula. Anyways, what I want to achieve is to display the current season status on the player rankings screen. I'm showing the points they were awarded for the current tournament but to show the overall status for the season, I have to pull up the stats screen.

I'm guessing an overall score field where you have to define the profile is the easiest way(?).

Edit: words, to avoid grammar rangers death threats

12
Help Me / Make TD sounds behave like system sounds?
« on: November 30, 2015, 07:17:51 PM »
So I'm using both the standard beep sounds for level change and the sounds from here : http://www.thetournamentdirector.net/forums/index.php?topic=2293.0
My problem is that I'm also running Spotify and I want to lower the volume on Spotify while the TD sounds are playing. Now with e.g. Skype, this happens automatically as Skype sounds are registered as System Sounds. If you go to the Window's Volume Mixer and then click on the System Sounds "icon" (above the volume slider) you get a new window up. If you go to Communications tab you can select how much volume other programs should be reduced to when playing System Sounds, which in my case would be Spotify. However the problem is that Windows (7 in my case) doesn't recognize TD sounds as System Sounds so it doesn't lower volume on Spotify like Skype does. I assume this is OS related and something Corey has to solve. I have no idea what I'm talking about but I'm guessing the sounds has to be registered through som Windows API as System Sounds.

I've been looking though preferences to find this so I don't think it's already done but I'm usually mistaken when it comes to this. :)

Edit: *registered as communication sounds, that is as that's the only reason why Windows is willing to mute every other sound except the communication sounds.

13
Help Me / How to test formula in TD3?
« on: May 06, 2015, 06:21:26 AM »
The test formula function was a lot simpler in TD2 so I just entered number of players and I could see the points awarded from first place to last. Now I have no idea how to test it. I've tried entering number of players in numberOfLeagueMembers but that didn't help. The formula I'm using is imported from TD2: round(((round((log(n/r))*n))+1)*2)

14
So I've been running TD2 for ages and recently upgraded to TD3 and installed it this weekend.
I've installed Win7 64-bit on C-drive, and TD2 on D-drive. TD2 works perfectly.

TD3 automatically located the previous tournaments in C:/documents/td2 (etc) folder so that's fine. I changed a lot of the preferences, under the preferences tab, I added some profiles under Stats tab, but couldn't figure out how to limit the points to top 10 (so only top 10 tournaments are counted), so I tried opening TD2 while in TD3. That didn't work (TD2 didn't open) so I quit TD3 and TD2 popped up a warning box that it couldn't load the preference file so my preferences in TD2 were gone. (I still have the TD2 backup, so that isn't a problem.) So I close TD2 and go back to TD3 and my preferences are reset back to default. I make a few changes, close TD3 and start it up again. The changes I made are there. I close TD3 again and open TD2 and it show the warning again - that it cannot load the preferences file. I close TD2 and open TD3 and the changes I previously verified are gone again.

It looks to me as both programs are using the same preferences file and keep overwriting each other? Either way;
1) How do I keep different preferences for each program?
2) How do I make TD3 stats only count top 10 tournaments? (I'm using points, not score)
3) When uninstalling TD2, should I move my saves from documents/td2 to somewhere else or is it already in TD3 database?

Thanks again for some awesome programs!

15
Help Me / How does TD2 calculate points formula with log? [Solved]
« on: February 20, 2014, 08:49:05 PM »
Hi.

I'm using 2.5.14 and my points formula is: (log(n/r))*n
Testing it, I get this result (with 6 players):
1st, 6, 10.75
2nd, 5, 6.59
3rd, 4, 4.16
4th, 3, 2.43
5th, 2, 1.09
6th, 1, 0.00

Which is the score I'm looking for, however when I check the formula with a calculator or Excel, I get a completely different result. Let's take 1st place as an example;
(Log (6/1)) * 6
(Log (6)) * 6
0.78 * 6 = 4.67

So how exactly is TD2 calculating my formula to reach 10.75?

Pages: [1]