add these stats to DB/DerivedStats/SQL: street0_4BChance/Done, other3/4BStreet0

This commit is contained in:
steffen123 2010-08-19 04:09:24 +02:00
parent 8aecf117bb
commit 69c1c41b36
3 changed files with 13 additions and 3 deletions

View File

@ -1691,6 +1691,10 @@ class Database:
pdata[p]['startCards'],
pdata[p]['street0_3BChance'],
pdata[p]['street0_3BDone'],
pdata[p]['street0_4BChance'],
pdata[p]['street0_4BDone'],
pdata[p]['other3BStreet0'],
pdata[p]['other4BStreet0'],
pdata[p]['otherRaisedStreet0'],
pdata[p]['otherRaisedStreet1'],
pdata[p]['otherRaisedStreet2'],

View File

@ -51,8 +51,8 @@ class DerivedStats():
self.handsplayers[player[1]]['position'] = 2
self.handsplayers[player[1]]['street0_3BChance'] = False
self.handsplayers[player[1]]['street0_3BDone'] = False
self.handsplayers[player[1]]['street0_4BChance'] = False
self.handsplayers[player[1]]['street0_4BDone'] = False
self.handsplayers[player[1]]['street0_4BChance'] = False #FIXME: this might not actually be implemented
self.handsplayers[player[1]]['street0_4BDone'] = False #FIXME: this might not actually be implemented
self.handsplayers[player[1]]['raiseFirstInChance'] = False
self.handsplayers[player[1]]['raisedFirstIn'] = False
self.handsplayers[player[1]]['foldBbToStealChance'] = False
@ -74,6 +74,8 @@ class DerivedStats():
self.handsplayers[player[1]]['foldToOtherRaisedStreet%d' %i] = False
#FIXME - Everything below this point is incomplete.
self.handsplayers[player[1]]['other3BStreet0'] = False
self.handsplayers[player[1]]['other4BStreet0'] = False
self.handsplayers[player[1]]['otherRaisedStreet0'] = False
self.handsplayers[player[1]]['foldToOtherRaisedStreet0'] = False
for i in range(1,5):

View File

@ -4039,6 +4039,10 @@ class Sql:
startCards,
street0_3BChance,
street0_3BDone,
street0_4BChance,
street0_4BDone,
other3BStreet0,
other4BStreet0,
otherRaisedStreet0,
otherRaisedStreet1,
otherRaisedStreet2,
@ -4096,7 +4100,7 @@ class Sql:
%s, %s, %s, %s, %s,
%s, %s, %s, %s, %s,
%s, %s, %s, %s, %s,
%s
%s, %s, %s, %s, %s
)"""
################################