I need to program an online poker bot, where do I start?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mkx
    Confirmed User
    • Nov 2003
    • 4001

    #1

    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.
  • Waddymelon
    So Fucking Banned
    • Oct 2009
    • 17349

    #2

    Comment

    • cyco_cc
      Confirmed User
      • Oct 2008
      • 344

      #3
      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.

      Comment

      • mkx
        Confirmed User
        • Nov 2003
        • 4001

        #4
        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.

        Comment

        Working...