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
  #1  
Old 10-21-2007, 10:59 AM
Hoobee Hoobee is offline
Junior Member
 
Join Date: Feb 2007
Posts: 19
Default Re: Betpot script for Ongame network ? (payment for publishing code)

Ok I tested it again:

NL10 0.05/0.1:

I open on the button, it should bet $0.35 (pot size bet).

But it bets $2600. (!?)

Decimal seperator is a comma for me.
Reply With Quote
  #2  
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
  #3  
Old 10-21-2007, 11:30 AM
Hoobee Hoobee is offline
Junior Member
 
Join Date: Feb 2007
Posts: 19
Default Re: Betpot script for Ongame network ? (payment for publishing code)

Ok.

So what to do?
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 03:11 AM.


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