Welcome, Guest. Please login or register.
December 01, 2021, 10:07:36 AM
Home Help Login Register
News:

Shanky Technologies Poker Bot Support Forum  |  General Category  |  PPL Support (Moderator: sngbot)  |  Topic: HaveUnderStraight 0 Members and 1 Guest are viewing this topic.
Pages: [1] Print
Author Topic: HaveUnderStraight  (Read 635 times)
tapthatace
Botter
***

Karma: 7
Posts: 202


« on: July 06, 2021, 06:56:19 PM »

According to PPL Guide HaveUnderStraight - True if the bot has a straight such that all hand cards used to make the straight are lower in value
than any board cards used to make the straight. Restrictions: Post-flop only.

Is there a reserved word for bottom straight?

Hand: Qd 4h Td 6h
Board: 5s 9c Jd 7s 3h

In the above case HaveUnderStraight <> True

But I would like a reserved word to let me know that I have a straight but not the top straight would Have3rdNutStraight work?
NutStraight = T 8
2ndNut = 86
3rdNut = 64
Logged
Egor
Forum Admin
Extreme Botter
*****

Karma: 371
Posts: 34342



WWW
« Reply #1 on: July 07, 2021, 02:48:34 AM »

no -- let me think about this, we do have some variables to state when more than one straight is possible, and then you can simply not the top 3 nut straights
Logged

Please do not PM me about license issues or help stuff - email me or use the Help board. Thanks! -Egor
tapthatace
Botter
***

Karma: 7
Posts: 202


« Reply #2 on: July 07, 2021, 05:33:21 PM »

Here is the code that I used but I didn't get the desired result

When MoreThanOneStraightPossibleOnFlop and HaveStraight
  When others user_HaveStraightCodeBlockTrue
  When Not(HaveNutStraight or Have2ndNutStraight) user_LowStraight

Hand: Ah Th Td Qc
Turn: Ts 9h Jd 8h

I thought Have2ndNutStraight would be true therefore it wouldn't set the user_HaveLowStraight to True but that didn't happen.  I must be missing something here.  Any coding advice please share.  THANKS

My thinking would be...
NutStraight hand would need KQ
2ndNutStraight hand would have to be Q8, QJ, or QT (we have QT here so this should be TRUE)
« Last Edit: July 07, 2021, 05:50:48 PM by tapthatace » Logged
Egor
Forum Admin
Extreme Botter
*****

Karma: 371
Posts: 34342



WWW
« Reply #3 on: July 08, 2021, 04:41:14 AM »

I agree that have2ndnutstraight appears to be true so, as always, I need to see a hand example from the log.
Logged

Please do not PM me about license issues or help stuff - email me or use the Help board. Thanks! -Egor
tapthatace
Botter
***

Karma: 7
Posts: 202


« Reply #4 on: July 08, 2021, 07:22:46 AM »

log file sent!! thanks
Logged
Pages: [1] Print 
Shanky Technologies Poker Bot Support Forum  |  General Category  |  PPL Support (Moderator: sngbot)  |  Topic: HaveUnderStraight
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!