![]() |
|
#51
|
|||
|
|||
|
[ QUOTE ]
I use few other scripts, and I need only the " autoregister part ". But I don't know what part of the script I must to keep. Anyone can do it ? [/ QUOTE ] #NoEnv #Persistent #SingleInstance force #Include %a_scriptDir% #Include Functions.ahk interval = 100 ; period between refreshes Loop { AutoRegister() Sleep %interval% } Autoregister() { SetTitleMatchMode 2 IfWinExist, Tournament Registration ControlClick, Button1 ControlClick, OK } |
|
#52
|
|||
|
|||
|
excellent, more script like this would be great.
|
|
#53
|
|||
|
|||
|
This what I use for the fold button (using the left key)
You might have to change the coordinates depending on your window size (for me it works if I cascade the tables). To find the coordinates, use window spy USE AT YOUR OWN RISK You might wanna try it on play money first (change "tournament" to "play money" in the script) left:: ControlClick, x468 y541, Tournament ; return |
|
#54
|
|||
|
|||
|
The autoregistrer often doesn't work the first couple of times, I try to register a sng. An error pops up in PokerStars.
Any workaround for that? |
|
#55
|
|||
|
|||
|
[ QUOTE ]
The autoregistrer often doesn't work the first couple of times, I try to register a sng. An error pops up in PokerStars. Any workaround for that? [/ QUOTE ] Workaround is to keep attempting to register for the tournament until it works. If you want a fix, I guess you could try putting a time delay in there but I'm not gonna F with it personally. |
|
#56
|
|||
|
|||
|
[ QUOTE ]
[ QUOTE ] The autoregistrer often doesn't work the first couple of times, I try to register a sng. An error pops up in PokerStars. Any workaround for that? [/ QUOTE ] Workaround is to keep attempting to register for the tournament until it works. If you want a fix, I guess you could try putting a time delay in there but I'm not gonna F with it personally. [/ QUOTE ] you think "sleep 100" would fix this? |
|
#57
|
|||
|
|||
|
also this is what I use for allin (!same comments as in my previous post!)
up arrow writes 9999 in the amount, right arrow presses the raise button up:: NumpadMult:: MouseGetPos,,, curWin ControlClick, x653 y485, Tournament ; WinActivate, ahk_id %curWin% Send {del 5} WinActivate, ahk_id %curWin% Send 99999 return right:: ControlClick, x725 y562, Tournament ; return |
|
#58
|
|||
|
|||
|
[ QUOTE ]
[ QUOTE ] The autoregistrer often doesn't work the first couple of times, I try to register a sng. An error pops up in PokerStars. Any workaround for that? [/ QUOTE ] Workaround is to keep attempting to register for the tournament until it works. If you want a fix, I guess you could try putting a time delay in there but I'm not gonna F with it personally. [/ QUOTE ] A time delay wouldn't work. It's because the Stars API is a bit troublesome to work with. i.e. if you tell it to click something, it doesn't always click it. The foolproof way to do it would be to make sure the OK button is enabled before it clicks it (the only way it is enabled is if the radio button is clicked), click it, then wait for the confirmation messagebox to pop up. Juk (I think) already wrote the hard stuff so the rest is simple... I just never got around to it due to laziness and lack of interest. Edited to add: the "allin" code can be improved using _dave_'s betpot code. |
|
#59
|
|||
|
|||
|
I used this for the first time, and I am about to cry tears of joy.
|
|
#60
|
|||
|
|||
|
doesnt this script f ur tables up or some jazz ?
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|