PDA

View Full Version : Absolute rake calc script


MaxPowerPoker
11-12-2005, 09:09 AM
I have written a script to parse the Absolute hand history files and calculate hands played and rake/rakeback. It does not use PokerTracker it simply goes through each of the hand history files to arrive at the calculation. If anyone would like it, either reply here or PM me and I'll provide a link to it.

Here is a screenshot of the output:
http://mmpos.com/support/Curt/APRakeCalc.JPG

ben_
11-12-2005, 09:55 AM
I wouldn't mind checking out the source out if you don't mind.
I'm writting a parser myself for fun and would like to see other examples.

Cheers.

oreogod
11-12-2005, 10:44 AM
so does it calculate rake as rake/#ofplayers by each individual hand? Sent u a PM for a link.

MaxPowerPoker
11-12-2005, 10:58 AM
It does calculate by Rake/NumberOfPlayers. It produces an output file (out.txt) that has hand by hand detail. Just save the script in the Absolute Poker\HandHistory\<screenname> folder and run it.

Feedback is welcome.

Here is the script:

APRakeCalc (http://mmpos.com/support/Curt/APRakeCalc.vbs)

oreogod
11-12-2005, 12:39 PM
doesnt seem to be working. I get this output when selecting for this week only:

Date Range: 11/07/2005 - 11/12/2005
Skipping file: abs_new $2-$4 216446459 to 216523340.txt
Skipping file: abs_new $2-$4 216523373 to 216958221.txt
Skipping file: abs_new $2-$4 216958535 to 217008228.txt
Skipping file: abs_new $2-$4 217008315 to 217151843.txt
Skipping file: abs_new $2-$4 217151941 to 217188917.txt
Skipping file: abs_new $2-$4 217189006 to 217598281.txt
Skipping file: abs_new $2-$4 217598554 to 218193875.txt
Skipping file: abs_new $2-$4 218194234 to 218261383.txt
Skipping file: abs_new $2-$4 218261620 to 218939592.txt
Skipping file: abs_new $2-$4 218939656 to 219717448.txt
Skipping file: abs_new $3-$6 216541647 to 218326482.txt
Skipping file: abs_new $3-$6 218326582 to 218419684.txt
Skipping file: abs_new $5-$10 217978294 to 218306412.txt
Skipping file: APRakeCalc.vbs
Skipping file: out.txt


When I chose earlier dates I get the same.

MaxPowerPoker
11-12-2005, 12:45 PM
[ QUOTE ]
I have no idea how to run this. I have the script saved in a txt file. what next?

[/ QUOTE ]

Do not save it as a .TXT file. The file extention must be .VBS

Once you rename the file, then you just double-click it. Again, you must save the .VBS file in the Absolute Poker\HandHistory\<YOURSCREENNAME> folder.

Let me know whether or not you still have problems.

-Zapp (formerly MaxPowerPoker)

oreogod
11-12-2005, 12:47 PM
figured it out, having problems with the output though, script doesnt seem to be working. Output says 0 all across the board. See my revised recent post.

MaxPowerPoker
11-12-2005, 01:10 PM
You are running this on hands exported from PokerTracker it looks like. I have updated the script to account for this. Please download the script again:

APRakeCalc.vbs (http://mmpos.com/support/Curt/APRakeCalc.vbs)

oreogod
11-12-2005, 01:18 PM
Awesome, makes sense, forgot to mention the export part. Works good so far, thanks a ton.

oreogod
11-12-2005, 01:43 PM
Im also assuming one script runs exclusive with PT hands the other regular HHs written by AP, am I right.

MaxPowerPoker
11-12-2005, 03:59 PM
No. The first script you downloaded ONLY works with files that begin with IHH (files in the Absolute Poker\HandHistory\<screenname> directory). The latest script will parse files that begin with either IHH or ABS. So if you have both types of files in the same directory then that is probably a bad thing because the script will not disregard duplicate hands. Your safest bet is to run the script from EITHER your PokerTracker exported directory that does NOT contain any IHH files OR from the AP directory that ONLY contains IHH files.

Hope that makes sense.

-Zapp (formerly MaxPowerPoker)