|
|
| Free Software Discussion of Free / Freeware / Donationware / Open Source poker software and Free Graphics mods |
03-17-2009, 02:48 PM
|
#1216
|
|
old hand
Join Date: Oct 2004
Posts: 1,535
|
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-
Quote:
Originally Posted by ekdikeo
We could probably add a stat to the HUD that would show the game-type of the last hand imported for that table - regular HORSE players could set that, and then they'd know what game the info was for (since the first hand of each round would be a different game than the prior hand was, then they could at least differentiate)
This is why I added player name to the stat list, because the player sitting in the seat this hand may not always be the same player as was sitting in the seat last hand. I don't think it's default to have player name in the display though.
I could potentially see down the road, maybe a multi-game HUD, where you can click on it, and it will flip through the stats for each game that it has processed for that table .. not something I'd have the knowledge or opportunity to do, though.
|
My half-baked plan for HORSE support in the HUD is this:
- Put a true/false entry in the config file that would be check-mixed, or something.
- If check-mixed is True then when a new hand comes in we'll check the title bar of the window to get the game being played. (using xlibs in Linux or hwnd in windows--these are pretty fast so it won't slow updating). People who don't play mixed games can set check-mixed to False and will have no slowdown at all from this.
- So when we update the HUD display, we'll use the stats for the game in the title bar, not the game played in the last hand.
I don't like the idea of showing stats from the previous game because "good" stats are somewhat different in the different games.
comments always welcome
|
|
|
03-17-2009, 02:59 PM
|
#1217
|
|
old hand
Join Date: Oct 2004
Posts: 1,535
|
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-
Quote:
Originally Posted by uncooper
I'm looking in to this, and I suspect the answer is an AppleScript.
edit: meh maybe not. i'll search more tomorrow.
|
I would be happy to work with you on this. To get the HUD to support OS/X we'll need:
- To have the gui working.
- Some way to get the location of the poker table window.
- Some way to read the title bar so you can get the table name, the game played, etc.
- Preferrably some way to get the owner of the window (e. g., PokerStars.exe or whatever). We can program around this, probably.
One thing we do in Linux and Windows is nail the HUD to a particular poker table window so that the correct stat windows are showing when the windows are stacked. That is probably pretty optional.
edit to say that this might be helpful
Last edited by Eratosthenes; 03-17-2009 at 03:02 PM.
Reason: Thought of something else. :)
|
|
|
03-17-2009, 04:19 PM
|
#1218
|
|
old hand
Join Date: Oct 2004
Posts: 1,535
|
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-
Quote:
Originally Posted by Eratosthenes
I would be happy to work with you on this. To get the HUD to support OS/X we'll need:
- To have the gui working.
- Some way to get the location of the poker table window.
- Some way to read the title bar so you can get the table name, the game played, etc.
- Preferrably some way to get the owner of the window (e. g., PokerStars.exe or whatever). We can program around this, probably.
One thing we do in Linux and Windows is nail the HUD to a particular poker table window so that the correct stat windows are showing when the windows are stacked. That is probably pretty optional.
edit to say that this might be helpful
|
One other thing on this. We will also need to have a routine to identify the pc as a Mac. We currently use the os.name string to tell Linux from Windows. I am pretty sure that both Linux and OS/X report os.name as "posix".
OK, those are my 5 demands. + a getaway car
|
|
|
03-17-2009, 09:31 PM
|
#1219
|
|
old hand
Join Date: Oct 2006
Posts: 1,362
|
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-
Quote:
Originally Posted by Eratosthenes
My half-baked plan for HORSE support in the HUD is this:
- Put a true/false entry in the config file that would be check-mixed, or something.
- If check-mixed is True then when a new hand comes in we'll check the title bar of the window to get the game being played. (using xlibs in Linux or hwnd in windows--these are pretty fast so it won't slow updating). People who don't play mixed games can set check-mixed to False and will have no slowdown at all from this.
- So when we update the HUD display, we'll use the stats for the game in the title bar, not the game played in the last hand.
I don't like the idea of showing stats from the previous game because "good" stats are somewhat different in the different games.
comments always welcome
|
This is an interesting idea to the question that plagued me of, how could the HUD recognize the game switch until after the 2nd hand. This is especially good when you get to the Razz/Stud/Stud8 stretch. Not having the right stats could easily get confusing.
|
|
|
03-18-2009, 01:04 AM
|
#1220
|
|
journeyman
Join Date: Sep 2008
Location: Sydney
Posts: 292
|
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-
Quote:
Originally Posted by Eratosthenes
That alter table statement looks like it would work, sort of. We have also defined a whole bunch of foreign keys which are not supported by myISAM, so they would have to be dropped before you can alter the tables. There are also a ton of commit statements in the code. They would do nothing with myISAM tables (I'm pretty sure they don't cause an error.), but they would still take some time.
We drop the foreign keys at about line 133 in fpdb_simple.py. It is pretty simple. We currently don't use the foreign keys right now (but probably should with stuff like cascading deletes).
|
I'll try it out, then, proceeding very cautiously. MyISAM ought to be somewhat faster: the few minutes of research I did indicated that INNODB can be noticeably faster where there are multiple simultaneous insertions into the same table taking place, since it locks individual rows, not whole tables. Evidently INNODB is often faster in server applications. But Fpdb, I think, only updates or inserts one thing at a time, being strictly a single-user application.
At any rate, this is not something to be decided theoretically. I'll report back on results if I can get it to work.
The lack of support for foreign keys was one of the objections to SQLite. I think they would be dispensable if Fpdb were very careful with how it deletes records.
|
|
|
03-18-2009, 04:31 AM
|
#1221
|
|
banned
Join Date: May 2008
Location: Reno, NV - Motel 6
Posts: 1,787
|
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-
wow, fpdb is coming along nicely
|
|
|
03-18-2009, 11:31 AM
|
#1222
|
|
newbie
Join Date: Jun 2008
Posts: 26
|
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-
So I finally got things more or less working and I'm still deeply impressed by this app.
Some more questions that I couldn't answer by reading the thread:
-is there a definitive solution to make the HUD labels "stick" to a player? Right now they're all over my desktop/table
-does graphing work? I know it doesn't for me, I did install the necesary python libs
Also color in the HUD would be nice but I guess I'm not the first to come up with that brilliant plan
|
|
|
03-18-2009, 12:15 PM
|
#1223
|
|
newbie
Join Date: Jun 2008
Posts: 26
|
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-
Oh, also: the path to the HH files needs to be entered again at each startup.
Please tell me if I'm nagging and pointing out the obvious.
About the graphing: console displays error "Either 0 or more than 1 site matched-EEK"
Here's my error log:
Code:
D:\Program Files\fpdb\pyfpdb\fpdb.py:247: DeprecationWarning: use gtk.UIManager
self.item_factory = gtk.ItemFactory(gtk.MenuBar, "<main>", accel_group)
Traceback (most recent call last):
File "D:\Program Files\fpdb\pyfpdb\GuiGraphViewer.py", line 59, in generateGraph
sitenos.append(self.siteid[site])
KeyError: u'Full Tilt'
Traceback (most recent call last):
File "D:\Program Files\fpdb\pyfpdb\GuiGraphViewer.py", line 59, in generateGraph
sitenos.append(self.siteid[site])
KeyError: u'Full Tilt'
Traceback (most recent call last):
File "D:\Program Files\fpdb\pyfpdb\GuiGraphViewer.py", line 59, in generateGraph
sitenos.append(self.siteid[site])
KeyError: u'Full Tilt'
Traceback (most recent call last):
File "D:\Program Files\fpdb\pyfpdb\GuiGraphViewer.py", line 59, in generateGraph
sitenos.append(self.siteid[site])
KeyError: u'Full Tilt'
Traceback (most recent call last):
File "D:\Program Files\fpdb\pyfpdb\GuiGraphViewer.py", line 59, in generateGraph
sitenos.append(self.siteid[site])
KeyError: u'Full Tilt'
Traceback (most recent call last):
File "D:\Program Files\fpdb\pyfpdb\GuiGraphViewer.py", line 296, in exportGraph
self.fig.savefig(self.exportDir, format="png")
AttributeError: 'GuiGraphViewer' object has no attribute 'fig'
D:\Program Files\fpdb\pyfpdb\GuiAutoImport.py:92: GtkWarning: gtk_file_system_win32_get_parent: assertion `g_path_is_absolute (filename)' failed
dia_chooser.set_filename(current_path)
D:\Program Files\fpdb\pyfpdb\GuiBulkImport.py:93: GtkWarning: gtk_file_system_win32_get_parent: assertion `g_path_is_absolute (filename)' failed
self.chooser.set_filename(self.settings['bulkImport-defaultPath'])
Traceback (most recent call last):
File "D:\Program Files\fpdb\pyfpdb\GuiGraphViewer.py", line 59, in generateGraph
sitenos.append(self.siteid[site])
KeyError: u'Full Tilt'
Traceback (most recent call last):
File "D:\Program Files\fpdb\pyfpdb\GuiGraphViewer.py", line 59, in generateGraph
sitenos.append(self.siteid[site])
KeyError: u'Full Tilt'
Last edited by Kris8400; 03-18-2009 at 12:21 PM.
|
|
|
03-18-2009, 12:18 PM
|
#1224
|
|
newbie
Join Date: Jun 2008
Posts: 26
|
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-
wtf double post, now I'm really ****ing up the thread.
|
|
|
03-18-2009, 12:21 PM
|
#1225
|
|
old hand
Join Date: Apr 2008
Location: Perth, Western Australia
Posts: 1,507
|
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-
Quote:
Originally Posted by Kris8400
Oh, also: the path to the HH files needs to be entered again at each startup.
Please tell me if I'm nagging and pointing out the obvious.
|
Set HH_path in the config to make this persistent. Not being able to save this setting back to config is an old "bug"
We've had good intentions of writing a config dialog for a while now.
|
|
|
03-18-2009, 12:27 PM
|
#1226
|
|
old hand
Join Date: Apr 2008
Location: Perth, Western Australia
Posts: 1,507
|
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-
Quote:
Originally Posted by Kris8400
Some more questions that I couldn't answer by reading the thread:
|
Congrats - most people dont get that far
Quote:
Originally Posted by Kris8400
-is there a definitive solution to make the HUD labels "stick" to a player? Right now they're all over my desktop/table
|
This should work - even with prefered seating ( http://fpdb.wiki.sourceforge.net/Pre...+Seat+on+Stars)
FWIW i had a glich with this recently too.
Quote:
Originally Posted by Kris8400
-does graphing work? I know it doesn't for me, I did install the necesary python libs
|
For cash games yes, i see you have a post further on with an error message already.
Quote:
Originally Posted by Kris8400
Also color in the HUD would be nice but I guess I'm not the first to come up with that brilliant plan
|
This already works, but you have to add a couple of fields to the config file. I think the settings for this were in one of the release notes - ekdikeo?
|
|
|
03-18-2009, 12:29 PM
|
#1227
|
|
old hand
Join Date: Apr 2008
Location: Perth, Western Australia
Posts: 1,507
|
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-
Quote:
Originally Posted by Kris8400
About the graphing: console displays error "Either 0 or more than 1 site matched-EEK"
|
Heh - i forgot about that error message.
Quote:
Originally Posted by Kris8400
Code:
KeyError: u'Full Tilt'
|
Change the site name in the config file from 'Full Tilt' to 'Full Tilt Poker' and that should work.
|
|
|
03-18-2009, 01:05 PM
|
#1228
|
|
newbie
Join Date: Jun 2008
Posts: 26
|
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-
Quote:
Originally Posted by sorrow
|
Wow, those are some fast and clear answers, thank you.
If I'm right I could also enter the table size in pixels on that same row where preferred seat is? I'm using mini tables atm and the stats are a bit far apart.
|
|
|
03-18-2009, 01:09 PM
|
#1229
|
|
old hand
Join Date: Oct 2004
Posts: 1,535
|
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-
Quote:
Originally Posted by Kris8400
-is there a definitive solution to make the HUD labels "stick" to a player? Right now they're all over my desktop/table
|
That is usually a problem with the preferred seat thing. See here.
Quote:
|
-does graphing work? I know it doesn't for me, I did install the necesary python libs
|
Graphs work. If you are using the recent (yesterday, fixed about 10 min ago) code from my repo, then you are using a silly bug I put in. Just pull again, reimport and graphing should be OK.
Quote:
|
Also color in the HUD would be nice but I guess I'm not the first to come up with that brilliant plan
|
I am planning to rewrite the stats routines to support colorizing the stats based on their value. I have been thinking a lot about how to do that and how to support it in a configuration gui. There are still some speed/reliability/stability changes and features that I want to do first.
NEVER MIND sorrow answered your questions correctly.
Last edited by Eratosthenes; 03-18-2009 at 01:12 PM.
Reason: already answered
|
|
|
03-18-2009, 01:15 PM
|
#1230
|
|
old hand
Join Date: Oct 2004
Posts: 1,535
|
Re: New Free/open source poker tracking software: FPDB - (Alpha9 - updates) - 10-Nov-
Quote:
Originally Posted by Kris8400
Wow, those are some fast and clear answers, thank you.
If I'm right I could also enter the table size in pixels on that same row where preferred seat is? I'm using mini tables atm and the stats are a bit far apart.
|
Right now the table size in the config file is not used. My plan is to use that to move the stat windows when the user resizes the table.
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 06:56 PM.
|