Stopped hand doesn't add line separator in hand history file

Report bugs found in Poker Mavens

Stopped hand doesn't add line separator in hand history file

Postby imop44 » Mon Jul 01, 2019 9:44 am

When a hand is stopped midway through action (ex: clicking "Take Offline (now)") then the hand history is not saved with the usual line-breaks at the end. This causes it to be merged with the next hand history in the file:

Code: Select all
Hand #67-1 - 2019-07-01 10:32:08
Game: Limit Hold'em (a1 - 2000b) - Stakes 20/40 Ante 1
Site: TestSite
Table: Ring Game #02
Seat 3: Bob (1200)
Seat 4: Admin (1200)
Bob has the dealer button
Bob posts ante 1
Admin posts ante 1
Steven posts small blind 10
Admin posts big blind 20
** Hole Cards ** [2 players]
Hand #68-1 - 2019-07-01 10:32:39
Game: Limit Hold'em (a1 - 2000b) - Stakes 20/40 Ante 1
Site: TestSite
Table: Ring Game #02
Seat 1: Admin (1200)
Seat 2: Bob (1200)


If the hands completed normally, there'd be two lines in-between hand #67 and #68. This is pretty minor but it can mess up scripts for parsing hand histories if unaware of it.
imop44
 
Posts: 3
Joined: Sat Jun 01, 2019 9:55 am

Re: Stopped hand doesn't add line separator in hand history

Postby Kent Briggs » Mon Jul 01, 2019 10:16 am

imop44 wrote:This is pretty minor but it can mess up scripts for parsing hand histories if unaware of it.


Your script should always be looking for key words (line begins with "Hand #") to mark the beginning of a new hand rather than blank lines. That said, adding the blank line before a new hand starts rather than at the end may be something I'll consider changing.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 4041
Joined: Wed Mar 19, 2008 8:47 pm

Re: Stopped hand doesn't add line separator in hand history

Postby Kent Briggs » Wed Jul 10, 2019 3:15 pm

This is now fixed in 6.11
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 4041
Joined: Wed Mar 19, 2008 8:47 pm


Return to Bugs

Who is online

Users browsing this forum: No registered users and 6 guests

cron