#141
|
|||
|
|||
Re: AHK Bet Pot Script for iPoker
[ 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). [/ QUOTE ] miniview or normal table? I can try it for NoIQ if you like. |
#142
|
|||
|
|||
Re: AHK Bet Pot Script for iPoker
[ 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). [/ QUOTE ] miniview or normal table? I can try it for NoIQ if you like. [/ QUOTE ] Yes I play on NoIQ normal tables. Though occasionally I play at miniview [img]/images/graemlins/smile.gif[/img] If you can do only one, then go for normal. Thanks, man! |
#143
|
|||
|
|||
Re: AHK Bet Pot Script for iPoker
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 } ;;;;;;;;;;;;;;;;;;;;;;;;;; |
#144
|
|||
|
|||
Re: AHK Bet Pot Script for iPoker
[ 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). [/ QUOTE ] Great! Works fine! |
#145
|
|||
|
|||
Re: AHK Bet Pot Script for iPoker
[ 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). [/ QUOTE ] Great! Works fine! [/ 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? |
#146
|
|||
|
|||
Re: AHK Bet Pot Script for iPoker
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.
|
#147
|
|||
|
|||
Re: AHK Bet Pot Script for iPoker
[ 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. [/ QUOTE ] This would be useful since my mouse has 980423904290 buttons that I dont use. |
#148
|
|||
|
|||
Re: AHK Bet Pot Script for iPoker
[ 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? [/ QUOTE ] 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. |
#149
|
|||
|
|||
Re: AHK Bet Pot Script for iPoker
[ QUOTE ]
I've moved the required functions, so it's probably something that needs initialising, or something done in the wrong order. [/ QUOTE ] try adding these two lines at the beginning of the script CoordMode, Mouse, Screen CoordMode, Pixel, Screen |
#150
|
|||
|
|||
Re: AHK Bet Pot Script for iPoker
[ QUOTE ]
[ QUOTE ] I've moved the required functions, so it's probably something that needs initialising, or something done in the wrong order. [/ QUOTE ] try adding these two lines at the beginning of the script CoordMode, Mouse, Screen CoordMode, Pixel, Screen [/ QUOTE ] Cheers, I will try this out during the week when I get back to fiddling with it. [img]/images/graemlins/smile.gif[/img] |
|
|