p64 - fixed bug that HUD displayed wrong raw data for aggr river/6th even though it used the right numbers for calculating the % value

attempted to fix W$wsF in HUD but didnt work
made default interval for auto import a more sensible 10s
This commit is contained in:
steffen123 2008-08-20 22:47:43 +01:00
parent 6689054cc7
commit 6879815320
2 changed files with 4 additions and 3 deletions

View File

@ -4,6 +4,7 @@ Please also see db-todo.txt
alpha2 (release by 17Aug)
======
W$wsF doesnt work in HUD
auto import only runs on one file per start
set hud stats default row1: hands, VPIP, PFR, PF3B/4B, ST row2: Aggr% (postflop), Fold% (postflop), W$sF, WtSD, W$@SD
make windows use correct language version of Appdata, e.g. Anwendungdaten

View File

@ -293,12 +293,12 @@ def three_B_0(stat_dict, player):
def WMsF(stat_dict, player):
stat = 0.0
try:
stat = stat_dict[player]['w_w_s_1']/stat_dict[player]['saw_f']
stat = stat_dict[player]['w_w_s_1']/stat_dict[player]['saw_1']
return (stat,
'%3.1f' % (100*stat) + '%',
'wf=%3.1f' % (100*stat) + '%',
'w_w_f=%3.1f' % (100*stat) + '%',
'(%d/%d)' % (stat_dict[player]['w_w_s_1'], stat_dict[player]['saw_f']),
'(%d/%d)' % (stat_dict[player]['w_w_s_1'], stat_dict[player]['saw_1']),
'% won$/saw flop/4th'
)
except:
@ -358,7 +358,7 @@ def a_freq_3(stat_dict, player):
'%3.1f' % (100*stat) + '%',
'a3=%3.1f' % (100*stat) + '%',
'a_fq_3=%3.1f' % (100*stat) + '%',
'(%d/%d)' % (stat_dict[player]['aggr_1'], stat_dict[player]['saw_1']),
'(%d/%d)' % (stat_dict[player]['aggr_3'], stat_dict[player]['saw_3']),
'Aggression Freq river/6th'
)
except: