Welcome, Guest. Please login or register.
October 01, 2023, 08:17:03 PM
Home Help Login Register
News:
Shanky Technologies: The poker bot that works!

Shanky Technologies Poker Bot Support Forum  |  General Category  |  PPL Support (Moderator: sngbot)  |  Topic: Coding OESD 0 Members and 1 Guest are viewing this topic.
Pages: [1] Print
Author Topic: Coding OESD  (Read 3555 times)
3eMa51
Aspiring Botter
**

Karma: 0
Posts: 50


Shanky Bonus Bots Rock!


« on: September 14, 2011, 09:21:37 AM »

Hi all!
How it works correctly?

flop
when HaveStraightDraw and not (Only1OneCardStraightPossible and FlushPossible and Havestraight or PairOnBoard) User_OESD
...
Logged
Aenima773
Sellers
Experienced Botter
*****

Karma: 45
Posts: 458


« Reply #1 on: September 14, 2011, 01:01:47 PM »

when HaveStraightDraw and not (OneCardStraightPossible or FlushPossible or Havestraight or PairOnBoard) User_OESD

If I read what you are trying to do correctly, I think it should look more like this.
Logged
3eMa51
Aspiring Botter
**

Karma: 0
Posts: 50


Shanky Bonus Bots Rock!


« Reply #2 on: September 14, 2011, 01:20:09 PM »

I think this variable will be true if OESD only 8 outs
Logged
Aenima773
Sellers
Experienced Botter
*****

Karma: 45
Posts: 458


« Reply #3 on: September 14, 2011, 04:18:24 PM »

The way that I wrote it means you have a straightdraw (8 outs in holdem), there is not a 1 card straight possible, not a flush possible, and no pair on the board. You also are not holding a straight. If you intend to get advanced with it you need to include flush draw outs as well.


when HaveStraightDraw and not (OneCardStraightPossible or FlushPossible or Havestraight or PairOnBoard or (SuitsOnboard = 2 and HaveFlushDraw)) User_OESD

That means you don't have a flushdraw as well. You can code it easier with just using the flushdraw variable alone but judging by your first post, I thought you might like to see appropriate use of the "and" "or" functions of code.
Logged
Egor
Forum Admin
Extreme Botter
*****

Karma: 378
Posts: 35088



WWW
« Reply #4 on: September 14, 2011, 05:08:36 PM »

HaveStraightDraw is an open-ended straight draw.

HaveInsideStraightDraw is the other kind.

You should read the variable descriptions in the appendix.
Logged

Please do not PM me about license issues or help stuff - email me or use the Help board. Thanks! -Egor
Pages: [1] Print 
Shanky Technologies Poker Bot Support Forum  |  General Category  |  PPL Support (Moderator: sngbot)  |  Topic: Coding OESD
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!