pj4533 / pn2ps

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

showed hands are marked as "didn't show" #17

Open albertborsos opened 4 years ago

albertborsos commented 4 years ago

Check player Stev0.

The following line:

"""Stev0 @ 8uJE4QEpXE"" shows a 8♣, 10♠.",2020-06-12T22:10:52.981Z,159199985299408

became:

Seat 4: Stev0 (big blind) didn't show and lost [8c Ts]

Source:

"-- ending hand #121 --",2020-06-12T22:10:52.981Z,159199985299409
"""Stev0 @ 8uJE4QEpXE"" shows a 8♣, 10♠.",2020-06-12T22:10:52.981Z,159199985299408
"""bobo @ Vf1v-slbuU"" wins 7400 with Pair, K's (hand: Q♠, K♦)",2020-06-12T22:10:52.981Z,159199985299404
"""bobo @ Vf1v-slbuU"" calls with 1850",2020-06-12T22:10:52.034Z,159199985203462
"""Stev0 @ 8uJE4QEpXE"" raises with 1850",2020-06-12T22:10:39.574Z,159199983958264
"river: 10♣, K♥, 9♠, 6♠ [3♠]",2020-06-12T22:10:33.111Z,159199983311320
"""bobo @ Vf1v-slbuU"" calls with 925",2020-06-12T22:10:32.177Z,159199983217722
"""Áron @ 633VQHNmGS"" folds",2020-06-12T22:10:28.680Z,159199982868093
"""Stev0 @ 8uJE4QEpXE"" raises with 925",2020-06-12T22:10:12.708Z,159199981271442
"turn: 10♣, K♥, 9♠ [6♠]",2020-06-12T22:10:04.276Z,159199980427587
"""bandila @ zkc20A0j4M"" folds",2020-06-12T22:10:02.833Z,159199980283709
"""bobo @ Vf1v-slbuU"" calls with 370",2020-06-12T22:09:58.837Z,159199979883710
"""Áron @ 633VQHNmGS"" calls with 370",2020-06-12T22:09:54.743Z,159199979474430
"""Stev0 @ 8uJE4QEpXE"" raises with 370",2020-06-12T22:09:52.950Z,159199979295169
"flop:  [10♣, K♥, 9♠]",2020-06-12T22:09:47.406Z,159199978740586
"""Tasiback @ k_2aqQN_Yo"" folds",2020-06-12T22:09:45.968Z,159199978596923
"""bandila @ zkc20A0j4M"" calls with 180",2020-06-12T22:09:44.899Z,159199978489882
"""bobo @ Vf1v-slbuU"" calls with 180",2020-06-12T22:09:43.075Z,159199978307527
"""Áron @ 633VQHNmGS"" calls with 180",2020-06-12T22:09:41.152Z,159199978115305
"""Stev0 @ 8uJE4QEpXE"" raises with 180",2020-06-12T22:09:39.315Z,159199977931753
"""Tasiback @ k_2aqQN_Yo"" calls with 20",2020-06-12T22:09:34.944Z,159199977494672
"""bandila @ zkc20A0j4M"" calls with 20",2020-06-12T22:09:33.865Z,159199977386497
"""bobo @ Vf1v-slbuU"" calls with 20",2020-06-12T22:09:31.432Z,159199977143625
"""Dani @ sEYjNTLzye"" folds",2020-06-12T22:09:29.839Z,159199976983979
"""Áron @ 633VQHNmGS"" calls with 20",2020-06-12T22:09:21.596Z,159199976159698
"""Stev0 @ 8uJE4QEpXE"" posts a big blind of 20",2020-06-12T22:09:17.769Z,159199975777002
"""Tasiback @ k_2aqQN_Yo"" posts a small blind of 10",2020-06-12T22:09:17.769Z,159199975777000
"Your hand is Q♠, K♦",2020-06-12T22:09:17.769Z,159199975776988
"-- starting hand #121  (Texas Hold'em) (dealer: ""bandila @ zkc20A0j4M"") --",2020-06-12T22:09:17.769Z,159199975776984

Result:

PokerStars Hand #76354362681865595: Hold'em No Limit ($10.00/$20.00 USD) - 2020/06/13 00:09:17 ET
Table 'DGen' 9-max Seat #2 is the button
Seat 1: bobo ($6735.00 in chips)
Seat 2: bandila ($7970.00 in chips)
Seat 3: Tasiback ($3130.00 in chips)
Seat 4: Stev0 ($13466.00 in chips)
Seat 5: Áron ($14145.00 in chips)
Seat 6: Dani ($6964.00 in chips)
Tasiback: posts small blind $10.00
Stev0: posts big blind $20.00
*** HOLE CARDS ***
Dealt to bobo [Qs Kd]
Áron: calls $20.00
Dani: folds
bobo: calls $20.00
bandila: calls $20.00
Tasiback: calls $10.00
Stev0: raises $160.00 to $180.00
Áron: calls $160.00
bobo: calls $160.00
bandila: calls $160.00
Tasiback: folds
*** FLOP *** [Tc Kh 9s]
Stev0: bets $370.00
Áron: calls $370.00
bobo: calls $370.00
bandila: folds
*** TURN *** [Tc Kh 9s] [6s]
Stev0: bets $925.00
Áron: folds
bobo: calls $925.00
*** RIVER *** [Tc Kh 9s 6s] [3s]
Stev0: bets $1850.00
bobo: calls $1850.00
*** SHOW DOWN ***
bobo: shows [Qs Kd] (Pair, K's)
bobo collected $7400.00 from pot
*** SUMMARY ***
Total pot: $7400.00 | Rake 0
Board: [Tc Kh 9s 6s 3s]
Seat 1: bobo showed [Qs Kd] and won ($7400.00) with Pair, K's
Seat 2: bandila (button) folded on the Flop
Seat 3: Tasiback (small blind) folded before Flop
Seat 4: Stev0 (big blind) didn't show and lost [8c Ts]
Seat 5: Áron folded on the Turn [Td Ah]
Seat 6: Dani folded before Flop (didn't bet)
albertborsos commented 4 years ago

I replaced in the generated file the didn't showed and lost [ to showed [. And now it shows the cards of the opponents in the stats.

FYI: I started to use pokeit.co, maybe it already showed in PT or HM3.

pj4533 commented 4 years ago

Yeah it does already show in PT. I'll try to figure out why it is saying didn't show.....prob some weird parsing error on my part.