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

07-02-2007 , 05:52 PM
AHK Bet Pot Script for iPoker by butcha
----------------------------------------
Includes mouse wheel functionality
Supports both full view and mini view
----------------------------------------
Latest version is available at:
http://hem.passagen.se/perg/iPokerBetPot.txt


INSTRUCTIONS:
----------------------------------------
1. Check the 'User Settings'-section below, so that WheelUnit and WhiteBetBox is ok. (Defaults should be ok for most.)
2. Rename the script file so that it has the file extension .ahk.
3. Start the script.
4. Right click the mouse button anywhere on a iPoker table, where it's your turn to act, to set the betting box to a pot bet.
5. Scroll the mouse wheel up or down to change the betting amount.


CONFIRMED SUPPORTED SKINS:
----------------------------------------
- CD Poker
- Expekt Poker
- Noble Poker
- NoiQ Poker
- Paddy Power Poker
- Titan Poker
Feel free to add to this list by contacting me.


HOW DOES THE SCRIPT WORK?
----------------------------------------
The short version is that it reads the pot size from the text on the table and it reads the call- and raisesizes from the text on the Call- and Raise-button respectively.
If you are interested in a more technical explanation go to line 520 in this script.


TROUBLESHOOTING:
----------------------------------------
Since the script reads the text off the screen it is extremely important that the table you want to act on has both the pot size-text and the Call- and Raise-buttons fully visible.
This includes overlay statistics programs like PokerAce Hud and GameTime+.

The next thing to note is that I haven't tested this script with every iPoker skin out there. It should work with all skins that writes out the pot size, call size and raise size with one color only (although possibly a different one for each), no anti-aliasing and with the font Tahoma 11 pts.
It also works on skins that use Tahoma, 12 pts bold to write out the call or raise size on the buttons in full view, which I believe most skins do.

If you have changed the appearance of your iPoker table by modding the graphics-files the script should still be in effect, but this is not 100%.

If you still have no success the best thing you can do is take a screenshot of the table in a situation where you would expect it to work.
Save the image in a format without compression, like BMP or PNG. Then upload the screenshot somewhere and give me the link. I will not accept file transfers over Msn, but you can contact me for help.

One last note. If the iPoker client ever gets redesigned, this script will stop working.


KNOWN BUGS:
----------------------------------------
- If you move the mouse wheel very fast there might be strange behavior


CONTACT ME:
----------------------------------------
2+2 Forums Name: butcha
All comments are welcome.

(Note: This exact text is also available at the top of the script.)
AHK Bet Pot Script for iPoker Quote
07-02-2007 , 05:54 PM
Works like a dream on noiqpoker.
AHK Bet Pot Script for iPoker Quote
07-02-2007 , 06:23 PM
Wow,

That is some stunningly clever code!

Not techniques I have seen used in AHKs before, and potentially very useful in other scenarios too.

Will probably have to read it again several times to understand properly, and it's already on my todo list but I now have another reason to get me an iPoker account

Again, awesome works.

Many thanks for sharing.

dave.
AHK Bet Pot Script for iPoker Quote
07-02-2007 , 07:11 PM
Thank you, but the mouse wheel isn't working on noblepoker.
AHK Bet Pot Script for iPoker Quote
07-02-2007 , 07:45 PM
Thanks a bunch _dave_

Feels great coming from someone whome I have gotten so much inspiration from!
If there is anything unclear about the code I wouldn't mind explaining it further.

/butcha
AHK Bet Pot Script for iPoker Quote
07-02-2007 , 07:51 PM
Quote:
Thank you, but the mouse wheel isn't working on noblepoker.
Hi Scaramouche,
This seems very odd. I have it working great with Noble Poker here.
Some questions to try and work it out:
1. Is the pot betting working ok? Always with the correct amounts?
2. Have you done anything to change the look of your table?
3. Do you have the possibilty to test the script at your computer with another iPoker skin?
4. Can you take a screenshot of the table and show me?

/butcha
AHK Bet Pot Script for iPoker Quote
07-02-2007 , 10:48 PM
Thank you for the effort on this one.

Works perfectly on my Titan Poker (including Mouse Wheel).
But does not work on my Betfred Poker. Both my Titan and BetFred have the iPoker table and card mods. I tried this on play money to start with.

The value always goes to the chat box, regardless of the setting of WhiteBetBox.

Any ideas?

Screen shot here:
http://users.tpg.com.au/adsl5xqs/betfred.bmp
AHK Bet Pot Script for iPoker Quote
07-03-2007 , 03:23 AM
Quote:
Quote:
Thank you, but the mouse wheel isn't working on noblepoker.
Hi Scaramouche,
This seems very odd. I have it working great with Noble Poker here.
Some questions to try and work it out:
1. Is the pot betting working ok? Always with the correct amounts?
2. Have you done anything to change the look of your table?
3. Do you have the possibilty to test the script at your computer with another iPoker skin?
4. Can you take a screenshot of the table and show me?

/butcha
Hi,
The bet pot is working and I didn"t do anything to change the look of my table.
I can't test on another Ipoker skin and the noble poker table is standard.
AHK Bet Pot Script for iPoker Quote
07-03-2007 , 05:37 AM
Doesn't work for me on Noble either. Occasionally (like once every 25 hands) the right click will work, but the scroll never works at all.
AHK Bet Pot Script for iPoker Quote
07-03-2007 , 07:52 AM
Hi PaulG and thanks for trying out my script!

I have located the problem thanks to your screenshot.
The problem is that the buttons and the betting box is more to the left on BetFred than other skins.
I am going to write a solution to this, but I can't promise it will be done today.
What takes time is checking so that a change that makes BetFred work isn't messing up all the other skins.

In the mean time you can simply do this:
1. Search for the number 597 in the script. (It's only in the script once.)
2. Change the number to 584.

Now this won't fix the problem entirely since it still won't read the call and raise amounts, but at least you shouldn't be getting the extra text in the chat-box.

/butcha
AHK Bet Pot Script for iPoker Quote
07-03-2007 , 07:58 AM
Hi again Scaramouce and hi GLmaestro!

I am still very confused when it comes to Noble Poker.
The fact that the Bet pot-function is working ok but not the Wheel is somewhat unexpected since they both use the same code segment.
Most likely there is some mix up with the buttons in cash games on Noble Poker. I have not tested the script with real money on Noble Poker. I suppose you could test it at Play money or in a tournament to see if it's ok there.
If anyone of you could provide a screenshot of the table when it doesn't work it would help out tremendously.
Thanks!

/butcha
AHK Bet Pot Script for iPoker Quote
07-03-2007 , 08:30 AM
Hi Buctha,

Changing the number to 584 fixed the problem (but as you stated the call and raise amounts are not included).

Looking forward to a fix.

Thank you
AHK Bet Pot Script for iPoker Quote
07-03-2007 , 11:33 AM
very nice - thanks
AHK Bet Pot Script for iPoker Quote
07-03-2007 , 12:16 PM
Thanks for doing this butcha!

Unfortunately for me this doesnt work at KiwiPoker:
- the wheel doesnt work at all
- the rightclick works but results in a bet equal to whats in the pot and not to a potraise (e.g. $1/$2 blinds rightclick would result in a $3 bet...)

I dowloaded Titan to make sure its not some other problem on my end and there everything works perfect

Here is a screenshot just after i rightclicked (for Kiwipoker):

Screenshot
AHK Bet Pot Script for iPoker Quote
07-03-2007 , 06:03 PM
I had a screenshot with a noble table but I don't know how to share it. Please help.
AHK Bet Pot Script for iPoker Quote
07-03-2007 , 07:01 PM
Thanks for doing this butcha!

Unfortunately for me this doesnt work at Expekt:
- the wheel doesnt work at all
- the rightclick works about 95% of the time but results in a bet equal to whats in the pot and not to a potraise (e.g. $1/$2 blinds rightclick would result in a $3 bet...)
AHK Bet Pot Script for iPoker Quote
07-03-2007 , 08:02 PM
Hello everyone!
Thanks a lot for the interest you show in this script.
Now I have been a little bit busy today, so I haven't been able to do a lot of support work on this.
Hopefully I can at least fix the sites that I have gotten screenshots from tomorrow.

You can upload your screenshots at a lot of free sites. Just google for free image upload.
ImageShack is one of the biggest sites for this service, but I'm sure someone else here can recommend something better.

Just be patient a little longer

/butcha
AHK Bet Pot Script for iPoker Quote
07-04-2007 , 05:32 AM
Screenshot for Noble ]http://www.imageshack.us/[/url]
AHK Bet Pot Script for iPoker Quote
07-04-2007 , 05:47 AM
Here is screen shot of when I'm right clicking to make the script calculate a pot size raise.
bet pot
AHK Bet Pot Script for iPoker Quote
07-04-2007 , 08:06 AM
Hi Butcha,

I just downloaded it for Kiwi Poker, I like it, makes things a lot easier, Thanks a lot !!! But unfortunately I also have the same problems as Yeknod:
Unfortunately for me this doesnt work at KiwiPoker:
- the wheel doesnt work at all
- the rightclick works but results in a bet equal to whats in the pot and not to a potraise (e.g. $1/$2 blinds rightclick would result in a $3 bet...)
AHK Bet Pot Script for iPoker Quote
07-04-2007 , 10:54 AM
Hey people!

Luckily for me the fix for Noble Poker, Kiwi Poker and Expekt Poker was very easy.
The problem was that the dollar-sign was 1 pixel higher in the client than what I would have expect from the look of the Tahoma font. They might be using some other font or another version than I have.

When it comes to BetFred I got a little bit lazy, so instead of rewriting a LOT of code in the script, which possibly would have messed up other skins, I decided to add another 'User setting' at the top of the script that says ButtonsOnLeft.
Set this option to 1 if you play on a skin that has the Fold,Call and Raise-button as well as the Betting box more to the left, like BetFred. If you don't know if your skin has the buttons to the left or not, then try first with this setting at 0 (zero). If this doesn't work you can try setting it to 1.
Remember that this setting MUST be 0 (zero) for the script to work with Noble, Cd Poker, Expekt, Kiwi, Titan and Paddy power.

I hope this didn't get too complicated.

The new version is up at the same location:
http://hem.passagen.se/perg/iPokerBetPot.txt

Keep posting any problems you're having!

/butcha
AHK Bet Pot Script for iPoker Quote
07-04-2007 , 11:47 AM
Thanks you very much for the update ! I will test it later this evening.
AHK Bet Pot Script for iPoker Quote
07-04-2007 , 02:00 PM
Thank you, great work.
AHK Bet Pot Script for iPoker Quote
07-04-2007 , 03:25 PM
I have just found this, and can only say THANK YOU!

I do, however, have some trouble configuring it.
With the version currently on overcards.com (0.2o)I would just go to

~RButton::
Pot(getid(),"1 0.66 0.66 0.66", "smallblind", "ssnl", 0)

and make some changes, but it seems to be strangely absent..

Also, you can add that at NoIQ poker you should use the following setting:
ButtonsOnLeft := 0
AHK Bet Pot Script for iPoker Quote
07-04-2007 , 05:19 PM
Thanks a lot for this - nice code! It works a treat on BetFred.
AHK Bet Pot Script for iPoker Quote

      
m