Commit Graph

2913 Commits

Author SHA1 Message Date
Mika Bostrom
4042fc6c40 Use sqlcoder's fix for position map
The values for pdata[p]['position'] come from DerivedStats.py, where the
value was explicitly cast to a string. This way it should work again and
use the cleaner code from sqlcoder instead.
2010-02-27 17:41:52 +02:00
Mika Bostrom
f04d91d712 Merge branch 'master' of git://trac-git.assembla.com/fpdb-sql 2010-02-27 17:40:21 +02:00
sqlcoder
daeee37b6b default dbname option is overriding 'default=true' selection in config file 2010-02-27 13:56:19 +00:00
Gerko de Roo
16c428bd07 Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-02-27 11:28:41 +01:00
Worros
9505cdc497 Merge branch 'master' of git://github.com/kangaderoo/fpdb-kangaderoo 2010-02-27 15:45:56 +08:00
Worros
2fb151fdc8 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-02-27 15:45:42 +08:00
Mika Bostrom
72730291f0 Fix HUD-cache updates on Postgres
The value in pdata[p]['position'] is a string. Change the 'pos'
dictionary keys to strings, and to prevent potential breakage on other
databases, always enforce that the looked up key is first converted to
string.
2010-02-27 09:37:44 +02:00
Gerko de Roo
9b93cd42e3 Merge branch 'master' of git://git.assembla.com/free_poker_tools.git 2010-02-26 18:20:04 +01:00
Gerko de Roo
2c0f280165 Merge branch 'master' of git://git.assembla.com/fpdb-sql.git 2010-02-26 18:19:47 +01:00
Eratosthenes
aca5682daf Get rid of erroneous error message. 2010-02-25 21:32:49 -05:00
Eratosthenes
5c0e4cb0c2 Use correct dirs for database and log. 2010-02-25 20:28:41 -05:00
Eratosthenes
5d560e1252 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-02-25 16:02:49 -05:00
sqlcoder
70bb9d687d add commented out 'explain query plan' to go with previous commit 2010-02-25 20:57:28 +00:00
sqlcoder
134a13bf29 create indexes on hudcache in sqlite 2010-02-25 20:43:15 +00:00
Eratosthenes
b15a51d42e Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-02-25 10:16:22 -05:00
sqlcoder
a26dfa09f2 automation: prompt for gtk dir location and copy files and dirs - resulting dir should be ready for distribution (once zipped up) 2010-02-24 22:21:13 +00:00
Eratosthenes
04e8f117d5 Revert "Trivial refactor of get_stats_from_hand for readability."
This reverts commit 03880bbc63.
2010-02-24 17:06:36 -05:00
sqlcoder
6ac76d2d9b remove earlier bracket change that screwed stats up - it seemed necessary then but I can't figure out why now 2010-02-24 21:25:19 +00:00
Eratosthenes
03880bbc63 Trivial refactor of get_stats_from_hand for readability. 2010-02-24 10:28:12 -05:00
Gerko de Roo
9dac1f1b84 When all players are selected in player stats
The site filter settings were bypassed.

This fix only selects all players from selected sites
2010-02-23 18:55:09 +01:00
Worros
8c08a6fcc5 Merge branch 'master' of git://github.com/kangaderoo/fpdb-kangaderoo 2010-02-23 09:41:37 +08:00
Eratosthenes
38535b4ece Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-02-22 11:46:56 -05:00
Eratosthenes
da124770af Add souce code locations for 3rd party libs + minor update. 2010-02-22 11:45:52 -05:00
sqlcoder
09801cd00e first go at db maintenance window, turned off for now 2010-02-20 18:59:49 +00:00
sqlcoder
141b88ecfd stop hudcache updating again when importing duplicate hands 2010-02-20 17:49:03 +00:00
Eratosthenes
21396e101e Create saveStarsHH option in import. 2010-02-20 11:55:52 -05:00
Eratosthenes
ae59fa715b Correctly pass dbname to config. Clean some pylint complaints. 2010-02-20 11:24:07 -05:00
sqlcoder
ebf2205859 display popup if error parsing config file 2010-02-20 10:27:58 +00:00
Eratosthenes
a9ec972ba5 Clean some pylint errors and obsolete TODOs. 2010-02-19 20:14:34 -05:00
Eratosthenes
c33575911d Don't make folders or files for Stars format HHs. 2010-02-19 17:50:45 -05:00
Gerko de Roo
af6dbc8d5f Copied same dead blind procedure from Pokerstars to Full Tilt 2010-02-18 22:32:53 +01:00
Gerko de Roo
aceb94d260 Oops... Lookup is only for ring games.... 2010-02-18 22:24:25 +01:00
Gerko de Roo
6272c057b9 Pokerstar Big and Small blind for limit games now derived
form lookup table.
This also needs to be done for PokerStars, don't know for the other sites....
2010-02-18 22:12:01 +01:00
Eratosthenes
97ec91c165 Revert fix removing the creation of folders for converted HHs. 2010-02-18 16:00:12 -05:00
Gerko de Roo
0294e4fdbb Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-02-18 21:47:14 +01:00
Gerko de Roo
8c46d3bde5 Merge branch 'master' of git://git.assembla.com/fpdb-sql.git 2010-02-18 17:28:27 +01:00
Eratosthenes
641617955b Merge branch 'master' of git://git.assembla.com/fpdboz 2010-02-18 11:08:24 -05:00
Gerko de Roo
35a604dcc6 Add support for posting dead small blind 2010-02-18 16:39:51 +01:00
Gerko de Roo
a27bc45f6d fix for dead blinds and antes in the player stat calculation
Posted dead blinds messed up the rake and profit calculation
in the player stats.
This fix should also work for antes
The fix has been done for omaha and holdem game types (without antes)
I don't have draw or stud hands to check this
2010-02-18 16:17:08 +01:00
Gerko de Roo
e9f359f838 Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-02-18 16:07:14 +01:00
sqlcoder
0cafb75c59 finish previous undo 2010-02-17 23:29:50 +00:00
sqlcoder
c31a2f6cef undo earlier 're-fix' that broke things 2010-02-17 21:44:05 +00:00
sqlcoder
55b6e1ee92 change button text 2010-02-17 21:18:38 +00:00
sqlcoder
074a4e751e make sure filter releases any db locks it has 2010-02-17 19:25:04 +00:00
Worros
773ba71499 Change blind semantics slightly to improve accounting.
This should improve the case where a second small blind is added.

The player committing the second sb still has a 1xsb accouting error
2010-02-17 19:57:26 +08:00
sqlcoder
797f04aaab fix problem with position stats in sqlite 2010-02-16 23:13:12 +00:00
sqlcoder
78dc7ab468 improve sawshowdown stat 2010-02-15 23:37:34 +00:00
sqlcoder
4993b6619e improve position set routine to cover folding to BB and missing SB 2010-02-15 22:57:59 +00:00
sqlcoder
feeb70594a re-fix steal stats 2010-02-15 22:54:02 +00:00
Worros
44d994303c Add comment regarding accounting error 2010-02-16 00:42:13 +08:00