skip to main |
skip to sidebar
You must do the things you think you cannot do.
- Eleanor Roosevelt
Started making a poker bot with a friend early last week (maybe even ealier) using AutoHotkey as the main scripting language. Love it. Here are a few sites you might want to check out: Coding the Wheel - an excellent coding site with a famous poker bot series (check the left hand side). Poker AI - has an active forum dedicated to poker bots and those who make efforts to create them. AutoHotkey - a simple (yet powerful) scripting language that can be used to make mouse movements/clicks or keyboard clicks. Simple automation. More notes as things progress (although, I will keep most of the code under wraps).
I really want to see "Exit Through The Gift Shop" with the street artist Bansky. Don't know much about him, but if he points the finger at himself and his culture every once in a while, I love the guy.
How many people use this program? I have no idea. But it should definitely be in any serious poker player's arsenal. The program allows its user to assign mouse clicks and movements to keyboard keys. Say you want to make a bet, click "B" and AHK will do the mouse actions you have "B" scripted to do. Go from sliding the mouse up and down and left clicking to just pressing "B" and you've streamlined your movements. The more you streamline such repetitive movements, the easier it is for you to play and add more tables. I love it. It helps me play quite a few tables (a max of 12 on my current laptop setup). Anyway, I wanted to post my script, hopefully helping some other beginners jumpstart their AHK usage. Anything with a ";" in front of it is ignored by AHK (";" signifies a comment). It's not all that complicated: put the key you want to use as a macro and follow it by "::" and some other code to tell it what to do. I have a modified version of this script that allows me to use a USB game controller =) I may post that later. Anyway, enjoy: ; Fold u:: MouseClick, left, 367, 448 Sleep, 100 MouseClick, left, 368, 465 Sleep, 100 return
; Check/Call i:: MouseClick, left, 480, 446 Sleep, 100 MouseClick, left, 516, 477 Sleep, 100 return
; Inc Bet Amount o:: MouseClick, left, 670, 423 Sleep, 100 return
; Bet/Raise p:: Random, randxcord, 630, 640 Random, randycord, 475, 485 MouseClick, left, randxcord, randycord Sleep, 100 return
; Bet/Raise x 2 y:: MouseClick, left, 617, 423 Sleep, 100 MouseClick, left, 617, 423 Sleep, 100 MouseClick, left, 617, 423 Sleep, 100 MouseClick, left, 635, 480 Sleep, 100 return
; AutoPost NumpadAdd:: MouseClick, left, 16, 425 Sleep, 100 return
; SitOut NumpadSub:: MouseClick, left, 16, 405 Sleep, 100 return
;close esc:: MouseClick, left, 682, 17 Sleep, 100 MouseClick, left, 67, 107 return
;no wait for bb w:: MouseClick, left, 464, 439 Sleep, 100 return
;allin del:: MouseClickDrag, L, 605, 420, 679, 420 return
;sit out next hand a:: MouseClick, left, 15, 353 Return
;fold to any bet d:: MouseClick, left, 15, 338 Return
;sit out next blind s:: MouseClick, left, 15, 368 Return
;Add chips t:: MouseClick, left, 350, 75 Sleep, 100 MouseClick, left, 300, 60 Sleep, 1000 MouseClick, left, 130, 350 Return
; WindowNW 6:: CoordMode, Mouse, Screen MouseMove,400,300 MouseGetPos, curPosX, curPosY, curWin WinGetTitle, title, ahk_id %curWin% WinActivate, %title% return
; WindowNE 7:: CoordMode, Mouse, Screen MouseMove,880,200 MouseGetPos, curPosX, curPosY, curWin WinGetTitle, title, ahk_id %curWin% WinActivate, %title% return
; WindowSW 8:: CoordMode, Mouse, Screen MouseMove,200,700 MouseGetPos, curPosX, curPosY, curWin WinGetTitle, title, ahk_id %curWin% WinActivate, %title% return
; WindowSE 9:: CoordMode, Mouse, Screen MouseMove,900,700 MouseGetPos, curPosX, curPosY, curWin WinGetTitle, title, ahk_id %curWin% WinActivate, %title% return
; Desktop1 1:: CoordMode, Mouse, Screen Click 1157, 1032 return
; Desktop2 2:: CoordMode, Mouse, Screen Click 1180, 1032 return
; Desktop3 3:: CoordMode, Mouse, Screen Click 1205, 1032 return
; Desktop4 4:: CoordMode, Mouse, Screen Click 1225, 1032 return
Here's a list of some sites that I find help with my poker game: Poker Table Ratings - PTR helps determine how profitable your opponents are. AutoHotKey - Use to make your mouse movements automated by the stroke of a key (keyboard macros). Makes multitabling much, much easier. Those are the only two I'm posting right now. I have used PTR extensively over the last two months and it has helped me keep track of my opponents and myself. I just found out about AHK a week or so ago, and I have fallen in love with it since. More on the way.
Made $400 in the last month playing NL Texas Hold'em; I have played the $.02/.05, .1/.05, .1/.25, and .25/.5 limits with a few hands in the .01/.02 (ugh) and the .5/1 (too big for my bankroll). I haven't played anything but a few online tournaments (two offline, but no winnings). Still a ways to go and more info soon (finals week is nearly here).
| |
|