Two Plus Two Older Archives  

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

Reply
 
Thread Tools Display Modes
  #1  
Old 02-28-2005, 11:52 PM
The4Aces The4Aces is offline
Senior Member
 
Join Date: Dec 2004
Posts: 372
Default Need help developing my idea.

Hello i am in the prossess of developing a software program that during a hand tells you what type of hand the player you are playing agasist plays in a certian situation. Basically the program will be you click a button and it will tell you other situations like th eone you are playing and what your opponent did (check, raise, ect). The only problem is i am unable to figure out how to extract the data from party poker on what the cards on the flop are and what the pre-flop cards are. If someone can help me with this please PM me or contact me on here. thanks
Reply With Quote
  #2  
Old 03-01-2005, 09:26 AM
daveymck daveymck is offline
Senior Member
 
Join Date: Nov 2003
Posts: 388
Default Re: Need help developing my idea.

Not a programmer but it can be done, need to "scrape the screen" somehow.

I think there are past posts on this in the archive, try some searching.

The winholdembot was able to do it so it might be worth getting that and looking at the background software in that, also do some googling on bots, there is a site that has on the results that two college teams had creating bots and some of the programming techniques used to scrape the screen.
Reply With Quote
  #3  
Old 03-01-2005, 09:41 AM
Rudbaeck Rudbaeck is offline
Senior Member
 
Join Date: Jul 2004
Location: Sweden
Posts: 555
Default Re: Need help developing my idea.

[ QUOTE ]
Not a programmer but it can be done, need to "scrape the screen" somehow.

[/ QUOTE ]

The observed hand history is written line by line as it happens, so you just need to open it as a stream and read.
Reply With Quote
  #4  
Old 03-01-2005, 03:38 PM
PSUinDC PSUinDC is offline
Member
 
Join Date: Jan 2005
Posts: 63
Default Re: Need help developing my idea.

I've been shelling a notepad and copying text from there... what do you mean by opening as a stream?
Reply With Quote
  #5  
Old 03-01-2005, 04:43 PM
Rudbaeck Rudbaeck is offline
Senior Member
 
Join Date: Jul 2004
Location: Sweden
Posts: 555
Default Re: Need help developing my idea.

[ QUOTE ]
I've been shelling a notepad and copying text from there... what do you mean by opening as a stream?

[/ QUOTE ]

Many languages open a text file once, and don't notice that it gets written to after they opened. You can however in those case specify that the file is a stream, so it checks continously to see if EOF moved.
Reply With Quote
  #6  
Old 03-01-2005, 06:22 PM
Prod1gy Prod1gy is offline
Junior Member
 
Join Date: Oct 2003
Posts: 4
Default Re: Need help developing my idea.

With party writing the Hand histories to files now, the absolute easiest way is to open a stream to that file and read from there, it appears to be written to the file real time. You can check this if you open the file in notepad in the middle of a hand. You will see the hand history up to the point you are currently in the hand.

The second easiest way is to use the SendMessage method of the Win32 API to get the text from the text area of the table where the hand history is written out.

The third and hardest in my opinion would be to do a screen scrap and then determine what cards are on the flop etc.
Reply With Quote
  #7  
Old 03-01-2005, 11:59 PM
The4Aces The4Aces is offline
Senior Member
 
Join Date: Dec 2004
Posts: 372
Default Re: Need help developing my idea.

where is the observed history locaeted at?
Reply With Quote
  #8  
Old 03-02-2005, 01:18 AM
Prod1gy Prod1gy is offline
Junior Member
 
Join Date: Oct 2003
Posts: 4
Default Re: Need help developing my idea.

The hand history files for tables you are currently playing on are stored in <install directory>\HandHistory\<user name>\<date>

Example :
C:\Program Files\PartyPoker\HandHistory\MyUserName\20050301

The observed hand history files are stored during the observation in the <install directory>

Example :
C:\Program Files\PartyPoker\

They don't have really meaningful names. I have seen stuff like 801933.hh for the file names.
Reply With Quote
  #9  
Old 03-02-2005, 01:37 AM
The4Aces The4Aces is offline
Senior Member
 
Join Date: Dec 2004
Posts: 372
Default Re: Need help developing my idea.

thanks. When i go look at the file it says something like " Trny:10023599". how does this tourny relate to the real tourny #?
Reply With Quote
  #10  
Old 03-02-2005, 01:46 AM
Prod1gy Prod1gy is offline
Junior Member
 
Join Date: Oct 2003
Posts: 4
Default Re: Need help developing my idea.

I don't think you can.

Why would you need observed hand history files anyways for what you are talking about doing?
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 06:06 PM.


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