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

10-03-2010 , 03:51 AM
Quote:
Originally Posted by Eratosthenes
in the HUD, you mean? that is pretty doable.
I think someone already did it, but I have no idea how it works.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-03-2010 , 07:41 PM
Thank you to the fpdb team. This project is amazing and very useful for me!
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-04-2010 , 02:59 PM
Quote:
Originally Posted by ekdikeo
I think someone already did it, but I have no idea how it works.
I thought someone had tried to do the auto-truncating on the names, but there was an issue with guessing the width of the HUD display so that was left out for the time being.

Letting a user arbitrarily select a length would be a good remedy for those that want truncated names, but I would let other users select "normal" display so the HUD behaves like it currently does and just expands dynamically.

Letting the user select the length and having the HUD size accordingly has a caveat regarding fonts. If you just chop the names at the specified length and let the rest of the code size the HUD dynamically (meaning that names shorter than the spec'd length width have a narrower HUD display), then you have very little to do as the current code should handle that just fine. If, however, you want to try and make the HUD displays uniform and size them based on the spec'd length, then you are going to face font-width issues. Fixed width fonts are no problem, you just calculate the width based on the width of a character X the user input, but as soon as the user changes to a non-fixed font, you can't reliably determine the width needed ahead of time. You can determine the width, but then you are back to the issue with the auto-truncating mentioned above meaning that you have to get the truncated text, calculate the screen width and then configure the HUD. This will make the HUD a little laggy.

A couple of tricks used long ago in some applications I wrote to kinda workaround this. They are kinda, meh, but they work as a stopgap:
1. Assume a fixed width font, calculate the width, and then just put the text in there in the current font. If there is extra space, so be it. The HUD displays will be uniform though.
2. Get the width of the "M" character for the current font and use that as a constant, calculate the width and put the text in there. Extra space deal again, but the displays will be uniform.

You guys probably know these issues, but I thought I'd throw them out there anyway.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-04-2010 , 04:48 PM
Quote:
Originally Posted by COKE_MAN
A couple of tricks used long ago in some applications I wrote to kinda workaround this. They are kinda, meh, but they work as a stopgap:
1. Assume a fixed width font, calculate the width, and then just put the text in there in the current font. If there is extra space, so be it. The HUD displays will be uniform though.
2. Get the width of the "M" character for the current font and use that as a constant, calculate the width and put the text in there. Extra space deal again, but the displays will be uniform.
The problem is that GTK doesn't know the width of the text until it has been rendered. I once had to spend countless number of hours trying to sidestep the problem. (At work. Didn't find a single suitable fast/sane way.) One possible trick would be to simply let the user set the maximum number of characters they want to use for player handle and .set_max_width_chars(N), along with suitable ellipsizing option so that truncated label shows the trailing "..." when label width would have been exceeded.

That would be easy enough to implement but wouldn't solve the actual issue. I might give it a spin tomorrow just to see how it behaves. (Yes, the width of "MMMMMMMMychips" and "Tiiiiiiriliiiiiii" would be notably different.)
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-04-2010 , 04:56 PM


Okay, now that I have your attention with the bikini babes...

One more attempt here. Please, don't explain to me why it DOESN'T work, I know that part. It's the damn time issue.

One of the hud files has to go to the database and look for files that meet the criteria of the config file (i.e. 3 day, 30 day, whatever). There has to be a place to "adjust" that time factor somehow, even if manually in one of the .py files. I cannot believe that everyone in the world must adapt to GMT zone. I would guess that at least 50%, maybe much higher, are located in the U.S. or Canada. Even Stars bases it's files on Eastern time (GMT -5). I log on to them and they allow a simple choice of my time zone, Pacific (GMT -8).

My HH files show both times in the header as seen below...

PokerStars Game #50600605367: Hold'em Limit ($0.50/$1.00 USD) - 2010/10/04 11:30:40 PT [2010/10/04 14:30:40 ET]

With all that information why can't either we or the program adjust. I use "hero stats 1 day". My HH's change filename/date at midnight Eastern, 9pm local. Even FPDP graphs, through a small tweak I made in one of the files I've long forgotten the name of, ends my day at midnight Eastern and 9pm local. But the damn hud display starts my new day over at 5 in the afternoon.

I've searched seemingly all the files for a place to adjust that hud display's search. Several people have been courteous enough to throw a bunch of tech stuff at me to explain that "pyton does it that way because..." or "that's the way Mysql does it..." It's like my first boss (in the 60's) used to say to me......

"I don't care why it's broke, I just want it fixed!"

I'll get off my soapbox now, but it's a minor annoyance that's like a flea bite, it keeps itching me and I can't find the damn flea.

Dog

Last edited by 1meandog4u; 10-04-2010 at 05:15 PM.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-05-2010 , 02:24 AM
sorry for late reply. I used to run FPDB version 0.11.2 on a vista computer. I play on FTP and primarily cash games. version 0.11.2 worked fine on vista (after I downloaded the necesary requirements). Recently I bought a Windows 7 Laptop and i put all the FPDB files onto a USB and dragged it onto the desktop (of the laptop). It worked so long as I had my USB plugged into the laptop. I recently downloaded FPDB 0.20.1 and neither of the versions work anymore.

Thx
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-05-2010 , 01:45 PM
Quote:
Originally Posted by L0s3rAL0t
sorry for late reply. I used to run FPDB version 0.11.2 on a vista computer. I play on FTP and primarily cash games. version 0.11.2 worked fine on vista (after I downloaded the necesary requirements). Recently I bought a Windows 7 Laptop and i put all the FPDB files onto a USB and dragged it onto the desktop (of the laptop). It worked so long as I had my USB plugged into the laptop. I recently downloaded FPDB 0.20.1 and neither of the versions work anymore.

Thx
This sounds like your config file is now bad. rename your config to something safe (HUD_config.xml.backup) and start fpdb. Fpdb will make you a new config from the example config.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-06-2010 , 12:11 AM
Quote:
Originally Posted by Bostik
The problem is that GTK doesn't know the width of the text until it has been rendered. I once had to spend countless number of hours trying to sidestep the problem. (At work. Didn't find a single suitable fast/sane way.) One possible trick would be to simply let the user set the maximum number of characters they want to use for player handle and .set_max_width_chars(N), along with suitable ellipsizing option so that truncated label shows the trailing "..." when label width would have been exceeded.

That would be easy enough to implement but wouldn't solve the actual issue. I might give it a spin tomorrow just to see how it behaves. (Yes, the width of "MMMMMMMMychips" and "Tiiiiiiriliiiiiii" would be notably different.)
Yep, we are on the same page. Your solution with the ... is essentially what I was suggesting to be quick and easy, but will still have the display sizes dynamic.

GTK doesn't know the width until rendered. True, but the trick I was suggesting was to render or otherwise calculate the width of the "M". You can either store that in the config or calculate it when the HUD loads and store it as a constant, then use that value to determine how wide to draw the display. Then you are only calculating that once. So then width of area required for playername = Width of "M" * .set_max_width_chars(N). There will often be extra spaces at the end of the name if it is shorter than .set_max_width_chars(N) or a variable width font is used, but at least it will be uniform and that seems important to a few here. Like I said, not ideal, but works.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-06-2010 , 12:53 AM
Quote:
Originally Posted by Eratosthenes
This sounds like your config file is now bad. rename your config to something safe (HUD_config.xml.backup) and start fpdb. Fpdb will make you a new config from the example config.
any restrictions on what i need to rename it?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-06-2010 , 01:01 AM
* Add Full Tilt Poker import directory C:\Users\Dell Inspiron 15\Desktop\HH\L0s3rAl0t.
* Add PokerStars import directory ** ERROR DEFAULT PATH IN CONFIG DOES NOT EXIST **
FT20101006 Apollo (6 max) - $0.01-$0.02 - $0.60 Cap No Limit Hold'em.txt 2 stored, 0 duplicates, 0 partial, 0 errors (time = 4.134000).
* Add Carbon import directory ** ERROR DEFAULT PATH IN CONFIG DOES NOT EXIST **........
FT20101006 Apollo (6 max) - $0.01-$0.02 - $0.60 Cap No Limit Hold'em.txt



The HUD works fine up until here. But the stats don't come up after this
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-06-2010 , 03:59 PM
Quote:
Originally Posted by L0s3rAL0t
* Add Full Tilt Poker import directory C:\Users\Dell Inspiron 15\Desktop\HH\L0s3rAl0t.
* Add PokerStars import directory ** ERROR DEFAULT PATH IN CONFIG DOES NOT EXIST **
FT20101006 Apollo (6 max) - $0.01-$0.02 - $0.60 Cap No Limit Hold'em.txt 2 stored, 0 duplicates, 0 partial, 0 errors (time = 4.134000).
* Add Carbon import directory ** ERROR DEFAULT PATH IN CONFIG DOES NOT EXIST **........
FT20101006 Apollo (6 max) - $0.01-$0.02 - $0.60 Cap No Limit Hold'em.txt



The HUD works fine up until here. But the stats don't come up after this
fpdb should have created a HUD_config.xml file in the same directory as your old one. Open up that file, and search for "HH_path". Then for each site, you can set the "HH_path" to equal the directory where the poker client saves your hand histories.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-07-2010 , 01:50 AM
Quote:
Originally Posted by ChazDazzle
fpdb should have created a HUD_config.xml file in the same directory as your old one.
It didn't
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-07-2010 , 08:17 PM
does the hud work for absolute yet? also, i dont kno how to get absolute to import the hands onto my comp. can someone tell me how?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-08-2010 , 04:09 AM
Quote:
Originally Posted by phil0pp
does the hud work for absolute yet? also, i dont kno how to get absolute to import the hands onto my comp. can someone tell me how?
HUD did function for Absolute holdem games, and holdem in HORSE, about a year ago was the last time I had money on AP, so I haven't been there to mess with it. At the time, there were some inaccuracies in the stats, but it did function reasonably well.

It would probably be pretty easy to patch up the existing AP support if there are still stats problems with it, but if anyone is feeling especially industrious, since AP supports nearly all the games out there, a whole new AP module could be done that supported everything.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-08-2010 , 04:50 PM
Hey everyone. I've been lurking for at least 3 years now, but I had to post because I can't get this working. I don't have time to go through the whole thread right now, but I have Vista and the bat file just opens and then closes instantly. I have everything else downloaded as far as I know, but yet I can't even get to the basic setup part. Has anyone come up with a solution to Vista itt? Thanks!
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-11-2010 , 03:20 AM
Quote:
Originally Posted by stoicao
Hey everyone. I've been lurking for at least 3 years now, but I had to post because I can't get this working. I don't have time to go through the whole thread right now, but I have Vista and the bat file just opens and then closes instantly. I have everything else downloaded as far as I know, but yet I can't even get to the basic setup part. Has anyone come up with a solution to Vista itt? Thanks!
I've been running it on Vista since it started, or shortly thereafter, and it seems to work fairly well for me. Here's a checklist to see where you are at.

Have you installed Python2.6 in the root directory c:\ for some reason I read on the Python site, it prefers to be located there, rather than in the c:\Program Files\python2.6 which is what I think the install puts it to.

Have you set up a config file with your path for your HH's, and the basics such as how you want the Hud configured, etc. You can use the ".example" config file and "save as" and then make any necessary changes. On Vista it creates a directory under (user name)\appdata\roaming\fpdb and that is where you will find the "example" config file after making the changes you know for sure "save as" "hud_config.xml" after the next steps, it should run.

Vista is very touchy about authorization/permissions. Here's what I did to overcome that. I went to the directories "c:\python2.6" and to "c:\Program Files\fpdb906" (which in the name I gave mine because I am running version 906) Go to those two directories. Right click on "properties" on each of them. You will see a "security" tab, select it and then click on the "edit" box. Depending on how many users you have, make sure all of them have the box "full control" checked. Then, save and exit. That will give any file under those directories full control to be run by Vista.

That's a few of the tweaks I found overcame some problems. I don't run the program off the batch file you mentioned. I just created a desktop icon and pointed it to "c:\Program Files\fpdb906\python\fpdb.pyw" that's the file and where it is located on my Vista. That should start the program immediately, although, Vista may still ask permission the first time you run it.

Hope that helps some...

Dog

Last edited by 1meandog4u; 10-11-2010 at 03:26 AM.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-11-2010 , 05:15 AM
am i supposed to rename the HUD_config.xml.example to HUD_config.xml?
the reason i ask is: none of the changes I make in the file show up.

also, there are two folder w/ HUD_config.xml.example, fpdb and pyfpdb. i am supposed to be editing the stuff in fpbd ya?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-11-2010 , 05:43 AM
also how is variance calculated. and is 138 high?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-11-2010 , 06:33 AM
Quote:
Originally Posted by john voight
am i supposed to rename the HUD_config.xml.example to HUD_config.xml?
the reason i ask is: none of the changes I make in the file show up.

also, there are two folder w/ HUD_config.xml.example, fpdb and pyfpdb. i am supposed to be editing the stuff in fpbd ya?
The folder with the 'correct' HUD_config.xml should be %APPDATA%/fpdb/ which may be a hidden directory under windows.

Most this in the config file can now be edited using the preferences dialog.

Quote:
Originally Posted by john voight
also how is variance calculated. and is 138 high?
https://****************/apps/mediawi...riance_mean.3F

Sorrow
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-11-2010 , 03:16 PM
Quote:
Originally Posted by 1meandog4u
I've been running it on Vista since it started, or shortly thereafter, and it seems to work fairly well for me. Here's a checklist to see where you are at.

Have you installed Python2.6 in the root directory c:\ for some reason I read on the Python site, it prefers to be located there, rather than in the c:\Program Files\python2.6 which is what I think the install puts it to.

Have you set up a config file with your path for your HH's, and the basics such as how you want the Hud configured, etc. You can use the ".example" config file and "save as" and then make any necessary changes. On Vista it creates a directory under (user name)\appdata\roaming\fpdb and that is where you will find the "example" config file after making the changes you know for sure "save as" "hud_config.xml" after the next steps, it should run.

Vista is very touchy about authorization/permissions. Here's what I did to overcome that. I went to the directories "c:\python2.6" and to "c:\Program Files\fpdb906" (which in the name I gave mine because I am running version 906) Go to those two directories. Right click on "properties" on each of them. You will see a "security" tab, select it and then click on the "edit" box. Depending on how many users you have, make sure all of them have the box "full control" checked. Then, save and exit. That will give any file under those directories full control to be run by Vista.

That's a few of the tweaks I found overcame some problems. I don't run the program off the batch file you mentioned. I just created a desktop icon and pointed it to "c:\Program Files\fpdb906\python\fpdb.pyw" that's the file and where it is located on my Vista. That should start the program immediately, although, Vista may still ask permission the first time you run it.

Hope that helps some...

Dog
That helps a lot, thanks! GL at the tables.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-11-2010 , 09:10 PM
thanks for the support. figured it out.
now the only problem i see is: only stats are showing up for players who joined the table, not for the ones that were seated before i joined.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-14-2010 , 02:02 PM
Hi,

I just downloaded last night, I have windows7 laptop. Got program installed and running, imported hand histories from PokerStars(all the way back to May of this year.) I can view player stats tabulated view and that is pretty much all I can do. Its seems that my Net$ is really off, in some places it says I have net loss of $67,000, and profits are really skewed also. Variance is sometimes in the 100's of thousands. I dont understand it.

If I try to auto import/HUD I get an error: auto import aborted-global lock not available.

In most of the dropdown menus most of the options are followed bytodo)

Main
Load Profile(broken)
Edit Profile(todo)
Save Profile(todo)

Any help on this?
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-14-2010 , 03:43 PM
My HuD is not working again.....................
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-14-2010 , 04:00 PM
To ALL new users.. saying "it doesn't work..." with no details is like telling your mechanic, "my car doesn't work, fix it..."

The more details, the easier it is for someone to help. Here are a few of the things needed.

1. What version of the program are you using?
2. What sites are you trying to use it for?
3. What kind of a computer AND the operating system. (Vista, Mac etc)
4. What are you able to do?
5. What errors are showing in the error logs?
6. What does your wife look like... oops, wrong list.
7. Have you installed (if not using the exe version) the other components?

Any other details that might narrow it down from.. "it doesn't work" will let the smart guys (developers) more likely to jump in and help. Welcome aboard.

Dog
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote
10-14-2010 , 05:16 PM
Quote:
Originally Posted by 1meandog4u
To ALL new users.. saying "it doesn't work..." with no details is like telling your mechanic, "my car doesn't work, fix it..."

The more details, the easier it is for someone to help. Here are a few of the things needed.

1. What version of the program are you using?
2. What sites are you trying to use it for?
3. What kind of a computer AND the operating system. (Vista, Mac etc)
4. What are you able to do?
5. What errors are showing in the error logs?
6. What does your wife look like... oops, wrong list.
7. Have you installed (if not using the exe version) the other components?

Any other details that might narrow it down from.. "it doesn't work" will let the smart guys (developers) more likely to jump in and help. Welcome aboard.

Dog
Sorry man, I was just pissed off. I had a bad session.

What does this mean?


Global lock taken by fpdb.dia_recreate_tables
***Error dropping tables: drop_tables(1195): database disk image is malformed
***Error creating tables: create_tables(1126): table Settings already exists
lock already held by: fpdb.dia_recreate_tables

I wanted to recreate my DB just in case it was causing problems.

O and I downgraded to the stable version.
Free, open source poker tracking software: FPDB - (Version 0.40.5) - Nov 14, 2013 Quote

      
m