Run it twice - poker stars

Discuss how to create custom stats, reports and HUD profiles and share your creations.

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Run it twice - poker stars

Postby many12 » Fri Sep 23, 2016 3:01 am

hello!
Can i do in poker tarcker 4 filtrs to spots when i played run it twice on cash games in poke stars?

thank you
many12
 
Posts: 12
Joined: Tue Apr 05, 2016 2:19 pm

Re: Run it twice - poker stars

Postby 4StarGen » Fri Sep 23, 2016 5:45 am

There isn't a database field that contains that information. However when you replay a run it twice hand, PT4 displays all the boards so the data is stored somewhere. Maybe it could be a little complicated to extract, but i think it is doable. Let's see what PT4 is saying :D
4StarGen
 
Posts: 947
Joined: Sat Mar 08, 2014 6:58 am

Re: Run it twice - poker stars

Postby BillGatesIII » Fri Sep 23, 2016 10:02 am

    For PokerStars this Filter Expression should work in a Hands Report.

    Code: Select all
    cash_hand_histories.id_hand = cash_hand_player_statistics.id_hand
    and cash_hand_histories.history like '%Hand was run twice%'
    BillGatesIII
     
    Posts: 740
    Joined: Fri Dec 16, 2011 6:50 pm

    Re: Run it twice - poker stars

    Postby 4StarGen » Fri Sep 23, 2016 5:00 pm

    Nice, I didn't think about HH's table.
    Do you know whether expressions like yours works with tables outside PT4's std DB? i.e. can I make a join between a PT4's table and my custom view? (I'm not a home for 3 days so I cannot check it myself)
    4StarGen
     
    Posts: 947
    Joined: Sat Mar 08, 2014 6:58 am

    Re: Run it twice - poker stars

    Postby many12 » Sat Sep 24, 2016 4:56 pm

    BillGatesIII wrote:
      For PokerStars this Filter Expression should work in a Hands Report.

      Code: Select all
      cash_hand_histories.id_hand = cash_hand_player_statistics.id_hand
      and cash_hand_histories.history like '%Hand was run twice%'


      can you tell me where should i copy it?
      many12
       
      Posts: 12
      Joined: Tue Apr 05, 2016 2:19 pm

      Re: Run it twice - poker stars

      Postby WhiteRider » Sun Sep 25, 2016 3:41 am

      Make a Hands report in My Reports; click the blue Filters link and choose 'expression filters' and you can add it there.
      WhiteRider
      Moderator
       
      Posts: 54017
      Joined: Sat Jan 19, 2008 7:06 pm
      Location: UK

      Re: Run it twice - poker stars

      Postby BillGatesIII » Sun Sep 25, 2016 8:15 am

      4StarGen wrote:Nice, I didn't think about HH's table.
      Do you know whether expressions like yours works with tables outside PT4's std DB? i.e. can I make a join between a PT4's table and my custom view? (I'm not a home for 3 days so I cannot check it myself)

      Sure, but you'll have to rewrite the query a bit. For example, this piece of code gives the same result as the original.

      Code: Select all
      exists (
        select 1
        from cash_hand_histories as chh
        where chh.id_hand = cash_hand_player_statistics.id_hand
        and chh.history like '%Hand was run twice%')

      Within the subquery you can use any table or view you want.
      BillGatesIII
       
      Posts: 740
      Joined: Fri Dec 16, 2011 6:50 pm

      Re: Run it twice - poker stars

      Postby 4StarGen » Sun Sep 25, 2016 10:28 am

      Wonderful, now I think I will be able to do the analysis I wanted to do in the other thread (filter hands based on player's actions and stats)
      4StarGen
       
      Posts: 947
      Joined: Sat Mar 08, 2014 6:58 am

      Re: Run it twice - poker stars

      Postby 4StarGen » Sun Sep 25, 2016 11:36 am

      EDIT: I just tried and seems I'm lacking of SQL skillz, retrieving players' name in the hand report is easy, but their stats isn't
      4StarGen
       
      Posts: 947
      Joined: Sat Mar 08, 2014 6:58 am


      Return to Custom Stats, Reports and HUD Profiles

      Who is online

      Users browsing this forum: Skywa and 8 guests

      cron