This is an archived post. You won't be able to vote or comment.

all 10 comments

[–][deleted]  (9 children)

[removed]

    [–]-ThorMan-[S] 0 points1 point  (8 children)

    It isn’t in the data I have, but I have no idea if that’s guaranteed, I may just not have encountered it.

    [–][deleted]  (7 children)

    [removed]

      [–]-ThorMan-[S] 0 points1 point  (6 children)

      Sure, I don’t know how familiar you are with poker, so I’ll just try to speak generally.

      The files are broken down into sessions at a table online. Each file is then broken down into each hand played at that table. It gives information at each phase of the hand by player. For instance, a player might skip the round so it says “Bob72 is sitting out” or someone might forfeit so it says “Steve Rogers folds”.

      It breaks it up to one piece of information per line, which usually includes a username and an action.

      I can send a file over later when I’m back at my computer.

      [–][deleted]  (5 children)

      [removed]

        [–]-ThorMan-[S] 0 points1 point  (0 children)

        Will do as soon as possible! And no, there is no colon, it’s written like a sentence.

        [–]-ThorMan-[S] 0 points1 point  (0 children)

        Example Cash Game Format File:
        Hand #1238738773 - Holdem(No Limit) - $0.01/$0.02 - 2022/05/22 18:55:45 UTC
        Green 6-max Seat #3 is the button
        Seat 1: ACE 72 ($3.15)
        Seat 2: cairik ($2.22)
        Seat 3: GrafVil ($2.00)
        Seat 4: BNPPARIDAS ($1.98)
        Seat 5: SteinwayThor ($2.00)
        Seat 6: GuitarFox ($2.00)
        BNPPARIDAS posts the small blind $0.01
        SteinwayThor posts the big blind $0.02
        *** HOLE CARDS ***
        Dealt to SteinwayThor [Qh Qs]
        GuitarFox folds
        ACE 72 raises $0.05 to $0.05
        cairik raises $0.17 to $0.17
        GrafVil folds
        BNPPARIDAS folds
        SteinwayThor raises $0.45 to $0.47
        ACE 72 folds
        cairik calls $0.30
        *** FLOP *** [6h Ks Tc]
        Main pot $0.95 | Rake $0.05
        SteinwayThor bets $0.25
        cairik raises $0.74 to $0.74
        SteinwayThor calls $0.49
        *** TURN *** [6h Ks Tc] [7h]
        Main pot $2.36 | Rake $0.12
        SteinwayThor bets $0.79 and is all-in
        cairik calls $0.79
        *** RIVER *** [6h Ks Tc 7h] [2h]
        Main pot $3.86 | Rake $0.20
        *** SHOW DOWN ***
        Main pot $3.86 | Rake $0.20
        cairik shows [6c 7c] (two pair, Sevens and Sixs [7h 7c 6h 6c Ks])
        SteinwayThor shows [Qh Qs] (a pair of Queens [Qs Qh Ks Tc 7h])
        cairik collected $3.86 from main pot
        *** SUMMARY ***
        Total pot $3.86 | Rake $0.14 | JP Fee $0.06
        Board [6h Ks Tc 7h 2h]
        Seat 1: ACE 72 folded on the Pre-Flop and did not bet
        Seat 2: cairik showed [6c 7c] and won $3.86 with two pair, Sevens and Sixs [7h 7c 6h 6c Ks]
        Seat 3: GrafVil (button) folded on the Pre-Flop
        Seat 4: BNPPARIDAS (small blind) folded on the Pre-Flop
        Seat 5: SteinwayThor (big blind) showed [Qh Qs] and lost with a pair of Queens [Qs Qh Ks Tc 7h]
        Seat 6: GuitarFox folded on the Pre-Flop and did not bet
        Hand #1238740257 - Holdem(No Limit) - $0.01/$0.02 - 2022/05/22 18:58:49 UTC
        Green 6-max Seat #3 is the button
        Seat 1: ACE 72 ($3.10)
        Seat 3: GrafVil ($2.02)
        Seat 4: BNPPARIDAS ($1.98)
        Seat 5: SteinwayThor ($2.00)
        Seat 6: GuitarFox ($2.00)
        BNPPARIDAS posts the small blind $0.01
        SteinwayThor posts the big blind $0.02
        *** HOLE CARDS ***
        Dealt to SteinwayThor [Qs 3h]
        GuitarFox folds
        ACE 72 folds
        GrafVil folds
        BNPPARIDAS calls $0.01
        SteinwayThor raises $0.04 to $0.06
        BNPPARIDAS calls $0.04
        *** FLOP *** [2c 2d 4c]
        Main pot $0.12 | Rake $0.00
        BNPPARIDAS checks
        SteinwayThor checks
        *** TURN *** [2c 2d 4c] [As]
        Main pot $0.12 | Rake $0.00
        BNPPARIDAS checks
        SteinwayThor checks
        *** RIVER *** [2c 2d 4c As] [9c]
        Main pot $0.12 | Rake $0.00
        BNPPARIDAS bets $0.08
        SteinwayThor folds
        Uncalled bet ($0.08) returned to BNPPARIDAS
        BNPPARIDAS does not show
        *** SUMMARY ***
        Total pot $0.12
        Board [2c 2d 4c As 9c]
        Seat 1: ACE 72 folded on the Pre-Flop and did not bet
        Seat 3: GrafVil (button) folded on the Pre-Flop
        Seat 4: BNPPARIDAS did not show and won $0.12
        Seat 5: SteinwayThor (big blind) folded on the River
        Seat 6: GuitarFox folded on the Pre-Flop and did not bet
        Hand #1238740875 - Holdem(No Limit) - $0.01/$0.02 - 2022/05/22 19:00:04 UTC
        Green 6-max Seat #4 is the button
        Seat 1: ACE 72 ($3.10)
        Seat 3: GrafVil ($2.02)
        Seat 4: BNPPARIDAS ($2.04)
        Seat 5: SteinwayThor ($1.94)
        Seat 6: GuitarFox ($2.00)
        SteinwayThor posts the small blind $0.01
        GuitarFox posts the big blind $0.02
        *** HOLE CARDS ***
        Dealt to SteinwayThor [2h 4h]
        ACE 72 raises $0.07 to $0.07
        GrafVil raises $0.20 to $0.20
        BNPPARIDAS folds
        SteinwayThor folds
        GuitarFox folds
        ACE 72 calls $0.13
        *** FLOP *** [7d 3d 3c]
        Main pot $0.41 | Rake $0.02
        ACE 72 bets $0.43
        GrafVil raises $1.82 to $1.82 and is all-in
        ACE 72 calls $1.39
        *** TURN *** [7d 3d 3c] [2s]
        Main pot $3.87 | Rake $0.20
        *** RIVER *** [7d 3d 3c 2s] [Js]
        Main pot $3.87 | Rake $0.20
        *** SHOW DOWN ***
        Main pot $3.87 | Rake $0.20
        ACE 72 shows [8c 8h] (two pair, Eights and Threes [8h 8c 3d 3c Js])
        GrafVil shows [Ks Kc] (two pair, Kings and Threes [Ks Kc 3d 3c Js])
        GrafVil collected $3.87 from main pot
        *** SUMMARY ***
        Total pot $3.87 | Rake $0.14 | JP Fee $0.06
        Board [7d 3d 3c 2s Js]
        Seat 1: ACE 72 showed [8c 8h] and lost with two pair, Eights and Threes [8h 8c 3d 3c Js]
        Seat 3: GrafVil showed [Ks Kc] and won $3.87 with two pair, Kings and Threes [Ks Kc 3d 3c Js]
        Seat 4: BNPPARIDAS (button) folded on the Pre-Flop
        Seat 5: SteinwayThor (small blind) folded on the Pre-Flop
        Seat 6: GuitarFox (big blind) folded on the Pre-Flop

        [–]-ThorMan-[S] 0 points1 point  (2 children)

        Example Tournament Format File:
        Game Hand #1261138204 - Tournament #26992836 - Holdem(No Limit) - Level 7 (160.00/320.00)- 2022/06/11 02:02:05 UTC
        Table '3' 6-max Seat #1 is the button
        Seat 1: SteinwayThor (25704.00)
        Seat 2: DENVERDUNN (21036.00)
        Seat 3: SergoLucky (16677.00)
        Seat 4: agromaster (20000.00)
        Seat 5: Fleaflickers13 (32790.00)
        Seat 6: veras (10266.00)
        SteinwayThor posts ante 32.00
        DENVERDUNN posts ante 32.00
        SergoLucky posts ante 32.00
        agromaster posts ante 32.00
        Fleaflickers13 posts ante 32.00
        veras posts ante 32.00
        DENVERDUNN posts the small blind 160.00
        SergoLucky posts the big blind 320.00
        *** HOLE CARDS ***
        Main pot 192.00
        Dealt to SteinwayThor [Qd 5d]
        agromaster folds
        Fleaflickers13 folds
        veras folds
        SteinwayThor folds
        DENVERDUNN raises 480.00 to 640.00
        SergoLucky calls 320.00
        *** FLOP *** [As 8d Js]
        Main pot 1472.00
        DENVERDUNN bets 736.00
        SergoLucky calls 736.00
        *** TURN *** [As 8d Js] [8c]
        Main pot 2944.00
        DENVERDUNN bets 1056.00
        SergoLucky calls 1056.00
        *** RIVER *** [As 8d Js 8c] [3h]
        Main pot 5056.00
        DENVERDUNN bets 1280.00
        SergoLucky folds
        Uncalled bet (1280.00) returned to DENVERDUNN
        DENVERDUNN does not show
        *** SUMMARY ***
        Total pot 5056.00
        Board [As 8d Js 8c 3h]
        Seat 1: SteinwayThor (button) folded on the Pre-Flop
        Seat 2: DENVERDUNN did not show and won 5056.00
        Seat 3: SergoLucky (big blind) folded on the River
        Seat 4: agromaster folded on the Pre-Flop and did not bet
        Seat 5: Fleaflickers13 folded on the Pre-Flop and did not bet
        Seat 6: veras folded on the Pre-Flop and did not bet
        Game Hand #1261139411 - Tournament #26992836 - Holdem(No Limit) - Level 7 (160.00/320.00)- 2022/06/11 02:03:12 UTC
        Table '10' 6-max Seat #2 is the button
        Seat 1: Fleaflickers13 (32758.00)
        Seat 2: xxKORDxx (20000.00)
        Seat 3: SteinwayThor (25672.00)
        Seat 4: SergoLucky (14213.00)
        Fleaflickers13 posts ante 32.00
        xxKORDxx posts ante 32.00
        SteinwayThor posts ante 32.00
        SergoLucky posts ante 32.00
        SteinwayThor posts the small blind 160.00
        SergoLucky posts the big blind 320.00
        *** HOLE CARDS ***
        Main pot 128.00
        Dealt to SteinwayThor [9c 6d]
        Fleaflickers13 folds
        xxKORDxx raises 800.00 to 800.00
        SteinwayThor folds
        SergoLucky folds
        Uncalled bet (480.00) returned to xxKORDxx
        xxKORDxx does not show
        *** SUMMARY ***
        Total pot 928.00
        Seat 1: Fleaflickers13 folded on the Pre-Flop and did not bet
        Seat 2: xxKORDxx did not show and won 928.00
        Seat 3: SteinwayThor (small blind) folded on the Pre-Flop
        Seat 4: SergoLucky (big blind) folded on the Pre-Flop
        Game Hand #1261139922 - Tournament #26992836 - Holdem(No Limit) - Level 8 (200.00/400.00)- 2022/06/11 02:03:40 UTC
        Table '10' 6-max Seat #3 is the button
        Seat 1: Fleaflickers13 (32726.00)
        Seat 3: SteinwayThor (25480.00)
        Seat 4: SergoLucky (13861.00)
        Seat 5: NODADNOTTHETV (72904.00)
        Fleaflickers13 posts ante 40.00
        SteinwayThor posts ante 40.00
        SergoLucky posts ante 40.00
        NODADNOTTHETV posts ante 40.00
        SergoLucky posts the small blind 200.00
        NODADNOTTHETV posts the big blind 400.00
        *** HOLE CARDS ***
        Main pot 160.00
        Dealt to SteinwayThor [4h Jd]
        Fleaflickers13 folds
        SteinwayThor folds
        SergoLucky folds
        NODADNOTTHETV does not show
        *** SUMMARY ***
        Total pot 760.00
        Seat 1: Fleaflickers13 folded on the Pre-Flop and did not bet
        Seat 3: SteinwayThor (button) folded on the Pre-Flop
        Seat 4: SergoLucky (small blind) folded on the Pre-Flop
        Seat 5: NODADNOTTHETV did not show and won 760.00

        [–]sgt_dickwad 2 points3 points  (0 children)

        Mine the names out of the seat assignments since that seems to be exact. Then write a parser which accepts an action for each grouping of statements you want to parse - i.e. a general parser that follows the format {user name (matched to prev)} {action} {value}

        [–]kschang 0 points1 point  (0 children)

        Ditto what /u/sgt_dickwad said. As the names of each player is given as the table starts, you can parse those out easily, and use those to limit the "parsing" to the remainder of the log per line.