![]() |
|
#51
|
|||
|
|||
|
Ok, indeed I don't find a script for mapping the mouse buttons on stars but I'm already in love with the mouse-wheel script. So I'll wait for your new scripts ! Thanks !
|
|
#52
|
|||
|
|||
|
@TheIrishThug:
Did you ever try that code I wrote per your request? |
|
#53
|
|||
|
|||
|
I started to mess around with, but then got busy with other things.
When I was working on it, ImageSearch wasn't get that to find the images I made. I noticed the background behind the numbers has a gradient, so idk how that would effect the images that would be needed to search. Also, if i remember correctly, the numbers now start selected but after you send input, they are no longer selected. So that changes how they look between the first change and the 2nd. Another thing, unrelated to the Abs specific part. It always bugged me that any number with cents came out with lots of zeros. So I set the percision to 2 decimal points. Add the following line near the top of the script and you will only get the correct cents format. <font class="small">Code:</font><hr /><pre> SetFormat, FLOAT, 0.2 </pre><hr /> |
|
#54
|
|||
|
|||
|
[ QUOTE ]
I noticed the background behind the numbers has a gradient, so idk how that would effect the images that would be needed to search. [/ QUOTE ] ImageSearch has a "shades of variation" option which I used here - it worked okay when I tested it. [ QUOTE ] Also, if i remember correctly, the numbers now start selected but after you send input, they are no longer selected. So that changes how they look between the first change and the 2nd. [/ QUOTE ] Hmpfh. I hate Absolute. Anyways, I could give it another go one of these days - I realize it's a bit of a fiddle with the images, but there's nothing I can do about that. Keep in mind though that it's never going to work as well as it does for other sites - their software just plain sucks. And thanks for the tip with SetFormat, I'll make sure I get that right in the next version of TN. |
|
#55
|
|||
|
|||
|
okay two questoins:
1. how the hell do I get this script to work, just paste it and compile it or is it part of a larger script? 2. anywya to get this to work with the Pokerstars beta and its resizable tables? |
|
#56
|
|||
|
|||
|
Just wanted to say thanks for all your hard work man I appreciate it and just started using it today.
|
|
#57
|
|||
|
|||
|
First, thanks Roland et al for all the work on this...
I actuyally already use my wheel button to cycle through all my hold'em tables (code below if you're interested), so I replaced the wheel up/dn with page up/dn buttons to increment the nl betting... still much better than entering raw numbers imho [img]/images/graemlins/smile.gif[/img]. It's working about 75% of the time in Party, and unfortunately, it doesn't appear to work for Stars [img]/images/graemlins/frown.gif[/img]. I saw in overcards where someone made a post that stars keeps changing their windows class name, so I useed window spy to get the code and edited the line adding stars groups to the group name... Unfortunately, it still doesn't work for me. I havnt' done much debug, but is anyone else able to get the nl betting working with stars? thx! P1 <font class="small">Code:</font><hr /><pre> $Up:: IfWinActive, Hold { WinGet, WindowList, List, Hold WinActivate, ahk_id %WindowList1% send, !{Esc} WinActivate, ahk_id %WindowList2% } Else Send, {Up} Return $Shift:: IfWinActive, Hold { WinGet, WindowList, List, Hold BottomWindow := WindowList%WindowList% WinActivate, ahk_id %BottomWindow% } Else Send, {shift} Return $WheelDown:: IfWinActive, Hold { WinGet, WindowList, List, Hold WinActivate, ahk_id %WindowList1% send, !{Esc} WinActivate, ahk_id %WindowList2% } Else Send, {WheelDown} Return $WheelUp:: IfWinActive, Hold { WinGet, WindowList, List, Hold BottomWindow := WindowList%WindowList% WinActivate, ahk_id %BottomWindow% } Else Send, {WheelUp} Return </pre><hr /> |
|
#58
|
|||
|
|||
|
[ QUOTE ]
Unfortunately, it still doesn't work for me. I havnt' done much debug, but is anyone else able to get the nl betting working with stars? [/ QUOTE ] TableNavigator has full NL support for Stars... seems like you're problem is getting a list of tables though. Try this: Loop { Tooltip % TableIDListStars(LobbyIdStars()) Sleep 1000 } LobbyIdStars() { SetTitleMatchMode 1 WinGet, id, id, PokerStars Lobby return id } TableIDListStars(lobbyID) { SetTitleMatchMode 2 WinGet, pid, PID, ahk_id%lobbyID% WinGet, list, list,- Logged In as ahk_pid%pid% Loop %list% { this_id := list%a_index% If this_id != %lobbyID% ids = %ids%,%this_id% } StringTrimLeft, ids, ids, 1 return ids } |
|
#59
|
|||
|
|||
|
[ QUOTE ]
Okay, while I'm at it - works for Full Tilt now too. SetTitleMatchMode 2 GroupAdd, tables, Good Luck,,, PartyPoker.com GroupAdd, tables, Logged In as,,, PokerStars Lobby GroupAdd, tables, Logged In As,,, PokerStars Lobby return #IfWinActive ahk_group tables WheelUp:: WinGet,id,,A SetText(id,"up") return WheelDown:: WinGet,id,,A SetText(id,"down") return SetText(win, dir) { WinGetTitle, title, ahk_id%win% WinGetClass, class If (InStr(title, "Logged In as") AND class <> "FTC_TableViewFull") { If (InStr(title, "No Limit") <> 0 AND InStr(title, "Tournament") = 0) ;___if "NL" is in the title but "Tournament" isn't... StringMid, bb, title, InStr(title, "/") + 1, InStr(title, a_space,"", InStr(title, "/")) - InStr(title, "/") - 1 ;___retrieve the big blind else if (InStr(title, "No Limit") <> 0 AND InStr(title, "Tournament") <> 0) ;___else this is a tourney { StringMid, bb, title, InStr(title, "/", "", InStr(title, "Blinds")) + 1 , InStr(title, a_space, "", InStr(title, "Blinds") + 8) - InStr(title, "/", "", InStr(title, "Blinds")) - 1 ;___so we retrieve the big blind instead } edit_num = 6 } else If (class = "FTC_TableViewFull") { StringMid, bb, title, InStr(title, "/") + 1, InStr(title, a_space,"", InStr(title, "/")) - InStr(title, "/") - 1 edit_num = 1 } else { If (InStr(title, "NL") <> 0 AND InStr(title, "Buy-in") = 0) ;___if "NL" is in the title but "Buy-in" isn't... { StringMid, bb, title, InStr(title, "-","", 0) + 2, InStr(title, ".") - InStr(title,"-", "", 0) - 4 ;___retrieve the big blind } else if (InStr(title, "NL") <> 0 AND InStr(title, "Buy-in") <> 0) ;___else this is a tourney { ControlGetText, text, Static5, %title% IfNotInString, text, Blinds-Antes StringMid, bb, text, InStr(text, "/") + 1, InStr(text, ")") - InStr(text, "/") - 1 ;___so we retrieve the big blind from the static instead else StringMid, bb, text, InStr(text, "/") + 1, InStr(text, "-","",InStr(text, "/")) - InStr(text, "/") - 1 } edit_num = 2 } StringReplace,bb,bb,$,,1 If bb is space ;___this is for .25/.50 or .50/1 tables; "space" means whitespace (spaces, tabs, linefeeds..) { IfInString, title, 50. bb = .50 else bb = .25 } ControlGetText, t, Edit%edit_num%, %title% ;___retrieve the text from the edir next to the slider If bb = .25 sb := .10 else if bb = 15 sb = 10 else if bb = 0.05 sb = 0.02 else sb := bb/2 If dir = up t := t + sb else t := t - sb If t >= 0 ControlSetText, Edit%edit_num%, %t%, %title% } [/ QUOTE ] Sorry about the bump. Does anyone who's decent with AHK coding know why this script keeps crashing FullTilt's software? Is the code outdated? It only seems to be a problem when the action leaves you. "Full Tilt has encountered a problem and needs to close". EDIT: Roland, no offense intended against your coding abilities. You're excellent. I'm asking this question in the thread because I know you've been busy lately and haven't been at a computer all that much. |
![]() |
|
|