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
  #1  
Old 03-30-2007, 06:46 PM
wildzer0 wildzer0 is offline
Senior Member
 
Join Date: May 2005
Location: Balmer, hon
Posts: 2,211
Default Sklansky bucks calculator (php script)

I was bored the other day and wrote a sklansky bucks calculator shell script(not just sklansky bucks, but gives you an idea of how you're getting your money in, etc) using php. It queries your PT database to find hands where one or more players were all in and calculates your equity. Currently I don't want to release the script because it hits twodimes.net and parses the html and I don't want to hammer the site or anything. I know twodimes.net uses the free pokenum program which is written in C. Does anyone out there know if I can use their C libraries with my php script or care to help me develop this a little more for free release?
Reply With Quote
  #2  
Old 03-30-2007, 07:02 PM
willw9 willw9 is offline
Senior Member
 
Join Date: Nov 2006
Location: where momma keeps the peanut butter
Posts: 4,235
Default Re: Sklansky bucks calculator (php script)

This sounds very interesting.
Reply With Quote
  #3  
Old 03-30-2007, 07:11 PM
_dave_ _dave_ is offline
Senior Member
 
Join Date: Feb 2005
Location: UK
Posts: 2,628
Default Re: Sklansky bucks calculator (php script)

Hi wildzer0,

you can use the PHP function exec() to run pokenum on the local machine.

Pokenum demonstrates the use of the libraries (I've been trying to figure it out a little lately), but if already have working setup using twodimes, pokenum on it's own does enough already, no?


dave.
Reply With Quote
  #4  
Old 03-30-2007, 07:34 PM
rvg72 rvg72 is offline
Senior Member
 
Join Date: Jun 2005
Location: Canada
Posts: 2,342
Default Re: Sklansky bucks calculator (php script)

Really cool idea. Every time I have an ugly downswing I begin working on a project like this but then scrap it as soon as I win a 20/80 [img]/images/graemlins/smile.gif[/img]

If you do this in PHP.NET (not a PHP programmer so don't know if this is a simple switch) you could use the C# Poker Eval libraries right in your code.

rvg
Reply With Quote
  #5  
Old 03-30-2007, 07:56 PM
Phil153 Phil153 is offline
Senior Member
 
Join Date: Oct 2005
Posts: 4,905
Default Re: Sklansky bucks calculator (php script)

I've already written a program which does this. I'm going beta on April 7th. It was originally written for Omaha/8 (which I play) but I've expanded to include holdem and written a HH Replayer that has stats overlay and a built in range calculator.

Here are some screenshots from the old Omaha version which was just for personal/friends' use (these are about 3 months old). Statistics and other features have been added which you'll see in the beta.

http://img91.imageshack.us/img91/8206/aamaysepft8.gif
http://img252.imageshack.us/img252/3...tmaysepnv7.gif
http://img296.imageshack.us/img296/2...potsizecy4.png
http://img334.imageshack.us/img334/9...filterskw5.gif
Reply With Quote
  #6  
Old 03-30-2007, 08:03 PM
PerDoom PerDoom is offline
Senior Member
 
Join Date: Jun 2006
Posts: 1,366
Default Re: Sklansky bucks calculator (php script)

[ QUOTE ]
I've already written a program which does this. I'm going beta on April 7th. It was originally written for Omaha/8 (which I play) but I've expanded to include holdem and written a HH Replayer that has stats overlay and a built in range calculator.

Here are some screenshots from the old Omaha version which was just for personal/friends' use (these are about 3 months old). Statistics and other features have been added which you'll see in the beta.

http://img91.imageshack.us/img91/8206/aamaysepft8.gif
http://img138.imageshack.us/img138/4...sum1712ep0.png
http://img252.imageshack.us/img252/3...tmaysepnv7.gif
http://img296.imageshack.us/img296/2...potsizecy4.png
http://img334.imageshack.us/img334/9...filterskw5.gif


[/ QUOTE ]

This looks awesome. Is this going to be free?
Reply With Quote
  #7  
Old 03-30-2007, 08:05 PM
rvg72 rvg72 is offline
Senior Member
 
Join Date: Jun 2005
Location: Canada
Posts: 2,342
Default Re: Sklansky bucks calculator (php script)

very nice!
Reply With Quote
  #8  
Old 03-30-2007, 08:09 PM
wildzer0 wildzer0 is offline
Senior Member
 
Join Date: May 2005
Location: Balmer, hon
Posts: 2,211
Default Re: Sklansky bucks calculator (php script)

[ QUOTE ]
Hi wildzer0,

you can use the PHP function exec() to run pokenum on the local machine.

Pokenum demonstrates the use of the libraries (I've been trying to figure it out a little lately), but if already have working setup using twodimes, pokenum on it's own does enough already, no?


dave.

[/ QUOTE ]

Thanks dave, that's exactly what I was looking for. Twodimes.net works perfectly with the script and it is functional right now, but the problem is that it has the ability to clobber twodimes.net if you're not careful so I don't want to put it out so twodimes.net basically gets attacked inadvertently. I'll finish up this script with pokenum (maybe this weekend, but probably monday) and post it here for whoever wants it.

Phil's will probably be much more user friendly as this is a command line jones but everyone's welcome to it once I rework it a bit.
Reply With Quote
  #9  
Old 03-30-2007, 08:11 PM
RiverFenix RiverFenix is offline
Senior Member
 
Join Date: Dec 2004
Location: IM FROM THE GHETTO HOMIE
Posts: 3,029
Default Re: Sklansky bucks calculator (php script)

Wildzer and Phil,

Please include the ability to run the analysis on any pot not just ai ones. Say if I want to know if the pot is over X bb's what are my sklansky bucks results. Thanks.
Reply With Quote
  #10  
Old 03-30-2007, 08:21 PM
Phil153 Phil153 is offline
Senior Member
 
Join Date: Oct 2005
Posts: 4,905
Default Re: Sklansky bucks calculator (php script)

[ QUOTE ]
This looks awesome. Is this going to be free?

[/ QUOTE ]
At the moment I'm thinking of having a basic version which is free and having an upgrade with all the premium features.

It all depends on feedback during the beta phase - if it's not worth my time to do commercial support or if the support load is light then it'll stay free. I have my own business already so it depends a lot on how much extra work this will create.

[ QUOTE ]
Please include the ability to run the analysis on any pot not just ai ones. Say if I want to know if the pot is over X bb's what are my sklansky bucks results. Thanks.

[/ QUOTE ]
Been done. It also accounts for side pots, rake, etc.
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 11:29 PM.


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