Commit Graph

2947 Commits

Author SHA1 Message Date
sqlcoder
da203fbe6c debug and refine fpdb.pyw changes for .exe version 2010-06-06 10:57:51 +01:00
sqlcoder
9421f045dd put output file from .exe startup in higher directory 2010-06-06 09:29:46 +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
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
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
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
Mika Bostrom
ed1b24a38f Merge branch 'master' of git://git.assembla.com/fpdboz 2010-05-04 20:13: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
Mika Bostrom
6883e5c6e3 Merge branch 'master' of git://git.assembla.com/fpdboz 2010-04-16 08:12:12 +03: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