Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Internet Gambling > Software

Reply
 
Thread Tools Display Modes
  #1  
Old 07-02-2007, 05:52 PM
butcha butcha is offline
Member
 
Join Date: Jun 2007
Posts: 67
Default AHK Bet Pot Script for iPoker

<u>AHK Bet Pot Script for iPoker</u> 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.)
Reply With Quote
  #2  
Old 07-02-2007, 05:54 PM
K䲰䮥n K䲰䮥n is offline
Senior Member
 
Join Date: May 2006
Posts: 3,616
Default Re: AHK Bet Pot Script

Works like a dream on noiqpoker. [img]/images/graemlins/heart.gif[/img]
Reply With Quote
  #3  
Old 07-02-2007, 06:23 PM
_dave_ _dave_ is offline
Senior Member
 
Join Date: Feb 2005
Location: UK
Posts: 2,628
Default Re: AHK Bet Pot Script

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 [img]/images/graemlins/smile.gif[/img]

Again, awesome works.

Many thanks for sharing.

dave.
Reply With Quote
  #4  
Old 07-02-2007, 07:11 PM
Scaramouche Scaramouche is offline
Senior Member
 
Join Date: Feb 2007
Posts: 136
Default Re: AHK Bet Pot Script

Thank you, but the mouse wheel isn't working on noblepoker.
Reply With Quote
  #5  
Old 07-02-2007, 07:45 PM
butcha butcha is offline
Member
 
Join Date: Jun 2007
Posts: 67
Default Re: AHK Bet Pot Script

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
Reply With Quote
  #6  
Old 07-02-2007, 07:51 PM
butcha butcha is offline
Member
 
Join Date: Jun 2007
Posts: 67
Default Re: AHK Bet Pot Script

[ QUOTE ]
Thank you, but the mouse wheel isn't working on noblepoker.

[/ QUOTE ]
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
Reply With Quote
  #7  
Old 07-02-2007, 10:48 PM
PaulG PaulG is offline
Senior Member
 
Join Date: Jul 2006
Posts: 253
Default Re: AHK Bet Pot Script for iPoker

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
Reply With Quote
  #8  
Old 07-03-2007, 03:23 AM
Scaramouche Scaramouche is offline
Senior Member
 
Join Date: Feb 2007
Posts: 136
Default Re: AHK Bet Pot Script

[ QUOTE ]
[ QUOTE ]
Thank you, but the mouse wheel isn't working on noblepoker.

[/ QUOTE ]
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

[/ QUOTE ]
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.
Reply With Quote
  #9  
Old 07-03-2007, 05:37 AM
GLmaestro GLmaestro is offline
Senior Member
 
Join Date: Mar 2006
Location: Sweden
Posts: 538
Default Re: AHK Bet Pot Script

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.
Reply With Quote
  #10  
Old 07-03-2007, 07:52 AM
butcha butcha is offline
Member
 
Join Date: Jun 2007
Posts: 67
Default Re: AHK Bet Pot Script for iPoker

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
Reply With Quote
Reply

Thread Tools
Display Modes

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 10:04 AM.


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