wallacedavidl wrote:Also, it appears that each Group identifier is stored with a seperate field. Is that correct? And if so, for a Played Hand, is the Group Identifier for the Hand stored in a Single Field somewhere?
Everything is stored in the
cash_hand_player_combinations database table - see
this post for more information.
wallacedavidl wrote:For my testcase, based on the Intel you pointed to in another post, I don't see two common board scenarios in the cash_hand_player_combinations.id_f_hand_strength Field for the cash_hand_player_combinations.flg_f_1pair Group:
- Board Paired, Lower than the Highest/Top Board Card
That falls into hand strength 0 for one pair hands. If you want to be more specific you would need to test and compare the ranks of the cards - see below.
wallacedavidl wrote:- Pocket Pair, Lower than the Highest/Top Board Card
That falls into hand strength 0, 4 or 5 for one pair hands depending on the pocket pairs value compared to the community cards.
wallacedavidl wrote:Also, If I'm just interested in knowing the texture of the Board, for example 3 Cards to a Flush or Straight, where can I find that information? Do you store anywhere that a Board is Monotone, 2-Tone, Rainbow, etc.?
That is done by comparing the board card values. The community cards dealt in order are
cash_hand_summary.card_1 through to
cash_hand_summary.card_5 -
this post covers the card values. As an example testing for a monotone flop looks like this:
- Code: Select all
(cash_hand_summary.card_1 > 0 and cash_hand_summary.card_1 - ((cash_hand_summary.card_1 - 1) % 13) = cash_hand_summary.card_2 - ((cash_hand_summary.card_2 - 1) % 13) and cash_hand_summary.card_2 - ((cash_hand_summary.card_2 - 1) % 13) = cash_hand_summary.card_3 - ((cash_hand_summary.card_3 - 1) % 13))
This post has more information on how the modulo function works. If you start PokerTracker 4 with logging enabled (turn that on via 'Configure -> Options') you can review the PokerTracker 4 log file for these type of queries. To do that run a simple custom report and then add a built-in filter for the 'Board Texture' you want. Next select the 'File -> Open User Data Folder' option, go into the 'Logs' folder and open the 'PokerTracker4.log' file in a text editor. At the bottom of that file you can extract the SQL that was used for the query.