AutoHotkey Community

It is currently May 26th, 2012, 2:59 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: Doyles room script
PostPosted: January 15th, 2008, 4:08 pm 
Offline

Joined: January 15th, 2008, 3:43 pm
Posts: 7
Location: Denmark
Hi. My first post. Just downloaded AHK and started reading....and reading....and reading :shock:
....and understanding practically nothing. Scripts are definately not my cup of tea. I might as well read russian or urdu :?
So i got this idea that someone much more nerdy (very well ment) than me, knows how to write a script for doyles room, or already has done it. I have used search option and didn´t find what I need. So you see, with my poor skills on scripting, I definately need some help. :oops:
Thx

Quote:
Amateur to the bone!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 15th, 2008, 7:51 pm 
Offline

Joined: October 6th, 2007, 2:28 am
Posts: 49
Location: Philadelphia
Hi BigBro69,

Can you please tell us what Doyle's Room is?

A great way to let us help you is to post some of your attempts. Even if your attempts are incomplete, broken, or psydocode, it helps to know what page you are on.

What do you want the script for Doyle's room to do?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 16th, 2008, 12:20 pm 
Offline

Joined: January 15th, 2008, 3:43 pm
Posts: 7
Location: Denmark
Hi. Sorry. I thought that everybody was playing online poker. My mistake. Doyles room does not have hotkeys for fold, bet and raise, normally F1-3 or F5-7. There are some scripts for other sites, but I really don´t know jack about scripting. So that is what I need, keyboard shortcuts.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 16th, 2008, 1:30 pm 
I can fix t that for you for 2buyins


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 16th, 2008, 1:43 pm 
Offline

Joined: November 14th, 2007, 2:47 pm
Posts: 335
Location: London, England
Use WindowSpy on the buttons to get the Button Names.

Then create a .ahk file to store your hotkeys.

You'll then need to use the ControlClick command for the keys you want to make hotkeys.

So if the 'Fold' button had a name: Fold1

F1::
ControlClick, Fold1
return


Probably left something out there but thats the basics.


And stay out of my room!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 16th, 2008, 5:20 pm 
Offline

Joined: January 11th, 2008, 11:07 am
Posts: 35
bigbro69 wrote:
Doyles room does not have hotkeys for fold, bet and raise, normally F1-3 or F5-7. There are some scripts for other sites, but I really don´t know jack about scripting. So that is what I need, keyboard shortcuts.

Hello, welcome to autohotkey, friend. I am a new user also, who uses autohotkey to play mouseless poker, and I think autohotkey is great.

Doyle do you use autohotkey to play poker? Also, I opened window spy and when i hovered my cursor over a fold or call button, i didnt see anything in windowspy change. But is there really an autohotkey command that can click a button on a poker window? I haev been looking for such a thing; i play on pokerstars, I couldnt get Roland's? script to work.

Does anyone know what a control is, is there a help page on it?

BigBro69, have you checked the tutorial page where they give a general overview of autohotkey? Also, in your autohotkey folder use the help file called autohotkey.chm, and the search and index tabs in it. They can explain what the different commands are, and you'll be able to find related commands too.

Also, if you search "poker autohotkey" in google, the first page will be a wiki with a listing of a bunch of poker autohotkey scripts.

For pokerstars, clicking the fold button, I use
;Fold
~d::; the hotkey, the tilde, the curvy symbol in front, it lets other hotkeys with the same buttons work, or something like that, not sure exactly what it does
Coordmode mouse; this command makes your mousemove cursor movement move relative to the screen instead of the window
mousemove, 470, 550,0; x coordinate, y, coordinate, speed 0 is fastest; the helpfile can explain better than I.
click
return

to use windowspy to get the x and y coordinates, go to the bottom right, right click on a script, click windowspy. To make a new script rigth click on desktop, go to new, then autohotkey script. To apply the changes youve made, file-save, and then reload it by right clicking on the icon in the bottom right and clicking reload, or you can double clicking on the icon, or use the reload command.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 16th, 2008, 6:00 pm 
Offline

Joined: January 15th, 2008, 3:43 pm
Posts: 7
Location: Denmark
Hi.
Wow, nice going, folks. I´ve printed everything out to read and read and..... in hope of just a little bit can reach the upper deck :oops:
First of all, many of your brilliant ideas is latin to me. Boy have I read faqs and wikis among other things. But still, I read something in english that I don´t quite get. Then I will try to translate that into danish. :?
I understand now that I just might spend loads of hours just to understand a fraqtion of the concept of scripting. It really is latin to me. I`ll try to use some of your ideas and suggestions. Thx a lot guys.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 16th, 2008, 7:20 pm 
Offline

Joined: January 11th, 2008, 11:07 am
Posts: 35
I am happy to try to help. I started looking into AHK also, maybe a couple of weeks ago, to play mouseless poker. If you have anymore questions, please ask, because I will be happy to try to help.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 17th, 2008, 8:30 am 
Offline

Joined: January 15th, 2008, 3:43 pm
Posts: 7
Location: Denmark
Okay, now it really gets complicated. I stumbled over some sites, talking about Pokerpad. It looks a bit like AHK icon and has a folder called microgaming, Doyles room is on that network, but it is not yet enabled in pokerpad. Maybe there is something here to work on.

Another site talks about Tablenavigator and there are some scripts available. The only zip file I can find to that program is faulty/corrupt.

Here´s the Pokerpad script for microgaming, but I cant see anything about fold, bet and raise:


Microgaming_IsMiniWindow() {
WinGetPos, , , width
return width < 700
}

Microgaming_GetArea(ByRef x, ByRef y, ByRef w, ByRef h, ByRef area) {
StringSplit, array, area, %A_Space%
x := array1
y := array2
w := array3
h := array4
}

Microgaming_ClickArea(ByRef area, ByRef id = "") {
Microgaming_GetArea(x, y, w, h, area)
ClickWindowRect(x, y, w, h, id)
}

Microgaming_Reload(max) {
static MiniChips := "9 326 40 11", Chips := "59 467 40 11", Maximum := "Button3", OK := "Button1"
isMini := Microgaming_IsMiniWindow()
if isMini
Microgaming_ClickArea(MiniChips)
else
ClickWindowArea(Chips, false)
time := A_TickCount
WinWaitActive, Bring More Chips ahk_class #32770, , 5
if ErrorLevel
return
Sleep(time, 400)
if max {
ClickControl(Maximum)
Sleep, 400
}
ClickControl(OK)
WinWaitActive, Chips Received ahk_class #32770, , 5
if ErrorLevel
return
Sleep(time, 400)
ClickControl(OK)
}

Microgaming_GetBlind(big) {
static MiniBlinds := "5 181 70 11"
if Microgaming_IsMiniWindow() {
Microgaming_GetArea(x, y, w, h, MiniBlinds)
blinds := Display_ReadArea(x, y, w, h, 0xFFFFFF)
s := InStr(blinds, "N")
if !s
s := InStr(blinds, "P")
if s
blinds := SubStr(blinds, 1, s-1)
s := InStr(blinds, "/")
if big {
s += 1
} else {
e := s
s := 1
}
} else {
WinGetTitle, blinds
StringGetPos, s, blinds, /, R
if big {
s += 2
e := InStr(blinds, " ", true, s)
} else {
e := s + 1
StringGetPos, s, blinds, %A_Space%, R, StrLen(blinds) - s
s += 2
}
}
return CurrencyToFloat(e ? SubStr(blinds, s, e-s) : SubStr(blinds, s))
}



:cry: I don´t understand jack :cry:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 17th, 2008, 11:31 am 
Offline

Joined: May 30th, 2006, 11:47 am
Posts: 49
You can look here
Code:
http://www.overcards.com/wiki/moin.cgi/BetPot
or here
Code:
http://www.overcards.com/wiki/moin.cgi/TableNavigator
To use Tablenavigator you need to write a plugin for Doyle's Room. You can easily edit the one i wrote for Rednines
Code:
http://www.overcards.com/wiki/moin.cgi/TableNavigatorRedNines
It's just changing some names here and there. Roland wrote a guide to this on the TN main site.
It is 6 months since i played Prima though, so maybe a bit outdated.

Good luck.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 17th, 2008, 1:24 pm 
Offline

Joined: January 15th, 2008, 3:43 pm
Posts: 7
Location: Denmark
Thx canta and AHKisNice.
Ok, Doyles room is now microgaming network. I guess this script only runs with tablenavigator, which I can´t seem to download (file is invalid or damaged). Is it possible to change the script for AHK to run it?

And no, canta, I can not easily edit your fab script :cry:

But again, there seems to be no easy way out of the mess, but to read.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 18th, 2008, 11:35 am 
Offline

Joined: January 15th, 2008, 3:43 pm
Posts: 7
Location: Denmark
So I logged in to doyles room, sat down at a table and used windowspy. I think I got coordinates for fold, check, call, bet and raise. There are other options too like betting 1/4, 1/3, 1/2 and pot. It looks like tablenavigator can do the trick. Is there anyone who can get me a link that lets me download the zipfile? The one on the main site is faulty.

Another thing, it seems that options are only highlighted when its my turn. Doesn´t that meen, that mouseclicks and colors should be considered in the script?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 18th, 2008, 12:46 pm 
Offline

Joined: May 30th, 2006, 11:47 am
Posts: 49
The download link works fine for me.
http://www.overcards.com/wiki/moin.cgi/TableNavigator?action=AttachFile&do=get&target=TableNavigator.zip


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 18th, 2008, 5:16 pm 
Offline

Joined: January 15th, 2008, 3:43 pm
Posts: 7
Location: Denmark
Could it be something in my system that makes it stop? "file is invalid or damaged". Cant download file with or without download manager.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: 0x150||ISO, Alpha Bravo, coinman, kwfine, zj403 and 13 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group