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

Report bugs found in Poker Mavens
Post Reply
imop44
Posts: 3
Joined: Sat Jun 01, 2019 9:55 am

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

Post by imop44 »

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.
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

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

Post by Kent Briggs »

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
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

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

Post by Kent Briggs »

This is now fixed in 6.11
Post Reply