pj4533 / pn2ps

Convert PokerNow.club logs into PokerStars hand history format
MIT License
6 stars 5 forks source link

when player posts missing small blind breaks import in Holdem Manager 3 #9

Closed albertborsos closed 4 years ago

albertborsos commented 4 years ago

Players posts missing small blind after they makes a rebuy.

This line is missing from the result:

"""Tasi @ gKf3XcCGy2"" posts a missing small blind of 10",2020-05-29T18:38:04.224Z,159077748423051

This is why Holdem Manager 3 skips this hand from the import with the following message:

"Invalid pot size/winnings for hand #159077748423029 (calculated pot: $17.80, reported winnings: $17.90)"

source:

"-- ending hand #11 --",2020-05-29T18:39:19.886Z,159077755989203
"""Andris @ i0BBK8VTZw"" wins 1790 with Pair, 9's (hand: 9♠, 9♦)",2020-05-29T18:39:19.886Z,159077755989198
"river: 5♠, 7♥, 4♦, J♠ [8♣]",2020-05-29T18:39:16.865Z,159077755687143
"""Andris @ i0BBK8VTZw"" shows a 9♠, 9♦.",2020-05-29T18:39:13.841Z,159077755384556
"""bobo @ O7q--fndwt"" shows a A♦, K♣.",2020-05-29T18:39:13.841Z,159077755384555
"turn: 5♠, 7♥, 4♦ [J♠]",2020-05-29T18:39:13.841Z,159077755384551
"""bobo @ O7q--fndwt"" calls with 700",2020-05-29T18:39:12.933Z,159077755294121
"""Tasi @ gKf3XcCGy2"" folds",2020-05-29T18:39:02.590Z,159077754259540
"""Andris @ i0BBK8VTZw"" raises and all in with 700",2020-05-29T18:38:56.224Z,159077753623108
"""bobo @ O7q--fndwt"" raises with 390",2020-05-29T18:38:51.827Z,159077753183232
"flop:  [5♠, 7♥, 4♦]",2020-05-29T18:38:45.983Z,159077752598872
"""kervallin @ 28d4kax8ps"" folds",2020-05-29T18:38:44.571Z,159077752457752
"""bobo @ O7q--fndwt"" calls with 120",2020-05-29T18:38:43.517Z,159077752352346
"""Áron @ KqPrDJjSfQ"" folds",2020-05-29T18:38:38.962Z,159077751896776
"""Tasi @ gKf3XcCGy2"" calls with 120",2020-05-29T18:38:37.918Z,159077751792610
"""Stev0 @ -rMjATuApd"" folds",2020-05-29T18:38:35.336Z,159077751534096
"""Dani @ BfrfwBqXYA"" folds",2020-05-29T18:38:23.987Z,159077750399263
"""Andris @ i0BBK8VTZw"" raises with 120",2020-05-29T18:38:20.809Z,159077750081428
"""Tasi @ gKf3XcCGy2"" posts a missing small blind of 10",2020-05-29T18:38:04.224Z,159077748423051
"""kervallin @ 28d4kax8ps"" posts a big blind of 20",2020-05-29T18:38:04.224Z,159077748423050
"""bobo @ O7q--fndwt"" posts a small blind of 10",2020-05-29T18:38:04.224Z,159077748423049
"Your hand is A♦, K♣",2020-05-29T18:38:04.224Z,159077748423031
"-- starting hand #11 (dealer: ""Áron @ KqPrDJjSfQ"") --",2020-05-29T18:38:04.224Z,159077748423029

result:

PokerStars Hand #159077748423029: Hold'em No Limit ($0.10/$0.20 USD) - 2020/05/29 20:38:04 ET
Table 'DGen' 9-max Seat #7 is the button
Seat 1: bobo
Seat 2: kervallin
Seat 3: Tasi
Seat 4: Andris
Seat 5: Dani
Seat 6: Stev0
Seat 7: Áron
Tasi: posts small blind $0.10
kervallin: posts big blind $0.20
*** HOLE CARDS ***
Dealt to bobo [Ad Kc]
Andris: raises $1.00 to $1.20
Dani: folds
Stev0: folds
Tasi: calls $1.10
Áron: folds
bobo: calls $1.20
kervallin: folds
*** FLOP *** [5s 7h 4d]
bobo: bets $3.90
Andris: raises $3.10 to $7.00
Tasi: folds
bobo: calls $3.10
*** TURN *** [5s 7h 4d] [Js]
*** RIVER *** [5s 7h 4d Js] [8c]
*** SHOW DOWN ***
Andris: shows [9s 9d] (Pair, 9's)
Andris collected $17.90 from pot
*** SUMMARY ***
Total pot: $17.90 | Rake 0
Board: [5s 7h 4d Js 8c]
Seat 1: bobo didn't show and lost
Seat 2: kervallin (big blind) folded before Flop (didn't bet)
Seat 3: Tasi (small blind) folded on the Flop
Seat 4: Andris showed [9s 9d] and won ($17.90) with Pair, 9's
Seat 5: Dani folded before Flop (didn't bet)
Seat 6: Stev0 folded before Flop (didn't bet)
Seat 7: Áron (button) folded before Flop (didn't bet)
pj4533 commented 4 years ago

True true. I wrapped these cases into the issue #2 But leaving this here cause you have good logs to use. Thanks!

albertborsos commented 4 years ago

I think this is the example for a dead small blind. It still cause error on import

pj4533 commented 4 years ago

I think this is fixed in 0.0.3 - I’ll do a release later today. Please respond if it’s still broken after trying the new version.