Welcome, Guest. Please login or register.
September 24, 2021, 12:39:36 PM
Home Help Login Register
News:

Shanky Technologies Poker Bot Support Forum  |  General Category  |  PPL Support (Moderator: sngbot)  |  Topic: Maximum size of user defined variables? 0 Members and 1 Guest are viewing this topic.
Pages: [1] Print
Author Topic: Maximum size of user defined variables?  (Read 423 times)
Sleeper
Botter
***

Karma: 14
Posts: 132


« on: July 22, 2021, 03:25:37 PM »

What is the maximum significant length of a user defined variable?

For Example.

WHEN BotsActionsOnThisRound = 0 AND In SmallBlind AND RAISES = 1 AND CALLS = 1

//--- SB Squeeze:- UTG Raised HJ Called ---//

  When FirstRaiserPosition = 5 AND FirstCallerPosition = 4
  AND((Hand = QQ or Hand = KK or Hand = AA or Hand = AK Suited or Hand = AQ Suited
  or Hand = AJ Suited or Hand = A5 Suited or Hand = A2 Suited)
  OR (Hand = AK AND RANDOM <= 84)
  OR (Hand = JJ AND RANDOM <= 92)
  OR (Hand = TT AND RANDOM <= 28)
  OR (Hand = KQ SUITED AND RANDOM <= 78)
  OR (Hand = 99 SUITED AND RANDOM <= 34)
  OR (Hand = AT SUITED AND RANDOM <= 77)) USER_HandRange_SB_Squeezed_UTG_HJ
 
//--- SB Squeeze:- UTG Raised CO Called ---//
 
  When FirstRaiserPosition = 5 AND FirstCallerPosition = 3
  AND((Hand = JJ or Hand = QQ or Hand = KK or Hand = AA or Hand = AK Suited
  or Hand = AQ Suited or Hand = AJ Suited or Hand = A5 Suited or Hand = A2 Suited)
  OR (Hand = AK AND RANDOM <= 94)
  OR (Hand = TT AND RANDOM <= 68)
  OR (Hand = 99 AND RANDOM <= 44)
  OR (Hand = AQ SUITED AND RANDOM <= 91)
  OR (Hand = AT SUITED AND RANDOM <= 89)) USER_HandRange_SB_Squeezed_UTG_CO

Do the user defined variables exceed the significant length?

Could we have as an exagerated example:

USER_Hero_In_The_SmallBlind_Has_Sqeezed_After_UTG_Opened_And_CO_Called


Also, How does the 'BigBlindSize' work?

BigBlindSize - the size of the big blind expressed by betting units starting from 1, meant for tournaments.

Is a betting unit 1 BigBlind?


Also, something some of you may find useful.
The hand ranges above were generated by the 'Poker Snowie' PreFlop adviser program.
This is a free program you can use which can be found under 'Extras' on the Poker Snowie home page.

It can theoretically generate unexploitable hand ranges for:

Open Position
Facing a raise
Facing a 3Bet after my raise
Facing a 4Bet after my 3Bet
Squeeze from the Blinds
Logged
Egor
Forum Admin
Extreme Botter
*****

Karma: 371
Posts: 34306



WWW
« Reply #1 on: July 22, 2021, 05:55:14 PM »

There is no maximum length for anything in PPL, if it can be read by the bot to make sense it works. That said, long messy code is hard to read and edit.

Bigblindsize = is the number read by the bot which should match the number shown on the table, whether .10 or 40,000

A betting unit is 1 BB, yes -- stack size, bet size, amounttocall, and pot size are expressed in number of big blinds if using a raw number instead of a %

The code example provided is bad, though:

  When FirstRaiserPosition = 5 AND FirstCallerPosition = 4
  AND((Hand = QQ or Hand = KK or Hand = AA or Hand = AK Suited or Hand = AQ Suited
  or Hand = AJ Suited or Hand = A5 Suited or Hand = A2 Suited)
  OR (Hand = AK AND RANDOM <= 84)


All that has to be true here for the condition to be true is the last segment after the bolded OR
Logged

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

Karma: 14
Posts: 132


« Reply #2 on: July 22, 2021, 09:47:41 PM »

Don't the double brackets make it work?

When FirstRaiserPosition = 5 AND FirstCallerPosition = 4
  AND((Hand = QQ or Hand = KK) OR (Hand = AK AND RANDOM <= 84))
Logged
Egor
Forum Admin
Extreme Botter
*****

Karma: 371
Posts: 34306



WWW
« Reply #3 on: July 22, 2021, 11:59:31 PM »

Well, probably -- I still don't like it.
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: Maximum size of user defined variables?
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!