january2.whf (revised)

Post complete winholdem formula sets here.<br>
Please read the guidelines before posting.

january2.whf (revised)

Postby support » 2005 Jul 21 Thu 3:29:00 am

edit: added simple f9 enabled f$play
edit: moved safe conditions to f$alli
edit: added f$alli references to f$call and f$rais
edit: added defcon as 1.00
edit: changed f$P to use defcon

Code: Select all
##2005-07-20 22:57:45##

##notes##
/*

this is a very slightly revised version of
the original winholdem january formula set.
this is what the formula set would look like
if it had been saved in standard .whf format

in 2004-JAN :

- there was no notes tab
- there was no debug tab
- there was no play formula
- there was no defcon symbol

and in fact, the wh release notes are a record
of everything that did not exist back then.

the asterisks * beside the call/rais formula
comments are there to indicate that those
lines were not part of the original formula
that played the 5 day session at stars

WARNING:
if you play this bot as is at a 10 chair table
it will fold 100% of the time from dealposition 3
it is a defense 10 pessimistic pure ev bot
and that means that even $AA is not enough
to convince it to put money on the table with
only 3 small blinds in play.

it loves late positions and hates early positions.

it will never sitout or leave for any reason

it was designed to fold against stingy tables and
eat over bettors alive.

this bot is a calling station. as the pot grows,
the cost of calling is decreasing relative to
the potential reward. so calling to the river
is something january loves to do.

this bot has been openly cursed in chat for
not folding when opponents wanted it to.

*/
##defcon##
1.000000

##rake##
0.000000

##nit##
100000

##f$alli##
0                                     // default is do not alli
|| [ prwin >= 1.00 ]                  //  dead nuts
|| [ prtie >= 1.00 ]                  //* sure tie
|| [ prlos <= 0.00 ]                  //* cannot lose
|| [ br==1 && islistalli ]            // listed opening hand

##f$rais##
0                                     // default is do not rais
|| [ f$alli ]                         //* safe conditions
|| [ br==1 && islistrais ]            // listed opening hand
|| [ f$evrais > 0  &&                 // positive ev
     f$evrais > f$evcall ]            // higher than calling

##f$call##
0                                     // default is do not call
|| [ f$alli ]                         //* safe conditions
|| [ br==1 && islistcall ]            // listed opening hand
|| [ f$evcall > 0 ]                   // positive ev
|| [ call <= 0.00 ]                   // zero call amount (check)

##f$evrais##
0                 // start at 0
- call            // my cost to call
- bet             // my cost to rais
+ (pot+call+bet*2)// the minimum possible pot
* (prwin+prtie/2) // my winning chances
* (1+rake)        // the house rake

##f$evcall##
0                 // start at 0
- call            // my cost to call
+ (pot+call)      // the minimum possible pot
* (prwin+prtie/2) // my winning chances
* (1+rake)        // the house rake

##f$P##
(nopponentsplaying==0) ? 0 :

nopponentsplaying + defcon*nopponentsfolded

##f$play##
!f9                      ? -1 :  // enabled when toolbar f9 flag button is pressed
(elapsed % 4)            ? -1 :  // disabled 3 out of 4 seconds
(br < 2)                 ? -1 :  // disabled before the flop
(br > 3)                 ? -1 :  // disabled after the turn

nopponentsdealt >= 2

Last edited by support on 2006 May 10 Wed 4:00:32 pm, edited 2 times in total.
The live game is owned by humans.
The online game is owned by humans with computers.
User avatar
support
Site Admin
 
Posts: 11652
Joined: 2004 Sep 23 Thu 5:07:14 pm
Location: US

typo

Postby support » 2005 Jul 25 Mon 8:26:04 pm

guys,

if you downloaded january2 before today
2005-JUL-25 16:30:00
then you have a typo in f$evrais
that will cause the bot to never raise

make sure the pot estimation reads

+ (pot+call+bet*2)// the minimum possible pot

the previous typo version was missing the

*2

if you played typo version then you were basically in permanent slow play mode

8)
The live game is owned by humans.
The online game is owned by humans with computers.
User avatar
support
Site Admin
 
Posts: 11652
Joined: 2004 Sep 23 Thu 5:07:14 pm
Location: US

Postby mr matt » 2005 Sep 05 Mon 4:22:46 am

When using this bot on UB, it is constantly hitting the sit-out button and making my PC beep

I CAN run the leejones.whf bot and it does not do this.

Is this a setting I can look for in the future to make sure I don't have this issue?

Thanks....
mr matt
One Pair
 
Posts: 7
Joined: 2005 Sep 04 Sun 8:07:05 pm

Postby support » 2005 Sep 05 Mon 2:47:30 pm

mr matt wrote:When using this bot on UB, it is constantly hitting the sit-out button and making my PC beep

I CAN run the leejones.whf bot and it does not do this.

Is this a setting I can look for in the future to make sure I don't have this issue?

Thanks....


the only explanation for this behavior would be if you are using a play formula other than (-1)

8)
The live game is owned by humans.
The online game is owned by humans with computers.
User avatar
support
Site Admin
 
Posts: 11652
Joined: 2004 Sep 23 Thu 5:07:14 pm
Location: US

Postby lplp » 2005 Sep 07 Wed 4:11:54 am

Must be something wrong in the code. The bot continuously clicks on sit out after every hand it plays. :(
lplp
Two Pair
 
Posts: 15
Joined: 2005 Sep 07 Wed 4:03:33 am

CODE PROBLEM

Postby lplp » 2005 Sep 07 Wed 4:32:07 am

I took a look at the code and discovered that after pasting the code into the .whf file WH didn't copy it correctly into the f$play tab. It looked like this, -1f$play## in the tab it should be like this, -1. Just remove the f$play## portion of the text, apply the change and it will work fine. :)
lplp
Two Pair
 
Posts: 15
Joined: 2005 Sep 07 Wed 4:03:33 am

what the "F"

Postby lplp » 2005 Sep 10 Sat 12:52:21 am

tested this so called formula for two days. either i did something wrong or this thing is the pits. on any table no matter what the blinds, it perpetually folds almost any hand in any position. :evil: It just folds until your broke! Nothing can be this bad. So, I assume its my fault some how. I did everything i could think of, i.e reset, restart, clear out directory of other whf's, but to know avail.
lplp
Two Pair
 
Posts: 15
Joined: 2005 Sep 07 Wed 4:03:33 am

Re: what the "F"

Postby bigdaddy » 2005 Sep 10 Sat 1:34:32 am

lplp wrote:tested this so called formula for two days. either i did something wrong or this thing is the pits. on any table no matter what the blinds, it perpetually folds almost any hand in any position. :evil: It just folds until your broke! Nothing can be this bad. So, I assume its my fault some how. I did everything i could think of, i.e reset, restart, clear out directory of other whf's, but to know avail.


That's a sign that there is an error somewhere in the code. In winholdem click FX button and click on each tab... fix the one that t throws the error.

GL!

BIGD'
BigDaddy
bigdaddy
Straight Flush
 
Posts: 1220
Joined: 2005 May 06 Fri 12:33:38 pm

Re: what the "F"

Postby RT » 2005 Dec 16 Fri 4:22:38 am

Support,

I just started looking at this bot... I do not understand something here.

##f$evcall##
0 // start at 0
- call // my cost to call
+ (pot+call) // the minimum possible pot
* (prwin+prtie/2) // my winning chances
* (1+rake) // the house rake

How could this ever equate to a negative EV?? 0-call+(pot+call)*[positive numbers]...isn't that the same as 0+pot*winning chances?? Could you show an example of when the result would be <0?? thanks

RT
newbie to WH ... take it easy on me
RT
Three Of A Kind
 
Posts: 45
Joined: 2005 Dec 06 Tue 5:18:03 pm

Postby BuckyBall » 2005 Dec 16 Fri 6:11:58 am

4 handed UTG with 72o

f$evcall is -0.04595

Code: Select all
0 // start at 0
- 0.50 // my cost to call
+ (2.00) // the minimum possible pot
* (0.21+0.04/2) // my winning chances
* (1+0) // the house rake
BuckyBall
Straight
 
Posts: 92
Joined: 2005 Nov 12 Sat 6:05:23 am

Postby RT » 2005 Dec 16 Fri 9:49:29 am

BuckyBall wrote:4 handed UTG with 72o

f$evcall is -0.04595

Code: Select all
0 // start at 0
- 0.50 // my cost to call
+ (2.00) // the minimum possible pot
* (0.21+0.04/2) // my winning chances
* (1+0) // the house rake


thanks :D

where'd you come up with prwin=.21? WH? looking here http://www.winholdem.net/hands100k.txt

its only .129 :?
newbie to WH ... take it easy on me
RT
Three Of A Kind
 
Posts: 45
Joined: 2005 Dec 06 Tue 5:18:03 pm

Postby winngy » 2005 Dec 16 Fri 10:38:35 am

4 handed defcon 0 ?
User avatar
winngy
Royal Flush
 
Posts: 2675
Joined: 2005 Oct 09 Sun 6:27:49 pm
Location: The state of conditional discharge

Postby dave4089 » 2005 Dec 16 Fri 1:36:35 pm

I think the real issue here involves a misunderstanding of operator precedence.

Dave
dave4089
Flush
 
Posts: 199
Joined: 2005 Aug 27 Sat 4:18:04 pm

Postby RT » 2005 Dec 16 Fri 7:04:34 pm

ok... so the closer to defcon 0 , the higher the prwin?
newbie to WH ... take it easy on me
RT
Three Of A Kind
 
Posts: 45
Joined: 2005 Dec 06 Tue 5:18:03 pm

Postby support » 2005 Dec 16 Fri 9:26:19 pm

dave4089 wrote:I think the real issue here involves a misunderstanding of operator precedence.

Dave


yes indeed.

8)
The live game is owned by humans.
The online game is owned by humans with computers.
User avatar
support
Site Admin
 
Posts: 11652
Joined: 2004 Sep 23 Thu 5:07:14 pm
Location: US

Next

Return to Formula Sets

Who is online

Users browsing this forum: Alexa [Bot] and 0 guests