Commit Graph

4759 Commits

Author SHA1 Message Date
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
steffen123
150901cd6e merged carl's tree 2010-05-27 21:58:07 +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
Mika Bostrom
ed1b24a38f Merge branch 'master' of git://git.assembla.com/fpdboz 2010-05-04 20:13:59 +03:00
gimick
1cecbec4be Merge branch 'master' of git://git.assembla.com/fpdboz 2010-04-24 12:04:59 +01: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
gimick
4fb3b679d1 gimick - Do not set CBChance if there has been a donkbet 2010-04-15 23:16:26 +01: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
Eratosthenes
c32f95ebf3 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-04-02 11:38:32 -04:00
Eratosthenes
98f0cd3743 Merge branch 'master' of git://git.assembla.com/fpdboz 2010-04-02 11:38:21 -04: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