Open Side Menu Go to the Top
Register
PokerPad - AHK hotkey script PokerPad - AHK hotkey script

10-07-2007 , 10:18 PM
Quote:
I have BetPot code for absolute - incomplete, however.
It appears we find ourselves in similar situations (incomplete code). Not only is it practically impossible to predict the placement of the pot size text, it also seems to get partially covered up for 6 and 2 seat tables on the river for the smallest table size

Thus Absolute is on hold indefinately for now. Perhaps when/if their reputation is restored I'll revisit supporting the site.
PokerPad - AHK hotkey script Quote
10-07-2007 , 10:43 PM
Quote:

Not only is it practically impossible to predict the placement of the pot size text, it also seems to get partially covered up for 6 and 2 seat tables on the river for the smallest table size

Yeah, it is at times ridiculous.

I think I had it at some point - but then the BBV threads exploded and I just thought "lol, back burner for now".

Still need to clear the deposit bonus I have there after trying it out, so maybe I'll have a crack again sometime... I can't play there without getting super paranoid now though

dave.
PokerPad - AHK hotkey script Quote
10-08-2007 , 12:02 AM
Xanders - is it within the GPL to edit your script (and publish as GPL obv.) so that it just runs in the background and responds with a numerical value to a SendMessage of screen co-ordinates (from a non-GPL script) to scan? I think it would be?

Quote:

I was originally calling the Java code through a Run command but found that there was considerable lag loading java everytime. (I don't know how to load a Java app and leave it running while communicating back and forth between AHK and Java).

SendMessage?

Quote:

Instead of doing that, I figured 100% AHK code would be better anyway.
100% agree
PokerPad - AHK hotkey script Quote
10-08-2007 , 12:29 AM
Quote:
Xanders - is it within the GPL to edit your script (and publish as GPL obv.) so that it just runs in the background and responds with a numerical value to a SendMessage of screen co-ordinates (from a non-GPL script) to scan? I think it would be?
Not sure how SendMessage communicates between scripts, I thought it was just to send messages to native controls. Either way, feel free to use the ODR_ functions however you want. They are published for general use: http://www.autohotkey.com/forum/topic24222.html
PokerPad - AHK hotkey script Quote
10-08-2007 , 12:38 AM
Awesome, TYVM

SendMessage / PostMessage are probably one of the most fantastic features of AHK - If you are unfamiliar with them (I am at best noob myself) they are well worth spending a few days learning.

Basically you can use SendMessage to communicate / call functions in other scripts / processes. PostMessage is similar, but only in the outgoing direction.

An axample would be as above - I run a #persistent script containing your OCR functions, with an OnMessage function, that returns the value from the OCR function.

The script wanting to OCR something fires a SendMessage to the OCR script, and recieves response from OCR script.


That is probably not very clear

A decent example is the way BetPot can SendMessage TableNavigator for the ahk_id of the currently highlighted table - that is done with the TableNav function in BetPot and the OnMessage 0x5555(I think) function in tableNavigator.

Very useful feature, allows AHKs to communicate with other AHKs / probably any other app

EDIT: Sendmessage is pretty much the only method for inter-script communication - and relies upon the existance of an OnMessage handler function in the receiving script - unless the sent message is low-numbered enough to be a standard Windows message.

dave.
PokerPad - AHK hotkey script Quote
10-08-2007 , 06:54 AM
Quote:
@ other posters in this thread:

Did you not know you can do exactly this for many many sites using TableNavigator and BetPot, and have been able to for some quite large time period measured in Years?
i've recently tangled with these scripts, and something has always been a problem (reload script doesnt work with the other ones etc). So this all-in-one script is most welcome
PokerPad - AHK hotkey script Quote
10-08-2007 , 09:08 AM
Quote:
There is good reason no-one in their right mind should be playing on Absolute until someone figures out what went on / it will not happen again.
What reason?
PokerPad - AHK hotkey script Quote
10-08-2007 , 02:36 PM
Quote:
What reason?
People believe there has been cheating going on there.
PokerPad - AHK hotkey script Quote
10-08-2007 , 02:55 PM
Quote:
i've recently tangled with these scripts, and something has always been a problem (reload script doesnt work with the other ones etc). So this all-in-one script is most welcome
I am sure problems are bound to arise with my script LOL.

Also, I don't think I am going to be able to support Party Poker. Their software is woefully unusuable for me I don't have real money on there so the banners are just annoying not to mention that they cover up most of the playing table at the most inopportune times!
PokerPad - AHK hotkey script Quote
10-08-2007 , 03:02 PM
OMG what a jerk I am.. I forgot to say what GREAT work this is....
Great work Xander!

I look forward to exchanging ideas some day!

/butcha
PokerPad - AHK hotkey script Quote
10-08-2007 , 04:21 PM
Quote:
That is probably not very clear
Clear enough, thanks, I didn't know that.

Quote:
A decent example is the way BetPot can SendMessage TableNavigator for the ahk_id of the currently highlighted table - that is done with the TableNav function in BetPot and the OnMessage 0x5555(I think) function in tableNavigator.
Hmmm, how do you determine a function number (0x5555)?
PokerPad - AHK hotkey script Quote
10-08-2007 , 04:26 PM
Quote:
OMG what a jerk I am.. I forgot to say what GREAT work this is....
Great work Xander!

I look forward to exchanging ideas some day!

/butcha
I hope I didn't miss any other message from you, or are you saying you just forgot to post? Anyway, thanks for the compliment - but don't be afraid to critique as well. I always welcome suggestions.
PokerPad - AHK hotkey script Quote
10-08-2007 , 05:14 PM
No no, you didn't miss anything

I am working around the clock on the 2nd version of my iPoker-script, but once it's out I promise I'll put your script under the microscope!

/b to the a, butcha
PokerPad - AHK hotkey script Quote
10-08-2007 , 09:33 PM
I added support for Pot Bets for iPoker large tables. (I am blind as a bat and didn't see the pot size on the large table view before) There was also a bug fix for sit in/out all tables - it was doing the opposite for iPoker tables.

And as a bonus, there are a few new hotkeys. Ctrl+Shift+Up to sit in/out current table only. The Pause key to tile tables for all sites (Full Tilt, Poker Stars, iPoker). It can tile up to 16 (!) tables on a single monitor. Not suggesting you should try playing 16 tables tho Also, added Numpad Enter hotkey for iPoker only to focus and clear the bet box. This is automatically done when typing on the numpad with num lock on for Full Tilt and Poker Stars, so there is no need for that hotkey for those sites.

Also there is now a comprehensive list of all hotkeys in tabular format at the download page: http://www.autohotkey.net/~Xander/PokerPad/
PokerPad - AHK hotkey script Quote
10-08-2007 , 09:44 PM
Nice work

Unfortunately (fortunately?) I had a few beers tonight - and got some inspiration then obsessed with making a crazy "table rotation" script as per the other thread... nothing worth posting yet tho , and now I need sleep

Quote:

Hmmm, how do you determine a function number (0x5555)?

You just make them up
Windows reserves the lower few hundred (maybe thousand) for internal messages (WM_PAINT, MoMOUSEMOVE etc.) - details on the AHK online help SendMessage page - but there are 65K of them available for use IIRC. So long as you know what to send / expect, it does not matter which number you use. 0x5555 is just what Roland picked for the TableNav function.
PokerPad - AHK hotkey script Quote
10-08-2007 , 10:04 PM
I have to click on the table before the hotkeys are activated... anyway to avoid that?
PokerPad - AHK hotkey script Quote
10-08-2007 , 10:05 PM
(Stars)
PokerPad - AHK hotkey script Quote
10-08-2007 , 10:16 PM
There are a couple ways to get a table active. If something other than a game window is the active window, you can always just press + on the Numpad to bring up an active table. If you want to activate a table other than the current active table, you can use the arrow keys to navigate to it. I recommend reading the usage notes on the download page.
PokerPad - AHK hotkey script Quote
10-08-2007 , 10:23 PM
Quote:

Unfortunately (fortunately?) I had a few beers tonight - and got some inspiration then obsessed with making a crazy "table rotation" script as per the other thread... nothing worth posting yet tho , and now I need sleep
Now THAT cannot be good, drunken code? Oh my... I have enough headaches trying to figure out what I wrote while sober..

Quote:
You just make them up
Oh that easy huh.
PokerPad - AHK hotkey script Quote
10-08-2007 , 10:34 PM
bah, such a big headache, all I want is to run 30 SNGs on a 30" monitor and when 1 pops up I want to be able to fold / call/ raise/ or bet any amout as I type in the numpad, but these buttons only work about half the time, and I'm on the wrong table the other half of the time, although I complement you for a useful script for others.

Really BetPot is perfect for me if you could just add in the numbers type in/ betbox clearing feature.
PokerPad - AHK hotkey script Quote
10-08-2007 , 10:39 PM
Quote:
Quote:

Unfortunately (fortunately?) I had a few beers tonight - and got some inspiration then obsessed with making a crazy "table rotation" script as per the other thread... nothing worth posting yet tho , and now I need sleep
Now THAT cannot be good, drunken code? Oh my... I have enough headaches trying to figure out what I wrote while sober..

Heh, too true

It is more a matter of while drinking away from the computer, I have the thought "why could I not do THIS in a script" - then get home and hammer out some (no doubt terrible) code. So long as I get the idea down before I crash, I'm happy

Who knows, maybe it will be unworkable in the morning, but I'll worry about that when sober - and no doubt have to clean up a ton of slack coding, if nned be

Quote:

Quote:
You just make them up
Oh that easy huh.
Just checked out the page, looks like 0x401 - 0x7999 are fair game... maybe 0x8000+ are too - not in any fit state to be sure right now, but looks like probably
http://www.autohotkey.com/docs/misc/SendMessageList.htm
PokerPad - AHK hotkey script Quote
10-08-2007 , 10:41 PM
Quote:
It can tile up to 16 (!) tables on a single monitor. Not suggesting you should try playing 16 tables tho
Quote:
all I want is to run 30 SNGs
Ha, I was just gonna say you will certainly find people here that play 20+ Xanderz - here is one of them

Catcher - wait until tomorrow when I clean up my drunken code... I'm sure you will like for ~30 tables

EDIT: I can do 20 after a few coffees... 30 is sick catcher!
PokerPad - AHK hotkey script Quote
10-08-2007 , 10:53 PM
Quote:
Ha, I was just gonna say you will certainly find people here that play 20+ Xanderz - here is one of them
That is not playing !! working maybe, playing, no I suppose I could add more slots, it's just a matter of continuing the if else chain to set the number of rows/columns.

Quote:
Catcher - wait until tomorrow when I clean up my drunken code... I'm sure you will like for ~30 tables
I semi-finished the rotation code.. I just can't test the case for 2 monitors per one of the posters' request. So I haven't the slightest clue if the 2 monitor layout works, but the single monitor certainly does.
PokerPad - AHK hotkey script Quote
10-08-2007 , 11:07 PM
Quote:
bah, such a big headache, all I want is to run 30 SNGs on a 30" monitor and when 1 pops up I want to be able to fold / call/ raise/ or bet any amout as I type in the numpad, but these buttons only work about half the time, and I'm on the wrong table the other half of the time,
I find stars hard to multi-table as every window looks like an active one ! Anyway, this script doesn't try to maintain tables based on which needs action. There is already a script (TableNavigator) that I believe does this, though I haven't tried it. It has even been discussed in this thread.

You can get it here: http://overcards.com/wiki/moin.cgi/TableNavigator
PokerPad - AHK hotkey script Quote
10-09-2007 , 01:05 AM
yeah I was running table nav and the table that was highlighted wouldn't always be the table active from your script, also, sometimes it took 3 or 4 clicks of the - button to raise or / button to fold. IDK cool program it just doesn't fit me right now.
PokerPad - AHK hotkey script Quote

      
m