Two Plus Two Publishing LLC Two Plus Two Publishing LLC
 

Go Back   Two Plus Two Poker Forums > >

Notices

Programming Discussions about computer programming

Reply
 
Thread Tools Display Modes
Old 07-04-2017, 04:49 PM   #1
HicSvntDracones
enthusiast
 
Join Date: Dec 2015
Posts: 81
Record hands as I play using visual recognition?

HUDs seem to work by downloading hand history files from poker software. This requires the cooperation of the websites.

I was curious if any HUDs worked by visually recognizing what is going on and generating hand history files. If poker bots can recognize the action and work, why can't HUDs and tracking software do that too?
HicSvntDracones is offline   Reply With Quote
Old 07-04-2017, 06:25 PM   #2
leavesofliberty
self-banned
 
Join Date: Jul 2010
Location: probably busto
Posts: 6,146
Re: Record hands as I play using visual recognition?

Quote:
Originally Posted by HicSvntDracones View Post
HUDs seem to work by downloading hand history files from poker software. This requires the cooperation of the websites.

I was curious if any HUDs worked by visually recognizing what is going on and generating hand history files. If poker bots can recognize the action and work, why can't HUDs and tracking software do that too?
I am assuming most programs use screen scraping as a last resort. It's not that reliable.
leavesofliberty is offline   Reply With Quote
Old 07-04-2017, 06:27 PM   #3
RustyBrooks
Carpal \'Tunnel
 
RustyBrooks's Avatar
 
Join Date: Feb 2006
Location: Austin, TX
Posts: 23,201
Re: Record hands as I play using visual recognition?

I used to write HUDs years ago. I used 3-4 different techniques, depending on what barriers the site had.

1. easiest/first way: the first try I did, they were using an off the shelf open source SSL library. I downloaded the source and modified it to dump the decrypted stream to disk. Reverse engineered their (fairly simple) protocol and from there it was a piece of cake

2. second easiest way: some sites would dump all the action to the chat window if you set it to verbose, and make it fairly simple to retrieve the text from the chat box.

3. third easiest way: some sites would do the above but make it difficult/impossible to retrieve the chat box text. I used "library hooking" to overcome this. Essentially in windows you can say "whenever someone tries to use this library function, call my function instead" I'd replace their calls to the windows functions that write text to the screen and intercept it that way

4. finally, the hardest way: basically, your suggestion, to retrieve it from the screen. I used basic OCR techniques plus a few I may have invented myself. It worked OK. It had limitations - nothing could occlude the screen, it had to be at a specified window size. It was painstaking to develop compared to the other methods.
RustyBrooks is offline   Reply With Quote
Old 07-04-2017, 09:32 PM   #4
HicSvntDracones
enthusiast
 
Join Date: Dec 2015
Posts: 81
Re: Record hands as I play using visual recognition?

1. Interesting. Well I known enough to know I do not have the time to learn to code. Just trying to find a workaround to save hand histories from Global Poker.

2. Would you be interested in being contracted to develop a hand history scraper for global poker, provided you do not release it publicly? This can come from any source- chatbox, visual recognition, or downloading from their cumbersome hand history page? PM me if so. Just need it to work; doesn't have to be pretty.
HicSvntDracones is offline   Reply With Quote
Old 07-04-2017, 09:58 PM   #5
RustyBrooks
Carpal \'Tunnel
 
RustyBrooks's Avatar
 
Join Date: Feb 2006
Location: Austin, TX
Posts: 23,201
Re: Record hands as I play using visual recognition?

To be honest, I've tried to play on global poker from 3 different computers, and it never worked for me. So I would have to say that I am not particularly interested. Also, you probably can't afford me.
RustyBrooks is offline   Reply With Quote
Old 07-04-2017, 10:22 PM   #6
coon74
Carpal \'Tunnel
 
coon74's Avatar
 
Join Date: Apr 2011
Posts: 10,029
Re: Record hands as I play using visual recognition?

Quote:
Originally Posted by HicSvntDracones View Post
1. Interesting. Well I known enough to know I do not have the time to learn to code. Just trying to find a workaround to save hand histories from Global Poker.
Don't reinvent the wheel. The tool that you need is already being advertised on 2+2 (it's useful to read the Commercial Software forum from time to time). That said, Global Poker might eventually ban hand history scrapers explicitly and take measures to disrupt their work.
coon74 is offline   Reply With Quote
Old 07-05-2017, 12:59 PM   #7
HicSvntDracones
enthusiast
 
Join Date: Dec 2015
Posts: 81
Re: Record hands as I play using visual recognition?

Sincere thanks to both of you. This is exactly the information I was aiming to get with this post.

QUOTE=coon74;52480694]Don't reinvent the wheel. The tool that you need is already being advertised on 2+2 (it's useful to read the Commercial Software forum from time to time). That said, Global Poker might eventually ban hand history scrapers explicitly and take measures to disrupt their work.[/QUOTE]
HicSvntDracones is offline   Reply With Quote
Old 07-07-2017, 10:36 PM   #8
leavesofliberty
self-banned
 
Join Date: Jul 2010
Location: probably busto
Posts: 6,146
Re: Record hands as I play using visual recognition?

It's not so easy to ban, because historically there's always been ingenious work-arounds for leet programmers.
leavesofliberty is offline   Reply With Quote

Reply
      

Thread Tools
Display Modes

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:33 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © 2008-2017, Two Plus Two Interactive
 
 
Poker Players - Streaming Live Online