Converting old Shanky .txt profiles

Coding-related discussion: OpenPPL (Poker Programming Language) and internal OpenHoldem-script
SiDe
First blood
First blood
Posts: 24
Joined: Mon Jun 24, 2019 8:43 am

Re: Converting old Shanky .txt profiles

Post by SiDe »

Is it necessary to convert profiles from .txt format?
Warbot can open .txt-files directly or am I wrong?
Alex
Site Admin
Site Admin
Posts: 3112
Joined: Sun Mar 26, 2017 5:58 pm

Re: Converting old Shanky .txt profiles

Post by Alex »

SiDe wrote: Fri Nov 15, 2019 6:54 pm Is it necessary to convert profiles from .txt format?
Warbot can open .txt-files directly or am I wrong?

Not necessary. Yes it can open .txt PPL files directly.
Conversion is useful if you want to add modern things to your profile, which old Shanky PPL does not support, like functions, handlists, etc
Demet
Low pair
Low pair
Posts: 34
Joined: Thu Jan 17, 2019 2:25 pm

Re: Converting old Shanky .txt profiles

Post by Demet »

I convert one old profile with Shanky and after the final processing, the bot gives the error "Error: Unknown identifier:MaxCurrentOpponentStackSize". The line itself in the code is "WHEN OpponentIsAllin AND MaxCurrentOpponentStackSize ~~ 0 AND AmountToCall <= 2 AND Opponents = 1 Call FORCE". What could be the problem?
Alex
Site Admin
Site Admin
Posts: 3112
Joined: Sun Mar 26, 2017 5:58 pm

Re: Converting old Shanky .txt profiles

Post by Alex »

Demet wrote: Mon Mar 09, 2020 2:32 am I convert one old profile with Shanky and after the final processing, the bot gives the error "Error: Unknown identifier:MaxCurrentOpponentStackSize". The line itself in the code is "WHEN OpponentIsAllin AND MaxCurrentOpponentStackSize ~~ 0 AND AmountToCall <= 2 AND Opponents = 1 Call FORCE". What could be the problem?
try to replace "MaxCurrentOpponentStackSize" by "MaxStacksizeOfActiveOpponents" throughout the profile
Demet
Low pair
Low pair
Posts: 34
Joined: Thu Jan 17, 2019 2:25 pm

Re: Converting old Shanky .txt profiles

Post by Demet »

Alex wrote: Mon Mar 09, 2020 11:41 am
Demet wrote: Mon Mar 09, 2020 2:32 am I convert one old profile with Shanky and after the final processing, the bot gives the error "Error: Unknown identifier:MaxCurrentOpponentStackSize". The line itself in the code is "WHEN OpponentIsAllin AND MaxCurrentOpponentStackSize ~~ 0 AND AmountToCall <= 2 AND Opponents = 1 Call FORCE". What could be the problem?
try to replace "MaxCurrentOpponentStackSize" by "MaxStacksizeOfActiveOpponents" throughout the profile
Thanks. I will try
warkor
Top Kicker
Top Kicker
Posts: 55
Joined: Sun May 17, 2020 8:48 pm

Re: Converting old Shanky .txt profiles

Post by warkor »

I converted some shanky profile but there are lines that are not accepted, lines where BET symbol was used like:

WHEN ((HaveQuads OR HaveStraightFlush))
WHEN (BotsLastAction = BET AND BotsActionsOnThisRound = 1 AND Random < 85) CALL FORCE

What should it be replaced with?
warkor
Top Kicker
Top Kicker
Posts: 55
Joined: Sun May 17, 2020 8:48 pm

Re: Converting old Shanky .txt profiles

Post by warkor »

Ok, got this one, shoul be Bet not BET.
BOTANIK
Newbie
Newbie
Posts: 2
Joined: Tue Aug 03, 2021 8:53 pm

Re: Converting old Shanky .txt profiles

Post by BOTANIK »

at step 5), the command line returns an error

+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : RedirectionNotSupported
DancaDoPombo
Newbie
Newbie
Posts: 1
Joined: Wed Jan 11, 2023 9:42 am

Re: Converting old Shanky .txt profiles

Post by DancaDoPombo »

Hello guys, can you please help me to convert my old .txt custom profile? It has been 2 days I'm trying modify myself all the mispelled functions but seems like I still have many.
I cant find all the files to download in first page, please help.
Thanks.
Alex
Site Admin
Site Admin
Posts: 3112
Joined: Sun Mar 26, 2017 5:58 pm

Re: Converting old Shanky .txt profiles

Post by Alex »

DancaDoPombo wrote: Wed Jan 11, 2023 1:39 pm Hello guys, can you please help me to convert my old .txt custom profile? It has been 2 days I'm trying modify myself all the mispelled functions but seems like I still have many.
I cant find all the files to download in first page, please help.
Thanks.
i've checked all links and files from 1st post, all work to me
Post Reply