Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Internet Gambling > Software
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #161  
Old 09-06-2007, 06:14 PM
Echelon Echelon is offline
Senior Member
 
Join Date: Apr 2006
Posts: 239
Default Re: AHK Bet Pot Script for iPoker

[ QUOTE ]
how do i make it so that it raises 4 bb's preflop instead of 3.5 ?

[/ QUOTE ]

how?
Reply With Quote
  #162  
Old 09-06-2007, 06:49 PM
robster robster is offline
Member
 
Join Date: May 2006
Posts: 30
Default Re: AHK Bet Pot Script for iPoker

[ QUOTE ]
[ QUOTE ]
how do i make it so that it raises 4 bb's preflop instead of 3.5 ?

[/ QUOTE ]

how?

[/ QUOTE ]

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)
Reply With Quote
  #163  
Old 09-06-2007, 09:09 PM
aislephive aislephive is offline
Senior Member
 
Join Date: Oct 2005
Location: And now the children are asleep
Posts: 6,874
Default Re: AHK Bet Pot Script for iPoker

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+.
Reply With Quote
  #164  
Old 09-06-2007, 09:52 PM
robster robster is offline
Member
 
Join Date: May 2006
Posts: 30
Default Re: AHK Bet Pot Script for iPoker

well it bet 3.5 before i changed anything.. do you have any other solution?
Reply With Quote
  #165  
Old 09-07-2007, 02:50 AM
betafemale betafemale is offline
Senior Member
 
Join Date: Jan 2007
Posts: 194
Default Re: AHK Bet Pot Script for iPoker

[ QUOTE ]
[ QUOTE ]
[ QUOTE ]
how do i make it so that it raises 4 bb's preflop instead of 3.5 ?

[/ QUOTE ]

how?

[/ QUOTE ]

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)

[/ QUOTE ]

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.
Reply With Quote
  #166  
Old 09-07-2007, 02:53 AM
betafemale betafemale is offline
Senior Member
 
Join Date: Jan 2007
Posts: 194
Default Re: AHK Bet Pot Script for iPoker

[ 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+.

[/ QUOTE ]

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?
Reply With Quote
  #167  
Old 09-07-2007, 03:35 AM
aislephive aislephive is offline
Senior Member
 
Join Date: Oct 2005
Location: And now the children are asleep
Posts: 6,874
Default Re: AHK Bet Pot Script for iPoker

[ 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+.

[/ QUOTE ]

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?

[/ 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, 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.
Reply With Quote
  #168  
Old 09-07-2007, 04:16 AM
betafemale betafemale is offline
Senior Member
 
Join Date: Jan 2007
Posts: 194
Default Re: AHK Bet Pot Script for iPoker

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.
Reply With Quote
  #169  
Old 09-07-2007, 04:23 AM
betafemale betafemale is offline
Senior Member
 
Join Date: Jan 2007
Posts: 194
Default Re: AHK Bet Pot Script for iPoker

[ 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

[/ QUOTE ]

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.
Reply With Quote
  #170  
Old 09-07-2007, 08:31 AM
robster robster is offline
Member
 
Join Date: May 2006
Posts: 30
Default Re: AHK Bet Pot Script for iPoker

betafemale: yeah i just copied what you wrote because it worked for me [img]/images/graemlins/smile.gif[/img]
but i tried to play on higher stakes and it didn't work as aislephive said.. could you help me out?
Reply With Quote
Reply


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 12:00 PM.


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