Poker-AI.org
http://poker-ai.org/phpbb/

Any tipps on hooking 888?
http://poker-ai.org/phpbb/viewtopic.php?f=26&t=2788
Page 1 of 1

Author:  HontoNiBaka [ Sat Jul 26, 2014 5:02 pm ]
Post subject:  Any tipps on hooking 888?

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.

Author:  JohnnyVang [ Sun Jul 27, 2014 4:13 pm ]
Post subject:  Re: Any tipps on hooking 888?

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.

Author:  HontoNiBaka [ Fri Aug 01, 2014 3:26 pm ]
Post subject:  Re: Any tipps on hooking 888?

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.

Author:  HontoNiBaka [ Tue Jun 02, 2015 1:26 am ]
Post subject:  Re: Any tipps on hooking 888?

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.

Author:  shalako [ Tue Jun 02, 2015 4:23 pm ]
Post subject:  Re: Any tipps on hooking 888?

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?

Author:  HontoNiBaka [ Tue Jun 02, 2015 6:48 pm ]
Post subject:  Re: Any tipps on hooking 888?

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.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/