Worros
5660d6cb5e
Merge branch 'master' of git://git.assembla.com/fpdb-gimick
2010-06-08 13:30:30 +08:00
Worros
5f1308688b
Merge branch 'master' of git://git.assembla.com/fpdb-sql
2010-06-08 13:17:20 +08:00
Worros
523a70ebd8
Merge branch 'master' of git://repo.or.cz/fpbd-bostik
2010-06-08 11:47:14 +08:00
steffen123
aed767ef4b
add warning dialogue to restart after recreate as i encountered bugs under some circumstances if I didn't but it
...
doesn't seem worth investigating
2010-06-08 04:33:27 +02:00
steffen123
816be22833
moved test_Python* to root folder so they don't collide with py.test and because it fits better there anyways
2010-06-08 04:30:10 +02:00
steffen123
5aadfde2df
renamed test scripts to make their purpose clearer
2010-06-08 02:52:41 +02:00
gimick
a926f7b19f
Histories updated with random hand numbers, to avoid duplicates. PLO example added with sidepots
2010-06-08 01:40:09 +01:00
sqlcoder
d26b0f3a9f
another python -> pythonw change
2010-06-07 21:59:01 +01:00
sqlcoder
fb811ca388
minor heading change in Preferences dialog
2010-06-07 21:58:04 +01:00
sqlcoder
8e0fb78570
further refinements to .py -> .pyw and python -> pythonw change
2010-06-07 19:29:59 +01:00
steffen123
d84ff44875
Merge branch 'master' of git://git.assembla.com/fpdb-gimick
2010-06-07 03:31:00 +02:00
steffen123
e72b7364b8
Merge branch 'master' of git://git.assembla.com/fpdboz
...
Conflicts:
pyfpdb/DerivedStats.py
2010-06-07 03:08:07 +02:00
steffen123
e349dad1b2
Revert "dirty but working patch to make it load utf8 files (specifically, FTP)"
...
This reverts commit 12e89306b5
.
2010-06-07 03:03:52 +02:00
gimick
1f9b7788ad
add 8 example Stars hand histories to pyfpdb/regression-test-files
2010-06-07 00:44:08 +01:00
gimick
38ad49bf38
Write Anonymise output to .anon file, rather than the terminal
2010-06-06 21:06:04 +01:00
sqlcoder
1c897e54d5
rename HUD_main from .py to .pyw as well
2010-06-06 21:03:03 +01:00
sqlcoder
1aafe79b4a
fix name of list indexes query
2010-06-06 13:21:21 +01:00
sqlcoder
b7a7af37d5
minor whitespace change
2010-06-06 13:20:39 +01:00
sqlcoder
da203fbe6c
debug and refine fpdb.pyw changes for .exe version
2010-06-06 10:57:51 +01:00
sqlcoder
544a682891
rename fpdb.py to fpdb.pyw makes it run smoother from .exe (no dos window)
2010-06-06 09:01:26 +01:00
sqlcoder
30d5cf56ca
Merge branch 'master' of git://git.assembla.com/fpdboz
2010-06-05 16:54:18 +01:00
sqlcoder
397ae8bbcd
show site name in error message if match failed
2010-06-05 16:53:48 +01:00
Worros
3d7668bde5
Add required import
2010-06-05 18:00:41 +08:00
Worros
18a3af2e88
Fix HHC init and python 2.5 incompatibility
2010-06-05 17:58:00 +08:00
Mika Bostrom
d56d3009b6
Merge branch 'master' of git://git.assembla.com/fpdboz
2010-06-05 10:13:04 +03:00
Worros
3b823574ab
Bump version to 0.20
2010-06-05 00:44:40 +08:00
Worros
0c3cdb12f8
General cleanup - Exception messages and improved logging.
...
Stars HHC, HHC itself and Hand.
Should not get the first 100 characters of an failing hand in the log, which contains the handid for later reference.
Played around with the number of characters a while ago - 100 chars is about the sweet spot.
2010-06-04 15:59:47 +08:00
Worros
12ad272f91
SQL.py - Add functions for listing indexes.
...
Not used anywhere - may be a good reference at some point
2010-06-04 15:26:50 +08:00
Worros
212438a0c6
Database.py - Additional logging and comments
2010-06-04 15:25:56 +08:00
Worros
6b00311756
Make sqlite index deletion and creation work.
...
Also updated the coding style and logging in that area.
2010-06-04 14:37:46 +08:00
Mika Bostrom
18036fb2cc
Merge branch 'master' of git://git.assembla.com/fpdboz
2010-06-04 06:43:58 +03:00
Gerko de Roo
3716f11f06
1970-01-01 in mktime generates overflow...
2010-06-04 05:55:46 +08:00
Gerko de Roo
1edf860760
Add support for post of dead small blind (PartyPoker)
2010-06-04 05:46:19 +08:00
Gerko de Roo
e41c63f6ee
When small blind raises here the addRaiseBy was generating money.
...
One player on small blind with total $2.25, commited $2.27 to the pot.
2010-06-04 05:46:06 +08:00
Gerko de Roo
bdbcf19b06
Player stat fix for PartyPoker
...
When placing a uncalled bet (like all-in) the uncalled part is put in a sitepot
Therefore the player exist 2* in collected.
The uncalled part of the bet was subtracted twice for collected and collectees.
2010-06-04 05:45:55 +08:00
Worros
def398e0c2
Merge branch 'master' of git://git.assembla.com/fpdb-sql
2010-06-04 05:42:28 +08:00
Worros
e17058953c
Add preliminary functions and variables for hex encoding patch
...
Kangaderoo has a patch which potentially fixes storage and display issues for users who do not have their database text storage as utf8.
Functions and variables added to Charset to disect the patch
2010-06-04 05:36:59 +08:00
Worros
23ae26259b
Steffen reported a FTP file in UTF-8 format.
...
Added it as the 3rd codec tested
2010-06-04 04:17:30 +08:00
Gerko de Roo
27e5bf8698
Moved Codec conversion to Charset
...
The TIP is using a codec conversion that doesn't handle error exeptions.
This could lock up the HUD....
2010-06-04 03:58:49 +08:00
Gerko de Roo
5a13e96b3b
Auto close HUD support for closing tourney windows added.
...
Not neat but functional.
2010-06-04 03:48:43 +08:00
steffen123
f6fbf08250
moved fold stats so that the file no longer indicates that they're not done
2010-06-04 03:35:40 +08:00
Worros
994f0fdccc
Modify recent patch from Steffen adding fold stats
...
- Remove added whitespace
- Reformatted debug strings in preferred printf style (and starting with DEBUG:)
- Swapped len(aggrers)>0 and i>0 for short circuit evaluation, and reformatted spacing for consistent coding style
-- (NOTE: for NLHE this will definitely be faster as less hands go to flop - may be slower for limit games)
Also added a couple of comments near enumerate() calls about 2.5 to 2.6 syntax
2010-06-04 03:02:07 +08:00
steffen123
c52767ea41
it now records and displays fold stats (not too thoroughly tested)
2010-06-04 02:29:31 +08:00
steffen123
30d7f0dc2a
moved fold stats so that the file no longer indicates that they're not done
2010-05-28 19:12:02 +02:00
steffen123
300e5fbbed
it now records and displays fold stats (not too thoroughly tested)
2010-05-28 02:31:04 +02:00
steffen123
12e89306b5
dirty but working patch to make it load utf8 files (specifically, FTP)
2010-05-27 22:01:17 +02:00
Mika Bostrom
b482148d2a
Kill trailing whitespace
2010-05-24 09:26:19 +03:00
Mika Bostrom
2503cd1b6c
Fix what looks like a thinko
...
The stat 'fold_f' probably should do a "float(foo)/float(bar)" division
because there is no function called "fold"
2010-05-13 06:57:59 +03:00
Worros
9ac46c8c92
Add to Stars limit lookup table.
2010-04-23 17:09:08 +08:00
Worros
6e60314926
First part of making FTP archive files work
2010-04-23 11:49:57 +08:00
gimick
c871d7fc2f
gimick - Do not set CBChance if there has been a donkbet
2010-04-23 11:49:31 +08:00
Worros
d11623c736
Update Session viewer based on Socratic comments
2010-04-23 11:39:52 +08:00
Worros
c0ebc4b7cf
Update to Session viewer
...
Fix a couple of crashers
- Make sure last session in list is displayed correctly
- Actually calculate hands/hour (Thanks Socratic)
- Make graph display the correct number of sessions
2010-04-22 23:22:28 +08:00
Worros
5aadf643be
Add '2' to the Lim_Blinds lookup table
...
Fixes Dogs import issue.
2010-04-23 00:36:12 +08:00
Worros
3dd5f92a3c
Add logging for two areas, fix RAZZ v Razz issue
...
Add ERROR conditions for determineGameType failing, and raise a FpdbParseError in each case
2010-04-23 00:33:24 +08:00
Worros
6ba7621f2a
Fix 'errors' stat in importer
...
Instead of:
GuiBulkImport done: Stored: 32 Duplicates: 0 Partial: 0 Errors: 32 in 0.530081987381 seconds - 0/sec
We have:
GuiBulkImport done: Stored: 0 Duplicates: 0 Partial: 0 Errors: 32 in 0.530081987381 seconds - 0/sec
2010-04-23 00:28:30 +08:00
sqlcoder
c265df2ffa
Merge branch 'master' of git://git.assembla.com/fpdboz
2010-04-15 21:28:31 +01:00
Worros
b14bed4e9b
Fix last patch - add pass
2010-04-15 15:48:57 +08:00
Worros
81c731b42e
Fix for CBet stat
...
Patch from bbtgaf@googlemail.com aka gimick
DerivedStats.betStreet() was only functioning if the player was the first person to act on a street.
If the player was checked to the function would exit as False before ever finding the player
2010-04-15 14:51:20 +08:00
Worros
fb6af1fe75
Fix for PT-Stud exported Stars HH's
...
Exports files as 'RAZZ LIMIT' instead of 'Razz Limit'
2010-03-30 13:04:39 +08:00
sqlcoder
757c241241
move HH_bulk_path from general section to hhBulkPath in import section
2010-03-21 12:19:55 +00:00
sqlcoder
e87e6294c8
return time in filter dates, adjusted using day_start from general config, update playerstats to use this
2010-03-21 11:40:32 +00:00
sqlcoder
a478331988
change button name to differentiate from filter refresh
2010-03-20 18:20:40 +00:00
sqlcoder
395f80eac6
fix sqlite position stats again
2010-03-20 18:12:23 +00:00
sqlcoder
b8a4d97ed6
add guesstimate of daylight savings time to UTC conversion (Stars doesn't tell us if DST or not)
2010-03-16 22:32:31 +00:00
sqlcoder
c2d05cdfbb
Merge branch 'master' of git://git.assembla.com/fpdboz
2010-03-15 21:51:50 +00:00
sqlcoder
ef36e260e5
prepare for change to store time in UTC
2010-03-15 21:51:39 +00:00
sqlcoder
a4a4eaa87b
add general section to configuration. currently includes default bulk import path and start of day offset
2010-03-15 21:48:25 +00:00
Worros
3c67d5f286
Merge branch 'master' of git://git.assembla.com/fpdb-sql
2010-03-15 18:22:07 +08:00
sqlcoder
a10f7c144e
allow log viewer to view all 4 log/error files
2010-03-09 22:36:03 +00:00
sqlcoder
88670a6a2d
Merge branch 'master' of git@github.com:sqlcoder/fpdb-sql
2010-03-09 21:47:02 +00:00
sqlcoder
6117eb64c8
remember separator position when refresh is clicked
2010-03-08 22:47:44 +00:00
sqlcoder
04acf25416
don't display headings for bottom table when it can't be calculated
2010-03-08 22:32:09 +00:00
sqlcoder
2e83e91ba5
add having clause to sqlite version of guistats query
2010-03-08 22:31:07 +00:00
sqlcoder
014ddedc01
create db automatically if using sqlite
2010-03-07 10:30:56 +00:00
Worros
950b037b39
Merge branch 'master' of git://git.assembla.com/free_poker_tools
2010-03-05 12:03:40 +08:00
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