![]() |
|
#41
|
|||
|
|||
|
[ QUOTE ]
The 1/2 SB increments works now, but the 1/2 pot and pot sized bets don't seem to be working. for me it does + 1/2 SB for up and left, and - 1/2 SB for down and right. is there an option or config that i need to change for it to work properly? [/ QUOTE ] You're talking about TableNavigator, right? What site are you playing on? |
|
#42
|
|||
|
|||
|
[ QUOTE ]
[ QUOTE ] The 1/2 SB increments works now, but the 1/2 pot and pot sized bets don't seem to be working. for me it does + 1/2 SB for up and left, and - 1/2 SB for down and right. is there an option or config that i need to change for it to work properly? [/ QUOTE ] You're talking about TableNavigator, right? What site are you playing on? [/ QUOTE ] yeah, for TN. I'm playing at Party. |
|
#43
|
|||
|
|||
|
[ QUOTE ]
yeah, for TN. I'm playing at Party. [/ QUOTE ] You have to select "No player chat". Maybe that is the problem? |
|
#44
|
|||
|
|||
|
i don't know. i just tried doing it with "no player chat", and it still is the same... only 1/2 SB.
|
|
#45
|
|||
|
|||
|
Hmm. Ring game or SNG? If ring game, what limit?
|
|
#46
|
|||
|
|||
|
Roland,
Could you add in Absolute support? |
|
#47
|
|||
|
|||
|
[ QUOTE ]
Roland, Could you add in Absolute support? [/ QUOTE ] Well, sort of. Absolute doesn't use an edit control though (or any other type of control AHK can see), so we'll have to use ImageSearch. Have a look at this post please. Basically the code below works the same way, only it uses the shades of variation mode of ImageSearch because of the background. (Therefore it shouldn't matter from which position in the betbox you get the pics). You'll need an image of the dot (".") too (save that as "-1.bmp"). Make sure you get some of the background too for the dot. Also, you need a very small part of the upper left corner of the box (save that as "BetBox.bmp"). Then put all the images in a folder called "AbsPics" in the working directory of the script. I probably didn't explain this very well, so just ask. The code works pretty well I think, but not as well as for the other sites. ;_______ start code ~WheelUp:: MouseGetPos,,,id SetText(id, "up") return ~WheelDown:: MouseGetPos,,,id SetText(id, "down") return SetText(id,dir) { SetKeyDelay 0, 0 If BetBoxVis(id) <> 0 return WinGetTitle, title, ahk_id%id% StringMid, bb, title, InStr(title, "$") + 1, InStr(title, a_space,"",InStr(title, "$")) - InStr(title, "$") - 1 bet := Num(514,500,50,30,id) bs := StrLen(bet) If bet is space bet = %bb% If dir = up bet := bet + bb/2 else bet := bet - bb/2 IfWinNotActive, ahk_id%id% WinActivate, ahk_id%id% Click, 550, 500 Send, {BS %bs%} IfInString, bet, . StringLeft, bet, bet, InStr(bet, ".") - 1 Send, %bet% Sleep, 1 } BetBoxVis(id) { WinGetPos,Xwin,Ywin,,,ahk_id%id% CoordMode, Pixel, Screen ImageSearch,,,505 + Xwin, 490 + Ywin, 505 + Xwin + 30, 490 + Ywin + 30, AbsPics\BetBox.bmp return ErrorLevel } Num(xs,ys,w,h,id) { Critical SetBatchLines -1 WinGetPos,Xwin,Ywin,,,ahk_id%id% CoordMode, Pixel, Screen Loop, 11 { o = -3 i := a_index If i = 10 i = 0 else if i = 11 i = -1 Loop, 5 { o += 3 ImageSearch, ox,,xs + Xwin + o, ys + Ywin, xs + w + xWin, ys + h + Ywin, *70 AbsPics\%i%.bmp If ErrorLevel = 0 { p++ p%p% = %ox% If i = -1 i = . c%ox% = %i% } } } Loop, %p% p_all := p_all "," p%a_index% Sort, p_all, N D, U Loop, Parse, p_all, `, pot := pot "" c%a_loopfield% CoordMode, Pixel, Relative SetBatchLines 20ms Critical off return pot } ;___ end code |
|
#48
|
|||
|
|||
|
Sorry, I'm a pretty newbie with scripts. What do I have to do to make it effective ? Link ?
|
|
#49
|
|||
|
|||
|
Ok, I understand all about ahk now. The mouse-wheel script works fine here, but I don't find a script for stars to remapping right click and left click. Is there a script with all these functions for stars somewhere ? I mean the mouse-wheel size betting, and the right/left click functions, or just a script for stars with the remapping of the right and left buttons.
Thanks. |
|
#50
|
|||
|
|||
|
There are a few different versions around - not sure about mapping mouse buttons, but the mouse-wheel code should work for Stars.
In any event, this will all get added to TableNavigator soon. |
![]() |
|
|