Using a different profile on postflop

Coding-related discussion: OpenPPL (Poker Programming Language) and internal OpenHoldem-script
Post Reply
CoffeeShark
Fish
Fish
Posts: 9
Joined: Tue May 30, 2023 11:15 am

Using a different profile on postflop

Post by CoffeeShark »

Hello,

I'm programming a profile and at the moment I have the preflop section. How can I indicate in the code that from the postflop I want it to use another already finished profile?

The goal is to check that the preflop section works correctly before continuing with the postflop.

Thanks!
Alex
Site Admin
Site Admin
Posts: 3112
Joined: Sun Mar 26, 2017 5:58 pm

Re: Using a different profile on postflop

Post by Alex »

CoffeeShark wrote: Thu Jun 08, 2023 1:26 pm Hello,

I'm programming a profile and at the moment I have the preflop section. How can I indicate in the code that from the postflop I want it to use another already finished profile?

The goal is to check that the preflop section works correctly before continuing with the postflop.

Thanks!
just copy-paste postflop into your new profile (or vice versa).
You can also leave postflop empty, in this case built-in Gecko profile should take action
CoffeeShark
Fish
Fish
Posts: 9
Joined: Tue May 30, 2023 11:15 am

Re: Using a different profile on postflop

Post by CoffeeShark »

OK!

I thought there would be some more sophisticated way.

In case of leaving the postflop section empty, it is necessary to have the Gecko profile in the same folder?
Alex
Site Admin
Site Admin
Posts: 3112
Joined: Sun Mar 26, 2017 5:58 pm

Re: Using a different profile on postflop

Post by Alex »

CoffeeShark wrote: Thu Jun 08, 2023 8:52 pm OK!

I thought there would be some more sophisticated way.
you can't switch loaded profiles in the middle of hand, so the only way is to combine them the way i described
CoffeeShark wrote: Thu Jun 08, 2023 8:52 pm In case of leaving the postflop section empty, it is necessary to have the Gecko profile in the same folder?
no, nothing needed. This Gecko profile is already "built-in" and auto-loaded. It's always working in background and handles situations, which are not covered by loaded profile
CoffeeShark
Fish
Fish
Posts: 9
Joined: Tue May 30, 2023 11:15 am

Re: Using a different profile on postflop

Post by CoffeeShark »

Okay, I get it!

Thanks.
Post Reply