Added the column 'showed' to handsplayers which flags whether or not a player showed his or her hand. If false and 'sawSD' is true then they mucked. If true and 'sawSD' is false, then they showed outside of a showdown (site dependent). Also fixed up readShownCards in FTP's hhc so it recorded mucked and showed correctly.
self.re_ShownCards=re.compile(r"^Seat (?P<SEAT>[0-9]+): %s (\(button\) |\(small blind\) |\(big blind\) )?(?P<ACT>showed|mucked) \[(?P<CARDS>.*)\](( and won \(.*\) with | and lost with | \- )(?P<STRING>.*))?"%player_re,re.MULTILINE)
self.re_ShownCards=re.compile(r"^Seat (?P<SEAT>[0-9]+): %s (\(button\) |\(small blind\) |\(big blind\) )?(?P<SHOWED>showed|mucked) \[(?P<CARDS>.*)\](( and won \(.*\) with | and lost with | \- )(?P<STRING>.*))?"%player_re,re.MULTILINE)
defreadSupportedGames(self):
return[["ring","hold","nl"],
@ -525,11 +525,16 @@ class Fulltilt(HandHistoryConverter):
defreadShownCards(self,hand):
forminself.re_ShownCards.finditer(hand.handText):
ifm.group('CARDS')isnotNone:
cards=m.group('CARDS')
cards=cards.split('')# needs to be a list, not a set--stud needs the order