![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Newbie
Join Date: Apr 2005
Posts: 1
Rep Power: 0
![]() |
can you send me the bot?
Did your bot work? if it did...can u send it to me?
|
|
|
|
|
|
#12 |
|
Troll
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4
![]() |
Is this web poker? Is it a java applet in a webpage? Is it a standalone app? If it is a webpage, but not a java applet, you could write a BHO (Browser Helper Object) for Internet Explorer or an extension for Firefox/Mozilla. That gives access to the document tree, so it would be a matter of regular expressions to pick out the links/cards. However, it sounds like this is a standalone app or java applet.
In the case this poker program a Windows application, I would use some gdi functions to get a handle to the window's device context and rip out the current image. Might have to get a screenshot of the window and pick out the coords of the top right of each card. The cards in your hand are in static positions? This best way to do the buttons would be with the API calls FindWindow and FindWindowEx to get the handle of the button you want. Much, much more reliable. Hope that helps! |
|
|
|
|
|
#13 |
|
Newbie
Join Date: Mar 2006
Posts: 5
Rep Power: 0
![]() |
Hi, I am tring to do a very similar thing I was wondering if i could have the source code of where you have go to, to see if i can work on it aswell.
If so, do you think you could post it, or email it to me. Thanks |
|
|
|
|
|
#14 |
|
Sexy Programmer
|
why would you even bother? This thread is mad old!
__________________
I would love to change the world, but they won't give me the source code! |
|
|
|
|
|
#15 |
|
Hobbyist Programmer
Join Date: Apr 2005
Posts: 218
Rep Power: 4
![]() |
old!!, this is almost a year old man, let it die
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|