Open Side Menu Go to the Top
Register
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013

03-18-2009 , 12:27 PM
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.****************/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?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-18-2009 , 12:29 PM
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.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-18-2009 , 01:05 PM
Quote:
Originally Posted by sorrow
Congrats - most people dont get that far
This should work - even with prefered seating (http://fpdb.wiki.****************/Pre...+Seat+on+Stars)
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.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-18-2009 , 01:09 PM
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
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-18-2009 , 01:15 PM
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.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-19-2009 , 12:34 AM
I was thinking about that resizing stuff a few days ago, for no good reason at all ..

We could record the table window dimensions when we attach to the table, and when we detect a resize, have it compare the old dimensions to the new dimensions, and move the windows appropriately by that scale (i was also thinking it would be easier to save position from center of window, instead of from upper left hand corner, but i'm sure that it could be figured out, also)

I don't remember if anyone ever documented the color stuff, but I did put out my HUD config some time ago on here. I have 2p2 setup for 100 message pages, and i'm seeing 13(!) pages here, so i imagine it's quite a ways back now, so i'll repost it..

This is under the supported_games section, in the holdem section:

Code:
		<stat click="tog_decorate" col="0" hudcolor="#98FFB0" hudprefix="" hudsuffix="" popup="default" row="0" stat_name="playername" tip="tip1"> </stat>
		<stat click="tog_decorate" col="1" hudcolor="#006E9A" hudprefix="(" hudsuffix=")" popup="default" row="0" stat_name="n" tip="tip1"> </stat>
<!--		<stat click="tog_decorate" col="2" hudprefix="FtFB: " popup="default" row="0" stat_name="ffreq_1" tip="tip1"> </stat>-->
		<stat click="tog_decorate" col="2" hudprefix="" popup="default" row="0" stat_name="totalprofit" tip="tip1"> </stat>

		<stat click="tog_decorate" col="0" hudprefix="VP: " popup="default" row="1" stat_name="vpip_0" tip="tip1"> </stat>
		<stat click="tog_decorate" col="1" hudprefix="PFR: " popup="default" row="1" stat_name="pfr_0" tip="tip1"> </stat>
		<stat click="tog_decorate" col="2" hudprefix="AF: " popup="default" row="1" stat_name="a_freq_123_0" tip="tip1"> </stat>

		<stat click="tog_decorate" col="0" hudprefix="St: " popup="default" row="2" stat_name="steal" tip="tip1"> </stat>
		<stat click="tog_decorate" col="1" hudprefix="FBBS: " popup="default" row="2" stat_name="f_BB_steal" tip="tip1"> </stat>
		<stat click="tog_decorate" col="2" hudprefix="FSBS: " popup="default" row="2" stat_name="f_SB_steal" tip="tip1"> </stat>
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-19-2009 , 01:54 AM
Quote:
Originally Posted by ekdikeo
I was thinking about that resizing stuff a few days ago, for no good reason at all ..

We could record the table window dimensions when we attach to the table, and when we detect a resize, have it compare the old dimensions to the new dimensions, and move the windows appropriately by that scale (i was also thinking it would be easier to save position from center of window, instead of from upper left hand corner, but i'm sure that it could be figured out, also)
The HUD should look at the size of the table window when it starts up, at least, and adjust the positions of the stats in proportion (even if it does not react dynamically to subsequent changes). I was experimenting with a new layout the other day and had to move all the statistics manually, which was no fun at all.

Another suggestion: Is it possible in GTK to have windows with no (i.e. a completely transparent) background? I've come to think the stat windows are too obtrusive. It would be better to have just the numbers rendered on top of the table window next to or below the player's name, in an appropriately contrasting colour, much as Pokertracker does it.

I know this can already be done with a compositor, i.e. using translucency; but is there a simpler way?

Correction: I don't think you can do this with the translucency setting, as it applies to the foreground as well as the background. Is it possible for these to have separate translucency settings?

Last edited by Eleatic Stranger; 03-19-2009 at 02:01 AM.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-19-2009 , 04:54 AM
Quote:
Originally Posted by Eleatic Stranger
I know this can already be done with a compositor, i.e. using translucency; but is there a simpler way?

Correction: I don't think you can do this with the translucency setting, as it applies to the foreground as well as the background. Is it possible for these to have separate translucency settings?
I know that the opacity only works in linux when using a compositer.

I have no idea if you can set the opacity of just the background and leave the text, reminds me of a project I saw a while ago - multiblending http://patrickbaudisch.com/projects/multiblending/ to quote: "[on alpha blending] one reason for the limited acceptance is that in many scenarios, alpha blending compromises the readability of content."

It may not be doable without a custom widget is my gut guess.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-19-2009 , 11:01 AM
Quote:
Originally Posted by Eleatic Stranger
The HUD should look at the size of the table window when it starts up, at least, and adjust the positions of the stats in proportion (even if it does not react dynamically to subsequent changes). I was experimenting with a new layout the other day and had to move all the statistics manually, which was no fun at all.

Another suggestion: Is it possible in GTK to have windows with no (i.e. a completely transparent) background? I've come to think the stat windows are too obtrusive. It would be better to have just the numbers rendered on top of the table window next to or below the player's name, in an appropriately contrasting colour, much as Pokertracker does it.

I know this can already be done with a compositor, i.e. using translucency; but is there a simpler way?

Correction: I don't think you can do this with the translucency setting, as it applies to the foreground as well as the background. Is it possible for these to have separate translucency settings?
It is possible to make gtk windows have a transparent background. I did this in one of my earlier HUD efforts (written in perl and not published). Making them have transparent backgrounds has 2 problems, that may or may not be serious, depending on the user:
1) When backgrounds are transparent, the backgrounds do not respond to mouse events, so if you want a tool tip or to click on the window, you have to click right on the text. This is at least mildly annoying.
2) It takes considerably more computation each time new stats are displayed than the way we do it now. I don't know if this will be significant and I don't know how much of the bit twiddling I would have to put in the gui thread.

As I have mentioned a few times recently, I am planning on rewriting how the stats are done so it will support indicatively colored stats, colorized notes icons, and etc. My plan is for the stats thing to return a graphic object. In its simplest form that would just be a label with a number on it. It could also be an image with a transparent background. This not-so-little job is still a few spots from the top of my to do list.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-20-2009 , 02:17 AM
Quote:
Originally Posted by Eratosthenes
It is possible to make gtk windows have a transparent background....
1) When backgrounds are transparent, the backgrounds do not respond to mouse events, so if you want a tool tip or to click on the window, you have to click right on the text. This is at least mildly annoying.
I could live with this; but you're right, it would be annoying.

Quote:
2) It takes considerably more computation each time new stats are displayed than the way we do it now.
I really wouldn't worry about this. The database is taking the lion's share of processor-time.

I'm very pleased to hear you're doing further work on the stat windows, and I'm looking forward to seeing the results.

Speaking of the database:

Quote:
Originally Posted by Eratosthenes
In mysql we are using the inno tables. These are the "industrial strength" tables that allow rollback, etc. The myIsam tables are faster, but less reliable. Anybody that would be OK with using SQLite should be OK with using myIsam. Making inno/myIsam a selectable parameter in the config file would not be a big problem.
I've now converted my database to MyISAM and given the HUD a few hours' worth of testing. Nothing untoward happened, and nothing strange appeared in the error logs.

There was not too much noticeable improvement in speed, although I think it was a little faster (but not strikingly so). Remember that I have never had a problem with the speed of the HUD.

If this could be made an installation option it would be worth doing, and quite easy to do.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-20-2009 , 02:48 AM
A nearly transparent but not entirely background would be great. Right now the opacity is for the entire window. You might be able to turn it down some, and use a bolder font at a high contrast color to get a bit of that same effect, but it'll still make the text more transparent as well, which sucks. I keep it around 0.75, and it works fine for me, although i do use a black background with a few different colors of text.

I'm not sure if GTK can adjust the background transparency on the fly, I imagine if we can generate an image on the fly, that wouldn't be a problem, as long as we can generate an alpha-map with X transparency. When I was researching the existing transparency, I found a lot of references to transparent backgrounds as opposed to transparent windows .. i imagine that a 50% transparent black background with full text would probably look pretty snazzy.


Have we fixed the crashing when using the window-move-detection in Linux yet? I don't recall seeing any code changes in there.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-20-2009 , 03:55 AM
Quote:
Originally Posted by ekdikeo
Have we fixed the crashing when using the window-move-detection in Linux yet? I don't recall seeing any code changes in there.
It doesn't crash any more and report an X-Windows error, if that's what you mean. I haven't seen any kind of crash for weeks.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-20-2009 , 10:08 AM
Quote:
Originally Posted by Eleatic Stranger
It doesn't crash any more and report an X-Windows error, if that's what you mean. I haven't seen any kind of crash for weeks.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-20-2009 , 10:21 AM
Quote:
Originally Posted by Eleatic Stranger
I've now converted my database to MyISAM and given the HUD a few hours' worth of testing. Nothing untoward happened, and nothing strange appeared in the error logs.

There was not too much noticeable improvement in speed, although I think it was a little faster (but not strikingly so). Remember that I have never had a problem with the speed of the HUD.

If this could be made an installation option it would be worth doing, and quite easy to do.
Thanks for feeding this information back. I am a little disappointed that using the myISAM tables didn't show more improvement.

I have the urge to rip in to the module that does the database handling and do the refactoring/subclassing thing on it. One of the things that would come out of that would be to make it easier to support other databases like sqlite or mysql/myISAM. So far I have been able to control that urge (for a variety of reasons). I think this is one of the things to do that will bubble up to the top before too long.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-20-2009 , 10:24 AM
Something minor: the graph window isn't cleared when you click Graph more than once, so the graphs show up under one another.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-20-2009 , 10:56 AM
Quote:
Originally Posted by Eratosthenes
I am a little disappointed that using the myISAM tables didn't show more improvement.
Bear in mind that I don't normally notice whether the database is working "quickly" or "slowly", as it has always been fast enough to cope with as many tables as I choose to play. There is no reason for thinking the improvement was not in fact quite large.

I don't use the bulk importer, where the difference would probably be more apparent.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-20-2009 , 11:35 AM
Quote:
Originally Posted by Kris8400
Something minor: the graph window isn't cleared when you click Graph more than once, so the graphs show up under one another.
This was discussed and worked on a week or 2 ago. I think it is fixed in the most recent code (which will be a release Real Soon Now). This is another of those bugs that I cannot duplicate.

You can always get up to date code from my git repo.

A note on that: I have published my repo address several times in this thread and, therefore, take a little extra care to keep it usuable. I always do at least some testing before pushing to that repo. That is not to say that I don't sometimes put a remarkably stupid bug in it (like yesterday). These are usually pointed out to me almost immediately and fixed soon after.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-20-2009 , 12:33 PM
is there a way to import large amounts of hands in one swipe? Something like PT3's site import?

I have close to 25k hands saved and it would be a pita to import each HH file manually.

edit
nm found CliFpdb.py

Last edited by tomfmason; 03-20-2009 at 12:43 PM.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-20-2009 , 12:36 PM
btw, great work so far. I am a python developer as well. I don't have much free time atm but I always enjoy working on opensource projects like this - https://gna.org/users/tomfmason. if you need an extra hand(upwards of 10 hours/week) let me know.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-20-2009 , 01:03 PM
Quote:
Originally Posted by tomfmason
is there a way to import large amounts of hands in one swipe? Something like PT3's site import?

I have close to 25k hands saved and it would be a pita to import each HH file manually.

edit
nm found CliFpdb.py
You can also import all the files in a folder by selecting the folder in the BulkImport gui and clicking import.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-20-2009 , 01:29 PM
Quote:
Originally Posted by tomfmason
btw, great work so far. I am a python developer as well. I don't have much free time atm but I always enjoy working on opensource projects like this - https://gna.org/users/tomfmason. if you need an extra hand(upwards of 10 hours/week) let me know.
Hi Tom--

We would certainly be happy to have another dev--10 hours/week would certainly be useful. There is enough to do that you can pretty much pick a part of the code that fits your interests and skill and hop in.

It would probably be a good idea to talk to us about your plans before spending much time on something that we might be obsoleting at the same time. Some of the devs are usually hanging out on the #fpdb channel on freenode. The mailing list is pretty active, too.

There is a ton of work going into a new importer/importer framework right now. That is going to lead in to doing more analysis on imported hands and adding more info to the db.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-20-2009 , 05:53 PM
Quote:
Originally Posted by Eleatic Stranger
It doesn't crash any more and report an X-Windows error, if that's what you mean. I haven't seen any kind of crash for weeks.
so, we can move the tables around, and it will move the stat windows around to match, and then if you close the table before the hud, it kills the hud?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-20-2009 , 06:50 PM
Quote:
Originally Posted by ekdikeo
so, we can move the tables around, and it will move the stat windows around to match, and then if you close the table before the hud, it kills the hud?
The reason ES isn't seeing those crashes is that I disabled something (don't remember what, but git does) regarding tables and X. I have figured out how to make that stuff work, but I have not had time to implement it. I intend to do that when I refactor/etc Tables.py. That is now #2 on my todo list! I hope I can also fix that annoyance with stacked tables where a new hud pops up on top of the stack, even though its associated window in not on top.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-20-2009 , 10:25 PM
Are positional stats working? I select it from the menu and nothing happens.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
03-20-2009 , 11:04 PM
positional stats works for me, but it takes maybe 30 sec to show the table. Does player stats and/or graphs work for you? Are you using the most recent from a git repo or the 0.10 release?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote

      
m