Open Side Menu Go to the Top
Register
AHK Bet Pot Script for iPoker AHK Bet Pot Script for iPoker

08-13-2007 , 07:10 PM
I was thinking about adding a reaload funtion to this script. Do people prefer to have those scripts separate or have all the diffrent functions in one script? I have all four mods described above made now (4bb+1bb/limper instead of 3.5, betting fractions of pot possible, blind fix and diffrent amounts on diffrent streets with single button), but am looking to add more before a release.
AHK Bet Pot Script for iPoker Quote
08-13-2007 , 07:12 PM
looking forward to it, betafemale!

I dont think it matters any if the two scripts are separate or mix in..? Not atleast to me. So, please mix them -> ~934934 clicks less on the following year.
AHK Bet Pot Script for iPoker Quote
08-13-2007 , 10:57 PM
very nice betafemale

really looking forward to testing your script/scripts
AHK Bet Pot Script for iPoker Quote
08-15-2007 , 06:25 AM
Quote:
very nice betafemale

really looking forward to testing your script/scripts
Any ETA yet?
AHK Bet Pot Script for iPoker Quote
08-15-2007 , 06:08 PM
Quote:
very nice betafemale

really looking forward to testing your script/scripts
AHK Bet Pot Script for iPoker Quote
08-15-2007 , 06:25 PM
There is some things I need to fix, like my functions only work on the active table, while the rest of the functions in the script always work on the table your mouse is over, active or not. I also need some time to test it. I haven't worked on it as much the last days, had a lot of work to do and not feeling so well.
AHK Bet Pot Script for iPoker Quote
08-16-2007 , 04:14 AM
ouch. get well soon.
AHK Bet Pot Script for iPoker Quote
08-16-2007 , 07:21 PM
While you wait (might take a while), here is a reload function for the script (it uses two functions from the iPoker bet pot script, if you want it stand alone, you have to copy those too):

Reload()
{
ReloadX := 400
ReloadY := 140

ReloadOKX := 165
ReloadOKY := 245

CheckBoxX := 725
CheckBoxY := 575

SaveMousePos()

WinGetPos, WindowX, WindowY, , , A

MouseMove, WindowX + ReloadX, WindowY + ReloadY

Click

Sleep, 250

WinGetPos, PopupX, PopupY, Width, Height, A

if (Width = 402 AND height = 265)
{
MouseMove, PopupX + ReloadOKX, PopupY + ReloadOKY

Click

Sleep, 1000

CheckBoxX := 725 + WindowX
CheckBoxY := 575 + WindowY

PixelGetColor, checkcolor, %CheckBoxX%, %CheckBoxY%

if (checkcolor != "0xFFFFFB")
{
MouseMove, CheckBoxX, CheckBoxY

Click
}
}

RestoreMousePos()

return
}

Paste it in the other script (I have mine just above the betpot function), and paste this also some where in the top of the script, along with the rest of the hot keys:

F12::
Reload()
Return

Now F12 reloads the ACTIVE window (NOT the one the mouse is over, like the rest of the script). The final version will be for the window that the mouse is over, and might be all along diffrent, see this a as a preview or something.

I tried this today on my XP SP2, classic theme on Titan for over 1200 hands and reloaded alot of times, and it worked flawlessly FOR ME. If your stack is too big already it will handle it, also if the post blinds check box is unchecked it will recheck it. Also there is no check yet that you actually are over a poker table, so don't click F12 in another window or something strange might happen

Enjoy!

/beta
AHK Bet Pot Script for iPoker Quote
08-17-2007 , 04:43 AM
Is there a way to speed up OP's script?
For me it takes like nearly 1 second after clicking or "wheeling" until the amount shows up. This can be quite a time when you are heavy multitabling.

In comparison the Party betpot-script works like a flash...
AHK Bet Pot Script for iPoker Quote
08-17-2007 , 06:44 AM
Quote:
Is there a way to speed up OP's script?
For me it takes like nearly 1 second after clicking or "wheeling" until the amount shows up. This can be quite a time when you are heavy multitabling.

In comparison the Party betpot-script works like a flash...
For me it is the exact opposite, this script is much faster (I only two table though, with a celeron 2.66GHz cpu). My best guess is that it is the pixel reading that is slow, probably beacuse you have so many tables open. Try running the script on one table only and see if it is still slow, that way you would know if it is indeed it. If it is not slow on one table, download and install the newest drivers for your graphics card and try again on many tables.
AHK Bet Pot Script for iPoker Quote
08-17-2007 , 10:00 AM
Even when I am1-tabling, the script is too slow for my taste.

I am running a 3 monitor setup (4960x1600 pixel).
Maybe that's too much for my nvida 7900 GT?
AHK Bet Pot Script for iPoker Quote
08-17-2007 , 10:50 AM
That would be my best guess yes. Try disabling monitor 2 and 3 and play only one table on monitor 1 and see if it still is slow.
AHK Bet Pot Script for iPoker Quote
08-17-2007 , 06:51 PM
Hi betafemale, I tried your script and it works great for the reload function, however it doesn't recheck the auto-post box. I think it comes from a wrong localisation of the box in the script (725;500) because it checks the auto-muck box which is right next to the auto-post one. I tried to change it but I couldn't find the good one !
Could you help me please...?
Also, I play on chilipoker, maybe you didn't write the script for this skin which could explain the wrong coordinates.
AHK Bet Pot Script for iPoker Quote
08-17-2007 , 08:43 PM
As I said I only tested it on Titan. What you can do is to run the script, open up window spy and hold your mouse over the checkmarked autopost checkbox. On titan for example the "check" is white-ish while the background is blue. Hold the mouse over the check and see what colour it is (window spy will tell you), now just replace the 0xFFFFFB with what ever colour you get. Also change the coordinates while you are at it to the same point on the screen (window spy will also tell you that). The colour I used to check the check box might be diffrent also on your skin (as well as pos), as long as the colour is not the same as the background it will work.

Here I show you (the red arrow represent the mouse pointer, could not capture it):

AHK Bet Pot Script for iPoker Quote
08-17-2007 , 11:35 PM
beta: how to turn off resetting mouse pos? (great script tho!)
AHK Bet Pot Script for iPoker Quote
08-18-2007 , 04:52 AM
Hi Beta awesome script!

But I can't get the check autopost to work at noiq

Here is what I have changed:

Reload()
{
ReloadX := 400
ReloadY := 140

ReloadOKX := 165
ReloadOKY := 245

CheckBoxX := 745
CheckBoxY := 575

SaveMousePos()

WinGetPos, WindowX, WindowY, , , A

MouseMove, WindowX + ReloadX, WindowY + ReloadY

Click

Sleep, 250

WinGetPos, PopupX, PopupY, Width, Height, A

if (Width = 402 AND height = 265)
{
MouseMove, PopupX + ReloadOKX, PopupY + ReloadOKY

Click

Sleep, 1000

CheckBoxX := 745 + WindowX
CheckBoxY := 575 + windowY

PixelGetColor, checkcolor, %CheckBoxX%, %CheckBoxY%

if (checkcolor != "0xFFFFFF")
{
MouseMove, CheckBoxX, CheckBoxY

Click
}
}

RestoreMousePos()

return
}

F1::
Reload()
Return

Thanks for your efort
AHK Bet Pot Script for iPoker Quote
08-18-2007 , 06:12 AM
thx a lot betafemale and ontiltsoon
AHK Bet Pot Script for iPoker Quote
08-18-2007 , 06:33 AM
Quote:
beta: how to turn off resetting mouse pos? (great script tho!)
If you don't want the mouse to go back were it was when you ran the script (I guess that is what you mean), then remove this line from the srcipt:

RestoreMousePos()
AHK Bet Pot Script for iPoker Quote
08-18-2007 , 06:40 AM
Quote:
thx a lot betafemale and ontiltsoon
You got the checkbox thing to work?

Please remember this is a "early" version or something, I made this script in like 10-15 minutes while waiting for a good table. It has some flaws but it will probably be the base of the final version I will make later.

These two lines for example:

CheckBoxX := 725 + WindowX
CheckBoxY := 575 + WindowY

should ofcource be

CheckBoxX := CheckBoxX + WindowX
CheckBoxY := CheckBoxY + WindowY

so you don't have to change the coordinates twise. It will work as it was though.
AHK Bet Pot Script for iPoker Quote
08-18-2007 , 06:48 AM
Quote:
Hi Beta awesome script!

But I can't get the check autopost to work at noiq
I just looked at a screenshot of iq, and if that was correct, the background of the checkbox is white, you cannot have white (FFFFFF) as the colour to look for. Make sure the checkmark is visible and move the mouse over it and find a pixel that is not white and replace the coordinates in the script with those coordinates and the colour you found using windowspy as I wrote of above. Maybe I wasn't that clear on that point before, the mouse should be over the checkmark itself, not the background, and you must find a color that is not the same as the background.
AHK Bet Pot Script for iPoker Quote
08-18-2007 , 07:47 AM
Quote:
Quote:
Hi Beta awesome script!

But I can't get the check autopost to work at noiq
I just looked at a screenshot of iq, and if that was correct, the background of the checkbox is white, you cannot have white (FFFFFF) as the colour to look for. Make sure the checkmark is visible and move the mouse over it and find a pixel that is not white and replace the coordinates in the script with those coordinates and the colour you found using windowspy as I wrote of above. Maybe I wasn't that clear on that point before, the mouse should be over the checkmark itself, not the background, and you must find a color that is not the same as the background.
Working!!!!

I used the color of the border of the checkbox and it works fine
AHK Bet Pot Script for iPoker Quote
08-18-2007 , 09:59 AM
any chance of getting this to work on Vista?
AHK Bet Pot Script for iPoker Quote
08-18-2007 , 10:04 AM
Quote:
any chance of getting this to work on Vista?
It probably will, you might have to adjust the coordinates and colors depending on skin though, follow the little "guide" above.
AHK Bet Pot Script for iPoker Quote
08-18-2007 , 10:12 AM
Here is a better version I made today, this will be the last one untill I finish the whole mod of the iPoker Bet Pot script:

Changed:
* It will detect if you have the mouse over a poker table or not, nothing will happen if you try to reload in a non poker table window now
* It now reloads on the table the mouse is over, active or not
* Fixed the double varianble stupidity from the old one

Note: this is now even more dependant that you have it in the iPoker bet pot script and not stand alone, as it uses even more functions from that script now.

Note 2: if the script isn't working use the little "guide" above to get the right coordinates and colors and it should work fine.

F12::
Reload()
Return

Reload()
{
ReloadX := 400
ReloadY := 140

ReloadOKX := 165
ReloadOKY := 245

CheckBoxX := 725
CheckBoxY := 575

id := GetTableId()
If (NOT id)
Return

TableSize := GetTableSize(id)
If (NOT TableSize)
Return

SaveMousePos()

WinGetPos, WindowX, WindowY, , , ahk_id %id%

MouseMove, WindowX + ReloadX, WindowY + ReloadY

Click

Sleep, 250

WinGetPos, PopupX, PopupY, Width, Height, A

if (Width = 402 AND height = 265)
{
MouseMove, PopupX + ReloadOKX, PopupY + ReloadOKY

Click

Sleep, 1000

CheckBoxX += WindowX
CheckBoxY += WindowY

PixelGetColor, checkcolor, %CheckBoxX%, %CheckBoxY%

if (checkcolor != "0xFFFFFB")
{
MouseMove, CheckBoxX, CheckBoxY

Click
}
}

RestoreMousePos()

return
}
AHK Bet Pot Script for iPoker Quote
08-18-2007 , 11:57 AM
How can I find the color of the checkbox?
I have uploaded a screenshot of how a table looks at hansapoker where I'm playing.

http://img149.imageshack.us/my.php?i...creenshxm7.jpg

What should I change pls in the script to check the autopost button? Thank u.
AHK Bet Pot Script for iPoker Quote

      
m