Shanky Technologies Poker Bot Support Forum

General Category => PPL Support => Topic started by: Mark Bottemberg on February 21, 2023, 11:19:51 PM



Title: Help on second orbit position :(
Post by: Mark Bottemberg on February 21, 2023, 11:19:51 PM
Hi Everybody!
I've read all the PPL Manual and I still can't understand how to code a pretty standard situation for NL Cash Game:
   - Hero(BOT) Open from UTG, MP 3bet, everybody folds, we can Fold/Call/4bet.
   - Hero(BOT) Open from UTG, MP/CO/BTN folds, SB 3bet, BB folds, we can Fold/Call/4bet.
How Can I code correctly this kind of situation? Giving the Numeric Valued Variable Position which is in my examples First/Middle/Last?

This is pretty necessary for identifying when BOT is OOP or IP facing 3bet.

Thank you guys, I'm pretty new in PPL coding


Title: Re: Help on second orbit position :(
Post by: Egor on February 22, 2023, 12:49:01 AM
Starting table position in best defined using stilltoact =

Not sure if your starting table position is important to your second orbit decision -- if it is, you need to set a user-variable true on the first orbit so you can use it later, because after the first orbit all values of stilltoact = revert to 0.

6-max example (assuming a raise comes after we act and everyone else folds)

when stilltoact = 5 user_utg

Hero(BOT) Open from UTG, MP 3bet, everybody folds, we can Fold/Call/4bet.

when botsactionsonthisround = 1 and user_utg and raises = 1 and opponents = 1  and position = first

Hero(BOT) Open from UTG, MP/CO/BTN folds, SB 3bet, BB folds, we can Fold/Call/4bet.

when botsactionsonthisround = 1 and user_utg and raises = 1 and opponents = 1  and position = last


...you should note that we do not know the exact table position of the raise after us, but we do know our table position relative to them. So in the first case it could have been the button that 3-bet and in the second case it could have been either blind. This is the best we can do, and I honestly do not think we need to know their exact table position.




Title: Re: Help on second orbit position :(
Post by: Mark Bottemberg on February 22, 2023, 04:15:38 PM
I confirm I've used the user-variable true for preflop position in first orbit.
Thank you for the answer Egor.
I need to understand however how first, last and middle are working with the position Numeric Valued Variable.

When my position is first, middle or last compared to opponent position? I can't understand this statements from the guide.

Thank you very much


Title: Re: Help on second orbit position :(
Post by: Egor on February 22, 2023, 06:18:17 PM
As you know the dealer button is still on the table and on post-flop betting rounds the actions always begins with who is farthest from the dealer button and ends with who is closest, in a clockwise rotation.

If there are two of you post flop, whoever acts first is position = first and whoever acts second (last) is position = last

Position = middle is only valid if there are 3 or more of you left, and applies when you are neither first nor last to act.


Title: Re: Help on second orbit position :(
Post by: Mark Bottemberg on February 23, 2023, 08:05:01 AM
Ok now I get it! You are awesome Egor, thank you so much!


Title: Re: Help on second orbit position :(
Post by: Egor on February 23, 2023, 08:15:51 AM
You mean I did something right? Oh, thank you God. Nice to help a light bulb light up once in a while!

 beer.gif