Two Plus Two Publishing LLC Two Plus Two Publishing LLC
 

Go Back   Two Plus Two Poker Forums > >

Free Software Discussion of Free / Freeware / Donationware / Open Source poker software and Free Graphics mods

Closed Thread
 
Thread Tools Display Modes
Old 04-21-2006, 11:18 AM   #376
fyodor
veteran
 
Join Date: May 2004
Location: Canada
Posts: 3,177
Re: FPHG available

Was datamining through the night. This morning everything still working fine. PHG just using 2-3% of CPU.

Then I opened a couple more tables and sat down to play. Only things open are PP, PHG, PAHud, & PT. I reopen Task Manager and all of a sudden PHG is using about 50% of CPU. PP is still down at 1-2%. Memory usage has not changed. I have 1GB and everything together is using about .4 GB with the peak having been aat .47

PP is running at a normal speed. PT seems to be importing at a normal speed. Just PHG missing all kinds of hands at that point. Also I was only doing ring games. Stricly 10/20 10 Player tables.

Rebooting resolves everything.

This is not a huge deal (especially considering the price I paid for PHG ) but it would be interesting to know what causes it to mess up.
fyodor is offline  
Old 04-21-2006, 02:55 PM   #377
jukofyork
Carpal \'Tunnel
 
jukofyork's Avatar
 
Join Date: Sep 2004
Location: Trollstopia, UK
Posts: 11,610
Re: FPHG available

Quote:
Was datamining through the night. This morning everything still working fine. PHG just using 2-3% of CPU.

Then I opened a couple more tables and sat down to play. Only things open are PP, PHG, PAHud, & PT. I reopen Task Manager and all of a sudden PHG is using about 50% of CPU. PP is still down at 1-2%. Memory usage has not changed. I have 1GB and everything together is using about .4 GB with the peak having been aat .47

PP is running at a normal speed. PT seems to be importing at a normal speed. Just PHG missing all kinds of hands at that point. Also I was only doing ring games. Stricly 10/20 10 Player tables.

Rebooting resolves everything.

This is not a huge deal (especially considering the price I paid for PHG ) but it would be interesting to know what causes it to mess up.
I will add some extra logging to the next version, but the only thing I could think that would cause this to happen is that ReadProcessMemory() is failing and being retried many times in many blocks (this would cause this kind of strange behaviour).

Can I ask how many other people are getting this, and did it just start happening after the last update?

Juk
jukofyork is offline  
Old 04-22-2006, 01:49 AM   #378
Jehaim
Pooh-Bah
 
Jehaim's Avatar
 
Join Date: Nov 2005
Location: Without victory there's no survival
Posts: 5,055
Re: FPHG available

Wow, this rocks, thanks a lot!

One question:

I want to change the file format to .txt, but where can I type in the "FreePHG -e txt" command?

Quote:
For example to use file extension of .txt, you would use the following command:

FreePHG -e txt
Jehaim is offline  
Old 04-22-2006, 01:51 AM   #379
jukofyork
Carpal \'Tunnel
 
jukofyork's Avatar
 
Join Date: Sep 2004
Location: Trollstopia, UK
Posts: 11,610
Re: FPHG available

Quote:
Wow, this rocks, thanks a lot!

One question:

I want to change the file format to .txt, but where can I type in the "FreePHG -e txt" command?

Quote:
For example to use file extension of .txt, you would use the following command:

FreePHG -e txt
Edit the supplied run.bat batch file to look like this:

@echo off
freephg.exe -e txt


Then use the batch file to run FPHG rather than the exe itself.

Juk
jukofyork is offline  
Old 04-22-2006, 01:55 AM   #380
Jehaim
Pooh-Bah
 
Jehaim's Avatar
 
Join Date: Nov 2005
Location: Without victory there's no survival
Posts: 5,055
Re: FPHG available

Thanks again.

Brilliant! Brilliant! Brilliant!
Jehaim is offline  
Old 04-22-2006, 12:15 PM   #381
Lawman
grinder
 
Join Date: Aug 2005
Location: UK
Posts: 572
Re: FPHG

This thread is getting way out of control.

OK a week ago everything was fine with FPHG and PT. Just revisited Party today (after a PT update) and something has changed.

I use the lightning bolt and FPHG is running as it should. PT is importing hands while I wait for a table. At the end of the session I have no hands played. When I run the Party autoimport from PT the missing hands appear. So it looks like PT is only grabbing observed hands.

Have I missed something in the setup??
Lawman is offline  
Old 04-22-2006, 12:49 PM   #382
jukofyork
Carpal \'Tunnel
 
jukofyork's Avatar
 
Join Date: Sep 2004
Location: Trollstopia, UK
Posts: 11,610
Re: FPHG

Quote:
This thread is getting way out of control.

OK a week ago everything was fine with FPHG and PT. Just revisited Party today (after a PT update) and something has changed.

I use the lightning bolt and FPHG is running as it should. PT is importing hands while I wait for a table. At the end of the session I have no hands played. When I run the Party autoimport from PT the missing hands appear. So it looks like PT is only grabbing observed hands.

Have I missed something in the setup??
Yes, quite a few people seem to be having problems now after the latest Poker Tracker update. I think from what other people have explained, then the problem lies in the fact that FPHG is also saving hands which you are involved in yourself. I will try to make an option to ignore the hand histories which you are involved in yourself for the next version.

Until then I think the easiest solution is to do this:

(1) Copy FreePHG.exe and run.bat into the hand history folder which is located under the Party Poker folder (it is where your own hand histories get stored).

(2) Edit run.bat to look like this:

@echo off
FreePHG.exe -e txt


(3) Run run.bat, and you should now start to get the observed HHs saved as .txt files.

(4) Setup PT to import as usual from the hand history folder.

Juk
jukofyork is offline  
Old 04-22-2006, 12:56 PM   #383
Lawman
grinder
 
Join Date: Aug 2005
Location: UK
Posts: 572
Re: FPHG

Juk - thanks for the prompt response. I'll give it a go.
Lawman is offline  
Old 04-22-2006, 02:49 PM   #384
jukofyork
Carpal \'Tunnel
 
jukofyork's Avatar
 
Join Date: Sep 2004
Location: Trollstopia, UK
Posts: 11,610
NEW: FPHG v0.06 now available here

The new version of FPHG may be downloaded from here.

New options added in v0.06:

(1) Added an option to only write observed hands (ie: it will ignore hands you are involved in and not write them). To use this option, then edit run.bat to look like this:

@echo off
FreePHG.exe -o

(2) Have added an option to make FPHG re-add the old 6max tags. To use this option, then edit run.bat to look like this:

@echo off
FreePHG.exe -6max

(3) Have added an option to help me debug the problems some people seem to be getting. This will likely create some pretty huge log-files, so I will have to work out how to get these sent to me at a later date. Please only use debug mode if I ask you to, as it is slower than normal mode and there is no advantage to using it.

NOTE: Please remember that if you edit run.bat to add some options, then you must run FPHG by running run.bat and not by running FreePHG.exe.

Juk
jukofyork is offline  
Old 04-22-2006, 03:09 PM   #385
jukofyork
Carpal \'Tunnel
 
jukofyork's Avatar
 
Join Date: Sep 2004
Location: Trollstopia, UK
Posts: 11,610
How to make debug logs

If you are one of the people who are getting the high CPU usage problems then please read this:

(1) Wait until the problem starts to happen - from what people have said, the only way to get it to stop is to restart your PC, so I am hoping the problem will continue even after restarting FPHG with these new options.

(2) Edit run.bat to look like this:

@echo off
FreePHG.exe -debug -prof >> fphg.log

Please keep any other options you were using in run.bat also.

(3) Run run.bat using those new settings and wait for the problem to occur again.

(4) After seeing the problem occur again while logging is active, please save a copy of fphg.log, zip it to reduce its size and send it to me: jukofyork@yahoo.com

I can't promise I will get to the bottom of this, but this should help me. Also, please don't just run in debug mode all the time, as it will make FPHG slower, and the log files will be huge (too big for me to find the problem...).

Juk
jukofyork is offline  
Old 04-23-2006, 03:02 PM   #386
dchz
Pooh-Bah
 
dchz's Avatar
 
Join Date: Mar 2006
Location: cleaning my room, and bluffing idio
Posts: 4,130
Re: FPHG available

niice, thx for the software
dchz is offline  
Old 04-23-2006, 06:41 PM   #387
fyodor
veteran
 
Join Date: May 2004
Location: Canada
Posts: 3,177
Re: FPHG available

I haven't had a problem since I swithced to v0.06 I didn't even reboot after the upgrade so my system has been running PP & PT non stop for well over 36 hours. FPHG has been running all this time too except for when I upgraded. PAHud runs whenever I am playing, otherwise I shut it down.

I think I was using the first version of 0.04 prior to upgrading.

My run.bat now looks like this:

@echo off
FreePHG.exe -p -2 -o
fyodor is offline  
Old 04-24-2006, 03:03 AM   #388
AlienBoy
Pooh-Bah
 
AlienBoy's Avatar
 
Join Date: Feb 2006
Location: Luckboxing for Dollars
Posts: 4,447
Re: NEW: FPHG v0.06 now available here

Quote:
(1) Added an option to only write observed hands (ie: it will ignore hands you are involved in and not write them). To use this option, then edit run.bat to look like this:

@echo off
FreePHG.exe -o


Excellent... ou tof curiosity - how does it know when I am involved in a hand?


AB
AlienBoy is offline  
Old 04-24-2006, 09:36 AM   #389
kim2005
centurion
 
Join Date: Jan 2005
Posts: 140
Re: NEW: FPHG v0.06 now available here

I am normally using v0.03 and I only play in party NL, is the v0.03 have any problem for me? do I need to change to 0.06?

Many thanks
kim2005 is offline  
Old 04-24-2006, 12:48 PM   #390
fyodor
veteran
 
Join Date: May 2004
Location: Canada
Posts: 3,177
Re: FPHG available

Quote:
I haven't had a problem since I swithced to v0.06 I didn't even reboot after the upgrade so my system has been running PP & PT non stop for well over 36 hours. FPHG has been running all this time too except for when I upgraded. PAHud runs whenever I am playing, otherwise I shut it down.

I think I was using the first version of 0.04 prior to upgrading.

My run.bat now looks like this:

@echo off
FreePHG.exe -p -2 -o
Update: 18 more hours without a reboot so whatever the problem was with .04, .06 has resolved it. I guess I don't have any of the dreaded PP memory leak either as I must have opened and closed about a bazillion tables by now.
fyodor is offline  
Old 04-24-2006, 05:46 PM   #391
jukofyork
Carpal \'Tunnel
 
jukofyork's Avatar
 
Join Date: Sep 2004
Location: Trollstopia, UK
Posts: 11,610
Re: FPHG available

Quote:
Quote:
I haven't had a problem since I swithced to v0.06 I didn't even reboot after the upgrade so my system has been running PP & PT non stop for well over 36 hours. FPHG has been running all this time too except for when I upgraded. PAHud runs whenever I am playing, otherwise I shut it down.

I think I was using the first version of 0.04 prior to upgrading.

My run.bat now looks like this:

@echo off
FreePHG.exe -p -2 -o
Update: 18 more hours without a reboot so whatever the problem was with .04, .06 has resolved it. I guess I don't have any of the dreaded PP memory leak either as I must have opened and closed about a bazillion tables by now.
I am not sure what could have caused this before, as I have only really done very superficial changed to the code since v0.04 and haven't really touched any time critical sections of the code (maybe it was just Windows strangeness and something got paged to disk?).

Anyway, glad it is working again, but if it ever does do that again and you can get it to repeat, then plz run using the "-prof -debug >> fphg.log" options and save me a copy of the log...

Juk
jukofyork is offline  
Old 04-24-2006, 05:48 PM   #392
jukofyork
Carpal \'Tunnel
 
jukofyork's Avatar
 
Join Date: Sep 2004
Location: Trollstopia, UK
Posts: 11,610
Re: NEW: FPHG v0.06 now available here

Quote:
Quote:
(1) Added an option to only write observed hands (ie: it will ignore hands you are involved in and not write them). To use this option, then edit run.bat to look like this:

@echo off
FreePHG.exe -o


Excellent... ou tof curiosity - how does it know when I am involved in a hand?
Every time you are in a hand, then the hand history contains a line which starts with "Dealt to ", so I simply ignore any HH which contains this line and allow all others to pass through.

Juk
jukofyork is offline  
Old 04-24-2006, 05:50 PM   #393
jukofyork
Carpal \'Tunnel
 
jukofyork's Avatar
 
Join Date: Sep 2004
Location: Trollstopia, UK
Posts: 11,610
Re: NEW: FPHG v0.06 now available here

Quote:
I am normally using v0.03 and I only play in party NL, is the v0.03 have any problem for me? do I need to change to 0.06?
I think I optimized the code a second time (to speed it up) in v0.04 (maybe an extra 50% faster), so it might be worth getting the newer version just because of this.

Juk
jukofyork is offline  
Old 04-24-2006, 05:55 PM   #394
fyodor
veteran
 
Join Date: May 2004
Location: Canada
Posts: 3,177
Re: FPHG available

Quote:
Quote:
Quote:
I haven't had a problem since I swithced to v0.06 I didn't even reboot after the upgrade so my system has been running PP & PT non stop for well over 36 hours. FPHG has been running all this time too except for when I upgraded. PAHud runs whenever I am playing, otherwise I shut it down.

I think I was using the first version of 0.04 prior to upgrading.

My run.bat now looks like this:

@echo off
FreePHG.exe -p -2 -o
Update: 18 more hours without a reboot so whatever the problem was with .04, .06 has resolved it. I guess I don't have any of the dreaded PP memory leak either as I must have opened and closed about a bazillion tables by now.
I am not sure what could have caused this before, as I have only really done very superficial changed to the code since v0.04 and haven't really touched any time critical sections of the code (maybe it was just Windows strangeness and something got paged to disk?).

Anyway, glad it is working again, but if it ever does do that again and you can get it to repeat, then plz run using the "-prof -debug >> fphg.log" options and save me a copy of the log...

Juk
I never bothered to upgrade to v0.05 just because the notes made no reference to any changes that might affect my setup. Nothing in your notes to .06 seemed significant either. Perhaps it had something to do with adding the "-o" option. That's really the only thing I changed after the upgrade.
fyodor is offline  
Old 04-24-2006, 05:58 PM   #395
jukofyork
Carpal \'Tunnel
 
jukofyork's Avatar
 
Join Date: Sep 2004
Location: Trollstopia, UK
Posts: 11,610
Re: FPHG available

Quote:
Quote:
Quote:
Quote:
I haven't had a problem since I swithced to v0.06 I didn't even reboot after the upgrade so my system has been running PP & PT non stop for well over 36 hours. FPHG has been running all this time too except for when I upgraded. PAHud runs whenever I am playing, otherwise I shut it down.

I think I was using the first version of 0.04 prior to upgrading.

My run.bat now looks like this:

@echo off
FreePHG.exe -p -2 -o
Update: 18 more hours without a reboot so whatever the problem was with .04, .06 has resolved it. I guess I don't have any of the dreaded PP memory leak either as I must have opened and closed about a bazillion tables by now.
I am not sure what could have caused this before, as I have only really done very superficial changed to the code since v0.04 and haven't really touched any time critical sections of the code (maybe it was just Windows strangeness and something got paged to disk?).

Anyway, glad it is working again, but if it ever does do that again and you can get it to repeat, then plz run using the "-prof -debug >> fphg.log" options and save me a copy of the log...

Juk
I never bothered to upgrade to v0.05 just because the notes made no reference to any changes that might affect my setup. Nothing in your notes to .06 seemed significant either. Perhaps it had something to do with adding the "-o" option. That's really the only thing I changed after the upgrade.
Hmmmm, yes you might be onto something their. Somebody noticed FPHG was sometimes picking up on the HH stubs which Party writes when you are not sitting ("You must be dealt into the hand..."), but I'm not sure how this could cause such strange stuff to happen (I will try to look into what it's doing with these stub HHs).

Juk
jukofyork is offline  
Old 04-25-2006, 10:11 AM   #396
dchz
Pooh-Bah
 
dchz's Avatar
 
Join Date: Mar 2006
Location: cleaning my room, and bluffing idio
Posts: 4,130
Re: NEW: FPHG v0.06 now available here

Hey guys how do i import the .hhf files from the the folder of the PHG? do i just import the .hhf files?

thx for help in advance
dchz is offline  
Old 04-25-2006, 02:33 PM   #397
jukofyork
Carpal \'Tunnel
 
jukofyork's Avatar
 
Join Date: Sep 2004
Location: Trollstopia, UK
Posts: 11,610
Re: NEW: FPHG v0.06 now available here

Quote:
Hey guys how do i import the .hhf files from the the folder of the PHG? do i just import the .hhf files?

thx for help in advance
Yes, FPHG just saves the .hhf files to the folder where you ran it from.

You can then just use the "lightning bolt" option in PT to import the .hhf (I think this is the easiest method...).

Juk
jukofyork is offline  
Old 04-25-2006, 07:59 PM   #398
splashpot
Carpal \'Tunnel
 
Join Date: Nov 2004
Location: splashing
Posts: 8,203
Re: NEW: FPHG v0.06 now available here

Quote:
Quote:
Hey guys how do i import the .hhf files from the the folder of the PHG? do i just import the .hhf files?

thx for help in advance
Yes, FPHG just saves the .hhf files to the folder where you ran it from.

You can then just use the "lightning bolt" option in PT to import the .hhf (I think this is the easiest method...).

Juk
I think an easier way is to let auto import do it. I forget who posted it, but I read it in this thread. Basically just create a new .txt file, rename it to pokernow.exe (or multipoker/empire/intertops, whatever) and put it in the folder where you have FreePHG. Then change the auto import program file location. Works like it used to in the old days.
splashpot is offline  
Old 04-25-2006, 08:20 PM   #399
Marmor
old hand
 
Join Date: Dec 2005
Location: Invading your country
Posts: 1,372
Re: NEW: FPHG v0.06 now available here

Can you rewrite FPHG for Crypto?
Marmor is offline  
Old 04-25-2006, 08:57 PM   #400
flow void
centurion
 
Join Date: Jan 2006
Posts: 120
Re: NEW: FPHG v0.06 now available here

WARNING - DUMB QUESTION

I am a technical moron.

I have seen many posts regarding modifying FPHG and/or PT settings to split observed mined hands from those played in to avoid duplication. Last night I played for about 2 hours with FPHG open. FPHG is in an intertops folder as I play on party. After importing that played session as well as all the mined hands it does not seem like there is any duplication of the hands as I would expect. I thought FPHG would write a hhf that would duplicate the PP hhf on the tables I was playing at and cause problems with my PT stats. Thanks for reading this far. Is ignorance bliss or am I missing something that is going to screw with my stats?
flow void is offline  

Closed Thread
      

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Forum Jump


All times are GMT -4. The time now is 02:49 AM.


Powered by vBulletin®
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright © 2008-2020, Two Plus Two Interactive