Welcome, Guest. Please login or register.
June 03, 2023, 10:28:17 PM
Home Help Login Register
News:

Shanky Technologies Poker Bot Support Forum  |  General Category  |  PPL Support (Moderator: sngbot)  |  Topic: error on reading the txt 0 Members and 1 Guest are viewing this topic.
Pages: [1] Print
Author Topic: error on reading the txt  (Read 469 times)
Mark Bottemberg
Wide-Eyed Newbie
*

Karma: 0
Posts: 12


« on: March 02, 2023, 12:48:14 PM »

Hello Everyone!
As I try to read a custom profile, Holdembot gets this error and log:

READING CUSTOMIZATIONS
line 16: Unrecognized character: Â

line 16: Unrecognized character:  

line 18: Unrecognized character: Â

line 18: Unrecognized character:  

line 18: Unrecognized character: Â

line 18: Unrecognized character:  

line 19: Unrecognized character: Â

line 19: Unrecognized character:  

line 19: Unrecognized character: Â

line 19: Unrecognized character:  

line 19: Unrecognized character: Â

line 19: Unrecognized character:  

line 19: Unrecognized character: Â

line 19: Unrecognized character:  

line 24: Unrecognized character: Â

line 24: Unrecognized character:  

line 25: Unrecognized character: Â

line 25: Unrecognized character:  

line 25: Unrecognized character: Â

line 25: Unrecognized character:  

line 29: syntax error, unexpected LPAREN, expecting $end
custom programming rejected due to errors

This are the lines from 10 to 25:


   //UTG//

When StillToAct >= 5 user_UTG

//Open

When user_UTG  and (hand = AA or hand = KK or hand = QQ or hand = JJ or hand = TT or hand = 99 or hand = 88 or hand = 77 or hand = 66 or
   hand = AKsuited or hand = AQsuited or hand = AJsuited or hand = ATsuited or hand = A9suited or hand = A8suited or hand = A7suited or hand = A6suited or
   hand = A5suited or hand = A4suited or hand = A3suited or hand = KQsuited or hand = KJsuited or hand = KTsuited or hand = K9suited or hand = K8suited or   
   hand = QJsuited or hand = QTsuited or hand = Q9suited or hand = J9suited or hand = AK or hand = AQ or hand = AJ or hand = AT or hand = KQ or
   hand = T9suited) raise 2 force

//vs 3BET from MP/CO/BTN

When user_UTG and botsactionsonthisround = 1 and raises = 1 and opponents = 1 and position = first and (hand = AA) raise 21 force

Can anyone see the error explained in my program?

Sorry I'm totally noob.

Thank you guys,
Logged
maxxous16
Aspiring Botter
**

Karma: 3
Posts: 52


« Reply #1 on: March 02, 2023, 03:48:53 PM »

Hi Mark !

Code:
line 29: syntax error, unexpected LPAREN, expecting $end
custom programming rejected due to errors

This error is due to a missing bracket
example: When user_UTG  and (hand = AA or hand = KK missing bracket raise 2 force

For the rest it looks like an encoding problem, did you copy paste the code?



Logged
Mark Bottemberg
Wide-Eyed Newbie
*

Karma: 0
Posts: 12


« Reply #2 on: March 03, 2023, 08:30:09 AM »

I write by myself the code looking from PPL Guide and some suggestions on the forum, then I copy it from the TXT file and paste it here as in the post, nothing more.
I don't understand where is the unknown character Sad
Logged
Egor
Forum Admin
Extreme Botter
*****

Karma: 377
Posts: 34965



WWW
« Reply #3 on: March 03, 2023, 08:35:03 AM »

You said you were posting lines 10 through 25 but you actually only posted 6 lines.

Please download Notepad 2 (google it, it's free) and use that to open your profile and see which line is which. I am not spotting any errors in what you posted.

Then post line 16 here (the one that Notepad2 shows you is line 16)

Also make sure your profile starts with a single line with the word:

custom
Logged

Please do not PM me about license issues or help stuff - email me or use the Help board. Thanks! -Egor
Mark Bottemberg
Wide-Eyed Newbie
*

Karma: 0
Posts: 12


« Reply #4 on: March 03, 2023, 12:26:22 PM »

https://imgur.com/VJLirJ1
this the screenshot from my notepad++
line from 10 to 25 as I said Sad
Logged
maxxous16
Aspiring Botter
**

Karma: 3
Posts: 52


« Reply #5 on: March 03, 2023, 12:48:54 PM »

line 20 remove the comma from "2,2" only 2


Show what's before custom line 1-6  wink
And try by erasing its lines (1-6) as egor says that your file starts the 1st line at "custom"

Logged
Mark Bottemberg
Wide-Eyed Newbie
*

Karma: 0
Posts: 12


« Reply #6 on: March 03, 2023, 01:00:36 PM »

As you can see in the head of the post, I've already correct that.
The screenshot is from a previous version, totally similar to the modified one except for the value 2,2-->2

Anyway, It doesn't change the fact that the bot is in error from line 16, this part:

When user_UTG  and (hand = AA or hand = KK or hand = QQ or hand = JJ or hand = TT or hand = 99 or hand = 88 or hand = 77 or hand = 66 or
   hand = AKsuited or hand = AQsuited or hand = AJsuited or hand = ATsuited or hand = A9suited or hand = A8suited or hand = A7suited or hand = A6suited or
   hand = A5suited or hand = A4suited or hand = A3suited or hand = KQsuited or hand = KJsuited or hand = KTsuited or hand = K9suited or hand = K8suited or   
   hand = QJsuited or hand = QTsuited or hand = Q9suited or hand = J9suited or hand = AK or hand = AQ or hand = AJ or hand = AT or hand = KQ or
   hand = T9suited) raise 2 force

//vs 3BET from MP/CO/BTN

When user_UTG and botsactionsonthisround = 1 and raises = 1 and opponents = 1 and position = first and (hand = AA) raise 21 force


Sad
Logged
Mark Bottemberg
Wide-Eyed Newbie
*

Karma: 0
Posts: 12


« Reply #7 on: March 03, 2023, 01:02:22 PM »

This is all from 0 to 25:

//   Hackerot (Start 2023.02.23)

//   Preflop:



custom
preflop

   //UTG//

When StillToAct >= 5 user_UTG

//Open

When user_UTG  and (hand = AA or hand = KK or hand = QQ or hand = JJ or hand = TT or hand = 99 or hand = 88 or hand = 77 or hand = 66 or
   hand = AKsuited or hand = AQsuited or hand = AJsuited or hand = ATsuited or hand = A9suited or hand = A8suited or hand = A7suited or hand = A6suited or
   hand = A5suited or hand = A4suited or hand = A3suited or hand = KQsuited or hand = KJsuited or hand = KTsuited or hand = K9suited or hand = K8suited or   
   hand = QJsuited or hand = QTsuited or hand = Q9suited or hand = J9suited or hand = AK or hand = AQ or hand = AJ or hand = AT or hand = KQ or
   hand = T9suited) raise 2,2 force

//vs 3BET from MP/CO/BTN

When user_UTG and botsactionsonthisround = 1 and raises = 1 and opponents = 1 and position = first and (hand = AA or hand = KK or hand = QQ or
   hand = KQsuited or hand = AKsuited or hand = AQsuited or hand = AJsuited or hand = AK) raise 21 force
Logged
maxxous16
Aspiring Botter
**

Karma: 3
Posts: 52


« Reply #8 on: March 03, 2023, 01:08:06 PM »

Erase everything before custom...
1st line is "custom"
Logged
Mark Bottemberg
Wide-Eyed Newbie
*

Karma: 0
Posts: 12


« Reply #9 on: March 03, 2023, 01:26:17 PM »

Done and same errors:

reading profile from file = C:\poker\data\Heckerot.txt

READING CUSTOMIZATIONS
line 11: Unrecognized character: Â

line 11: Unrecognized character:  

line 13: Unrecognized character: Â

line 13: Unrecognized character:  

line 13: Unrecognized character: Â

line 13: Unrecognized character:  

line 14: Unrecognized character: Â

line 14: Unrecognized character:  

line 14: Unrecognized character: Â

line 14: Unrecognized character:  

line 14: Unrecognized character: Â

line 14: Unrecognized character:  

line 14: Unrecognized character: Â

line 14: Unrecognized character:  

line 19: Unrecognized character: Â

line 19: Unrecognized character:  

line 20: Unrecognized character: Â

line 20: Unrecognized character:  

line 20: Unrecognized character: Â

line 20: Unrecognized character:  

line 24: syntax error, unexpected LPAREN, expecting $end
custom programming rejected due to errors

 This are lines from 1-24 (line 1 now is custom alone)

custom

preflop

   //UTG//

When StillToAct >= 5 user_UTG

//Open

When user_UTG  and (hand = AA or hand = KK or hand = QQ or hand = JJ or hand = TT or hand = 99 or hand = 88 or hand = 77 or hand = 66 or
   hand = AKsuited or hand = AQsuited or hand = AJsuited or hand = ATsuited or hand = A9suited or hand = A8suited or hand = A7suited or hand = A6suited or
   hand = A5suited or hand = A4suited or hand = A3suited or hand = KQsuited or hand = KJsuited or hand = KTsuited or hand = K9suited or hand = K8suited or   
   hand = QJsuited or hand = QTsuited or hand = Q9suited or hand = J9suited or hand = AK or hand = AQ or hand = AJ or hand = AT or hand = KQ or
   hand = T9suited) raise 2 force

//vs 3BET from MP/CO/BTN

When user_UTG and botsactionsonthisround = 1 and raises = 1 and opponents = 1 and position = first and (hand = AA or hand = KK or hand = QQ or
   hand = KQsuited or hand = AKsuited or hand = AQsuited or hand = AJsuited or hand = AK) raise 21 force
   
//vs SQUEEZE CO/BTN

When user_UTG  and botsactionsonthisround = 1 and raises = 1 and calls = 1 and opponents >= 2 and position = first (hand = AA or hand = KK or hand = QQ or hand = AKsuited) raise 25 force
Logged
maxxous16
Aspiring Botter
**

Karma: 3
Posts: 52


« Reply #10 on: March 03, 2023, 01:37:36 PM »

Create a new text file with notepad (not notepad++)
Copy paste your profile into this new file and try (custom first line)

Logged
Mark Bottemberg
Wide-Eyed Newbie
*

Karma: 0
Posts: 12


« Reply #11 on: March 03, 2023, 03:32:59 PM »

resolved:
I've taken every line from 11 to 20 and copy/paste on a new txt file.
If I copy and paste the lines one by one, everything is fine. If I copy all the lines from 11 to 20 all together,  it gives me the same errors again.

No idea, but now it's fine.

Thank you guys!
Logged
Egor
Forum Admin
Extreme Botter
*****

Karma: 377
Posts: 34965



WWW
« Reply #12 on: March 03, 2023, 06:03:28 PM »

Could have been a non-English keyboard character slipping in there (even a space)
Logged

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

Karma: 33
Posts: 707

Shanky Bonus Bots Rock!


WWW
« Reply #13 on: March 04, 2023, 02:03:05 AM »

I did not understand the “raise 2,2 force”
Logged
Pages: [1] Print 
Shanky Technologies Poker Bot Support Forum  |  General Category  |  PPL Support (Moderator: sngbot)  |  Topic: error on reading the txt
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!