Poker-AI.org

Poker AI and Botting Discussion Forum
It is currently Mon Nov 13, 2023 3:46 pm

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Sat Jul 26, 2014 5:02 pm 
Offline
Veteran Member

Joined: Wed Mar 20, 2013 1:43 am
Posts: 267
Has anyone here hooked 888? I would need the playernames, stacks and the player labels. I also would like to know, when a player joins.

It seems 888 is not using DrawText or ExTextOut for the playernames.

Edit: It does use DrawTextW, now I need to know how to get the player labels.


Top
 Profile  
 
PostPosted: Sun Jul 27, 2014 4:13 pm 
Offline
New Member

Joined: Sun Aug 04, 2013 5:18 pm
Posts: 1
HontoNiBaka wrote:
I also would like to know, when a player joins.

Maybe this information can be found in the table chat window. If this window is from type "internet explorer_server" you can use the solution posted here http://poker-ai.org/archive/www.pokerai.org/pf3/viewtopic6167.html?f=79&t=2929 to retrieve the text.

HontoNiBaka wrote:
Edit: It does use DrawTextW, now I need to know how to get the player labels.

What exactly do you mean with player labels?

However, if those labels contains text, maybe the following will help you.

Have you tried the extended versions of these functions, i.e. DrawTextExW?

If this is not working for you, you could also try to hook ScriptShape and ScriptTextOut. ScriptShape contains the text that is drawn and ScriptTextOut the position and the device context. So you have to map those two calls by saving the pwOutGlyphs and pwcChars pointers from ScriptShape and wait for a ScriptTextOut call which uses the previously saved pwOutGlyphs pointer address (in ScriptTextOut the variable is called pwGlyphs). This ScriptTextOut call contains the coordinates (x, y) and the corresponding device context (hdc) in which the text (ScriptShape's pwcChars) is drawn.


Top
 Profile  
 
PostPosted: Fri Aug 01, 2014 3:26 pm 
Offline
Veteran Member

Joined: Wed Mar 20, 2013 1:43 am
Posts: 267
By labels I meant the labels you can assign to a player, that hows if he i a reg, a fish, etc. Some friend of mine needed that functionality.


Top
 Profile  
 
PostPosted: Tue Jun 02, 2015 1:26 am 
Offline
Veteran Member

Joined: Wed Mar 20, 2013 1:43 am
Posts: 267
I managed to get most of the information, now one thing is left: How do I get my own cards? They seem never to be drawn as string on the table or in the dealer chat.


Top
 Profile  
 
PostPosted: Tue Jun 02, 2015 4:23 pm 
Offline
Veteran Member

Joined: Mon Mar 04, 2013 9:40 pm
Posts: 269
HontoNiBaka wrote:
I managed to get most of the information, now one thing is left: How do I get my own cards? They seem never to be drawn as string on the table or in the dealer chat.


Just screen scrape them? Or are you trying to avoid that?


Top
 Profile  
 
PostPosted: Tue Jun 02, 2015 6:48 pm 
Offline
Veteran Member

Joined: Wed Mar 20, 2013 1:43 am
Posts: 267
Trying to avoid it. It's of course possible, but if they are somewhere as a string, that would be faster and more stable. I woul also have less API calls, I think that would help avoiding detection.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group