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
  #61  
Old 04-05-2007, 05:45 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 ]
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.
Reply With Quote
  #62  
Old 04-05-2007, 05:45 PM
TheJared TheJared is offline
Senior Member
 
Join Date: Oct 2006
Posts: 441
Default Re: Sklansky bucks calculator (php script)

Advis0r, that looks great will you make it avaliable?
Reply With Quote
  #63  
Old 04-05-2007, 05:46 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 ]
i tried using this with php at first... but this kind of usage pretty much sucks ;D

i made my own version in java as a stand alone program...


[/ QUOTE ]

Please please please post this.
Reply With Quote
  #64  
Old 04-05-2007, 05:50 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 ]
Been trying to get this to work for a few hours. Got everything installed but it is coming up with an error claiming it cannot find my SQL pokertracker database. The database works fine in pokertracker and is named "PTdata" in pokertracker. Is there some other form of this name iren SQL I need to put as the variable for the php script or is the name in pokertracker the same, and if not what could the problem be?

[/ QUOTE ]

The name of the db should be the same as it is in pokertracker. Make sure your other db settings are correct. If you double check everything and still aren't able to check, let me know and I'll post a test script for you to try that should give us a bit better diagnostic message.

I realize this is really freakin' hard to set up, especially if people don't know a lot about this sort of thing. I'm happy to help as much as I can, if you're really stuck, it looks like someone else has a stand alone version ready to release and phil's super fancy one is coming out soon.
Reply With Quote
  #65  
Old 04-05-2007, 05:52 PM
advis0r advis0r is offline
Member
 
Join Date: Apr 2007
Location: Southern Germany
Posts: 99
Default Re: Sklansky bucks calculator (php script)

ok, when i have time to make the screenname, date, database parameters etc customizable (via an external file), i will make it available

should be in less than 24hours [img]/images/graemlins/wink.gif[/img]
Reply With Quote
  #66  
Old 04-05-2007, 05:57 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 ]
ok, when i have time to make the screenname, date, database parameters etc customizable (via an external file), i will make it available

should be in less than 24hours [img]/images/graemlins/wink.gif[/img]

[/ QUOTE ]

Awesome, I knew this thing would be really difficult to support - but I thought it was cool so wanted to release it. I should have written it in java from the beginning but I default to php for tasks like this too much. If you don't mind, can you post or PM me with the source code when it's finished? I'd like to continue developing this (even though phil's will likely blow mine away [img]/images/graemlins/smile.gif[/img] ) but I'd like to switch it over to Java. I've pretty much figured out how to run it for non-all in hands so I'dlike to add that in. Let's just hope Gelford-dollars don't become the norm or I'll pull my hair out [img]/images/graemlins/grin.gif[/img]
Reply With Quote
  #67  
Old 04-05-2007, 06:10 PM
ImsaKidd ImsaKidd is offline
Senior Member
 
Join Date: Aug 2005
Location: CHOO CHOO
Posts: 11,074
Default Re: Sklansky bucks calculator (php script)

[ QUOTE ]
sounds like you've gotten reasonably far! Here's a quick tutorial that I hope everyone can use.

1. Go to http://www.apachefriends.org/en/xampp.html and download the windows installer. This is just an easy way to install php on your system.

2. Go to http://download.gna.org/pokersource/...eval/examples/ and download pokenum.exe

3. Copy the script I'm about to paste below into a text document, call it luck.php (keep it in the same folder as pokenum.exe).

4. Open up luck.php in notepad and change the variables at the top to match your settings (there are notes in the file to walk you through it, it's easy.

5. Open up your windows command line, easiest way is to go to Start->run and type "cmd"

6. cd to the directory where luck.php and pokenum are

7. type: "c:\Program Files\xampp\php\php.exe" luck.php"

8. Wait for it to finish (could take a while)

9. Bask in the glory of your earned Sklansky bucks.

[/ QUOTE ]

What is 6? 6. cd to the directory where luck.php and pokenum are

How do I do this if luck is in my desktop?
Reply With Quote
  #68  
Old 04-05-2007, 06:20 PM
K䲰䮥n K䲰䮥n is offline
Senior Member
 
Join Date: May 2006
Posts: 3,616
Default Re: Sklansky bucks calculator (php script)

Any of these apps working with PO?
Reply With Quote
  #69  
Old 04-05-2007, 07:37 PM
YoureToast YoureToast is offline
Senior Member
 
Join Date: Nov 2002
Posts: 1,084
Default Re: Sklansky bucks calculator (php script)

Can't get this to work. I think it has something to do with the usage of the SQL line involving the stake amount. I keep gettin division by zero errors. Have tried plugging in the SQL into pgAdmin and can get results only if I use the all caps version of my username and change the stake amount. But I can't convert these results to the script.
Reply With Quote
  #70  
Old 04-05-2007, 08:01 PM
wildzer0 wildzer0 is offline
Senior Member
 
Join Date: May 2005
Location: Balmer, hon
Posts: 2,211
Default Re: Sklansky bucks calculator (php script)

Imsakidd. cd is just the windows command for change directory. If you want to make it really easy on yourself, just put the folder on the c drive so you can just go cd c:\yourFolderName

Karpanen: You would need to change the sql query for it to work with PO. If you PM, I can help you with this.

YourToast: There seems to be a small amount of confusion with the stake string parameter. I just realized that since I only play on PokerStars, I didn't even think about setting it up for any other site. This shoudl still work with any site, you'll just have to find out the format your site uses for the stakes in the hand histories. For example, pokerstars histories all start out with a line like this:

[ QUOTE ]

POKERSTARS GAME #7730049390: HOLD'EM NO LIMIT ($0.50/$1.00) - 2007/01/02 - 14:46:05 (ET)


[/ QUOTE ]

The stake_string is just the part that identifies the stakes, in this case ($0.50/$1.00), - exactly how it appears in that line different sites will have different strings like this, so just put whatever your site happens to use in the $stake_string parameter. Also, if you don't care about only selecting certain stakes, you could just leave that parameter empty, and it'll still work.
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:03 PM.


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