Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Internet Gambling > Software
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #51  
Old 06-11-2006, 01:09 PM
Mat Mat is offline
Senior Member
 
Join Date: Apr 2006
Posts: 452
Default Re: A pretty short AHK script I made - Fastest NL script i\'ve tried

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 !
Reply With Quote
  #52  
Old 06-11-2006, 01:41 PM
Roland Roland is offline
Senior Member
 
Join Date: Mar 2005
Location: Norwich, UK
Posts: 2,703
Default Re: A pretty short AHK script I made - Fastest NL script i\'ve tried

@TheIrishThug:

Did you ever try that code I wrote per your request?
Reply With Quote
  #53  
Old 06-11-2006, 03:10 PM
TheIrishThug TheIrishThug is offline
Senior Member
 
Join Date: Jan 2005
Location: Belligerent and numerous
Posts: 1,819
Default Re: A pretty short AHK script I made - Fastest NL script i\'ve tried

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 />
Reply With Quote
  #54  
Old 06-11-2006, 03:58 PM
Roland Roland is offline
Senior Member
 
Join Date: Mar 2005
Location: Norwich, UK
Posts: 2,703
Default Re: A pretty short AHK script I made - Fastest NL script i\'ve tried

[ 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.
Reply With Quote
  #55  
Old 06-16-2006, 09:01 AM
oreopimp oreopimp is offline
Senior Member
 
Join Date: Oct 2004
Location: the American Bukkake
Posts: 4,926
Default Re: A pretty short AHK script I made - Fastest NL script i\'ve tried

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?
Reply With Quote
  #56  
Old 06-22-2006, 04:01 PM
HCR HCR is offline
Senior Member
 
Join Date: Dec 2005
Posts: 408
Default Re: A pretty short AHK script I made - Fastest NL script i\'ve tried

Just wanted to say thanks for all your hard work man I appreciate it and just started using it today.
Reply With Quote
  #57  
Old 07-22-2006, 09:51 AM
ProsperousOne ProsperousOne is offline
Senior Member
 
Join Date: May 2005
Location: Ancient Politician Dig
Posts: 236
Default Not working on Poker Stars :(

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 />
Reply With Quote
  #58  
Old 07-22-2006, 12:51 PM
Roland Roland is offline
Senior Member
 
Join Date: Mar 2005
Location: Norwich, UK
Posts: 2,703
Default Re: Not working on Poker Stars :(

[ 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
}
Reply With Quote
  #59  
Old 10-15-2006, 12:48 PM
Our House Our House is offline
Senior Member
 
Join Date: Sep 2005
Location: USGamers
Posts: 18,414
Default Re: A pretty short AHK script I made - Fastest NL script i\'ve tried

[ 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 &lt;&gt; "FTC_TableViewFull")
{
If (InStr(title, "No Limit") &lt;&gt; 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") &lt;&gt; 0 AND InStr(title, "Tournament") &lt;&gt; 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") &lt;&gt; 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") &lt;&gt; 0 AND InStr(title, "Buy-in") &lt;&gt; 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 &gt;= 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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:32 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.