Merge branch 'master' of git://git.assembla.com/fpdboz.git
This commit is contained in:
commit
5277c74213
138
pyfpdb/FullTiltPokerSummary.py
Normal file
138
pyfpdb/FullTiltPokerSummary.py
Normal file
|
@ -0,0 +1,138 @@
|
||||||
|
#!/usr/bin/python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
#Copyright 2008-2010 Steffen Schaumburg
|
||||||
|
#This program is free software: you can redistribute it and/or modify
|
||||||
|
#it under the terms of the GNU Affero General Public License as published by
|
||||||
|
#the Free Software Foundation, version 3 of the License.
|
||||||
|
#
|
||||||
|
#This program is distributed in the hope that it will be useful,
|
||||||
|
#but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
#GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
#You should have received a copy of the GNU Affero General Public License
|
||||||
|
#along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#In the "official" distribution you can find the license in agpl-3.0.txt.
|
||||||
|
|
||||||
|
"""pokerstars-specific summary parsing code"""
|
||||||
|
|
||||||
|
from decimal import Decimal
|
||||||
|
import datetime
|
||||||
|
|
||||||
|
from Exceptions import FpdbParseError
|
||||||
|
from HandHistoryConverter import *
|
||||||
|
import PokerStarsToFpdb
|
||||||
|
from TourneySummary import *
|
||||||
|
|
||||||
|
import locale
|
||||||
|
lang=locale.getdefaultlocale()[0][0:2]
|
||||||
|
if lang=="en":
|
||||||
|
def _(string): return string
|
||||||
|
else:
|
||||||
|
import gettext
|
||||||
|
try:
|
||||||
|
trans = gettext.translation("fpdb", localedir="locale", languages=[lang])
|
||||||
|
trans.install()
|
||||||
|
except IOError:
|
||||||
|
def _(string): return string
|
||||||
|
|
||||||
|
class FullTiltPokerSummary(TourneySummary):
|
||||||
|
limits = { 'No Limit':'nl', 'Pot Limit':'pl', 'Limit':'fl', 'LIMIT':'fl' }
|
||||||
|
games = { # base, category
|
||||||
|
"Hold'em" : ('hold','holdem'),
|
||||||
|
'Omaha' : ('hold','omahahi'),
|
||||||
|
'Omaha Hi/Lo' : ('hold','omahahilo'),
|
||||||
|
'Razz' : ('stud','razz'),
|
||||||
|
'RAZZ' : ('stud','razz'),
|
||||||
|
'7 Card Stud' : ('stud','studhi'),
|
||||||
|
'7 Card Stud Hi/Lo' : ('stud','studhilo'),
|
||||||
|
'Badugi' : ('draw','badugi'),
|
||||||
|
'Triple Draw 2-7 Lowball' : ('draw','27_3draw'),
|
||||||
|
'5 Card Draw' : ('draw','fivedraw')
|
||||||
|
}
|
||||||
|
|
||||||
|
substitutions = {
|
||||||
|
'LEGAL_ISO' : "USD|EUR|GBP|CAD|FPP", # legal ISO currency codes
|
||||||
|
'LS' : "\$|\xe2\x82\xac|" # legal currency symbols - Euro(cp1252, utf-8)
|
||||||
|
}
|
||||||
|
|
||||||
|
re_SplitTourneys = re.compile("^Full Tilt Poker Tournament Summary")
|
||||||
|
|
||||||
|
re_TourNo = re.compile("\#(?P<TOURNO>[0-9]+),")
|
||||||
|
|
||||||
|
re_TourneyInfo = re.compile(u"""
|
||||||
|
\s.*
|
||||||
|
(?P<TYPE>Tournament|Sit\s\&\sGo)\s\((?P<TOURNO>[0-9]+)\)(\s+)?
|
||||||
|
(?P<GAME>Hold\'em|Razz|RAZZ|7\sCard\sStud|7\sCard\sStud\sHi/Lo|Omaha|Omaha\sHi/Lo|Badugi|Triple\sDraw\s2\-7\sLowball|5\sCard\sDraw)\s+
|
||||||
|
(?P<LIMIT>No\sLimit|Limit|LIMIT|Pot\sLimit)\s+
|
||||||
|
(Buy-In:\s\$(?P<BUYIN>[.\d]+)(\s\+\s\$(?P<FEE>[.\d]+))?\s+)?
|
||||||
|
(Buy-In\sChips:\s(?P<CHIPS>\d+)\s+)?
|
||||||
|
(?P<ENTRIES>[0-9]+)\sEntries\s+
|
||||||
|
(\$?(?P<ADDED>[.\d]+)\sadded\sto\sthe\sprize\spool\sby\sPokerStars\.com\s+)?
|
||||||
|
(Total\sPrize\sPool:\s\$?(?P<PRIZEPOOL>[.0-9]+)\s+)?
|
||||||
|
(Target\sTournament\s.*)?
|
||||||
|
Tournament\sstarted:\s
|
||||||
|
(?P<Y>[\d]{4})\/(?P<M>[\d]{2})\/(?P<D>[\d]+)\s+(?P<H>[\d]+):(?P<MIN>[\d]+):(?P<S>[\d]+)\s??(?P<TZ>[A-Z]+)\s
|
||||||
|
""" % substitutions ,re.VERBOSE|re.MULTILINE|re.DOTALL)
|
||||||
|
|
||||||
|
re_Currency = re.compile(u"""(?P<CURRENCY>[%(LS)s]|FPP)""" % substitutions)
|
||||||
|
|
||||||
|
re_Player = re.compile(u"""(?P<RANK>[\d]+):\s(?P<NAME>[^,\r\n]{2,15})(,(\s)?\$(?P<WINNINGS>[.\d]+))?""")
|
||||||
|
|
||||||
|
re_DateTime = re.compile("\[(?P<Y>[0-9]{4})\/(?P<M>[0-9]{2})\/(?P<D>[0-9]{2})[\- ]+(?P<H>[0-9]+):(?P<MIN>[0-9]+):(?P<S>[0-9]+)")
|
||||||
|
|
||||||
|
codepage = ["utf-16", "cp1252", "utf-8"]
|
||||||
|
|
||||||
|
def parseSummary(self):
|
||||||
|
m = self.re_TourneyInfo.search(self.summaryText)
|
||||||
|
if m == None:
|
||||||
|
tmp = self.summaryText[0:200]
|
||||||
|
log.error(_("parseSummary: Unable to recognise Tourney Info: '%s'") % tmp)
|
||||||
|
log.error(_("parseSummary: Raising FpdbParseError"))
|
||||||
|
raise FpdbParseError(_("Unable to recognise Tourney Info: '%s'") % tmp)
|
||||||
|
|
||||||
|
print "DEBUG: m.groupdict(): %s" % m.groupdict()
|
||||||
|
|
||||||
|
mg = m.groupdict()
|
||||||
|
if 'TOURNO' in mg: self.tourNo = mg['TOURNO']
|
||||||
|
if 'LIMIT' in mg: self.gametype['limitType'] = self.limits[mg['LIMIT']]
|
||||||
|
if 'GAME' in mg: self.gametype['category'] = self.games[mg['GAME']][1]
|
||||||
|
if mg['BUYIN'] != None:
|
||||||
|
self.buyin = int(100*Decimal(mg['BUYIN']))
|
||||||
|
if mg['FEE'] != None:
|
||||||
|
self.fee = int(100*Decimal(mg['FEE']))
|
||||||
|
if 'PRIZEPOOL' in mg: self.prizepool = mg['PRIZEPOOL']
|
||||||
|
if 'ENTRIES' in mg: self.entries = mg['ENTRIES']
|
||||||
|
|
||||||
|
datetimestr = "%s/%s/%s %s:%s:%s" % (mg['Y'], mg['M'], mg['D'], mg['H'], mg['MIN'], mg['S'])
|
||||||
|
self.startTime = datetime.datetime.strptime(datetimestr, "%Y/%m/%d %H:%M:%S")
|
||||||
|
|
||||||
|
if 'TZ' in mg:
|
||||||
|
self.startTime = HandHistoryConverter.changeTimezone(self.startTime, mg['TZ'], "UTC")
|
||||||
|
|
||||||
|
|
||||||
|
m = self.re_Currency.search(self.summaryText)
|
||||||
|
if m == None:
|
||||||
|
log.error(_("parseSummary: Unable to locate currency"))
|
||||||
|
log.error(_("parseSummary: Raising FpdbParseError"))
|
||||||
|
raise FpdbParseError(_("Unable to locate currency"))
|
||||||
|
#print "DEBUG: m.groupdict(): %s" % m.groupdict()
|
||||||
|
|
||||||
|
mg = m.groupdict()
|
||||||
|
if mg['CURRENCY'] == "$": self.currency = "USD"
|
||||||
|
elif mg['CURRENCY'] == u"€": self.currency="EUR"
|
||||||
|
elif mg['CURRENCY'] == "FPP": self.currency="PSFP"
|
||||||
|
|
||||||
|
m = self.re_Player.finditer(self.summaryText)
|
||||||
|
for a in m:
|
||||||
|
mg = a.groupdict()
|
||||||
|
print "DEBUG: a.groupdict(): %s" % mg
|
||||||
|
name = mg['NAME']
|
||||||
|
rank = mg['RANK']
|
||||||
|
winnings = 0
|
||||||
|
|
||||||
|
if 'WINNINGS' in mg and mg['WINNINGS'] != None:
|
||||||
|
winnings = int(100*Decimal(mg['WINNINGS']))
|
||||||
|
self.addPlayer(rank, name, winnings, self.currency, None, None, None)
|
||||||
|
|
|
@ -30,6 +30,7 @@ from Exceptions import FpdbParseError
|
||||||
import SQL
|
import SQL
|
||||||
import Options
|
import Options
|
||||||
import PokerStarsSummary
|
import PokerStarsSummary
|
||||||
|
import FullTiltPokerSummary
|
||||||
|
|
||||||
|
|
||||||
import locale
|
import locale
|
||||||
|
@ -44,12 +45,23 @@ else:
|
||||||
except IOError:
|
except IOError:
|
||||||
def _(string): return string
|
def _(string): return string
|
||||||
|
|
||||||
def splitPokerStarsSummaries(emailText):
|
def splitPokerStarsSummaries(summaryText):
|
||||||
splitSummaries=emailText.split("\nPokerStars Tournament #")[1:]
|
re_SplitTourneys = PokerStarsSummary.PokerStarsSummary.re_SplitTourneys
|
||||||
for i in range(len(splitSummaries)):
|
splitSummaries = re.split(re_SplitTourneys, summaryText)
|
||||||
splitSummaries[i]="PokerStars Tournament #"+splitSummaries[i]
|
|
||||||
|
if len(splitSummaries) <= 1:
|
||||||
|
print _("DEBUG: re_SplitTourneyss isn't matching")
|
||||||
|
|
||||||
|
return splitSummaries
|
||||||
|
|
||||||
|
def splitFullTiltSummaries(summaryText):
|
||||||
|
re_SplitTourneys = FullTiltPokerSummary.FullTiltPokerSummary.re_SplitTourneys
|
||||||
|
splitSummaries = re.split(re_SplitTourneys, summaryText)
|
||||||
|
|
||||||
|
if len(splitSummaries) <= 1:
|
||||||
|
print _("DEBUG: re_SplitTourneyss isn't matching")
|
||||||
|
|
||||||
return splitSummaries
|
return splitSummaries
|
||||||
#end def emailText
|
|
||||||
|
|
||||||
def run(config, db):
|
def run(config, db):
|
||||||
#print "start of IS.run"
|
#print "start of IS.run"
|
||||||
|
@ -82,7 +94,7 @@ def run(config, db):
|
||||||
if (len(neededMessages)==0):
|
if (len(neededMessages)==0):
|
||||||
raise error #TODO: show error message
|
raise error #TODO: show error message
|
||||||
|
|
||||||
errors = 0
|
email_bodies = []
|
||||||
for i, messageData in enumerate(neededMessages, start=1):
|
for i, messageData in enumerate(neededMessages, start=1):
|
||||||
print "Retrieving message %s" % i
|
print "Retrieving message %s" % i
|
||||||
response, bodyData = server.fetch(messageData[1], "(UID BODY[TEXT])")
|
response, bodyData = server.fetch(messageData[1], "(UID BODY[TEXT])")
|
||||||
|
@ -90,45 +102,72 @@ def run(config, db):
|
||||||
if response!="OK":
|
if response!="OK":
|
||||||
raise error #TODO: show error message
|
raise error #TODO: show error message
|
||||||
if messageData[0]=="PS":
|
if messageData[0]=="PS":
|
||||||
summaryTexts=(splitPokerStarsSummaries(bodyData))
|
email_bodies.append(bodyData)
|
||||||
print "Found %s summaries in email" %(len(summaryTexts))
|
|
||||||
for j, summaryText in enumerate(summaryTexts, start=1):
|
|
||||||
try:
|
|
||||||
result=PokerStarsSummary.PokerStarsSummary(db=db, config=config, siteName=u"PokerStars", summaryText=summaryText, builtFrom = "IMAP")
|
|
||||||
except FpdbParseError, e:
|
|
||||||
errors += 1
|
|
||||||
print _("Finished importing %s/%s PS summaries") %(j, len(summaryTexts))
|
|
||||||
|
|
||||||
print _("Completed running Imap import, closing server connection")
|
|
||||||
print _("Errors: %s" % errors)
|
|
||||||
#finally:
|
#finally:
|
||||||
# try:
|
# try:
|
||||||
server.close()
|
server.close()
|
||||||
# finally:
|
# finally:
|
||||||
# pass
|
# pass
|
||||||
server.logout()
|
server.logout()
|
||||||
|
print _("Completed retrieving IMAP messages, closing server connection")
|
||||||
|
|
||||||
def readFile(filename):
|
errors = 0
|
||||||
kodec = "utf8"
|
if len(email_bodies) > 0:
|
||||||
|
errors = importSummaries(db, config, email_bodies, options = None)
|
||||||
|
else:
|
||||||
|
print _("No Tournament summaries found.")
|
||||||
|
|
||||||
|
print _("Errors: %s" % errors)
|
||||||
|
|
||||||
|
def readFile(filename, options):
|
||||||
|
codepage = ["utf8"]
|
||||||
|
whole_file = None
|
||||||
|
if options.hhc == "PokerStars":
|
||||||
|
codepage = PokerStarsSummary.PokerStarsSummary.codepage
|
||||||
|
elif options.hhc == "Full Tilt Poker":
|
||||||
|
codepage = FullTiltPokerSummary.FullTiltPokerSummary.codepage
|
||||||
|
|
||||||
|
for kodec in codepage:
|
||||||
|
#print "trying", kodec
|
||||||
|
try:
|
||||||
in_fh = codecs.open(filename, 'r', kodec)
|
in_fh = codecs.open(filename, 'r', kodec)
|
||||||
whole_file = in_fh.read()
|
whole_file = in_fh.read()
|
||||||
in_fh.close()
|
in_fh.close()
|
||||||
|
break
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
return whole_file
|
return whole_file
|
||||||
|
|
||||||
|
def runFake(db, config, options):
|
||||||
|
summaryText = readFile(options.infile, options)
|
||||||
|
importSummaries(db, config,[summaryText], options=options)
|
||||||
|
|
||||||
|
def importSummaries(db, config, summaries, options = None):
|
||||||
|
# TODO: At this point we should have:
|
||||||
|
# - list of strings to process
|
||||||
|
# - The sitename OR specialised TourneySummary object
|
||||||
|
# Using options is pretty ugly
|
||||||
|
errors = 0
|
||||||
|
for summaryText in summaries:
|
||||||
|
# And we should def be using a 'Split' from the site object
|
||||||
|
if options == None or options.hhc == "PokerStars":
|
||||||
|
summaryTexts=(splitPokerStarsSummaries(summaryText))
|
||||||
|
elif options.hhc == "Full Tilt Poker":
|
||||||
|
summaryTexts=(splitFullTiltSummaries(summaryText))
|
||||||
|
|
||||||
def runFake(db, config, infile):
|
print "Found %s summaries in email" %(len(summaryTexts))
|
||||||
summaryText = readFile(infile)
|
for j, summaryText in enumerate(summaryTexts, start=1):
|
||||||
# This regex should be part of PokerStarsSummary
|
try:
|
||||||
re_SplitGames = re.compile("PokerStars Tournament ")
|
if options == None or options.hhc == "PokerStars":
|
||||||
summaryList = re.split(re_SplitGames, summaryText)
|
PokerStarsSummary.PokerStarsSummary(db=db, config=config, siteName=u"PokerStars", summaryText=summaryText, builtFrom = "IMAP")
|
||||||
|
elif options.hhc == "Full Tilt Poker":
|
||||||
|
FullTiltPokerSummary.FullTiltPokerSummary(db=db, config=config, siteName=u"Fulltilt", summaryText=summaryText, builtFrom = "IMAP")
|
||||||
|
except FpdbParseError, e:
|
||||||
|
errors += 1
|
||||||
|
print _("Finished importing %s/%s PS summaries") %(j, len(summaryTexts))
|
||||||
|
|
||||||
if len(summaryList) <= 1:
|
return errors
|
||||||
print _("DEBUG: re_SplitGames isn't matching")
|
|
||||||
|
|
||||||
for summary in summaryList[1:]:
|
|
||||||
result = PokerStarsSummary.PokerStarsSummary(db=db, config=config, siteName=u"PokerStars", summaryText=summary, builtFrom = "file")
|
|
||||||
print _("DEBUG: Processed: %s: tournNo: %s") % (result.tourneyId, result.tourNo)
|
|
||||||
|
|
||||||
|
|
||||||
def main(argv=None):
|
def main(argv=None):
|
||||||
|
@ -142,6 +181,10 @@ def main(argv=None):
|
||||||
print _("USAGE:")
|
print _("USAGE:")
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
|
if options.hhc == "PokerStarsToFpdb":
|
||||||
|
print _("Need to define a converter")
|
||||||
|
exit(0)
|
||||||
|
|
||||||
# These options should really come from the OptionsParser
|
# These options should really come from the OptionsParser
|
||||||
config = Configuration.Config()
|
config = Configuration.Config()
|
||||||
db = Database.Database(config)
|
db = Database.Database(config)
|
||||||
|
@ -152,7 +195,7 @@ def main(argv=None):
|
||||||
settings.update(config.get_default_paths())
|
settings.update(config.get_default_paths())
|
||||||
db.recreate_tables()
|
db.recreate_tables()
|
||||||
|
|
||||||
runFake(db, config, options.infile)
|
runFake(db, config, options)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
sys.exit(main())
|
sys.exit(main())
|
||||||
|
|
|
@ -136,10 +136,10 @@ class OnGame(HandHistoryConverter):
|
||||||
player_re = "(?P<PNAME>" + "|".join(map(re.escape, players)) + ")"
|
player_re = "(?P<PNAME>" + "|".join(map(re.escape, players)) + ")"
|
||||||
subst = {'PLYR': player_re, 'CUR': self.sym[hand.gametype['currency']]}
|
subst = {'PLYR': player_re, 'CUR': self.sym[hand.gametype['currency']]}
|
||||||
self.re_PostSB = re.compile('(?P<PNAME>.*) posts small blind \((%(CUR)s)?(?P<SB>[\.0-9]+)\)' % subst, re.MULTILINE)
|
self.re_PostSB = re.compile('(?P<PNAME>.*) posts small blind \((%(CUR)s)?(?P<SB>[\.0-9]+)\)' % subst, re.MULTILINE)
|
||||||
self.re_PostBB = re.compile('\), (?P<PNAME>.*) posts big blind \((%(CUR)s)?(?P<BB>[\.0-9]+)\)' % subst, re.MULTILINE)
|
self.re_PostBB = re.compile('(?P<PNAME>.*) posts big blind \((%(CUR)s)?(?P<BB>[\.0-9]+)\)' % subst, re.MULTILINE)
|
||||||
self.re_Antes = re.compile(r"^%(PLYR)s: posts the ante (%(CUR)s)?(?P<ANTE>[\.0-9]+)" % subst, re.MULTILINE)
|
self.re_Antes = re.compile(r"^%(PLYR)s: posts the ante (%(CUR)s)?(?P<ANTE>[\.0-9]+)" % subst, re.MULTILINE)
|
||||||
self.re_BringIn = re.compile(r"^%(PLYR)s: brings[- ]in( low|) for (%(CUR)s)?(?P<BRINGIN>[\.0-9]+)" % subst, re.MULTILINE)
|
self.re_BringIn = re.compile(r"^%(PLYR)s: brings[- ]in( low|) for (%(CUR)s)?(?P<BRINGIN>[\.0-9]+)" % subst, re.MULTILINE)
|
||||||
self.re_PostBoth = re.compile('.*\n(?P<PNAME>.*): posts small \& big blinds \( (%(CUR)s)?(?P<SBBB>[\.0-9]+)\)' % subst)
|
self.re_PostBoth = re.compile('(?P<PNAME>.*): posts small \& big blinds \( (%(CUR)s)?(?P<SBBB>[\.0-9]+)\)' % subst)
|
||||||
self.re_HeroCards = re.compile('Dealing\sto\s%(PLYR)s:\s\[(?P<CARDS>.*)\]' % subst)
|
self.re_HeroCards = re.compile('Dealing\sto\s%(PLYR)s:\s\[(?P<CARDS>.*)\]' % subst)
|
||||||
|
|
||||||
#lopllopl checks, Eurolll checks, .Lucchess checks.
|
#lopllopl checks, Eurolll checks, .Lucchess checks.
|
||||||
|
@ -237,7 +237,7 @@ class OnGame(HandHistoryConverter):
|
||||||
|
|
||||||
# TODO: These
|
# TODO: These
|
||||||
hand.buttonpos = 1
|
hand.buttonpos = 1
|
||||||
hand.maxseats = 10
|
hand.maxseats = None # Set to None - Hand.py will guessMaxSeats()
|
||||||
hand.mixed = None
|
hand.mixed = None
|
||||||
|
|
||||||
def readPlayerStacks(self, hand):
|
def readPlayerStacks(self, hand):
|
||||||
|
|
|
@ -57,7 +57,7 @@ class PokerStarsSummary(TourneySummary):
|
||||||
'LS' : "\$|\xe2\x82\xac|" # legal currency symbols - Euro(cp1252, utf-8)
|
'LS' : "\$|\xe2\x82\xac|" # legal currency symbols - Euro(cp1252, utf-8)
|
||||||
}
|
}
|
||||||
|
|
||||||
re_SplitGames = re.compile("^PokerStars")
|
re_SplitTourneys = re.compile("PokerStars Tournament ")
|
||||||
|
|
||||||
re_TourNo = re.compile("\#(?P<TOURNO>[0-9]+),")
|
re_TourNo = re.compile("\#(?P<TOURNO>[0-9]+),")
|
||||||
|
|
||||||
|
@ -81,123 +81,14 @@ class PokerStarsSummary(TourneySummary):
|
||||||
|
|
||||||
re_DateTime = re.compile("\[(?P<Y>[0-9]{4})\/(?P<M>[0-9]{2})\/(?P<D>[0-9]{2})[\- ]+(?P<H>[0-9]+):(?P<MIN>[0-9]+):(?P<S>[0-9]+)")
|
re_DateTime = re.compile("\[(?P<Y>[0-9]{4})\/(?P<M>[0-9]{2})\/(?P<D>[0-9]{2})[\- ]+(?P<H>[0-9]+):(?P<MIN>[0-9]+):(?P<S>[0-9]+)")
|
||||||
|
|
||||||
re_Entries = re.compile("[0-9]+")
|
codepage = ["utf-8"]
|
||||||
re_Prizepool = re.compile("\$[0-9]+\.[0-9]+")
|
|
||||||
re_BuyInFee = re.compile("(?P<BUYIN>[0-9]+\.[0-9]+).*(?P<FEE>[0-9]+\.[0-9]+)")
|
|
||||||
re_FPP = re.compile("(?P<FPP>[0-9]+)\sFPP")
|
|
||||||
#note: the dollar and cent in the below line are currency-agnostic
|
|
||||||
re_Added = re.compile("(?P<DOLLAR>[0-9]+)\.(?P<CENT>[0-9]+)\s(?P<CURRENCY>[A-Z]+)(\sadded\sto\sthe\sprize\spool\sby\sPokerStars)")
|
|
||||||
re_DateTimeET = re.compile("(?P<Y>[0-9]{4})\/(?P<M>[0-9]{2})\/(?P<D>[0-9]{2})[\- ]+(?P<H>[0-9]+):(?P<MIN>[0-9]+):(?P<S>[0-9]+)")
|
|
||||||
re_GameInfo = re.compile(u""".+(?P<LIMIT>No\sLimit|Limit|LIMIT|Pot\sLimit)\s(?P<GAME>Hold\'em|Razz|RAZZ|7\sCard\sStud|7\sCard\sStud\sHi/Lo|Omaha|Omaha\sHi/Lo|Badugi|Triple\sDraw\s2\-7\sLowball|5\sCard\sDraw)""")
|
|
||||||
|
|
||||||
def parseSummary(self):
|
def parseSummary(self):
|
||||||
lines=self.summaryText.splitlines()
|
|
||||||
|
|
||||||
self.tourNo = self.re_TourNo.findall(lines[0])[0] #ignore game and limit type as thats not recorded
|
|
||||||
|
|
||||||
result=self.re_GameInfo.search(lines[0])
|
|
||||||
result=result.groupdict()
|
|
||||||
self.gametype['limitType']=self.limits[result['LIMIT']]
|
|
||||||
self.gametype['category']=self.games[result['GAME']][1]
|
|
||||||
|
|
||||||
if lines[1].find("$")!=-1: #TODO: move this into a method and call that from PokerStarsToFpdb.py:269 if hand.buyinCurrency=="USD" etc.
|
|
||||||
self.currency="USD"
|
|
||||||
elif lines[1].find(u"€")!=-1:
|
|
||||||
self.currency="EUR"
|
|
||||||
elif lines[1].find("FPP")!=-1:
|
|
||||||
self.currency="PSFP"
|
|
||||||
else:
|
|
||||||
raise FpdbParseError(_("didn't recognise buyin currency in:")+lines[1])
|
|
||||||
|
|
||||||
if self.currency=="USD" or self.currency=="EUR":
|
|
||||||
result=self.re_BuyInFee.search(lines[1])
|
|
||||||
result=result.groupdict()
|
|
||||||
self.buyin=int(100*Decimal(result['BUYIN']))
|
|
||||||
self.fee=int(100*Decimal(result['FEE']))
|
|
||||||
elif self.currency=="PSFP":
|
|
||||||
result=self.re_FPP.search(lines[1])
|
|
||||||
result=result.groupdict()
|
|
||||||
self.buyin=int(Decimal(result['FPP']))
|
|
||||||
self.fee=0
|
|
||||||
|
|
||||||
currentLine=2
|
|
||||||
self.entries = self.re_Entries.findall(lines[currentLine])[0]
|
|
||||||
currentLine+=1 #note that I chose to make the code keep state (the current line number)
|
|
||||||
#as that means it'll fail rather than silently skip potentially valuable information
|
|
||||||
#print "after entries lines[currentLine]", lines[currentLine]
|
|
||||||
|
|
||||||
result=self.re_Added.search(lines[currentLine])
|
|
||||||
if result:
|
|
||||||
result=result.groupdict()
|
|
||||||
self.added=100*int(Decimal(result['DOLLAR']))+int(Decimal(result['CENT']))
|
|
||||||
self.addedCurrency=result['CURRENCY']
|
|
||||||
currentLine+=1
|
|
||||||
else:
|
|
||||||
self.added=0
|
|
||||||
self.addedCurrency="NA"
|
|
||||||
#print "after added/entries lines[currentLine]", lines[currentLine]
|
|
||||||
|
|
||||||
result=self.re_Prizepool.findall(lines[currentLine])
|
|
||||||
if result:
|
|
||||||
self.prizepool = result[0]
|
|
||||||
self.prizepool = self.prizepool[1:-3]+self.prizepool[-2:]
|
|
||||||
currentLine+=1
|
|
||||||
#print "after prizepool lines[currentLine]", lines[currentLine]
|
|
||||||
|
|
||||||
useET=False
|
|
||||||
result=self.re_DateTime.search(lines[currentLine])
|
|
||||||
if not result:
|
|
||||||
print _("in not result starttime")
|
|
||||||
useET=True
|
|
||||||
result=self.re_DateTimeET.search(lines[currentLine])
|
|
||||||
result=result.groupdict()
|
|
||||||
datetimestr = "%s/%s/%s %s:%s:%s" % (result['Y'], result['M'],result['D'],result['H'],result['MIN'],result['S'])
|
|
||||||
self.startTime= datetime.datetime.strptime(datetimestr, "%Y/%m/%d %H:%M:%S") # also timezone at end, e.g. " ET"
|
|
||||||
self.startTime = HandHistoryConverter.changeTimezone(self.startTime, "ET", "UTC")
|
|
||||||
currentLine+=1
|
|
||||||
|
|
||||||
if useET:
|
|
||||||
result=self.re_DateTimeET.search(lines[currentLine])
|
|
||||||
else:
|
|
||||||
result=self.re_DateTime.search(lines[currentLine])
|
|
||||||
if result:
|
|
||||||
result=result.groupdict()
|
|
||||||
datetimestr = "%s/%s/%s %s:%s:%s" % (result['Y'], result['M'],result['D'],result['H'],result['MIN'],result['S'])
|
|
||||||
self.endTime= datetime.datetime.strptime(datetimestr, "%Y/%m/%d %H:%M:%S") # also timezone at end, e.g. " ET"
|
|
||||||
self.endTime = HandHistoryConverter.changeTimezone(self.endTime, "ET", "UTC")
|
|
||||||
currentLine+=1
|
|
||||||
|
|
||||||
if lines[currentLine].find("Tournament is still in progress")!=-1:
|
|
||||||
currentLine+=1
|
|
||||||
|
|
||||||
for i in range(currentLine,len(lines)-2): #lines with rank and winnings info
|
|
||||||
if lines[i].find(":")==-1:
|
|
||||||
break
|
|
||||||
result=self.re_Player.search(lines[i])
|
|
||||||
result=result.groupdict()
|
|
||||||
rank=result['RANK']
|
|
||||||
name=result['NAME']
|
|
||||||
winnings=result['WINNINGS']
|
|
||||||
|
|
||||||
if winnings:
|
|
||||||
winnings=int(100*Decimal(winnings))
|
|
||||||
else:
|
|
||||||
winnings=0
|
|
||||||
|
|
||||||
if result['STILLPLAYING']:
|
|
||||||
#print "stillplaying"
|
|
||||||
rank=None
|
|
||||||
winnings=None
|
|
||||||
|
|
||||||
self.addPlayer(rank, name, winnings, self.currency, None, None, None)#TODO: currency, ko/addon/rebuy count -> need examples!
|
|
||||||
#end def parseSummary
|
|
||||||
|
|
||||||
def parseSummaryFile(self):
|
|
||||||
m = self.re_TourneyInfo.search(self.summaryText)
|
m = self.re_TourneyInfo.search(self.summaryText)
|
||||||
if m == None:
|
if m == None:
|
||||||
tmp = self.summaryText[0:200]
|
tmp = self.summaryText[0:200]
|
||||||
log.error(_("parseSummaryFile: Unable to recognise Tourney Info: '%s'") % tmp)
|
log.error(_("parseSummary: Unable to recognise Tourney Info: '%s'") % tmp)
|
||||||
log.error(_("parseSummaryFile: Raising FpdbParseError"))
|
log.error(_("parseSummary: Raising FpdbParseError"))
|
||||||
raise FpdbParseError(_("Unable to recognise Tourney Info: '%s'") % tmp)
|
raise FpdbParseError(_("Unable to recognise Tourney Info: '%s'") % tmp)
|
||||||
|
|
||||||
#print "DEBUG: m.groupdict(): %s" % m.groupdict()
|
#print "DEBUG: m.groupdict(): %s" % m.groupdict()
|
||||||
|
@ -222,8 +113,8 @@ class PokerStarsSummary(TourneySummary):
|
||||||
|
|
||||||
m = self.re_Currency.search(self.summaryText)
|
m = self.re_Currency.search(self.summaryText)
|
||||||
if m == None:
|
if m == None:
|
||||||
log.error(_("parseSummaryFile: Unable to locate currency"))
|
log.error(_("parseSummary: Unable to locate currency"))
|
||||||
log.error(_("parseSummaryFile: Raising FpdbParseError"))
|
log.error(_("parseSummary: Raising FpdbParseError"))
|
||||||
raise FpdbParseError(_("Unable to locate currency"))
|
raise FpdbParseError(_("Unable to locate currency"))
|
||||||
#print "DEBUG: m.groupdict(): %s" % m.groupdict()
|
#print "DEBUG: m.groupdict(): %s" % m.groupdict()
|
||||||
|
|
||||||
|
|
|
@ -154,18 +154,41 @@ def main(argv=None):
|
||||||
iPokerErrors
|
iPokerErrors
|
||||||
]
|
]
|
||||||
|
|
||||||
|
sites = {
|
||||||
|
'PokerStars' : True,
|
||||||
|
'Full Tilt Poker' : True,
|
||||||
|
'PartyPoker' : True,
|
||||||
|
'Betfair' : True,
|
||||||
|
'OnGame' : True,
|
||||||
|
'Absolute' : True,
|
||||||
|
'Everleaf' : True,
|
||||||
|
'Carbon' : True,
|
||||||
|
'PKR' : True,
|
||||||
|
'iPoker' : True,
|
||||||
|
}
|
||||||
|
|
||||||
|
if sites['PokerStars'] == True:
|
||||||
walk_testfiles("regression-test-files/cash/Stars/", compare, importer, PokerStarsErrors, "PokerStars")
|
walk_testfiles("regression-test-files/cash/Stars/", compare, importer, PokerStarsErrors, "PokerStars")
|
||||||
walk_testfiles("regression-test-files/tour/Stars/", compare, importer, PokerStarsErrors, "PokerStars")
|
walk_testfiles("regression-test-files/tour/Stars/", compare, importer, PokerStarsErrors, "PokerStars")
|
||||||
|
if sites['Full Tilt Poker'] == True:
|
||||||
walk_testfiles("regression-test-files/cash/FTP/", compare, importer, FTPErrors, "Full Tilt Poker")
|
walk_testfiles("regression-test-files/cash/FTP/", compare, importer, FTPErrors, "Full Tilt Poker")
|
||||||
walk_testfiles("regression-test-files/tour/FTP/", compare, importer, FTPErrors, "Full Tilt Poker")
|
walk_testfiles("regression-test-files/tour/FTP/", compare, importer, FTPErrors, "Full Tilt Poker")
|
||||||
|
if sites['PartyPoker'] == True:
|
||||||
walk_testfiles("regression-test-files/cash/PartyPoker/", compare, importer, PartyPokerErrors, "PartyPoker")
|
walk_testfiles("regression-test-files/cash/PartyPoker/", compare, importer, PartyPokerErrors, "PartyPoker")
|
||||||
walk_testfiles("regression-test-files/tour/PartyPoker/", compare, importer, PartyPokerErrors, "PartyPoker")
|
walk_testfiles("regression-test-files/tour/PartyPoker/", compare, importer, PartyPokerErrors, "PartyPoker")
|
||||||
|
if sites['Betfair'] == True:
|
||||||
walk_testfiles("regression-test-files/cash/Betfair/", compare, importer, BetfairErrors, "Betfair")
|
walk_testfiles("regression-test-files/cash/Betfair/", compare, importer, BetfairErrors, "Betfair")
|
||||||
|
if sites['OnGame'] == True:
|
||||||
walk_testfiles("regression-test-files/cash/OnGame/", compare, importer, OnGameErrors, "OnGame")
|
walk_testfiles("regression-test-files/cash/OnGame/", compare, importer, OnGameErrors, "OnGame")
|
||||||
|
if sites['Absolute'] == True:
|
||||||
walk_testfiles("regression-test-files/cash/Absolute/", compare, importer, AbsoluteErrors, "Absolute")
|
walk_testfiles("regression-test-files/cash/Absolute/", compare, importer, AbsoluteErrors, "Absolute")
|
||||||
|
if sites['Everleaf'] == True:
|
||||||
walk_testfiles("regression-test-files/cash/Everleaf/", compare, importer, EverleafErrors, "Everleaf")
|
walk_testfiles("regression-test-files/cash/Everleaf/", compare, importer, EverleafErrors, "Everleaf")
|
||||||
|
if sites['Carbon'] == True:
|
||||||
walk_testfiles("regression-test-files/cash/Carbon/", compare, importer, CarbonErrors, "Carbon")
|
walk_testfiles("regression-test-files/cash/Carbon/", compare, importer, CarbonErrors, "Carbon")
|
||||||
|
if sites['PKR'] == True:
|
||||||
walk_testfiles("regression-test-files/cash/PKR/", compare, importer, PKRErrors, "PKR")
|
walk_testfiles("regression-test-files/cash/PKR/", compare, importer, PKRErrors, "PKR")
|
||||||
|
if sites['iPoker'] == True:
|
||||||
walk_testfiles("regression-test-files/cash/iPoker/", compare, importer, iPokerErrors, "iPoker")
|
walk_testfiles("regression-test-files/cash/iPoker/", compare, importer, iPokerErrors, "iPoker")
|
||||||
|
|
||||||
totalerrors = 0
|
totalerrors = 0
|
||||||
|
|
|
@ -125,11 +125,11 @@ class TourneySummary(object):
|
||||||
self.sym = None
|
self.sym = None
|
||||||
|
|
||||||
if builtFrom=="IMAP":
|
if builtFrom=="IMAP":
|
||||||
|
# Fix line endings?
|
||||||
|
pass
|
||||||
|
|
||||||
self.parseSummary()
|
self.parseSummary()
|
||||||
self.insertOrUpdate()
|
self.insertOrUpdate()
|
||||||
elif builtFrom == "file":
|
|
||||||
self.parseSummaryFile()
|
|
||||||
self.insertOrUpdate()
|
|
||||||
#end def __init__
|
#end def __init__
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
|
|
|
@ -23,16 +23,8 @@
|
||||||
#
|
#
|
||||||
# TODO:
|
# TODO:
|
||||||
#
|
#
|
||||||
# -- No siteID assigned
|
|
||||||
# -- No support for games other than NL hold 'em cash. Hand histories for other
|
|
||||||
# games required
|
|
||||||
# -- No support for limit hold 'em yet, though this would be easy to add
|
|
||||||
# -- No support for tournaments (see also the last item below)
|
# -- No support for tournaments (see also the last item below)
|
||||||
# -- Assumes that the currency of ring games is USD
|
# -- Assumes that the currency of ring games is USD
|
||||||
# -- Only works for 'gametype="2"'. What is 'gametype'?
|
|
||||||
# -- Only accepts 'realmoney="true"'
|
|
||||||
# -- A hand's time-stamp does not record seconds past the minute (a
|
|
||||||
# limitation of the history format)
|
|
||||||
# -- No support for a bring-in or for antes (is the latter in fact unnecessary
|
# -- No support for a bring-in or for antes (is the latter in fact unnecessary
|
||||||
# for hold 'em on Carbon?)
|
# for hold 'em on Carbon?)
|
||||||
# -- hand.maxseats can only be guessed at
|
# -- hand.maxseats can only be guessed at
|
||||||
|
@ -77,23 +69,19 @@ class iPoker(HandHistoryConverter):
|
||||||
re_SplitHands = re.compile(r'</game>\n+(?=<game)')
|
re_SplitHands = re.compile(r'</game>\n+(?=<game)')
|
||||||
re_TailSplitHands = re.compile(r'(</game>)')
|
re_TailSplitHands = re.compile(r'(</game>)')
|
||||||
re_GameInfo = re.compile(r'<gametype>(?P<GAME>[a-zA-Z0-9 ]+) \$(?P<SB>[.0-9]+)/\$(?P<BB>[.0-9]+)</gametype>', re.MULTILINE)
|
re_GameInfo = re.compile(r'<gametype>(?P<GAME>[a-zA-Z0-9 ]+) \$(?P<SB>[.0-9]+)/\$(?P<BB>[.0-9]+)</gametype>', re.MULTILINE)
|
||||||
# \$(?P<SB>[.0-9]+)\/\$(?P<BB>[.0-9]+)<\/gametype>', re.MULTILINE)
|
re_HandInfo = re.compile(r'gamecode="(?P<HID>[0-9]+)">\s+<general>\s+<startdate>(?P<DATETIME>[-: 0-9]+)</startdate>', re.MULTILINE)
|
||||||
re_HandInfo = re.compile(r'<game id="(?P<HID1>[0-9]+)-(?P<HID2>[0-9]+)" starttime="(?P<DATETIME>[0-9]+)" numholecards="2" gametype="2" realmoney="true" data="[0-9]+\|(?P<TABLE>[^\(]+)', re.MULTILINE)
|
|
||||||
re_Button = re.compile(r'<players dealer="(?P<BUTTON>[0-9]+)">')
|
re_Button = re.compile(r'<players dealer="(?P<BUTTON>[0-9]+)">')
|
||||||
re_PlayerInfo = re.compile(r'<player seat="(?P<SEAT>[0-9]+)" nickname="(?P<PNAME>.+)" balance="\$(?P<CASH>[.0-9]+)" dealtin="(?P<DEALTIN>(true|false))" />', re.MULTILINE)
|
re_PlayerInfo = re.compile(r'<player seat="(?P<SEAT>[0-9]+)" name="(?P<PNAME>[^"]+)" chips="\$(?P<CASH>[.0-9]+)" dealer="(?P<DEALTIN>(0|1))"', re.MULTILINE)
|
||||||
re_Board = re.compile(r'<cards type="COMMUNITY" cards="(?P<CARDS>[^"]+)"', re.MULTILINE)
|
re_Board = re.compile(r'<cards type="COMMUNITY" cards="(?P<CARDS>[^"]+)"', re.MULTILINE)
|
||||||
re_EndOfHand = re.compile(r'<round id="END_OF_GAME"', re.MULTILINE)
|
re_EndOfHand = re.compile(r'<round id="END_OF_GAME"', re.MULTILINE)
|
||||||
|
|
||||||
# The following are also static regexes: there is no need to call
|
|
||||||
# compilePlayerRegexes (which does nothing), since players are identified
|
|
||||||
# not by name but by seat number
|
|
||||||
re_PostSB = re.compile(r'<event sequence="[0-9]+" type="(SMALL_BLIND|RETURN_BLIND)" player="(?P<PSEAT>[0-9])" amount="(?P<SB>[.0-9]+)"/>', re.MULTILINE)
|
re_PostSB = re.compile(r'<event sequence="[0-9]+" type="(SMALL_BLIND|RETURN_BLIND)" player="(?P<PSEAT>[0-9])" amount="(?P<SB>[.0-9]+)"/>', re.MULTILINE)
|
||||||
re_PostBB = re.compile(r'<event sequence="[0-9]+" type="(BIG_BLIND|INITIAL_BLIND)" player="(?P<PSEAT>[0-9])" amount="(?P<BB>[.0-9]+)"/>', re.MULTILINE)
|
re_PostBB = re.compile(r'<event sequence="[0-9]+" type="(BIG_BLIND|INITIAL_BLIND)" player="(?P<PSEAT>[0-9])" amount="(?P<BB>[.0-9]+)"/>', re.MULTILINE)
|
||||||
re_PostBoth = re.compile(r'<event sequence="[0-9]+" type="(RETURN_BLIND)" player="(?P<PSEAT>[0-9])" amount="(?P<SBBB>[.0-9]+)"/>', re.MULTILINE)
|
re_PostBoth = re.compile(r'<event sequence="[0-9]+" type="(RETURN_BLIND)" player="(?P<PSEAT>[0-9])" amount="(?P<SBBB>[.0-9]+)"/>', re.MULTILINE)
|
||||||
#re_Antes = ???
|
#re_Antes = ???
|
||||||
#re_BringIn = ???
|
#re_BringIn = ???
|
||||||
re_HeroCards = re.compile(r'<cards type="HOLE" cards="(?P<CARDS>.+)" player="(?P<PSEAT>[0-9])"', re.MULTILINE)
|
re_HeroCards = re.compile(r'<cards type="HOLE" cards="(?P<CARDS>.+)" player="(?P<PSEAT>[0-9])"', re.MULTILINE)
|
||||||
re_Action = re.compile(r'<event sequence="[0-9]+" type="(?P<ATYPE>FOLD|CHECK|CALL|BET|RAISE|ALL_IN|SIT_OUT)" (?P<TIMESTAMP>timestamp="[0-9]+" )?player="(?P<PSEAT>[0-9])"( amount="(?P<BET>[.0-9]+)")?/>', re.MULTILINE)
|
re_Action = re.compile(r'<action no="[0-9]+" player="(?P<PNAME>[^"]+)" type="(?P<ATYPE>0|3|4|16)" sum="\$(?P<BET>[.0-9]+)"', re.MULTILINE)
|
||||||
re_ShowdownAction = re.compile(r'<cards type="SHOWN" cards="(?P<CARDS>..,..)" player="(?P<PSEAT>[0-9])"/>', re.MULTILINE)
|
re_ShowdownAction = re.compile(r'<cards type="SHOWN" cards="(?P<CARDS>..,..)" player="(?P<PSEAT>[0-9])"/>', re.MULTILINE)
|
||||||
re_CollectPot = re.compile(r'<winner amount="(?P<POT>[.0-9]+)" uncalled="(true|false)" potnumber="[0-9]+" player="(?P<PSEAT>[0-9])"', re.MULTILINE)
|
re_CollectPot = re.compile(r'<winner amount="(?P<POT>[.0-9]+)" uncalled="(true|false)" potnumber="[0-9]+" player="(?P<PSEAT>[0-9])"', re.MULTILINE)
|
||||||
re_SitsOut = re.compile(r'<event sequence="[0-9]+" type="SIT_OUT" player="(?P<PSEAT>[0-9])"/>', re.MULTILINE)
|
re_SitsOut = re.compile(r'<event sequence="[0-9]+" type="SIT_OUT" player="(?P<PSEAT>[0-9])"/>', re.MULTILINE)
|
||||||
|
@ -110,8 +98,11 @@ class iPoker(HandHistoryConverter):
|
||||||
return p[1]
|
return p[1]
|
||||||
|
|
||||||
def readSupportedGames(self):
|
def readSupportedGames(self):
|
||||||
return [["ring", "hold", "nl"],
|
return [
|
||||||
["tour", "hold", "nl"]]
|
["ring", "stud", "fl"],
|
||||||
|
#["ring", "hold", "nl"],
|
||||||
|
#["tour", "hold", "nl"]
|
||||||
|
]
|
||||||
|
|
||||||
def determineGameType(self, handText):
|
def determineGameType(self, handText):
|
||||||
"""return dict with keys/values:
|
"""return dict with keys/values:
|
||||||
|
@ -144,6 +135,7 @@ or None if we fail to get the info """
|
||||||
|
|
||||||
self.info = {}
|
self.info = {}
|
||||||
mg = m.groupdict()
|
mg = m.groupdict()
|
||||||
|
print "DEBUG: m.groupdict(): %s" % mg
|
||||||
|
|
||||||
limits = { 'No Limit':'nl', 'Limit':'fl' }
|
limits = { 'No Limit':'nl', 'Limit':'fl' }
|
||||||
games = { # base, category
|
games = { # base, category
|
||||||
|
@ -171,24 +163,21 @@ or None if we fail to get the info """
|
||||||
def readHandInfo(self, hand):
|
def readHandInfo(self, hand):
|
||||||
m = self.re_HandInfo.search(hand.handText)
|
m = self.re_HandInfo.search(hand.handText)
|
||||||
if m is None:
|
if m is None:
|
||||||
logging.info(_("Didn't match re_HandInfo"))
|
logging.error(_("Didn't match re_HandInfo"))
|
||||||
logging.info(hand.handText)
|
logging.info(hand.handText)
|
||||||
return None
|
raise FpdbParseError(_("Didn't match re_HandInfo"))
|
||||||
logging.debug("HID %s-%s, Table %s" % (m.group('HID1'),
|
mg = m.groupdict()
|
||||||
m.group('HID2'), m.group('TABLE')[:-1]))
|
print "DEBUG: m.groupdict(): %s" % mg
|
||||||
hand.handid = m.group('HID1') + m.group('HID2')
|
hand.handid = m.group('HID')
|
||||||
hand.tablename = m.group('TABLE')[:-1]
|
#hand.tablename = m.group('TABLE')[:-1]
|
||||||
hand.maxseats = 2 # This value may be increased as necessary
|
hand.maxseats = None
|
||||||
hand.startTime = datetime.datetime.strptime(m.group('DATETIME')[:12],
|
hand.startTime = datetime.datetime.strptime(m.group('DATETIME'), '%Y-%m-%d %H:%M:%S')
|
||||||
'%Y%m%d%H%M')
|
|
||||||
# Check that the hand is complete up to the awarding of the pot; if
|
|
||||||
# not, the hand is unparseable
|
|
||||||
if self.re_EndOfHand.search(hand.handText) is None:
|
|
||||||
raise FpdbParseError(hid=m.group('HID1') + "-" + m.group('HID2'))
|
|
||||||
|
|
||||||
def readPlayerStacks(self, hand):
|
def readPlayerStacks(self, hand):
|
||||||
m = self.re_PlayerInfo.finditer(hand.handText)
|
m = self.re_PlayerInfo.finditer(hand.handText)
|
||||||
for a in m:
|
for a in m:
|
||||||
|
ag = a.groupdict()
|
||||||
|
print "DEBUG: ag: %s" %ag
|
||||||
seatno = int(a.group('SEAT'))
|
seatno = int(a.group('SEAT'))
|
||||||
# It may be necessary to adjust 'hand.maxseats', which is an
|
# It may be necessary to adjust 'hand.maxseats', which is an
|
||||||
# educated guess, starting with 2 (indicating a heads-up table) and
|
# educated guess, starting with 2 (indicating a heads-up table) and
|
||||||
|
@ -202,12 +191,18 @@ or None if we fail to get the info """
|
||||||
hand.maxseats = 9
|
hand.maxseats = 9
|
||||||
else:
|
else:
|
||||||
hand.maxseats = 6
|
hand.maxseats = 6
|
||||||
if a.group('DEALTIN') == "true":
|
|
||||||
hand.addPlayer(seatno, a.group('PNAME'), a.group('CASH'))
|
hand.addPlayer(seatno, a.group('PNAME'), a.group('CASH'))
|
||||||
|
|
||||||
def markStreets(self, hand):
|
def markStreets(self, hand):
|
||||||
#if hand.gametype['base'] == 'hold':
|
if hand.gametype['base'] in ('stud'):
|
||||||
m = re.search(r'<round id="PREFLOP" sequence="[0-9]+">(?P<PREFLOP>.+(?=<round id="POSTFLOP")|.+)(<round id="POSTFLOP" sequence="[0-9]+">(?P<FLOP>.+(?=<round id="POSTTURN")|.+))?(<round id="POSTTURN" sequence="[0-9]+">(?P<TURN>.+(?=<round id="POSTRIVER")|.+))?(<round id="POSTRIVER" sequence="[0-9]+">(?P<RIVER>.+))?', hand.handText, re.DOTALL)
|
m = re.search(r'(?P<ANTES>.+(?=<round no="2">)|.+)'
|
||||||
|
r'(<round no="2">(?P<THIRD>.+(?=<round no="3">)|.+))?'
|
||||||
|
r'(<round no="3">(?P<FOURTH>.+(?=<round no="4">)|.+))?'
|
||||||
|
r'(<round no="4">(?P<FIFTH>.+(?=<round no="5">)|.+))?'
|
||||||
|
r'(<round no="5">(?P<SIXTH>.+(?=<round no="6">)|.+))?'
|
||||||
|
r'(<round no="6">(?P<SEVENTH>.+))?', hand.handText,re.DOTALL)
|
||||||
|
|
||||||
hand.addStreets(m)
|
hand.addStreets(m)
|
||||||
|
|
||||||
def readCommunityCards(self, hand, street):
|
def readCommunityCards(self, hand, street):
|
||||||
|
@ -224,27 +219,11 @@ or None if we fail to get the info """
|
||||||
pass # ???
|
pass # ???
|
||||||
|
|
||||||
def readBlinds(self, hand):
|
def readBlinds(self, hand):
|
||||||
try:
|
|
||||||
m = self.re_PostSB.search(hand.handText)
|
m = self.re_PostSB.search(hand.handText)
|
||||||
hand.addBlind(self.playerNameFromSeatNo(m.group('PSEAT'), hand),
|
hand.addBlind(m.group('PNAME'), 'small blind', m.group('SB'))
|
||||||
'small blind', m.group('SB'))
|
|
||||||
except: # no small blind
|
|
||||||
hand.addBlind(None, None, None)
|
|
||||||
for a in self.re_PostBB.finditer(hand.handText):
|
for a in self.re_PostBB.finditer(hand.handText):
|
||||||
hand.addBlind(self.playerNameFromSeatNo(a.group('PSEAT'), hand),
|
hand.addBlind(m.group('PNAME'), 'big blind', a.group('BB'))
|
||||||
'big blind', a.group('BB'))
|
#for a in self.re_PostBoth.finditer(hand.handText):
|
||||||
for a in self.re_PostBoth.finditer(hand.handText):
|
|
||||||
bb = Decimal(self.info['bb'])
|
|
||||||
amount = Decimal(a.group('SBBB'))
|
|
||||||
if amount < bb:
|
|
||||||
hand.addBlind(self.playerNameFromSeatNo(a.group('PSEAT'),
|
|
||||||
hand), 'small blind', a.group('SBBB'))
|
|
||||||
elif amount == bb:
|
|
||||||
hand.addBlind(self.playerNameFromSeatNo(a.group('PSEAT'),
|
|
||||||
hand), 'big blind', a.group('SBBB'))
|
|
||||||
else:
|
|
||||||
hand.addBlind(self.playerNameFromSeatNo(a.group('PSEAT'),
|
|
||||||
hand), 'both', a.group('SBBB'))
|
|
||||||
|
|
||||||
def readButton(self, hand):
|
def readButton(self, hand):
|
||||||
hand.buttonpos = int(self.re_Button.search(hand.handText).group('BUTTON'))
|
hand.buttonpos = int(self.re_Button.search(hand.handText).group('BUTTON'))
|
||||||
|
@ -261,24 +240,24 @@ or None if we fail to get the info """
|
||||||
logging.debug("readAction (%s)" % street)
|
logging.debug("readAction (%s)" % street)
|
||||||
m = self.re_Action.finditer(hand.streets[street])
|
m = self.re_Action.finditer(hand.streets[street])
|
||||||
for action in m:
|
for action in m:
|
||||||
|
ag = action.groupdict()
|
||||||
|
print "DEBUG: action.groupdict: %s" % ag
|
||||||
logging.debug("%s %s" % (action.group('ATYPE'),
|
logging.debug("%s %s" % (action.group('ATYPE'),
|
||||||
action.groupdict()))
|
action.groupdict()))
|
||||||
player = self.playerNameFromSeatNo(action.group('PSEAT'), hand)
|
|
||||||
if action.group('ATYPE') == 'RAISE':
|
if action.group('ATYPE') == 'RAISE':
|
||||||
hand.addCallandRaise(street, player, action.group('BET'))
|
hand.addCallandRaise(street, player, action.group('BET'))
|
||||||
elif action.group('ATYPE') == 'CALL':
|
elif action.group('ATYPE') == '3': # Believe this is 'call'
|
||||||
hand.addCall(street, player, action.group('BET'))
|
hand.addCall(street, action.group('PNAME'), action.group('BET'))
|
||||||
elif action.group('ATYPE') == 'BET':
|
elif action.group('ATYPE') == 'BET':
|
||||||
hand.addBet(street, player, action.group('BET'))
|
hand.addBet(street, player, action.group('BET'))
|
||||||
elif action.group('ATYPE') in ('FOLD', 'SIT_OUT'):
|
elif action.group('ATYPE') == '0': # Belive this is 'fold'
|
||||||
hand.addFold(street, player)
|
hand.addFold(street, action.group('PNAME'))
|
||||||
elif action.group('ATYPE') == 'CHECK':
|
elif action.group('ATYPE') == 'CHECK':
|
||||||
hand.addCheck(street, player)
|
hand.addCheck(street, player)
|
||||||
elif action.group('ATYPE') == 'ALL_IN':
|
elif action.group('ATYPE') == 'ALL_IN':
|
||||||
hand.addAllIn(street, player, action.group('BET'))
|
hand.addAllIn(street, player, action.group('BET'))
|
||||||
else:
|
else:
|
||||||
logging.debug(_("Unimplemented readAction: %s %s"
|
logging.error(_("Unimplemented readAction: %s" % (ag)))
|
||||||
% (action.group('PSEAT'),action.group('ATYPE'),)))
|
|
||||||
|
|
||||||
def readShowdownActions(self, hand):
|
def readShowdownActions(self, hand):
|
||||||
for shows in self.re_ShowdownAction.finditer(hand.handText):
|
for shows in self.re_ShowdownAction.finditer(hand.handText):
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,588 @@
|
||||||
|
Everleaf Gaming Game #149107406
|
||||||
|
***** Hand history for game #149107406 *****
|
||||||
|
Blinds $0.05/$0.10 PL Omaha Hi/Lo - 2010/03/02 - 19:35:19
|
||||||
|
Table Old Market I
|
||||||
|
Seat 5 is the button
|
||||||
|
Total number of players: 2
|
||||||
|
Seat 5: Villain ( $ 10 USD )
|
||||||
|
Seat 10: Hero ( $ 10 USD )
|
||||||
|
Villain has disconnected and has been given a further 20 seconds to react
|
||||||
|
Villain has disconnected and has been given a further 20 seconds to react
|
||||||
|
Villain: posts small blind [$ 0.05 USD]
|
||||||
|
Hero: posts big blind [$ 0.10 USD]
|
||||||
|
** Dealing down cards **
|
||||||
|
Dealt to Hero [ Qc, Qh, 7s, Jd ]
|
||||||
|
Villain calls [$ 0.05 USD]
|
||||||
|
Hero raises [$ 0.20 USD]
|
||||||
|
Villain calls [$ 0.20 USD]
|
||||||
|
** Dealing Flop ** [ Tc, Kc, 3s ]
|
||||||
|
Hero: bets [$ 0.60 USD]
|
||||||
|
Villain calls [$ 0.60 USD]
|
||||||
|
** Dealing Turn ** [ 6d ]
|
||||||
|
Hero checks
|
||||||
|
Villain: bets [$ 1.80 USD]
|
||||||
|
Hero folds
|
||||||
|
Villain does not show cards
|
||||||
|
Villain wins high ($ 1.71 USD) from main pot
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Everleaf Gaming Game #149107627
|
||||||
|
***** Hand history for game #149107627 *****
|
||||||
|
Blinds $0.05/$0.10 PL Omaha Hi/Lo - 2010/03/02 - 19:36:09
|
||||||
|
Table Old Market I
|
||||||
|
Seat 10 is the button
|
||||||
|
Total number of players: 2
|
||||||
|
Seat 5: Villain ( $ 10.81 USD )
|
||||||
|
Seat 10: Hero ( $ 9.10 USD )
|
||||||
|
Hero: posts small blind [$ 0.05 USD]
|
||||||
|
Villain: posts big blind [$ 0.10 USD]
|
||||||
|
** Dealing down cards **
|
||||||
|
Dealt to Hero [ Jd, 9h, 3h, 3c ]
|
||||||
|
Hero calls [$ 0.05 USD]
|
||||||
|
Villain checks
|
||||||
|
** Dealing Flop ** [ 8c, 8h, Qs ]
|
||||||
|
Villain checks
|
||||||
|
Hero checks
|
||||||
|
** Dealing Turn ** [ 7h ]
|
||||||
|
Villain: bets [$ 0.10 USD]
|
||||||
|
Hero folds
|
||||||
|
Villain does not show cards
|
||||||
|
Villain wins high ($ 0.19 USD) from main pot
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Everleaf Gaming Game #149107795
|
||||||
|
***** Hand history for game #149107795 *****
|
||||||
|
Blinds $0.05/$0.10 PL Omaha Hi/Lo - 2010/03/02 - 19:36:48
|
||||||
|
Table Old Market I
|
||||||
|
Seat 5 is the button
|
||||||
|
Total number of players: 2
|
||||||
|
Seat 5: Villain ( $ 10.90 USD )
|
||||||
|
Seat 10: Hero ( $ 9 USD )
|
||||||
|
Villain: posts small blind [$ 0.05 USD]
|
||||||
|
Hero: posts big blind [$ 0.10 USD]
|
||||||
|
** Dealing down cards **
|
||||||
|
Dealt to Hero [ Qc, As, 4s, Qh ]
|
||||||
|
Villain calls [$ 0.05 USD]
|
||||||
|
Hero raises [$ 0.20 USD]
|
||||||
|
Villain calls [$ 0.20 USD]
|
||||||
|
** Dealing Flop ** [ 8d, 6h, 3c ]
|
||||||
|
Hero: bets [$ 0.60 USD]
|
||||||
|
Villain calls [$ 0.60 USD]
|
||||||
|
** Dealing Turn ** [ Qd ]
|
||||||
|
Hero: bets [$ 1.80 USD]
|
||||||
|
Villain calls [$ 1.80 USD]
|
||||||
|
** Dealing River ** [ 7h ]
|
||||||
|
Hero checks
|
||||||
|
Villain checks
|
||||||
|
Hero shows [ Qc, As, 4s, Qh ] three of a kind, queens
|
||||||
|
Villain does not show cards
|
||||||
|
Hero wins high ($ 2.57 USD) from main pot with three of a kind, queens [ Qc, Qh, Qd, 8d, 7h ]
|
||||||
|
Hero wins low ($2.56) from main pot with 7, 6, 4, 3, A [ As, 7h, 6h, 4s, 3c ]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Everleaf Gaming Game #149108010
|
||||||
|
***** Hand history for game #149108010 *****
|
||||||
|
Blinds $0.05/$0.10 PL Omaha Hi/Lo - 2010/03/02 - 19:37:35
|
||||||
|
Table Old Market I
|
||||||
|
Seat 10 is the button
|
||||||
|
Total number of players: 2
|
||||||
|
Seat 5: Villain ( $ 8.20 USD )
|
||||||
|
Seat 10: Hero ( $ 11.43 USD )
|
||||||
|
Hero: posts small blind [$ 0.05 USD]
|
||||||
|
Villain: posts big blind [$ 0.10 USD]
|
||||||
|
** Dealing down cards **
|
||||||
|
Dealt to Hero [ 4s, Ts, 3h, 5s ]
|
||||||
|
Hero folds
|
||||||
|
Villain does not show cards
|
||||||
|
Villain wins high ($ 0.10 USD) from main pot
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Everleaf Gaming Game #149108038
|
||||||
|
***** Hand history for game #149108038 *****
|
||||||
|
Blinds $0.05/$0.10 PL Omaha Hi/Lo - 2010/03/02 - 19:37:43
|
||||||
|
Table Old Market I
|
||||||
|
Seat 5 is the button
|
||||||
|
Total number of players: 2
|
||||||
|
Seat 5: Villain ( $ 8.25 USD )
|
||||||
|
Seat 10: Hero ( $ 11.38 USD )
|
||||||
|
Villain: posts small blind [$ 0.05 USD]
|
||||||
|
Hero: posts big blind [$ 0.10 USD]
|
||||||
|
** Dealing down cards **
|
||||||
|
Dealt to Hero [ 9d, Qc, 9s, Tc ]
|
||||||
|
Villain raises [$ 0.25 USD]
|
||||||
|
Hero calls [$ 0.20 USD]
|
||||||
|
** Dealing Flop ** [ 3d, 4d, 2h ]
|
||||||
|
Hero checks
|
||||||
|
Villain: bets [$ 0.60 USD]
|
||||||
|
Hero folds
|
||||||
|
Villain does not show cards
|
||||||
|
Villain wins high ($ 0.57 USD) from main pot
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Everleaf Gaming Game #149108121
|
||||||
|
***** Hand history for game #149108121 *****
|
||||||
|
Blinds $0.05/$0.10 PL Omaha Hi/Lo - 2010/03/02 - 19:38:02
|
||||||
|
Table Old Market I
|
||||||
|
Seat 10 is the button
|
||||||
|
Total number of players: 2
|
||||||
|
Seat 5: Villain ( $ 8.52 USD )
|
||||||
|
Seat 10: Hero ( $ 11.08 USD )
|
||||||
|
Hero: posts small blind [$ 0.05 USD]
|
||||||
|
Villain: posts big blind [$ 0.10 USD]
|
||||||
|
** Dealing down cards **
|
||||||
|
Dealt to Hero [ 4d, Ks, 7h, As ]
|
||||||
|
Hero raises [$ 0.25 USD]
|
||||||
|
Villain calls [$ 0.20 USD]
|
||||||
|
** Dealing Flop ** [ 7d, Qc, 6s ]
|
||||||
|
Villain checks
|
||||||
|
Hero checks
|
||||||
|
** Dealing Turn ** [ Kh ]
|
||||||
|
Villain: bets [$ 0.60 USD]
|
||||||
|
Hero calls [$ 0.60 USD]
|
||||||
|
** Dealing River ** [ Qh ]
|
||||||
|
Villain: bets [$ 1.80 USD]
|
||||||
|
Hero folds
|
||||||
|
Villain does not show cards
|
||||||
|
Villain wins high ($ 1.71 USD) from main pot
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Everleaf Gaming Game #149108259
|
||||||
|
***** Hand history for game #149108259 *****
|
||||||
|
Blinds $0.05/$0.10 PL Omaha Hi/Lo - 2010/03/02 - 19:38:32
|
||||||
|
Table Old Market I
|
||||||
|
Seat 5 is the button
|
||||||
|
Total number of players: 2
|
||||||
|
Seat 5: Villain ( $ 9.33 USD )
|
||||||
|
Seat 10: Hero ( $ 10.18 USD )
|
||||||
|
Villain: posts small blind [$ 0.05 USD]
|
||||||
|
Hero: posts big blind [$ 0.10 USD]
|
||||||
|
** Dealing down cards **
|
||||||
|
Dealt to Hero [ 7d, 2h, Ad, Jh ]
|
||||||
|
Villain calls [$ 0.05 USD]
|
||||||
|
Hero raises [$ 0.20 USD]
|
||||||
|
Villain has disconnected and has been given a further 20 seconds to react
|
||||||
|
Villain has disconnected and has been given a further 20 seconds to react
|
||||||
|
Villain folds
|
||||||
|
Hero does not show cards
|
||||||
|
Hero wins $ 0.20 USD from main pot
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Everleaf Gaming Game #149108411
|
||||||
|
***** Hand history for game #149108411 *****
|
||||||
|
Blinds $0.05/$0.10 PL Omaha Hi/Lo - 2010/03/02 - 19:39:07
|
||||||
|
Table Old Market I
|
||||||
|
Seat 10 is the button
|
||||||
|
Total number of players: 2
|
||||||
|
Seat 5: Villain ( $ 9.23 USD )
|
||||||
|
Seat 10: Hero ( $ 10.28 USD )
|
||||||
|
Hero: posts small blind [$ 0.05 USD]
|
||||||
|
Villain: posts big blind [$ 0.10 USD]
|
||||||
|
** Dealing down cards **
|
||||||
|
Dealt to Hero [ Ks, Kd, 7c, 7s ]
|
||||||
|
Hero raises [$ 0.25 USD]
|
||||||
|
Villain calls [$ 0.20 USD]
|
||||||
|
** Dealing Flop ** [ 7d, Ac, 9h ]
|
||||||
|
Villain checks
|
||||||
|
Hero checks
|
||||||
|
** Dealing Turn ** [ 2d ]
|
||||||
|
Villain: bets [$ 0.60 USD]
|
||||||
|
Hero calls [$ 0.60 USD]
|
||||||
|
** Dealing River ** [ 9s ]
|
||||||
|
Villain checks
|
||||||
|
Hero: bets [$ 1.80 USD]
|
||||||
|
Villain folds
|
||||||
|
Hero does not show cards
|
||||||
|
Hero wins $ 1.71 USD from main pot
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Everleaf Gaming Game #149108717
|
||||||
|
***** Hand history for game #149108717 *****
|
||||||
|
Blinds $0.05/$0.10 PL Omaha Hi/Lo - 2010/03/02 - 19:40:22
|
||||||
|
Table Old Market I
|
||||||
|
Seat 5 is the button
|
||||||
|
Total number of players: 2
|
||||||
|
Seat 5: Villain ( $ 8.33 USD )
|
||||||
|
Seat 10: Hero ( $ 11.09 USD )
|
||||||
|
Villain: posts small blind [$ 0.05 USD]
|
||||||
|
Hero: posts big blind [$ 0.10 USD]
|
||||||
|
** Dealing down cards **
|
||||||
|
Dealt to Hero [ 5s, 3s, Js, 9d ]
|
||||||
|
Villain calls [$ 0.05 USD]
|
||||||
|
Hero checks
|
||||||
|
** Dealing Flop ** [ 6c, 4s, 4d ]
|
||||||
|
Hero checks
|
||||||
|
Villain checks
|
||||||
|
** Dealing Turn ** [ 7c ]
|
||||||
|
Hero: bets [$ 0.20 USD]
|
||||||
|
Villain calls [$ 0.20 USD]
|
||||||
|
** Dealing River ** [ Qd ]
|
||||||
|
Hero: bets [$ 0.60 USD]
|
||||||
|
Villain folds
|
||||||
|
Hero does not show cards
|
||||||
|
Hero wins $ 0.29 USD from main pot
|
||||||
|
Hero wins $ 0.28 USD from main pot
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Everleaf Gaming Game #149108874
|
||||||
|
***** Hand history for game #149108874 *****
|
||||||
|
Blinds $0.05/$0.10 PL Omaha Hi/Lo - 2010/03/02 - 19:40:58
|
||||||
|
Table Old Market I
|
||||||
|
Seat 10 is the button
|
||||||
|
Total number of players: 2
|
||||||
|
Seat 5: Villain ( $ 8.03 USD )
|
||||||
|
Seat 10: Hero ( $ 11.36 USD )
|
||||||
|
Hero: posts small blind [$ 0.05 USD]
|
||||||
|
Villain: posts big blind [$ 0.10 USD]
|
||||||
|
** Dealing down cards **
|
||||||
|
Dealt to Hero [ Qd, Jh, 2h, 5s ]
|
||||||
|
Hero calls [$ 0.05 USD]
|
||||||
|
Villain checks
|
||||||
|
** Dealing Flop ** [ 7d, 2c, 9c ]
|
||||||
|
Villain: bets [$ 0.20 USD]
|
||||||
|
Hero folds
|
||||||
|
Villain does not show cards
|
||||||
|
Villain wins $ 0.19 USD from main pot
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Everleaf Gaming Game #149109021
|
||||||
|
***** Hand history for game #149109021 *****
|
||||||
|
Blinds $0.05/$0.10 PL Omaha Hi/Lo - 2010/03/02 - 19:41:31
|
||||||
|
Table Old Market I
|
||||||
|
Seat 5 is the button
|
||||||
|
Total number of players: 2
|
||||||
|
Seat 5: Villain ( $ 8.12 USD )
|
||||||
|
Seat 10: Hero ( $ 11.26 USD )
|
||||||
|
Villain: posts small blind [$ 0.05 USD]
|
||||||
|
Hero: posts big blind [$ 0.10 USD]
|
||||||
|
** Dealing down cards **
|
||||||
|
Dealt to Hero [ 4c, 6h, 8s, 5c ]
|
||||||
|
Villain calls [$ 0.05 USD]
|
||||||
|
Hero checks
|
||||||
|
** Dealing Flop ** [ 3d, 8h, Qd ]
|
||||||
|
Hero checks
|
||||||
|
Villain: bets [$ 0.20 USD]
|
||||||
|
Hero folds
|
||||||
|
Villain does not show cards
|
||||||
|
Villain wins $ 0.19 USD from main pot
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Everleaf Gaming Game #149109123
|
||||||
|
***** Hand history for game #149109123 *****
|
||||||
|
Blinds $0.05/$0.10 PL Omaha Hi/Lo - 2010/03/02 - 19:41:54
|
||||||
|
Table Old Market I
|
||||||
|
Seat 10 is the button
|
||||||
|
Total number of players: 2
|
||||||
|
Seat 5: Villain ( $ 8.21 USD )
|
||||||
|
Seat 10: Hero ( $ 11.16 USD )
|
||||||
|
Hero: posts small blind [$ 0.05 USD]
|
||||||
|
Villain: posts big blind [$ 0.10 USD]
|
||||||
|
** Dealing down cards **
|
||||||
|
Dealt to Hero [ 7s, 3d, Tc, 5s ]
|
||||||
|
Hero folds
|
||||||
|
Villain does not show cards
|
||||||
|
Villain wins $ 0.10 USD from main pot
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Everleaf Gaming Game #149109165
|
||||||
|
***** Hand history for game #149109165 *****
|
||||||
|
Blinds $0.05/$0.10 PL Omaha Hi/Lo - 2010/03/02 - 19:42:04
|
||||||
|
Table Old Market I
|
||||||
|
Seat 5 is the button
|
||||||
|
Total number of players: 2
|
||||||
|
Seat 5: Villain ( $ 8.26 USD )
|
||||||
|
Seat 10: Hero ( $ 11.11 USD )
|
||||||
|
Villain: posts small blind [$ 0.05 USD]
|
||||||
|
Hero: posts big blind [$ 0.10 USD]
|
||||||
|
** Dealing down cards **
|
||||||
|
Dealt to Hero [ Kh, 3c, 6d, 6s ]
|
||||||
|
Villain calls [$ 0.05 USD]
|
||||||
|
Hero checks
|
||||||
|
** Dealing Flop ** [ 2d, 6c, Th ]
|
||||||
|
Hero checks
|
||||||
|
Villain checks
|
||||||
|
** Dealing Turn ** [ 9d ]
|
||||||
|
Hero checks
|
||||||
|
Villain: bets [$ 0.20 USD]
|
||||||
|
Hero folds
|
||||||
|
Villain does not show cards
|
||||||
|
Villain wins $ 0.19 USD from main pot
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Everleaf Gaming Game #149109398
|
||||||
|
***** Hand history for game #149109398 *****
|
||||||
|
Blinds $0.05/$0.10 PL Omaha Hi/Lo - 2010/03/02 - 19:42:55
|
||||||
|
Table Old Market I
|
||||||
|
Seat 10 is the button
|
||||||
|
Total number of players: 2
|
||||||
|
Seat 5: Villain ( $ 8.35 USD )
|
||||||
|
Seat 10: Hero ( $ 11.01 USD )
|
||||||
|
Hero: posts small blind [$ 0.05 USD]
|
||||||
|
Villain: posts big blind [$ 0.10 USD]
|
||||||
|
** Dealing down cards **
|
||||||
|
Dealt to Hero [ 5c, Qd, 6d, 7d ]
|
||||||
|
Hero calls [$ 0.05 USD]
|
||||||
|
Villain raises [$ 0.20 USD]
|
||||||
|
Hero folds
|
||||||
|
Villain does not show cards
|
||||||
|
Villain wins $ 0.20 USD from main pot
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Everleaf Gaming Game #149109482
|
||||||
|
***** Hand history for game #149109482 *****
|
||||||
|
Blinds $0.05/$0.10 PL Omaha Hi/Lo - 2010/03/02 - 19:43:15
|
||||||
|
Table Old Market I
|
||||||
|
Seat 5 is the button
|
||||||
|
Total number of players: 2
|
||||||
|
Seat 5: Villain ( $ 8.45 USD )
|
||||||
|
Seat 10: Hero ( $ 10.91 USD )
|
||||||
|
Villain: posts small blind [$ 0.05 USD]
|
||||||
|
Hero: posts big blind [$ 0.10 USD]
|
||||||
|
** Dealing down cards **
|
||||||
|
Dealt to Hero [ 7s, 8d, 5c, Qc ]
|
||||||
|
Villain calls [$ 0.05 USD]
|
||||||
|
Hero checks
|
||||||
|
** Dealing Flop ** [ 5s, Js, 7h ]
|
||||||
|
Hero: bets [$ 0.20 USD]
|
||||||
|
Villain calls [$ 0.20 USD]
|
||||||
|
** Dealing Turn ** [ Ac ]
|
||||||
|
Hero checks
|
||||||
|
Villain checks
|
||||||
|
** Dealing River ** [ 8h ]
|
||||||
|
Hero checks
|
||||||
|
Villain checks
|
||||||
|
Hero shows [ 7s, 8d, 5c, Qc ] two pairs, eights and sevens
|
||||||
|
Villain does not show cards
|
||||||
|
Hero wins high ($ 0.57 USD) from main pot with two pairs, eights and sevens [ Ac, 8d, 8h, 7s, 7h ]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Everleaf Gaming Game #149109706
|
||||||
|
***** Hand history for game #149109706 *****
|
||||||
|
Blinds $0.05/$0.10 PL Omaha Hi/Lo - 2010/03/02 - 19:44:04
|
||||||
|
Table Old Market I
|
||||||
|
Seat 10 is the button
|
||||||
|
Total number of players: 2
|
||||||
|
Seat 5: Villain ( $ 8.15 USD )
|
||||||
|
Seat 10: Hero ( $ 11.18 USD )
|
||||||
|
Hero: posts small blind [$ 0.05 USD]
|
||||||
|
Villain: posts big blind [$ 0.10 USD]
|
||||||
|
** Dealing down cards **
|
||||||
|
Dealt to Hero [ 5s, 8c, 7s, Td ]
|
||||||
|
Hero calls [$ 0.05 USD]
|
||||||
|
Villain raises [$ 0.20 USD]
|
||||||
|
Hero folds
|
||||||
|
Villain does not show cards
|
||||||
|
Villain wins high ($ 0.20 USD) from main pot
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Everleaf Gaming Game #149109783
|
||||||
|
***** Hand history for game #149109783 *****
|
||||||
|
Blinds $0.05/$0.10 PL Omaha Hi/Lo - 2010/03/02 - 19:44:23
|
||||||
|
Table Old Market I
|
||||||
|
Seat 5 is the button
|
||||||
|
Total number of players: 2
|
||||||
|
Seat 5: Villain ( $ 8.25 USD )
|
||||||
|
Seat 10: Hero ( $ 11.08 USD )
|
||||||
|
Villain: posts small blind [$ 0.05 USD]
|
||||||
|
Hero: posts big blind [$ 0.10 USD]
|
||||||
|
** Dealing down cards **
|
||||||
|
Dealt to Hero [ 5d, 4c, 8c, Th ]
|
||||||
|
Villain calls [$ 0.05 USD]
|
||||||
|
Hero checks
|
||||||
|
** Dealing Flop ** [ 7h, As, 7s ]
|
||||||
|
Hero checks
|
||||||
|
Villain checks
|
||||||
|
** Dealing Turn ** [ Jc ]
|
||||||
|
Hero checks
|
||||||
|
Villain checks
|
||||||
|
** Dealing River ** [ 3h ]
|
||||||
|
Hero checks
|
||||||
|
Villain checks
|
||||||
|
Hero shows [ 5d, 4c, 8c, Th ] a pair of sevens
|
||||||
|
Villain shows [ 2h, Kd, 8d, Ts ] a pair of sevens
|
||||||
|
Villain wins high ($ 0.10 USD) from main pot with a pair of sevens [ As, Kd, Ts, 7h, 7s ] with kicker [ Kh ]
|
||||||
|
Hero wins low ($0.09) from main pot with 7, 5, 4, 3, A [ As, 7h, 5d, 4c, 3h ]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Everleaf Gaming Game #149109887
|
||||||
|
***** Hand history for game #149109887 *****
|
||||||
|
Blinds $0.05/$0.10 PL Omaha Hi/Lo - 2010/03/02 - 19:44:48
|
||||||
|
Table Old Market I
|
||||||
|
Seat 10 is the button
|
||||||
|
Total number of players: 2
|
||||||
|
Seat 5: Villain ( $ 8.25 USD )
|
||||||
|
Seat 10: Hero ( $ 11.07 USD )
|
||||||
|
Hero: posts small blind [$ 0.05 USD]
|
||||||
|
Villain: posts big blind [$ 0.10 USD]
|
||||||
|
** Dealing down cards **
|
||||||
|
Dealt to Hero [ Js, Jc, 3d, 7d ]
|
||||||
|
Hero raises [$ 0.25 USD]
|
||||||
|
Villain calls [$ 0.20 USD]
|
||||||
|
** Dealing Flop ** [ 9s, 5d, Qh ]
|
||||||
|
Villain checks
|
||||||
|
Hero checks
|
||||||
|
** Dealing Turn ** [ 6d ]
|
||||||
|
Villain: bets [$ 0.60 USD]
|
||||||
|
Hero folds
|
||||||
|
Villain does not show cards
|
||||||
|
Villain wins high ($ 0.57 USD) from main pot
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Everleaf Gaming Game #149110044
|
||||||
|
***** Hand history for game #149110044 *****
|
||||||
|
Blinds $0.05/$0.10 PL Omaha Hi/Lo - 2010/03/02 - 19:45:23
|
||||||
|
Table Old Market I
|
||||||
|
Seat 5 is the button
|
||||||
|
Total number of players: 2
|
||||||
|
Seat 5: Villain ( $ 8.52 USD )
|
||||||
|
Seat 10: Hero ( $ 10.77 USD )
|
||||||
|
Villain: posts small blind [$ 0.05 USD]
|
||||||
|
Hero: posts big blind [$ 0.10 USD]
|
||||||
|
** Dealing down cards **
|
||||||
|
Dealt to Hero [ Ah, 2d, 6d, Qh ]
|
||||||
|
Villain calls [$ 0.05 USD]
|
||||||
|
Hero raises [$ 0.20 USD]
|
||||||
|
Villain calls [$ 0.20 USD]
|
||||||
|
** Dealing Flop ** [ 5c, Td, 9h ]
|
||||||
|
Hero checks
|
||||||
|
Villain checks
|
||||||
|
** Dealing Turn ** [ Ks ]
|
||||||
|
Hero checks
|
||||||
|
Villain checks
|
||||||
|
** Dealing River ** [ 8s ]
|
||||||
|
Hero checks
|
||||||
|
Villain: bets [$ 0.30 USD]
|
||||||
|
Hero folds
|
||||||
|
Villain does not show cards
|
||||||
|
Villain wins high ($ 0.57 USD) from main pot
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Everleaf Gaming Game #149110335
|
||||||
|
***** Hand history for game #149110335 *****
|
||||||
|
Blinds $0.05/$0.10 PL Omaha Hi/Lo - 2010/03/02 - 19:46:33
|
||||||
|
Table Old Market I
|
||||||
|
Seat 10 is the button
|
||||||
|
Total number of players: 2
|
||||||
|
Seat 5: Villain ( $ 8.79 USD )
|
||||||
|
Seat 10: Hero ( $ 10.47 USD )
|
||||||
|
Hero: posts small blind [$ 0.05 USD]
|
||||||
|
Villain: posts big blind [$ 0.10 USD]
|
||||||
|
** Dealing down cards **
|
||||||
|
Dealt to Hero [ Th, 5d, Qd, 7s ]
|
||||||
|
Hero calls [$ 0.05 USD]
|
||||||
|
Villain checks
|
||||||
|
** Dealing Flop ** [ 8s, 9c, 3s ]
|
||||||
|
Villain checks
|
||||||
|
Hero checks
|
||||||
|
** Dealing Turn ** [ Tc ]
|
||||||
|
Villain checks
|
||||||
|
Hero checks
|
||||||
|
** Dealing River ** [ Qc ]
|
||||||
|
Villain checks
|
||||||
|
Hero checks
|
||||||
|
Villain shows [ 8d, Kc, 6c, 4s ] a flush, king high
|
||||||
|
Hero does not show cards
|
||||||
|
Villain wins high ($ 0.19 USD) from main pot with a flush, king high [ Kc, Qc, Tc, 9c, 6c ]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Everleaf Gaming Game #149110588
|
||||||
|
***** Hand history for game #149110588 *****
|
||||||
|
Blinds $0.05/$0.10 PL Omaha Hi/Lo - 2010/03/02 - 19:47:30
|
||||||
|
Table Old Market I
|
||||||
|
Seat 5 is the button
|
||||||
|
Total number of players: 2
|
||||||
|
Seat 5: Villain ( $ 8.88 USD )
|
||||||
|
Seat 10: Hero ( $ 10.37 USD )
|
||||||
|
Villain: posts small blind [$ 0.05 USD]
|
||||||
|
Hero: posts big blind [$ 0.10 USD]
|
||||||
|
** Dealing down cards **
|
||||||
|
Dealt to Hero [ 2h, 2s, Qs, Ah ]
|
||||||
|
Villain calls [$ 0.05 USD]
|
||||||
|
Hero raises [$ 0.20 USD]
|
||||||
|
Villain calls [$ 0.20 USD]
|
||||||
|
** Dealing Flop ** [ Td, Qh, 8h ]
|
||||||
|
Hero: bets [$ 0.60 USD]
|
||||||
|
Villain calls [$ 0.60 USD]
|
||||||
|
** Dealing Turn ** [ 9s ]
|
||||||
|
Hero checks
|
||||||
|
Villain: bets [$ 1.80 USD]
|
||||||
|
Hero calls [$ 1.80 USD]
|
||||||
|
** Dealing River ** [ 8s ]
|
||||||
|
Hero checks
|
||||||
|
Villain checks
|
||||||
|
Villain shows [ Js, 5h, Tc, 7d ] a straight, queen high
|
||||||
|
Hero does not show cards
|
||||||
|
Villain wins high ($ 5.13 USD) from main pot with a straight, queen high [ Qh, Js, Tc, 9s, 8h ]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Everleaf Gaming Game #149110838
|
||||||
|
***** Hand history for game #149110838 *****
|
||||||
|
Blinds $0.05/$0.10 PL Omaha Hi/Lo - 2010/03/02 - 19:48:31
|
||||||
|
Table Old Market I
|
||||||
|
Seat 10 is the button
|
||||||
|
Total number of players: 2
|
||||||
|
Seat 5: Villain ( $ 11.31 USD )
|
||||||
|
Seat 10: Hero ( $ 7.67 USD )
|
||||||
|
Hero: posts small blind [$ 0.05 USD]
|
||||||
|
Villain: posts big blind [$ 0.10 USD]
|
||||||
|
** Dealing down cards **
|
||||||
|
Dealt to Hero [ Ts, 3d, 8s, 9h ]
|
||||||
|
Hero calls [$ 0.05 USD]
|
||||||
|
Villain raises [$ 0.20 USD]
|
||||||
|
Hero folds
|
||||||
|
Villain has disconnected and has been given a further 20 seconds to react
|
||||||
|
Villain does not show cards
|
||||||
|
Villain wins high ($ 0.20 USD) from main pot
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Everleaf Gaming Game #149111070
|
||||||
|
***** Hand history for game #149111070 *****
|
||||||
|
Blinds $0.05/$0.10 PL Omaha Hi/Lo - 2010/03/02 - 19:49:28
|
||||||
|
Table Old Market I
|
||||||
|
Seat 5 is the button
|
||||||
|
Total number of players: 2
|
||||||
|
Seat 5: Villain ( $ 11.41 USD )
|
||||||
|
Seat 10: Hero ( $ 7.57 USD )
|
||||||
|
Villain: posts small blind [$ 0.05 USD]
|
||||||
|
Hero: posts big blind [$ 0.10 USD]
|
||||||
|
** Dealing down cards **
|
||||||
|
Dealt to Hero [ 9c, 4d, 8h, Th ]
|
||||||
|
Villain calls [$ 0.05 USD]
|
||||||
|
Hero checks
|
||||||
|
** Dealing Flop ** [ Ad, Qs, 4s ]
|
||||||
|
Hero checks
|
||||||
|
Villain checks
|
||||||
|
** Dealing Turn ** [ Td ]
|
||||||
|
Hero checks
|
||||||
|
Villain checks
|
||||||
|
** Dealing River ** [ 6d ]
|
||||||
|
Hero checks
|
||||||
|
Villain: bets [$ 0.10 USD]
|
||||||
|
Hero folds
|
||||||
|
Villain does not show cards
|
||||||
|
Villain wins high ($ 0.10 USD) from main pot
|
||||||
|
Villain wins low ($0.09) from main pot
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,470 @@
|
||||||
|
{ u'player1': { 'card1': 0,
|
||||||
|
'card2': 0,
|
||||||
|
'card3': 0,
|
||||||
|
'card4': 0,
|
||||||
|
'card5': 0,
|
||||||
|
'card6': 0,
|
||||||
|
'card7': 0,
|
||||||
|
'foldBbToStealChance': False,
|
||||||
|
'foldSbToStealChance': False,
|
||||||
|
'foldToOtherRaisedStreet0': False,
|
||||||
|
'foldToOtherRaisedStreet1': False,
|
||||||
|
'foldToOtherRaisedStreet2': False,
|
||||||
|
'foldToOtherRaisedStreet3': False,
|
||||||
|
'foldToOtherRaisedStreet4': False,
|
||||||
|
'foldToStreet1CBChance': False,
|
||||||
|
'foldToStreet1CBDone': False,
|
||||||
|
'foldToStreet2CBChance': False,
|
||||||
|
'foldToStreet2CBDone': False,
|
||||||
|
'foldToStreet3CBChance': False,
|
||||||
|
'foldToStreet3CBDone': False,
|
||||||
|
'foldToStreet4CBChance': False,
|
||||||
|
'foldToStreet4CBDone': False,
|
||||||
|
'foldedBbToSteal': False,
|
||||||
|
'foldedSbToSteal': False,
|
||||||
|
'other3BStreet0': False,
|
||||||
|
'other4BStreet0': False,
|
||||||
|
'otherRaisedStreet0': False,
|
||||||
|
'otherRaisedStreet1': False,
|
||||||
|
'otherRaisedStreet2': False,
|
||||||
|
'otherRaisedStreet3': False,
|
||||||
|
'otherRaisedStreet4': False,
|
||||||
|
'position': 0,
|
||||||
|
'raiseFirstInChance': False,
|
||||||
|
'raisedFirstIn': False,
|
||||||
|
'rake': 0,
|
||||||
|
'sawShowdown': False,
|
||||||
|
'seatNo': 5,
|
||||||
|
'sitout': False,
|
||||||
|
'startCards': 0,
|
||||||
|
'startCash': 1315,
|
||||||
|
'street0Aggr': False,
|
||||||
|
'street0Bets': 0,
|
||||||
|
'street0Calls': 2,
|
||||||
|
'street0Raises': 0,
|
||||||
|
'street0VPI': True,
|
||||||
|
'street0_3BChance': True,
|
||||||
|
'street0_3BDone': False,
|
||||||
|
'street0_4BChance': False,
|
||||||
|
'street0_4BDone': False,
|
||||||
|
'street1Aggr': False,
|
||||||
|
'street1Bets': 0,
|
||||||
|
'street1CBChance': False,
|
||||||
|
'street1CBDone': False,
|
||||||
|
'street1Calls': 0,
|
||||||
|
'street1CheckCallRaiseChance': False,
|
||||||
|
'street1CheckCallRaiseDone': False,
|
||||||
|
'street1Raises': 0,
|
||||||
|
'street1Seen': False,
|
||||||
|
'street2Aggr': False,
|
||||||
|
'street2Bets': 0,
|
||||||
|
'street2CBChance': False,
|
||||||
|
'street2CBDone': False,
|
||||||
|
'street2Calls': 0,
|
||||||
|
'street2CheckCallRaiseChance': False,
|
||||||
|
'street2CheckCallRaiseDone': False,
|
||||||
|
'street2Raises': 0,
|
||||||
|
'street2Seen': False,
|
||||||
|
'street3Aggr': False,
|
||||||
|
'street3Bets': 0,
|
||||||
|
'street3CBChance': False,
|
||||||
|
'street3CBDone': False,
|
||||||
|
'street3Calls': 0,
|
||||||
|
'street3CheckCallRaiseChance': False,
|
||||||
|
'street3CheckCallRaiseDone': False,
|
||||||
|
'street3Raises': 0,
|
||||||
|
'street3Seen': False,
|
||||||
|
'street4Aggr': False,
|
||||||
|
'street4Bets': 0,
|
||||||
|
'street4CBChance': False,
|
||||||
|
'street4CBDone': False,
|
||||||
|
'street4Calls': 0,
|
||||||
|
'street4CheckCallRaiseChance': False,
|
||||||
|
'street4CheckCallRaiseDone': False,
|
||||||
|
'street4Raises': 0,
|
||||||
|
'street4Seen': False,
|
||||||
|
'totalProfit': -105,
|
||||||
|
'tourneyTypeId': None,
|
||||||
|
'tourneysPlayersIds': None,
|
||||||
|
'winnings': 0,
|
||||||
|
'wonAtSD': 0.0,
|
||||||
|
'wonWhenSeenStreet1': 0.0,
|
||||||
|
'wonWhenSeenStreet2': 0.0,
|
||||||
|
'wonWhenSeenStreet3': 0.0,
|
||||||
|
'wonWhenSeenStreet4': 0.0},
|
||||||
|
u'player2': { 'card1': 0,
|
||||||
|
'card2': 0,
|
||||||
|
'card3': 0,
|
||||||
|
'card4': 0,
|
||||||
|
'card5': 0,
|
||||||
|
'card6': 0,
|
||||||
|
'card7': 0,
|
||||||
|
'foldBbToStealChance': False,
|
||||||
|
'foldSbToStealChance': False,
|
||||||
|
'foldToOtherRaisedStreet0': False,
|
||||||
|
'foldToOtherRaisedStreet1': False,
|
||||||
|
'foldToOtherRaisedStreet2': False,
|
||||||
|
'foldToOtherRaisedStreet3': False,
|
||||||
|
'foldToOtherRaisedStreet4': False,
|
||||||
|
'foldToStreet1CBChance': False,
|
||||||
|
'foldToStreet1CBDone': False,
|
||||||
|
'foldToStreet2CBChance': False,
|
||||||
|
'foldToStreet2CBDone': False,
|
||||||
|
'foldToStreet3CBChance': False,
|
||||||
|
'foldToStreet3CBDone': False,
|
||||||
|
'foldToStreet4CBChance': False,
|
||||||
|
'foldToStreet4CBDone': False,
|
||||||
|
'foldedBbToSteal': False,
|
||||||
|
'foldedSbToSteal': False,
|
||||||
|
'other3BStreet0': False,
|
||||||
|
'other4BStreet0': False,
|
||||||
|
'otherRaisedStreet0': False,
|
||||||
|
'otherRaisedStreet1': False,
|
||||||
|
'otherRaisedStreet2': False,
|
||||||
|
'otherRaisedStreet3': False,
|
||||||
|
'otherRaisedStreet4': False,
|
||||||
|
'position': 1,
|
||||||
|
'raiseFirstInChance': False,
|
||||||
|
'raisedFirstIn': False,
|
||||||
|
'rake': 0,
|
||||||
|
'sawShowdown': False,
|
||||||
|
'seatNo': 3,
|
||||||
|
'sitout': False,
|
||||||
|
'startCards': 0,
|
||||||
|
'startCash': 3395,
|
||||||
|
'street0Aggr': False,
|
||||||
|
'street0Bets': 0,
|
||||||
|
'street0Calls': 0,
|
||||||
|
'street0Raises': 0,
|
||||||
|
'street0VPI': False,
|
||||||
|
'street0_3BChance': True,
|
||||||
|
'street0_3BDone': False,
|
||||||
|
'street0_4BChance': False,
|
||||||
|
'street0_4BDone': False,
|
||||||
|
'street1Aggr': False,
|
||||||
|
'street1Bets': 0,
|
||||||
|
'street1CBChance': False,
|
||||||
|
'street1CBDone': False,
|
||||||
|
'street1Calls': 0,
|
||||||
|
'street1CheckCallRaiseChance': False,
|
||||||
|
'street1CheckCallRaiseDone': False,
|
||||||
|
'street1Raises': 0,
|
||||||
|
'street1Seen': False,
|
||||||
|
'street2Aggr': False,
|
||||||
|
'street2Bets': 0,
|
||||||
|
'street2CBChance': False,
|
||||||
|
'street2CBDone': False,
|
||||||
|
'street2Calls': 0,
|
||||||
|
'street2CheckCallRaiseChance': False,
|
||||||
|
'street2CheckCallRaiseDone': False,
|
||||||
|
'street2Raises': 0,
|
||||||
|
'street2Seen': False,
|
||||||
|
'street3Aggr': False,
|
||||||
|
'street3Bets': 0,
|
||||||
|
'street3CBChance': False,
|
||||||
|
'street3CBDone': False,
|
||||||
|
'street3Calls': 0,
|
||||||
|
'street3CheckCallRaiseChance': False,
|
||||||
|
'street3CheckCallRaiseDone': False,
|
||||||
|
'street3Raises': 0,
|
||||||
|
'street3Seen': False,
|
||||||
|
'street4Aggr': False,
|
||||||
|
'street4Bets': 0,
|
||||||
|
'street4CBChance': False,
|
||||||
|
'street4CBDone': False,
|
||||||
|
'street4Calls': 0,
|
||||||
|
'street4CheckCallRaiseChance': False,
|
||||||
|
'street4CheckCallRaiseDone': False,
|
||||||
|
'street4Raises': 0,
|
||||||
|
'street4Seen': False,
|
||||||
|
'totalProfit': 0,
|
||||||
|
'tourneyTypeId': None,
|
||||||
|
'tourneysPlayersIds': None,
|
||||||
|
'winnings': 0,
|
||||||
|
'wonAtSD': 0.0,
|
||||||
|
'wonWhenSeenStreet1': 0.0,
|
||||||
|
'wonWhenSeenStreet2': 0.0,
|
||||||
|
'wonWhenSeenStreet3': 0.0,
|
||||||
|
'wonWhenSeenStreet4': 0.0},
|
||||||
|
u'player3': { 'card1': 25,
|
||||||
|
'card2': 51,
|
||||||
|
'card3': 0,
|
||||||
|
'card4': 0,
|
||||||
|
'card5': 0,
|
||||||
|
'card6': 0,
|
||||||
|
'card7': 0,
|
||||||
|
'foldBbToStealChance': False,
|
||||||
|
'foldSbToStealChance': False,
|
||||||
|
'foldToOtherRaisedStreet0': False,
|
||||||
|
'foldToOtherRaisedStreet1': False,
|
||||||
|
'foldToOtherRaisedStreet2': False,
|
||||||
|
'foldToOtherRaisedStreet3': False,
|
||||||
|
'foldToOtherRaisedStreet4': False,
|
||||||
|
'foldToStreet1CBChance': False,
|
||||||
|
'foldToStreet1CBDone': False,
|
||||||
|
'foldToStreet2CBChance': False,
|
||||||
|
'foldToStreet2CBDone': False,
|
||||||
|
'foldToStreet3CBChance': False,
|
||||||
|
'foldToStreet3CBDone': False,
|
||||||
|
'foldToStreet4CBChance': False,
|
||||||
|
'foldToStreet4CBDone': False,
|
||||||
|
'foldedBbToSteal': False,
|
||||||
|
'foldedSbToSteal': False,
|
||||||
|
'other3BStreet0': False,
|
||||||
|
'other4BStreet0': False,
|
||||||
|
'otherRaisedStreet0': False,
|
||||||
|
'otherRaisedStreet1': False,
|
||||||
|
'otherRaisedStreet2': False,
|
||||||
|
'otherRaisedStreet3': False,
|
||||||
|
'otherRaisedStreet4': False,
|
||||||
|
'position': 2,
|
||||||
|
'raiseFirstInChance': True,
|
||||||
|
'raisedFirstIn': True,
|
||||||
|
'rake': 215,
|
||||||
|
'sawShowdown': True,
|
||||||
|
'seatNo': 1,
|
||||||
|
'sitout': False,
|
||||||
|
'startCards': 155,
|
||||||
|
'startCash': 2610,
|
||||||
|
'street0Aggr': True,
|
||||||
|
'street0Bets': 1,
|
||||||
|
'street0Calls': 1,
|
||||||
|
'street0Raises': 0,
|
||||||
|
'street0VPI': True,
|
||||||
|
'street0_3BChance': False,
|
||||||
|
'street0_3BDone': False,
|
||||||
|
'street0_4BChance': True,
|
||||||
|
'street0_4BDone': True,
|
||||||
|
'street1Aggr': False,
|
||||||
|
'street1Bets': 0,
|
||||||
|
'street1CBChance': False,
|
||||||
|
'street1CBDone': False,
|
||||||
|
'street1Calls': 0,
|
||||||
|
'street1CheckCallRaiseChance': False,
|
||||||
|
'street1CheckCallRaiseDone': False,
|
||||||
|
'street1Raises': 0,
|
||||||
|
'street1Seen': False,
|
||||||
|
'street2Aggr': False,
|
||||||
|
'street2Bets': 0,
|
||||||
|
'street2CBChance': False,
|
||||||
|
'street2CBDone': False,
|
||||||
|
'street2Calls': 0,
|
||||||
|
'street2CheckCallRaiseChance': False,
|
||||||
|
'street2CheckCallRaiseDone': False,
|
||||||
|
'street2Raises': 0,
|
||||||
|
'street2Seen': False,
|
||||||
|
'street3Aggr': False,
|
||||||
|
'street3Bets': 0,
|
||||||
|
'street3CBChance': False,
|
||||||
|
'street3CBDone': False,
|
||||||
|
'street3Calls': 0,
|
||||||
|
'street3CheckCallRaiseChance': False,
|
||||||
|
'street3CheckCallRaiseDone': False,
|
||||||
|
'street3Raises': 0,
|
||||||
|
'street3Seen': False,
|
||||||
|
'street4Aggr': False,
|
||||||
|
'street4Bets': 0,
|
||||||
|
'street4CBChance': False,
|
||||||
|
'street4CBDone': False,
|
||||||
|
'street4Calls': 0,
|
||||||
|
'street4CheckCallRaiseChance': False,
|
||||||
|
'street4CheckCallRaiseDone': False,
|
||||||
|
'street4Raises': 0,
|
||||||
|
'street4Seen': False,
|
||||||
|
'totalProfit': 120,
|
||||||
|
'tourneyTypeId': None,
|
||||||
|
'tourneysPlayersIds': None,
|
||||||
|
'winnings': 325,
|
||||||
|
'wonAtSD': 1.0,
|
||||||
|
'wonWhenSeenStreet1': 0.0,
|
||||||
|
'wonWhenSeenStreet2': 0.0,
|
||||||
|
'wonWhenSeenStreet3': 0.0,
|
||||||
|
'wonWhenSeenStreet4': 0.0},
|
||||||
|
u'player4': { 'card1': 0,
|
||||||
|
'card2': 0,
|
||||||
|
'card3': 0,
|
||||||
|
'card4': 0,
|
||||||
|
'card5': 0,
|
||||||
|
'card6': 0,
|
||||||
|
'card7': 0,
|
||||||
|
'foldBbToStealChance': False,
|
||||||
|
'foldSbToStealChance': False,
|
||||||
|
'foldToOtherRaisedStreet0': False,
|
||||||
|
'foldToOtherRaisedStreet1': False,
|
||||||
|
'foldToOtherRaisedStreet2': False,
|
||||||
|
'foldToOtherRaisedStreet3': False,
|
||||||
|
'foldToOtherRaisedStreet4': False,
|
||||||
|
'foldToStreet1CBChance': False,
|
||||||
|
'foldToStreet1CBDone': False,
|
||||||
|
'foldToStreet2CBChance': False,
|
||||||
|
'foldToStreet2CBDone': False,
|
||||||
|
'foldToStreet3CBChance': False,
|
||||||
|
'foldToStreet3CBDone': False,
|
||||||
|
'foldToStreet4CBChance': False,
|
||||||
|
'foldToStreet4CBDone': False,
|
||||||
|
'foldedBbToSteal': False,
|
||||||
|
'foldedSbToSteal': False,
|
||||||
|
'other3BStreet0': False,
|
||||||
|
'other4BStreet0': False,
|
||||||
|
'otherRaisedStreet0': False,
|
||||||
|
'otherRaisedStreet1': False,
|
||||||
|
'otherRaisedStreet2': False,
|
||||||
|
'otherRaisedStreet3': False,
|
||||||
|
'otherRaisedStreet4': False,
|
||||||
|
'position': 'S',
|
||||||
|
'raiseFirstInChance': False,
|
||||||
|
'raisedFirstIn': False,
|
||||||
|
'rake': 0,
|
||||||
|
'sawShowdown': False,
|
||||||
|
'seatNo': 7,
|
||||||
|
'sitout': False,
|
||||||
|
'startCards': 0,
|
||||||
|
'startCash': 3445,
|
||||||
|
'street0Aggr': False,
|
||||||
|
'street0Bets': 0,
|
||||||
|
'street0Calls': 0,
|
||||||
|
'street0Raises': 0,
|
||||||
|
'street0VPI': False,
|
||||||
|
'street0_3BChance': True,
|
||||||
|
'street0_3BDone': False,
|
||||||
|
'street0_4BChance': False,
|
||||||
|
'street0_4BDone': False,
|
||||||
|
'street1Aggr': False,
|
||||||
|
'street1Bets': 0,
|
||||||
|
'street1CBChance': False,
|
||||||
|
'street1CBDone': False,
|
||||||
|
'street1Calls': 0,
|
||||||
|
'street1CheckCallRaiseChance': False,
|
||||||
|
'street1CheckCallRaiseDone': False,
|
||||||
|
'street1Raises': 0,
|
||||||
|
'street1Seen': False,
|
||||||
|
'street2Aggr': False,
|
||||||
|
'street2Bets': 0,
|
||||||
|
'street2CBChance': False,
|
||||||
|
'street2CBDone': False,
|
||||||
|
'street2Calls': 0,
|
||||||
|
'street2CheckCallRaiseChance': False,
|
||||||
|
'street2CheckCallRaiseDone': False,
|
||||||
|
'street2Raises': 0,
|
||||||
|
'street2Seen': False,
|
||||||
|
'street3Aggr': False,
|
||||||
|
'street3Bets': 0,
|
||||||
|
'street3CBChance': False,
|
||||||
|
'street3CBDone': False,
|
||||||
|
'street3Calls': 0,
|
||||||
|
'street3CheckCallRaiseChance': False,
|
||||||
|
'street3CheckCallRaiseDone': False,
|
||||||
|
'street3Raises': 0,
|
||||||
|
'street3Seen': False,
|
||||||
|
'street4Aggr': False,
|
||||||
|
'street4Bets': 0,
|
||||||
|
'street4CBChance': False,
|
||||||
|
'street4CBDone': False,
|
||||||
|
'street4Calls': 0,
|
||||||
|
'street4CheckCallRaiseChance': False,
|
||||||
|
'street4CheckCallRaiseDone': False,
|
||||||
|
'street4Raises': 0,
|
||||||
|
'street4Seen': False,
|
||||||
|
'totalProfit': -25,
|
||||||
|
'tourneyTypeId': None,
|
||||||
|
'tourneysPlayersIds': None,
|
||||||
|
'winnings': 0,
|
||||||
|
'wonAtSD': 0.0,
|
||||||
|
'wonWhenSeenStreet1': 0.0,
|
||||||
|
'wonWhenSeenStreet2': 0.0,
|
||||||
|
'wonWhenSeenStreet3': 0.0,
|
||||||
|
'wonWhenSeenStreet4': 0.0},
|
||||||
|
u'player5': { 'card1': 24,
|
||||||
|
'card2': 11,
|
||||||
|
'card3': 0,
|
||||||
|
'card4': 0,
|
||||||
|
'card5': 0,
|
||||||
|
'card6': 0,
|
||||||
|
'card7': 0,
|
||||||
|
'foldBbToStealChance': False,
|
||||||
|
'foldSbToStealChance': False,
|
||||||
|
'foldToOtherRaisedStreet0': False,
|
||||||
|
'foldToOtherRaisedStreet1': False,
|
||||||
|
'foldToOtherRaisedStreet2': False,
|
||||||
|
'foldToOtherRaisedStreet3': False,
|
||||||
|
'foldToOtherRaisedStreet4': False,
|
||||||
|
'foldToStreet1CBChance': False,
|
||||||
|
'foldToStreet1CBDone': False,
|
||||||
|
'foldToStreet2CBChance': False,
|
||||||
|
'foldToStreet2CBDone': False,
|
||||||
|
'foldToStreet3CBChance': False,
|
||||||
|
'foldToStreet3CBDone': False,
|
||||||
|
'foldToStreet4CBChance': False,
|
||||||
|
'foldToStreet4CBDone': False,
|
||||||
|
'foldedBbToSteal': False,
|
||||||
|
'foldedSbToSteal': False,
|
||||||
|
'other3BStreet0': False,
|
||||||
|
'other4BStreet0': False,
|
||||||
|
'otherRaisedStreet0': False,
|
||||||
|
'otherRaisedStreet1': False,
|
||||||
|
'otherRaisedStreet2': False,
|
||||||
|
'otherRaisedStreet3': False,
|
||||||
|
'otherRaisedStreet4': False,
|
||||||
|
'position': 'B',
|
||||||
|
'raiseFirstInChance': False,
|
||||||
|
'raisedFirstIn': False,
|
||||||
|
'rake': 0,
|
||||||
|
'sawShowdown': True,
|
||||||
|
'seatNo': 9,
|
||||||
|
'sitout': False,
|
||||||
|
'startCards': 141,
|
||||||
|
'startCash': 0,
|
||||||
|
'street0Aggr': True,
|
||||||
|
'street0Bets': 0,
|
||||||
|
'street0Calls': 0,
|
||||||
|
'street0Raises': 0,
|
||||||
|
'street0VPI': True,
|
||||||
|
'street0_3BChance': True,
|
||||||
|
'street0_3BDone': True,
|
||||||
|
'street0_4BChance': False,
|
||||||
|
'street0_4BDone': False,
|
||||||
|
'street1Aggr': False,
|
||||||
|
'street1Bets': 0,
|
||||||
|
'street1CBChance': False,
|
||||||
|
'street1CBDone': False,
|
||||||
|
'street1Calls': 0,
|
||||||
|
'street1CheckCallRaiseChance': False,
|
||||||
|
'street1CheckCallRaiseDone': False,
|
||||||
|
'street1Raises': 0,
|
||||||
|
'street1Seen': False,
|
||||||
|
'street2Aggr': False,
|
||||||
|
'street2Bets': 0,
|
||||||
|
'street2CBChance': False,
|
||||||
|
'street2CBDone': False,
|
||||||
|
'street2Calls': 0,
|
||||||
|
'street2CheckCallRaiseChance': False,
|
||||||
|
'street2CheckCallRaiseDone': False,
|
||||||
|
'street2Raises': 0,
|
||||||
|
'street2Seen': False,
|
||||||
|
'street3Aggr': False,
|
||||||
|
'street3Bets': 0,
|
||||||
|
'street3CBChance': False,
|
||||||
|
'street3CBDone': False,
|
||||||
|
'street3Calls': 0,
|
||||||
|
'street3CheckCallRaiseChance': False,
|
||||||
|
'street3CheckCallRaiseDone': False,
|
||||||
|
'street3Raises': 0,
|
||||||
|
'street3Seen': False,
|
||||||
|
'street4Aggr': False,
|
||||||
|
'street4Bets': 0,
|
||||||
|
'street4CBChance': False,
|
||||||
|
'street4CBDone': False,
|
||||||
|
'street4Calls': 0,
|
||||||
|
'street4CheckCallRaiseChance': False,
|
||||||
|
'street4CheckCallRaiseDone': False,
|
||||||
|
'street4Raises': 0,
|
||||||
|
'street4Seen': False,
|
||||||
|
'totalProfit': -205,
|
||||||
|
'tourneyTypeId': None,
|
||||||
|
'tourneysPlayersIds': None,
|
||||||
|
'winnings': 0,
|
||||||
|
'wonAtSD': 0.0,
|
||||||
|
'wonWhenSeenStreet1': 0.0,
|
||||||
|
'wonWhenSeenStreet2': 0.0,
|
||||||
|
'wonWhenSeenStreet3': 0.0,
|
||||||
|
'wonWhenSeenStreet4': 0.0}}
|
Loading…
Reference in New Issue
Block a user