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
  #151  
Old 09-03-2007, 04:19 PM
janh janh is offline
Member
 
Join Date: Jul 2007
Location: Netherlands
Posts: 32
Default Re: AHK Bet Pot Script for iPoker

Thanks for the code!

How can I set the betsize to be an integer instead of a float?
Reply With Quote
  #152  
Old 09-03-2007, 06:00 PM
betafemale betafemale is offline
Senior Member
 
Join Date: Jan 2007
Posts: 194
Default Re: AHK Bet Pot Script for iPoker

[ QUOTE ]
Thanks for the code!

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

[/ QUOTE ]

You want to round all your bets to nearest dollar?
Reply With Quote
  #153  
Old 09-04-2007, 03:50 AM
janh janh is offline
Member
 
Join Date: Jul 2007
Location: Netherlands
Posts: 32
Default Re: AHK Bet Pot Script for iPoker

[ QUOTE ]
[ QUOTE ]
Thanks for the code!

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

[/ QUOTE ]


You want to round all your bets to nearest dollar?

[/ QUOTE ]

Yes! [img]/images/graemlins/smile.gif[/img]
Reply With Quote
  #154  
Old 09-04-2007, 06:27 AM
betafemale betafemale is offline
Senior Member
 
Join Date: Jan 2007
Posts: 194
Default Re: AHK Bet Pot Script for iPoker

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)
Reply With Quote
  #155  
Old 09-04-2007, 10:28 AM
janh janh is offline
Member
 
Join Date: Jul 2007
Location: Netherlands
Posts: 32
Default Re: AHK Bet Pot Script for iPoker

Works fine! Thanks!
Reply With Quote
  #156  
Old 09-04-2007, 11:07 AM
spiff21 spiff21 is offline
Senior Member
 
Join Date: Mar 2005
Location: Sweden
Posts: 184
Default Re: AHK Bet Pot Script for iPoker

[ QUOTE ]
[ QUOTE ]
is there a script that lets me custimize it, like 3/4 of the pot and so forth?

[/ QUOTE ]

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.

[/ QUOTE ]

Why is "If (!Callsize)" needed?
Is "!" the same as "NOT"?
The PartSize thingy doesn't seem to be accounted for when I'm using "!".
Reply With Quote
  #157  
Old 09-04-2007, 01:06 PM
betafemale betafemale is offline
Senior Member
 
Join Date: Jan 2007
Posts: 194
Default Re: AHK Bet Pot Script for iPoker

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 [img]/images/graemlins/smile.gif[/img]
Reply With Quote
  #158  
Old 09-05-2007, 05:35 AM
robster robster is offline
Member
 
Join Date: May 2006
Posts: 30
Default Re: AHK Bet Pot Script for iPoker

how do i make it so that it raises 4 bb's preflop instead of 3.5 ?
Reply With Quote
  #159  
Old 09-05-2007, 05:51 AM
robster robster is offline
Member
 
Join Date: May 2006
Posts: 30
Default Re: AHK Bet Pot Script for iPoker

nvm got it working i think
Reply With Quote
  #160  
Old 09-06-2007, 06:01 PM
jaaahaaa jaaahaaa is offline
Member
 
Join Date: Jul 2005
Posts: 38
Default Re: AHK Bet Pot Script for iPoker

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
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 09:44 AM.


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