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

09-03-2007 , 04:19 PM
Thanks for the code!

How can I set the betsize to be an integer instead of a float?
AHK Bet Pot Script for iPoker Quote
09-03-2007 , 06:00 PM
Quote:
Thanks for the code!

How can I set the betsize to be an integer instead of a float?
You want to round all your bets to nearest dollar?
AHK Bet Pot Script for iPoker Quote
09-04-2007 , 03:50 AM
Quote:
Quote:
Thanks for the code!

How can I set the betsize to be an integer instead of a float?

You want to round all your bets to nearest dollar?
Yes!
AHK Bet Pot Script for iPoker Quote
09-04-2007 , 06:27 AM
Try this (untested)

Replace these lines

(they are in the FormatBet() function)

OldFormat := A_FormatFloat
SetFormat, Float, 0.2
bet += 0.0
SetFormat, Float, %OldFormat%


with

bet := Round(bet, 0)
AHK Bet Pot Script for iPoker Quote
09-04-2007 , 10:28 AM
Works fine! Thanks!
AHK Bet Pot Script for iPoker Quote
09-04-2007 , 11:07 AM
Quote:
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.
Why is "If (!Callsize)" needed?
Is "!" the same as "NOT"?
The PartSize thingy doesn't seem to be accounted for when I'm using "!".
AHK Bet Pot Script for iPoker Quote
09-04-2007 , 01:06 PM
Callsize checks to see if someone bet. !Callsize means noone has bet, so that the function only works if you bet, but not if you raise or reraise. If you don't want it just remvoe it
AHK Bet Pot Script for iPoker Quote
09-05-2007 , 05:35 AM
how do i make it so that it raises 4 bb's preflop instead of 3.5 ?
AHK Bet Pot Script for iPoker Quote
09-05-2007 , 05:51 AM
nvm got it working i think
AHK Bet Pot Script for iPoker Quote
09-06-2007 , 06:01 PM
I can't get this to work with visa? Anyone with success? I've the lastest version of AHK and think I've tried everything
AHK Bet Pot Script for iPoker Quote
09-06-2007 , 06:14 PM
Quote:
how do i make it so that it raises 4 bb's preflop instead of 3.5 ?
how?
AHK Bet Pot Script for iPoker Quote
09-06-2007 , 06:49 PM
Quote:
Quote:
how do i make it so that it raises 4 bb's preflop instead of 3.5 ?
how?
Replace these lines

(they are in the FormatBet() function)

OldFormat := A_FormatFloat
SetFormat, Float, 0.2
bet += 0.0
SetFormat, Float, %OldFormat%


with

bet := Round(bet, 0)
AHK Bet Pot Script for iPoker Quote
09-06-2007 , 09:09 PM
Sounds like you're playing $100nl and you got the script to round up instead of down. That's not going to work for people playing $200nl+.
AHK Bet Pot Script for iPoker Quote
09-06-2007 , 09:52 PM
well it bet 3.5 before i changed anything.. do you have any other solution?
AHK Bet Pot Script for iPoker Quote
09-07-2007 , 02:50 AM
Quote:
Quote:
Quote:
how do i make it so that it raises 4 bb's preflop instead of 3.5 ?
how?
Replace these lines

(they are in the FormatBet() function)

OldFormat := A_FormatFloat
SetFormat, Float, 0.2
bet += 0.0
SetFormat, Float, %OldFormat%


with

bet := Round(bet, 0)
You copied my answer from another post, but it is not the correct answer. While it sometimes will do what you want, it is not a generic 4 instead of 3.5 bb preflop better.
AHK Bet Pot Script for iPoker Quote
09-07-2007 , 02:53 AM
Quote:
Sounds like you're playing $100nl and you got the script to round up instead of down. That's not going to work for people playing $200nl+.
The round part rounds to nearest, not always up or always down. When I posted the solution of rounding, which then got copied, it [stupidly] assumed you had the part of pot thing modded, so it only works post flop first of all. Also I don't see a problem why it wouldn't work on 200NL?
AHK Bet Pot Script for iPoker Quote
09-07-2007 , 03:35 AM
Quote:
Quote:
Sounds like you're playing $100nl and you got the script to round up instead of down. That's not going to work for people playing $200nl+.
The round part rounds to nearest, not always up or always down. When I posted the solution of rounding, which then got copied, it [stupidly] assumed you had the part of pot thing modded, so it only works post flop first of all. Also I don't see a problem why it wouldn't work on 200NL?
It is customary to round up when you're dealing with decimals. 3.5 would round up to 4 instead of 3 in this case, and that's why this will only work for $100nl. At $200nl it will not round up because there are no more decimals when dealing with pot sized preflop raises.

I know all of this because I was messing around on Ipoker (noIQ skin) using this bet pot script, and I was trying it out at the play money tables and happened to be at a 100nl table. It was 3.5 to start preflop but when I edited the script to exactly what robster said to make it 4x, which worked, but I quickly realized that it rounded up from dollars specifically when I right clicked to bet pot which was 12.50, and in the bet box it wrote 13.
AHK Bet Pot Script for iPoker Quote
09-07-2007 , 04:16 AM
There is some big big confusion here: the rounding part of the script I posted was to round the bets to nearest dollar (as requested), not to bet 4 bb preflop. Someone else then asked how to bet 4 bb preflop instead of 3.5 and then someone copied my rounding code as the answer. While that will work on some levels, it is NOT the solution for betting 4 bb preflop.
AHK Bet Pot Script for iPoker Quote
09-07-2007 , 04:23 AM
Quote:
It is customary to round up when you're dealing with decimals. 3.5 would round up to 4 instead of 3 in this case
This is not true, while 3.5 should be rounded up, 3.4 should be rounded down. Not that it is a big deal anyways, it only is a problem if you use the mod not as intended (meaning betting 4 instead of 3.5 bb preflop). I personaly think rounding to nearest small blind is best, it works both preflop and postflop (this is how I have it in my script), and will not mess with your preference to raise 3.5 or 4 bb preflop.
AHK Bet Pot Script for iPoker Quote
09-07-2007 , 08:31 AM
betafemale: yeah i just copied what you wrote because it worked for me
but i tried to play on higher stakes and it didn't work as aislephive said.. could you help me out?
AHK Bet Pot Script for iPoker Quote
09-07-2007 , 09:35 AM
Quote:
betafemale: yeah i just copied what you wrote because it worked for me
but i tried to play on higher stakes and it didn't work as aislephive said.. could you help me out?
Yeah it won't always work beacuse it was never made for that. The thing is, you need to add a function to see if you are preflop or not and then compensate your bet. I thought I'd save that for later.

If you want a "dirty" fix do this though: copy the BetPot function and name the copy PreflopRaise or something. Then in that function replace

BetSize := FormatBet(PotSize + 2*CallSize)

with

BetSize := FormatBet(PotSize + 2*CallSize + 123)

where 123 is the size of your sb.

then to raise preflop 4bb call the PreflopRaise function with a hotkey. Like this:

~RButton::
PreflopRaise()
Return

Not the best solution, and you will have to change the 123 number for each level you play, but it is a quick fix which is probably better than nothing.
AHK Bet Pot Script for iPoker Quote
09-07-2007 , 09:42 AM
Hi there, well done on a great code..

I've been using it on Green Joker Poker for the last while with no problems but I've moved to Cardoza today and it only works ont he mini view but not in the full view. On full view it doesn't enter the pot size at all but you can use the wheel to scroll.

Any suggestions? as I'm lost witholut it after having it for so long
AHK Bet Pot Script for iPoker Quote
09-07-2007 , 09:48 AM
My guess is that it has trouble reading the pot size text, which is probably beacuse of a diffrent color or diffrent font. Butcha made that part, I just made the mods/addons/what ever you wanna call them (like reload). You could take a screenshot and post it unmodified in bmp format and if it is a simple thing to fix it I can probably help you.
AHK Bet Pot Script for iPoker Quote
09-07-2007 , 01:05 PM
here a screenshot... thanks..

AHK Bet Pot Script for iPoker Quote
09-10-2007 , 04:13 AM
Hi, great script
I am playing 50nl, is it possible to round off to the nearest small blind?
AHK Bet Pot Script for iPoker Quote

      
m