Worros
14d2861cdd
Re-enable 'variance' for sqlite.
2010-03-05 11:55:00 +08:00
Worros
a698b2e16d
PlayerStats: Fix sorting in # Hands col
...
Patch from Almer Visser.
Using %d causes Gtk to order as a string rather than a number.
Convert to %1.0f and issue disappears.
2010-03-04 12:10:28 -05:00
Eratosthenes
519494878e
Don't try to find out blinds for stud games.
2010-03-04 11:50:03 -05:00
Worros
6c05bac1d0
Merge branch 'master' of git://git.assembla.com/free_poker_tools
2010-03-04 19:48:40 +08:00
Worros
b893d6a00d
Merge branch 'master' of git://git.assembla.com/fpdb-sql
2010-03-04 19:48:21 +08:00
Worros
0e707c19f8
PlayerStats: Fix sorting in # Hands col
...
Patch from Almer Visser.
Using %d causes Gtk to order as a string rather than a number.
Convert to %1.0f and issue disappears.
2010-03-04 17:50:51 +08:00
Eratosthenes
a3cab472b1
Clean up guessMaxSeats.
2010-03-03 15:08:00 -05:00
Eratosthenes
2452293c1e
Fix problem with old (pre 2010) HHs.
2010-03-03 13:05:06 -05:00
Eratosthenes
17b02c1cd9
Fix for missing TTYPE in HandInfo.
2010-03-03 12:57:30 -05:00
Eratosthenes
4272ee36a2
Change for new HH format. Still work to do here.
2010-03-03 00:42:13 -05:00
Eratosthenes
1c276915d8
Merge branch 'master' of git://github.com/kangaderoo/fpdb-kangaderoo
2010-03-02 16:05:11 -05:00
Gerko de Roo
1e11109e1f
Support for new Hand History format for Party Poker
...
Don't have enough 'old' HH to test
2010-03-02 21:55:32 +01:00
Gerko de Roo
4c37877c7f
Uncalled bet needs to be subtracted from the collectees.
...
the self.collectees is used in the derived stats.
The uncalled part of the bet was added to the players profit.
2010-03-02 21:44:07 +01:00
Eratosthenes
859e6c7536
Merge branch 'master' of git://git.assembla.com/fpdboz
2010-03-02 10:43:00 -05:00
Worros
6a17609040
FullTilt: Playernames can be 2 chars long
...
Found a hand history where the playername was 'OG'. The parser assumed player names were a minimum of 3 characters.
2010-03-02 15:51:40 +08:00
Eratosthenes
444ec73f1d
Update for changes to Tables.Table() call.
2010-03-01 19:26:45 -05:00
Eratosthenes
6daf238241
Add readme.txt to the exe.
2010-02-28 22:20:09 -05:00
Eratosthenes
83d74505c4
Merge branch 'master' of git://git.assembla.com/fpdb-sql
2010-02-28 11:49:13 -05:00
Gerko de Roo
7bf5bc5938
Merge branch 'master' of git://git.assembla.com/fpdb-sql.git
2010-02-28 10:54:06 +01:00
sqlcoder
14a7784124
oops, forgot to add this in earlier commit
2010-02-28 08:53:44 +00:00
Worros
085f46d3da
Merge branch 'master' of git://git.assembla.com/fpdb-sql
2010-02-28 12:28:58 +08:00
Eratosthenes
8e8444d8f2
Comment out intermediate print.
2010-02-27 16:59:00 -05:00
sqlcoder
6a6d1b1b2c
fix 3bet stat (was being set to false if someone else 4bet)
2010-02-27 18:41:30 +00:00
sqlcoder
4ed82b1f18
comment out DEBUG print
2010-02-27 15:47:24 +00:00
sqlcoder
daeee37b6b
default dbname option is overriding 'default=true' selection in config file
2010-02-27 13:56:19 +00: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
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
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
Worros
fcd0ba3dd1
PokerStarsToFpdb: allow a second small blind to be posted
...
If a player sits out a sb in a cash game they can post it after the button
There is still an accounting error in the way we calculate the returned bet.
2010-02-16 00:34:18 +08:00
Worros
c0e0c3e596
Add comment to Bulk import
...
Too lazy to stash
2010-02-15 23:26:23 +08:00
sqlcoder
0ea95363fa
only use M.Nk format for hand numbers > 10000
2010-02-14 23:29:20 +00:00
sqlcoder
6026d5bcb3
PokerStarsToFpdb.py
2010-02-14 23:27:34 +00:00
sqlcoder
d637c2a89c
improve steal calc
2010-02-14 23:26:47 +00:00
Worros
d37f301b10
Revert "a wtsd fix, but figures looks further out if anything now. see riterman in FLHE_6max_sawflop_wrong.txt for an example where street1seen is still not set"
...
This reverts commit 6814538594
.
2010-02-15 00:01:36 +08:00
Worros
857c7f524d
PokerStarsToFpdb - regex fix for actions
...
sqlcoder had a hh file containing
"playername: folds " - ie with a space on the end.
2010-02-14 23:54:19 +08:00
sqlcoder
6814538594
a wtsd fix, but figures looks further out if anything now. see riterman in FLHE_6max_sawflop_wrong.txt for an example where street1seen is still not set
2010-02-14 12:50:44 +00:00
Gerko de Roo
0af9bcd998
Merge branch 'master' of git://git.assembla.com/fpdb-sql.git
2010-02-14 03:22:02 +01:00
Eratosthenes
51e88dbadd
Don't make empty files for Stars format HH.
2010-02-13 18:23:59 -05:00
Gerko de Roo
466988ea4a
Tournement support for PartyPoker
2010-02-13 22:44:00 +01:00
Gerko de Roo
0db3cecf65
Action Reg_ex updated
...
Due to the added end of line marker to eliminate playersnames
that start with card, all-in actions are no longer supported.
2010-02-13 20:41:01 +01:00
sqlcoder
65a0c36781
use original config instance, improve hero_id handling (think this fixes auto-import empty db problem?)
2010-02-13 17:26:47 +00:00
sqlcoder
906c9e0bc9
tighten up logging in hud
2010-02-12 08:18:42 +00:00
sqlcoder
a93562c229
make fpdb and hud write separate log files, refine py2exe some more
2010-02-10 23:33:50 +00:00
sqlcoder
0449c06e29
Merge branch 'master' of git://git.assembla.com/free_poker_tools
2010-02-10 19:39:01 +00:00
sqlcoder
b55c6023c7
add info to log about major errors
2010-02-10 19:38:44 +00:00
Eratosthenes
e0dd7f5ae1
Merge branch 'master' of git://git.assembla.com/fpdb-sql
2010-02-09 18:52:18 -05:00
Eratosthenes
965adc7b27
Add EXEC_PATH to constants.
2010-02-09 18:51:37 -05:00
sqlcoder
4e89b1b000
more py2exe refinements
2010-02-09 22:54:04 +00:00
sqlcoder
d3cb41bed1
do rename to pyfpdb, user still needs to move it into fpdb-0.12... dir manually
2010-02-09 09:14:36 +00:00
sqlcoder
6df8bddc62
undo stupid param name change (need to change all the calls as well if doing it)
2010-02-08 23:38:18 +00:00
sqlcoder
333ae224d4
add some comments
2010-02-08 23:02:08 +00:00
sqlcoder
7294d2e5c0
make sure log dir is created, refine py2exe operation
2010-02-08 22:43:15 +00:00
Worros
9f27ddabad
Merge branch 'master' of git://repo.or.cz/fpbd-bostik
2010-02-08 11:17:56 +08:00
Mika Bostrom
94ab5849fa
Modify display of 'n' in HUD for large numbers
...
When sample size grows to larger than 1000, use "X.Yk" notation to
show the approximate value.
2010-02-07 20:10:26 +02:00
Eratosthenes
800bffd1be
Merge branch 'master' of git://git.assembla.com/fpdboz
2010-02-07 11:43:38 -05:00
Eratosthenes
da3b8076c7
Merge branch 'master' of git://git.assembla.com/fpdb-sql
...
Conflicts:
pyfpdb/py2exe_setup.py
2010-02-07 11:43:28 -05:00
Eratosthenes
3626401096
Merge branch 'master' of git://git.assembla.com/fpdb-eric
2010-02-07 11:40:48 -05:00
sqlcoder
9201364055
fix bugs in error reporting (not helpful if the error logging causes errors\!)
2010-02-07 11:21:50 +00:00
Worros
b996a884de
PokerStarsTo? Fpdb: Fix subtle bug in re_Action
...
The bet action could become multiline greedy if there was a playername starting with 'card' in the next line.
"""
danny purse: bets $0.50
cardjunkie25: calls $0.50
"""
Would match "danny purse: bets $0.50\ncard", and the rest of that line would be ignored.
Added '$' to the end of the regex to make sure that it is limited to 1 line
2010-02-07 19:21:32 +08:00
Worros
ee66abfecc
Revert "PokerStarsTo Fpdb: Fix subtle bug in re_Action"
...
This reverts commit ac51876200
.
2010-02-07 19:19:00 +08:00
Worros
ac51876200
PokerStarsTo Fpdb: Fix subtle bug in re_Action
...
The bet action could become multiline greedy if there was a playername starting with 'card' in the next line.
"""
danny purse: bets $0.50
cardjunkie25: calls $0.50
"""
Would match "danny purse: bets $0.50\ncard", and the rest of that line would be ignored.
Added '$' to the end of the regex to make sure that it is limited to 1 line, and wrap 'cards' as a group.
2010-02-07 19:08:23 +08:00
sqlcoder
fbeaa5590f
move run_fpdb.bat up a directory to /fpdb/
2010-02-07 01:06:36 +00:00
sqlcoder
ef26c05181
be more tolerant of errors when translating for gui, add encode exception handlers
2010-02-06 23:12:11 +00:00
Eratosthenes
8794a075e7
Merge branch 'master' of git://git.assembla.com/fpdb-sql
2010-02-06 16:32:37 -05:00
sqlcoder
4ecd713dab
forgot to add the new .bat file
2010-02-06 21:29:17 +00:00
Eratosthenes
bfe25b0ff2
Merge branch 'master' of git://git.assembla.com/fpdb-sql
...
Conflicts:
pyfpdb/GuiAutoImport.py
pyfpdb/py2exe_setup.py
2010-02-06 15:34:57 -05:00
Eratosthenes
120d05f9cd
Changes for py2exe exe.
2010-02-06 14:55:48 -05:00
sqlcoder
f1d4f08d1c
trivial change to output dir name
2010-02-06 19:00:30 +00:00
sqlcoder
a3ec32b7b9
change print to log
2010-02-06 18:59:33 +00:00
sqlcoder
8b28427ff9
use log instead of print
2010-02-06 18:46:27 +00:00
sqlcoder
d9fddd6595
miniscule print change
2010-02-06 18:07:48 +00:00
sqlcoder
d25611dd38
get py2exe working better - nice :-)
2010-02-06 18:07:00 +00:00
sqlcoder
49e4a7db69
change a few prints to logs
2010-02-06 18:06:21 +00:00
sqlcoder
1e832952dd
add newline in error reporting message
2010-02-06 15:55:32 +00:00
sqlcoder
752e5ad088
make sure fpdb icon works in py2exe
2010-02-06 12:27:15 +00:00
sqlcoder
4d74437845
run HUD_main.exe if running fpdb.exe (created by py2exe)
2010-02-06 10:33:00 +00:00
sqlcoder
4a0fcd62a0
sqlite seems to perform ok for me
2010-02-06 10:28:17 +00:00
Eratosthenes
8a2c24ceff
Merge branch 'master' of git://git.assembla.com/fpdboz
2010-02-05 23:21:55 -05:00
Eratosthenes
8aa18b95d8
Changes to make running py2exe exe happy.
2010-02-05 23:19:58 -05:00
Eratosthenes
4df991517e
Changes to make the py2exe exe happy.
2010-02-05 23:13:53 -05:00
Eratosthenes
08078cfee4
Configure for python 2.5. Add icon for fpdb.exe.
2010-02-05 23:03:55 -05:00
Eric Blade
5c26fee853
handle mysql error on close if connection was timed out
2010-02-05 08:58:47 -05:00
Worros
ac458386da
Add config path to test2.py display
2010-02-05 21:29:07 +08:00
Worros
e0a125faf0
Merge branch 'master' of git://git.assembla.com/fpdb-sql
2010-02-05 17:32:05 +08:00
Worros
ab693e3b3c
test_PokerStars.py - Fix calls to HHC.
...
sqlcoder added config as a parameter to HHC and Hand
2010-02-05 11:51:12 +08:00
Worros
fde72003f7
test2.py - Add more tests
...
Added most imports, and printed some formatted output for assiting diagnosis of new user installs
2010-02-05 11:44:27 +08:00
Worros
afde406cc9
Merge branch 'master' of git://git.assembla.com/fpdb-eric
2010-02-05 11:01:52 +08:00
sqlcoder
ef2a8aca14
remove duplicate db calls which were slowing the hud down
2010-02-04 23:37:45 +00:00
sqlcoder
4d45bd39d3
make enabled sites come first in drop-down (i.e. more chance of the default being the one you want)
2010-02-04 23:08:09 +00:00
Eric Blade
c10665935f
stop clobbering search_string in TableWindow::__init__ . Thanks Ray!
2010-02-04 16:33:21 -05:00
Eratosthenes
9dfa0967b8
Correct data files.
2010-02-04 13:08:26 -05:00
Worros
b2e409ae00
Merge branch 'master' of git://git.assembla.com/fpdb-sql
2010-02-04 00:36:51 +08:00
Eratosthenes
8c1ce3df7d
Merge branch 'master' of git://git.assembla.com/fpdboz
2010-02-03 11:17:10 -05:00
Worros
1cefb2e857
Fix playername siteid insert
...
From Gerko on mailing list:
> I just did a trial. Use bulkimport for a single Pokerstars file
> switch setting and bulkimport a single Full tilt file.
> When screening the db all players in the database show the same siteId
> (2 for pokerstars)
> Or the other way if the first site was Full Tilt.
The Lambda function wasn't initialising the lambda function correctly.
2010-02-03 23:48:39 +08:00
Eratosthenes
5c6d4e4744
Merge branch 'master' of git://git.assembla.com/fpdboz
2010-02-03 10:37:54 -05:00
Worros
33455cb1ac
PokerStars: Fix tablename regex to allow a #
...
Occasionally Stars throws up a cash table that looks like
PokerStars Game #22920951206 : Triple Draw 2-7 Lowball Limit ($0.10/$0.20) - 2008/12/14 17:44:00 ET
Table 'T #252691988 ' 6-max Seat #2 is the button
a # was previously excluded from the regex.
2010-02-03 21:52:44 +08:00
Eratosthenes
7e5e9ed93a
Merge branch 'master' of git://git.assembla.com/fpdb-sql
2010-02-03 08:40:16 -05:00
Eratosthenes
7aa67c38b1
Merge branch 'master' of git://git.assembla.com/fpdb-eric
2010-02-03 08:40:02 -05:00
sqlcoder
864454f31c
change 2 commits to 1, may help sqlite stop locking up
2010-02-03 01:03:36 +00:00
sqlcoder
e3679a99fb
fix steal calcs
2010-02-03 00:48:45 +00:00
sqlcoder
fece7c9147
move fpdb-error-log and HUD-error to APPDATA, renamed as fpdb-errors.txt and HUD-errors.txt to be consistent
2010-02-02 21:53:03 +00:00
Eric Blade
76f9517655
WinTables will no longer accept trying to attach to "FPDBHUD" titled windows
2010-02-02 14:54:27 -05:00
Eric Blade
e88d745e7d
Merge branch 'master' of git://git.assembla.com/fpdb-sql.git
2010-02-02 10:51:22 -05:00
Eric Blade
6e30bb2067
Merge branch 'master' of git://git.assembla.com/fpdboz.git
2010-02-02 10:48:17 -05:00
Eratosthenes
8c81761c1b
Merge branch 'master' of git://git.assembla.com/fpdb-sql
2010-02-01 18:38:23 -05:00
Eratosthenes
aea7db22e3
Options for logging level and version. Not connected yet.
2010-02-01 18:37:36 -05:00
sqlcoder
96d0e0f181
fix key error and add filter to logging.conf
2010-02-01 22:56:40 +00:00
sqlcoder
d4248706e4
remove surplus get_logger calls, tidy up log messages some more
2010-02-01 22:31:00 +00:00
sqlcoder
86330e536a
tidy up logging so that log isn't created in /fpdb/log/ unless it is being used
2010-02-01 21:03:51 +00:00