![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Nov 2003
Location: Toronto
Posts: 4,001
|
I need to program an online poker bot, where do I start?
Are there any OCR macro programs out there that will see and ace on my screen and move my mouse the the position on my screen where the raise button is? etc etc? I don't mind programming all the ifs ands or ors, i just need to know where to start. I tried that open source bot but couldn't figure out. I am willing to pay a bit if someone can program something for me that allows me to tell the program what to do in all situations.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
So Fucking Banned
Industry Role:
Join Date: Oct 2009
Location: The Whitehouse
Posts: 17,349
|
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Oct 2008
Posts: 344
|
What bot were you using (that you couldn't figure out)? Also, you'll most likely have to use a poker client which displays your hole cards and the community cards as text. Card recognition would be fairly difficult, I'm not sure how/if I could do it and I'm a competent developer.
From there, it's just a matter of using the WinAPI, for example, to move the cursor to the correct position, which if you know the resolution/size/button placement of each action, this is trivial. Also note this is nearly 100% useless for no limit which is more about implied odds which requires a relatively smart AI and is only useful in limit where it's more about directly computable pot odds. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Nov 2003
Location: Toronto
Posts: 4,001
|
Yes it will be limit, will try it on a low limit until i have a winner then try to beat higher limits etc. Most poker programs display the hole cards as text, so it will grab it from there basically, and check it with a bunch of if statements like:
If card1 = As & card2 = Ah & dealerpuck = -2 & bettinground = preflop & potsize = < 50 type F1 And then F1 will either hit the raise button in certain software or trigger a hotkey for a macro which will move my mouse over to the raise button and click it for software without hotkeys. I already have the second part with the mouse and hotkeys figured out, I just need to figure out how to declare everything like card1, card2, position from puck, pot size, etc. |
![]() |
![]() ![]() ![]() ![]() ![]() |