View Single Post
  #154  
Old 10-21-2007, 11:26 AM
Xanderz Xanderz is offline
Senior Member
 
Join Date: Oct 2007
Posts: 230
Default Re: Betpot script for Ongame network ? (payment for publishing code)

ahh, the script assumes . is the decimal separator.

also, the calculation the script does is

bet = (pot + 2 * call) * fraction

when it should be

bet = (pot + call) * fraction + call

but that makes no difference when fraction is 1.

Also, both calculations will fail for a re-reraise...
Reply With Quote