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

08-20-2007 , 08:41 PM
I have no problems with the Universal bet pot script On prima, is that your script?
AHK Bet Pot Script for iPoker Quote
08-20-2007 , 08:45 PM
Quote:
I have no problems with the Universal bet pot script On prima, is that your script?
Indeed.

Leading towards requiring a "disable desktop composition" setting for this one, which mine for Prima would not require.

EDIT: wooo, there goes 2K posts
AHK Bet Pot Script for iPoker Quote
08-20-2007 , 08:48 PM
that desktop composition thing made it work, TYVM! Do you want a small donation?
AHK Bet Pot Script for iPoker Quote
08-20-2007 , 09:16 PM
Quote:
that desktop composition thing made it work, TYVM!
Great news

Quote:
Do you want a small donation?
No need, not on the basis of this thread - butcha or betafemale much more deserving

Of course, feel free to share if you find any of my scripts worth donating to
AHK Bet Pot Script for iPoker Quote
08-25-2007 , 12:47 AM
is there a script that lets me custimize it, like 3/4 of the pot and so forth?
AHK Bet Pot Script for iPoker Quote
08-25-2007 , 09:59 AM

Does this work with the mini-table view? (Sorry about being one of those 'Does this do blahblahbalah' without trying it kinda guys. )

runstop
AHK Bet Pot Script for iPoker Quote
08-25-2007 , 01:33 PM
Quote:
is there a script that lets me custimize it, like 3/4 of the pot and so forth?
I can do that in my modifyed version of this script. But there are some glitches and features I am going to add before releasing it. Havn't worked much on it lately though.

It is pretty simple though if you wanna modify it yourself:

Modyfy the call to the betpot function like this:

~RButton::
BetPot(0.67)
Return

This will bet 2/3 pot.

Then the first like of the betpot function that looks like this
BetPot()

change that to

BetPot(PartSize)

Then before the

BetSize := FormatBet.....

in the BetPot function add these lines:

If (!Callsize)
{
PotSize := Potsize * PartSize
}

and you can now bet fractions of the pot. Hope that makes sense.
AHK Bet Pot Script for iPoker Quote
08-25-2007 , 08:15 PM
thx beta, ill work it into my script tomorrow, sounds pretty understandable
AHK Bet Pot Script for iPoker Quote
08-25-2007 , 08:23 PM
Quote:

I am discussing with _dave_ to have this script merged with his
This *will* happen... giving me fits right now trying to remove all the globals (and trying to figure out how great chunks of the code actually do what they do )

Is a learning experience

dave.
AHK Bet Pot Script for iPoker Quote
08-26-2007 , 05:52 AM
http://img301.imageshack.us/img301/9712/pokerutdnl3.png

pokerutd

reload script works, bet pot does not
AHK Bet Pot Script for iPoker Quote
08-26-2007 , 10:38 AM
never mind it works now
stupid mistake on my part

ty for the script!
AHK Bet Pot Script for iPoker Quote
09-01-2007 , 09:17 AM
Hi beta,

Would it be easy to make rightbutton bet the pot and mid buttin bet 2/3?

Thx for ur efort!!!
AHK Bet Pot Script for iPoker Quote
09-01-2007 , 09:45 AM
I changed the reloader to work with NoIQ miniview, don't know if it's any use to anyone, but here it is anyway:

;;;;;;;;;;;;;;;;;;;;;;;;;;
F12::
Reload()
Return

Reload()
{
ReloadX := 490
ReloadY := 40

ReloadX2 := 460
ReloadY2 := 85

ReloadOKX := 165
ReloadOKY := 245

CheckBoxX := 471
CheckBoxY := 346

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

MouseMove, WindowX + ReloadX2, WindowY + ReloadY2

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 = "0xFCFAFF")
{
MouseMove, CheckBoxX, CheckBoxY

Click
}
}

RestoreMousePos()

return
}
;;;;;;;;;;;;;;;;;;;;;;;;;;

I haven't tested it much, so use at your own risk!
AHK Bet Pot Script for iPoker Quote
09-01-2007 , 11:42 AM
Quote:
Hi beta,

Would it be easy to make rightbutton bet the pot and mid buttin bet 2/3?

Thx for ur efort!!!
Not at all. Follow the instructions above how to modify the script to be able to bet parts of the pot.

But instead of

~RButton::
BetPot(0.67)
Return

you write this (along with the rest of the hot keys, around line 211 in the script)

~RButton::
BetPot(1.00)
Return

~MButton::
BetPot(0.67)
Return
AHK Bet Pot Script for iPoker Quote
09-01-2007 , 12:01 PM
Would it be possible to make the right button to check the "Fold" or "Check/Fold" box or if it's already Hero's turn just fold?

This was done on the SNG Helper AHK script (by Juk of York).
AHK Bet Pot Script for iPoker Quote
09-01-2007 , 12:22 PM
Quote:
Would it be possible to make the right button to check the "Fold" or "Check/Fold" box or if it's already Hero's turn just fold?

This was done on the SNG Helper AHK script (by Juk of York).
miniview or normal table? I can try it for NoIQ if you like.
AHK Bet Pot Script for iPoker Quote
09-01-2007 , 01:18 PM
Quote:
Quote:
Would it be possible to make the right button to check the "Fold" or "Check/Fold" box or if it's already Hero's turn just fold?

This was done on the SNG Helper AHK script (by Juk of York).
miniview or normal table? I can try it for NoIQ if you like.
Yes I play on NoIQ normal tables. Though occasionally I play at miniview If you can do only one, then go for normal. Thanks, man!
AHK Bet Pot Script for iPoker Quote
09-01-2007 , 05:34 PM
Ok, this is my first feeble attempt (day 1 with ahk), it's basically just a rip-off of beta's code, so add it to the bottom of the existing betpot script. Just be sure to change the rbutton(~RButton: code already in this script to another button (like ~MButton:.

I've only tested it on the play money tables quickly, but it fulfills the basic functions of trying to press the check/fold, advance fold and normal fold buttons. It would be good to add some checks, but it's a start!

;;;;;;;;;;;;;;;;;;;;;;;;;;
~RButton::
PressFold()
Return

PressFold()
{
FoldBX := 250
FoldBY := 548
FoldBX2 := 250
FoldBY2 := 525

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

SaveMousePos()

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

MouseMove, WindowX + FoldBX, WindowY + FoldBY
Sleep, 250
Click

Sleep, 250

RestoreMousePos()

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

MouseMove, WindowX + FoldBX2, WindowY + FoldBY2
Sleep, 250
Click

Sleep, 250

RestoreMousePos()

return
}
;;;;;;;;;;;;;;;;;;;;;;;;;;
AHK Bet Pot Script for iPoker Quote
09-02-2007 , 06:37 AM
Quote:
Would it be possible to make the right button to check the "Fold" or "Check/Fold" box or if it's already Hero's turn just fold?

This was done on the SNG Helper AHK script (by Juk of York).
Great! Works fine!
AHK Bet Pot Script for iPoker Quote
09-02-2007 , 07:58 AM
Quote:
Quote:
Would it be possible to make the right button to check the "Fold" or "Check/Fold" box or if it's already Hero's turn just fold?

This was done on the SNG Helper AHK script (by Juk of York).
Great! Works fine!
I does not work for me but I'm prolly not using it right. Which parts of the code should I use? Which part of the original code should I replace? What is the original code?
AHK Bet Pot Script for iPoker Quote
09-02-2007 , 07:59 AM
How easy is it to add extra keys for different bet sizes, I like to have left control for half size and left alt for 3/4, have managed it on other scripts but this one looks a bit more complex to my untechnical eyes.
AHK Bet Pot Script for iPoker Quote
09-02-2007 , 08:03 AM
Quote:
How easy is it to add extra keys for different bet sizes, I like to have left control for half size and left alt for 3/4, have managed it on other scripts but this one looks a bit more complex to my untechnical eyes.
This would be useful since my mouse has 980423904290 buttons that I dont use.
AHK Bet Pot Script for iPoker Quote
09-02-2007 , 08:21 AM
Quote:
I does not work for me but I'm prolly not using it right. Which parts of the code should I use? Which part of the original code should I replace? What is the original code?
Add all of the code I posted to the bottom of butcha's betpot script(whether or not you also add beta's is up to you, as they shouldn't conflict). You then need to find this code at the top of his script:

~RButton::
BetPot()
Return

And either comment it out, like this (will stop the right mouse button from betting pot):

;~RButton::
; BetPot()
;Return

Or change it to another button like this (will make the middle mouse button bet pot instead):

~MButton::
BetPot()
Return

Unfortunately I know so little about ahk at the moment, that I can't get it to work as a stand alone script. I've moved the required functions, so it's probably something that needs initialising, or something done in the wrong order.
AHK Bet Pot Script for iPoker Quote
09-02-2007 , 09:05 AM
Quote:
I've moved the required functions, so it's probably something that needs initialising, or something done in the wrong order.
try adding these two lines at the beginning of the script

CoordMode, Mouse, Screen
CoordMode, Pixel, Screen
AHK Bet Pot Script for iPoker Quote
09-03-2007 , 08:45 AM
Quote:
Quote:
I've moved the required functions, so it's probably something that needs initialising, or something done in the wrong order.
try adding these two lines at the beginning of the script

CoordMode, Mouse, Screen
CoordMode, Pixel, Screen
Cheers, I will try this out during the week when I get back to fiddling with it.
AHK Bet Pot Script for iPoker Quote

      
m