#1
|
|||
|
|||
Auto-Sit Out Script for Poker Stars ($50 OBO offered)
I will pay $50 OBO if someone can write me a quick .ahk script that does the simple task of sitting out at all active pstars tables at the click of a button. It could be an add-on to the chip-reloader script for stars if need be.
|
#2
|
|||
|
|||
Re: Auto-Sit Out Script for Poker Stars ($50 OBO offered)
Well this is going to be apart of my "No Spam" script which I should have ready within the next few weeks (busy with other stuff).
<font class="small">Code:</font><hr /><pre> hotkey_sitout = F10 hotkey_return = F11 #NoEnv #SingleInstance Force #Persistent Hotkey, %hotkey_sitout%, Sitout_Label, UseErrorLevel Hotkey, %hotkey_return%, Return_Label, UseErrorLevel Sitout_Label: Lib_Sitout_PokerStars() return Return_Label: Lib_Return_PokerStars() return Lib_Sitout_PokerStars() { BlockInput, MouseMove MouseGetPos, mX, mY SetTitleMatchMode, 2 WinGet, tables, List, Logged In as, , PokerStars Lobby Loop, %tables% { winID := tables%a_index% WinActivate, ahk_id%winID% PixelSearch, myX, myY, 14, 403, 20, 409, 0x000000 if ErrorLevel MouseClick, LEFT, 18, 407 ; sitout PixelSearch, myX, myY, 14, 423, 18, 429, 0x000000 if ErrorLevel = 0 MouseClick, LEFT, 18, 431 ; auto-post } MouseMove, mX, mY, 0 BlockInput, MouseMoveOff } Lib_Return_PokerStars() { BlockInput, MouseMove MouseGetPos, mX, mY SetTitleMatchMode, 2 WinGet, tables, List, Logged In as, , PokerStars Lobby Loop, %tables% { winID := tables%a_index% WinActivate, ahk_id%winID% PixelSearch, myX, myY, 14, 403, 20, 409, 0x000000 If ErrorLevel = 0 { MouseClick, LEFT, 18, 407 ; sitout } } MouseMove, mX, mY, 0 BlockInput, MouseMoveOff }</pre><hr /> |
#3
|
|||
|
|||
Re: Auto-Sit Out Script for Poker Stars ($50 OBO offered)
PM me your stars name.
|
#4
|
|||
|
|||
Re: Auto-Sit Out Script for Poker Stars ($50 OBO offered)
This doesn't work when the tables are resized. any ideas?
|
#5
|
|||
|
|||
Re: Auto-Sit Out Script for Poker Stars ($50 OBO offered)
He's using mouse coordinates to click which change when you resize the table. If the sitout button has a button code identifier I'm sure he'll update the code to use control click or whatever it's called as soon as he sees this.
|
#6
|
|||
|
|||
Re: Auto-Sit Out Script for Poker Stars ($50 OBO offered)
Thats the problem with PokerStars, they dont use standard widgets so you have to click at a spot. If you are using resized tables, I can get the window size and calculate approximately from there but things start to get dicey. I'll update the code when I have some free time (probably not until tomorrow morning EST).
|
|
|