Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Internet Gambling > Software
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #81  
Old 04-05-2007, 11:08 PM
wildzer0 wildzer0 is offline
Senior Member
 
Join Date: May 2005
Location: Balmer, hon
Posts: 2,211
Default Re: Sklansky bucks calculator (php script)

Good to hear you got it working!
Reply With Quote
  #82  
Old 04-06-2007, 02:15 AM
tautomer tautomer is offline
Senior Member
 
Join Date: Oct 2006
Posts: 356
Default Re: Sklansky bucks calculator (php script)

[ QUOTE ]
[ QUOTE ]
I get this message after I type the line you gave: 'c:\Program' is not recognized as an internal or external command, operable program, or batch file.

I'm not sure what this means but that's where I'm stuck.

[/ QUOTE ]

umm, you can use tab completely for typing in the path to xampp. Ie type c:\Progr then hit tab to automatically complete to Program Files,I'm not sure if windows needs to escape the space inthe name or not, but if you do it that way it'll do it automatically. Try that, and let me know if it's not working.

[/ QUOTE ]

Ok, that worked but now there's a new message that says "Could not open input file: c:\path\to\luck.php"

I changed directories to the correct place so maybe my luck.php file is in the wrong format? I went back and saved it as "all files" instead of as a .txt file and now it says it's a .php file. But, that still doesn't make it work. Oh well, thanks for your help.
Reply With Quote
  #83  
Old 04-06-2007, 04:14 AM
K䲰䮥n K䲰䮥n is offline
Senior Member
 
Join Date: May 2006
Posts: 3,616
Default Re: Sklansky bucks calculator (php script)

[ QUOTE ]
Any of these apps working with PO?

[/ QUOTE ]
Reply With Quote
  #84  
Old 04-06-2007, 06:05 AM
jj12 jj12 is offline
Senior Member
 
Join Date: Sep 2006
Location: crushing donks
Posts: 1,368
Default Re: Sklansky bucks calculator (php script)

It doesn't work for some reason. I am getting the divide by zero:


//put your pokersite screen name here
$screen_name = "jj12";

//put the stake string here (just edit the dollar amounts to match your stake
$stake_string = "($2.00/$4.00)";

//this is the date to begin with in pokertracker, it'll go from this date to the present.
$since_date = "2007-01-01";

//connection info - put all your postgres pt db connection info into these variables.
$db_name = "PTPGSQL10";
$host = "localhost";
$user = "postgres";
$password = "asdf";

I have two PTPGSQL10 databases (both have 2/4 hands with my screen name). One is postgre 8 the other is postgre 8.2. The 8.2 one is on port 5433.


----------

I realized I had the incorrect string since I was playing FTP. Maybe you should edit the original instructions. Also I have two PTPGSQL10 databases can I make sure that the script is using the one on port 5434?
Reply With Quote
  #85  
Old 04-06-2007, 06:16 AM
canta canta is offline
Member
 
Join Date: Sep 2006
Posts: 95
Default Re: Sklansky bucks calculator (php script)

[ QUOTE ]


i made my own version in java as a stand alone program...
here's sample output:

[ QUOTE ]
[ Kh Kd ] [ Qd Jd ] [ 6c 5h Js _ Qc Ad ] [ 0,8160 ] [ 100,70$ / 82,17$ / 0,00$ / -82,17$ ]
[ 9c 8c ] [ Ac Js ] [ Jh 6c Tc _ 6s 5h ] [ 0,5060 ] [ 24,70$ / 12,50$ / 0,00$ / -12,50$ ]
[ Ah Jc ] [ Ad Qh ] [ _ 6d 7h Kh 2d Jh ] [ 0,2650 ] [ 31,45$ / 8,33$ / 31,45$ / +23,12$ ]
[ Qd Qc ] [ Ac Ah ] [ 7s 4s 3c _ 4h Th ] [ 0,0920 ] [ 97,75$ / 8,99$ / 0,00$ / -8,99$ ]
...
[ Qd Qs ] [ 9h 9s ] [ 4d 7s 4c 2h _ 9c ] [ 0,9550 ] [ 90,28$ / 86,22$ / 0,00$ / -86,22$ ]
found 213 headsup allin situations
won: 130 lost: 67 tied: 16
average potsize: $55,47
average ev: 0,6117
money won: $7935,18
money expected (based on allin equity): $7571,05
money difference: $+364,13
total_bet: $6076,56


[/ QUOTE ]

so... i was running good ;D
the _ indicates where we got it allin
after the board theres EV, potsize, money im expected to win (equity), money i really won, difference

[/ QUOTE ]

Did the program calculate the avg potsize, avg EV and so on, or do you have to do that by hand?
I only get the hands in my output.txt, no summary, like this:

-- listing properties --
db_name=PTPGSQL1
filter_stake=None
db_host=localhost
db_pwd=password
screenname=Screenname
filter_date=2007-04-04
db_user=postgres

[ 2007-04-04 09:06:36+02 ] [ 8s 5s ] [ Ks 9s ] [ _ Ah 2s 9h Qs Js ] [ 0.3380 ] [ 60.00$ / 20.28$ / 0.00$ / -20.28$ ]
[ 2007-04-04 09:08:08+02 ] [ Qd 9h ] [ Jc Jd ] [ _ Qh 7h 4d 3h 5d ] [ 0.2890 ] [ 39.00$ / 11.27$ / 39.00$ / +27.73$ ]
[ 2007-04-04 09:24:18+02 ] [ 4s 4d ] [ Qh 8d ] [ _ 6h 6s 4c 6c Ts ] [ 0.5320 ] [ 132.52$ / 70.50$ / 132.52$ / +62.02$ ]
[ 2007-04-04 09:29:59+02 ] [ As Jd ] [ Jc 7c ] [ Jh 9d 7d _ 6c 4c ] [ 0.3060 ] [ 192.20$ / 58.81$ / 0.00$ / -58.81$ ]
[ 2007-04-04 09:36:53+02 ] [ 9h 3h ] [ 9c 7c ] [ 8h 2h 9s 3d _ Qc ] [ 0.8860 ] [ 337.54$ / 299.06$ / 337.54$ / +38.48$ ]
[ 2007-04-04 09:50:19+02 ] [ Kh Kc ] [ Qd Td ] [ Ts 8h 7h _ Js 3c ] [ 0.8100 ] [ 75.00$ / 60.75$ / 75.00$ / +14.25$ ]
Reply With Quote
  #86  
Old 04-06-2007, 06:30 AM
advis0r advis0r is offline
Member
 
Join Date: Apr 2007
Location: Southern Germany
Posts: 99
Default Re: Sklansky bucks calculator (php script)

[ QUOTE ]
Did the program calculate the avg potsize, avg EV and so on, or do you have to do that by hand?

[/ QUOTE ]

these stats should be written automatically at the very end of output.txt

wildzer0: i've gotten reports that the SQL query gathers 3 way allins as 2 headsup allins resulting in wrong results, i will send u a pm
Reply With Quote
  #87  
Old 04-06-2007, 06:48 AM
canta canta is offline
Member
 
Join Date: Sep 2006
Posts: 95
Default Re: Sklansky bucks calculator (php script)

[ QUOTE ]

these stats should be written automatically at the very end of output.txt


[/ QUOTE ]
Ok, they dont show in my output.txt. Maybe i'll try downloading the program again.
Reply With Quote
  #88  
Old 04-06-2007, 06:52 AM
advis0r advis0r is offline
Member
 
Join Date: Apr 2007
Location: Southern Germany
Posts: 99
Default Re: Sklansky bucks calculator (php script)

[ QUOTE ]
Ok, they dont show in my output.txt. Maybe i'll try downloading the program again.

[/ QUOTE ]

is there any unusual on screen output when running the batch?
Reply With Quote
  #89  
Old 04-06-2007, 07:04 AM
canta canta is offline
Member
 
Join Date: Sep 2006
Posts: 95
Default Re: Sklansky bucks calculator (php script)

[ QUOTE ]

is there any unusual on screen output when running the batch?

[/ QUOTE ]

Not sure what you mean. Theres nothing unusual going on. A window pos up:



And then my Output.txt look like this:

-- listing properties --
db_name=PTPGSQL1
filter_stake=None
db_host=localhost
db_pwd=password
screenname=screenname
filter_date=2007-04-03
db_user=postgres

[ 2007-04-03 14:05:07+02 ] [ Qh 9c ] [ Qc Jc ] [ Jd 8c Td 8h _ Kd ] [ 0.8750 ] [ 102.70$ / 89.86$ / 102.70$ / +12.84$ ]
[ 2007-04-03 14:43:07+02 ] [ Ah Jh ] [ Ad Ac ] [ 2h 8s 3h _ 6s 4c ] [ 0.3680 ] [ 190.92$ / 70.26$ / 0.00$ / -70.26$ ]
[ 2007-04-03 17:27:51+02 ] [ As Qc ] [ 4d 2d ] [ Ad Qd 3c 5c _ 4s ] [ 0.0910 ] [ 353.08$ / 32.13$ / 0.00$ / -32.13$ ]
[ 2007-04-03 17:51:39+02 ] [ Ah Ad ] [ 9s 6h ] [ 7s 5c Kd 8d _ 6c ] [ 0.0000 ] [ 337.28$ / 0.00$ / 0.00$ / +0.00$ ]
[ 2007-04-04 09:06:36+02 ] [ 8s 5s ] [ Ks 9s ] [ _ Ah 2s 9h Qs Js ] [ 0.3380 ] [ 60.00$ / 20.28$ / 0.00$ / -20.28$ ]
[ 2007-04-04 09:08:08+02 ] [ Qd 9h ] [ Jc Jd ] [ _ Qh 7h 4d 3h 5d ] [ 0.2890 ] [ 39.00$ / 11.27$ / 39.00$ / +27.73$ ]
[ 2007-04-04 09:24:18+02 ] [ 4s 4d ] [ Qh 8d ] [ _ 6h 6s 4c 6c Ts ] [ 0.5320 ] [ 132.52$ / 70.50$ / 132.52$ / +62.02$ ]
[ 2007-04-04 09:29:59+02 ] [ As Jd ] [ Jc 7c ] [ Jh 9d 7d _ 6c 4c ] [ 0.3060 ] [ 192.20$ / 58.81$ / 0.00$ / -58.81$ ]
[ 2007-04-04 09:36:53+02 ] [ 9h 3h ] [ 9c 7c ] [ 8h 2h 9s 3d _ Qc ] [ 0.8860 ] [ 337.54$ / 299.06$ / 337.54$ / +38.48$ ]
[ 2007-04-04 09:50:19+02 ] [ Kh Kc ] [ Qd Td ] [ Ts 8h 7h _ Js 3c ] [ 0.8100 ] [ 75.00$ / 60.75$ / 75.00$ / +14.25$ ]
Reply With Quote
  #90  
Old 04-06-2007, 07:34 AM
advis0r advis0r is offline
Member
 
Join Date: Apr 2007
Location: Southern Germany
Posts: 99
Default Re: Sklansky bucks calculator (php script)

yes thats what i meant with unusual output: a NumberFormatException when parsing the output of a pokenum.exe run

i made a new version for exactly this kind of problem: (send me a screen of the new output plz)

http://rapidshare.com/files/24598665..._v0.2.zip.html

note: i wont really keep improving this programm since Phil's will be much better anyway and i dont have much time [img]/images/graemlins/wink.gif[/img]
Reply With Quote
Reply


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 04:34 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.