Commit Graph

155 Commits

Author SHA1 Message Date
Chaz Littlejohn
f55cd5569d Added methods for storing the filename and import statistics in a new 'Files' table which links with the Hands table via Hands.fileId. Extended support for storing mixed game information for Full Tilt Poker coming from the filename, and updated mixed game dictionaries for PokerStars. Added a field in GameTypes to track this mixed game variable entitled 'mix' which takes on the string value of 'none' if not a mix game hand. 2011-04-02 23:56:52 +00:00
Chaz Littlejohn
c19549b3da changed the currency substitutions to byte stream AND unicode -- i.e. u'$|\xe2\x82\xac|\u20ac|' 2011-03-29 20:15:21 +00:00
Worros
0cef119a3b Stars: Add unicode marker back to currency substitution 2011-03-29 17:17:29 +08:00
Worros
684689c9db Revert "changed all of the currency substitutions from byte stream (i.e. \xe2\x82\xac for EURO) to unicode (u'\u20AC') as it was throwing unicode errors when attempting to format the string in the various regex statements. I am aware that I may be the only one to encounter this problem."
This reverts commit d0ae2a155d.

Conflicts:

	pyfpdb/FulltiltToFpdb.py
2011-03-29 15:46:15 +08:00
Chaz Littlejohn
a87f43f933 Updated the import process for Draw hands so that cards, along with additional draws can now be stored. HandsPlayers now includes 20 card fields to accomodate up to 4 five card hands for each player. The regex for the 'stands pat' action was also improved so that hero cards from those streets could be taken from that line of text 2011-03-24 06:00:10 +00:00
Chaz Littlejohn
d0ae2a155d changed all of the currency substitutions from byte stream (i.e. \xe2\x82\xac for EURO) to unicode (u'\u20AC') as it was throwing unicode errors when attempting to format the string in the various regex statements. I am aware that I may be the only one to encounter this problem. 2011-03-23 19:27:55 +00:00
Steffen Schaumburg
af1c1d1c1f Merge branch 'carl' 2011-03-17 15:15:45 +01:00
Worros
08ee109ec3 Stars: Allow ' in tablename
Table 'Isildur's NLHE 50 IV' 2-max Seat #2 is the button
2011-03-17 14:29:00 +08:00
Steffen Schaumburg
d49d2e2220 few more string unifications (I know its too late, but I wanted them in so translators running non-source can try their translations better), update l10n files 2011-03-12 21:47:14 +01:00
Steffen Schaumburg
1fac2ffe13 more string unification, update l10n files 2011-03-11 07:08:50 +01:00
Steffen Schaumburg
8a519699b5 update copyright year 2011-03-10 06:16:31 +01:00
Steffen Schaumburg
792b110ee1 more string unification 2011-03-10 05:14:16 +01:00
Steffen Schaumburg
23818e0c6b more string unification 2011-03-10 04:36:20 +01:00
Steffen Schaumburg
4c71fd7baf unify a string 2011-03-10 04:29:16 +01:00
Steffen Schaumburg
4d1430026b fix some gettextifications 2011-03-10 02:44:40 +01:00
Scott Wolchok
fc46b70c41 Rename decimal.py to decimal_wrapper.py so we don't break when
cdecimal is not installed.
2011-02-25 14:18:12 -05:00
Scott Wolchok
25799d01f2 Don't bother recompiling regexs for every hand when parsing Stars
HHs.
2011-02-25 04:19:00 -05:00
Worros
e387593967 Stars: Fix accounting error in single draw games.
There is no indicator between 'streets' in single draw games on Stars.

Patch adds a new regex for single draw games to detect the draw and divide streets.
2011-02-16 15:10:48 +08:00
Gerko de Roo
e0c13e2e7f Pokerstars 'Home Games' support 2011-02-07 11:51:22 +08:00
Worros
be83ab0713 Stars: Add 20/40 limit to table 2011-01-12 15:09:27 +08:00
Worros
e0987e67a6 Stars: Add new blind levels to lookup 2010-12-17 11:24:07 +08:00
Worros
9235d12d59 Stars: Fix issue where player collected pot
As both big blind and the button - something i wasn't sure was possible
2010-12-06 13:45:58 +08:00
Worros
96b55a5bff Stars: Fix regression.
New test file regression-test-files/cash/Stars/Flop/LHE-10max-USD-1.00-2.00-No_max_seats.txt crashed Stars.

Put guard to make sure MAX has a value
2010-12-06 12:48:25 +08:00
Eric Blade
8855530617 Merge branch 'master' of git://git.assembla.com/fpdboz.git
Conflicts:
	pyfpdb/Database.py
	pyfpdb/TableWindow.py
2010-12-03 16:14:10 -05:00
Worros
a4e708507f Stars: More useful exception message of currency match fails 2010-12-04 03:43:06 +08:00
Eric Blade
622b350795 Revert "Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz"
This reverts commit 61ac6be0fa, reversing
changes made to 18df2ef2c6.

Conflicts:

	pyfpdb/SQL.py
2010-11-26 18:15:28 -05:00
Chaz
b820cd4895 * Old Stars HHs don't display max seats. Added regression-test-file showing this and handling in the Stars HHC 2010-11-24 14:49:39 -06:00
Worros
55aa2df1de Stars: Fix AAMS portion of GameInfo regex.
Somewhere along the line I removed the ? making it optional.
2010-11-16 12:50:36 +08:00
Worros
a4885243de Stars: Fix re_GameInfo to parse AAMS section of .it hands
Only have the one example from a Tournament hand:

PokerStars Game #52486342403: Tournament #324732603, €0.82+€0.18 EUR Hold'em No Limit - Level I (10/20) [AAMS ID: L284A006CB1E33ZO] - 2010/11/10 20:59:53 CET [2010/11/10 14:59:53 ET]

Hopefully the same for cash games
2010-11-13 12:04:13 +08:00
Steffen Schaumburg
b258ae6258 activate PS draw tourneys (tested FL, assume PL/NL work since they apparently do in cash games) 2010-11-09 23:18:44 +01:00
Worros
bcc97636a6 Stars: Fix CAP lines where the cap is reached 2010-11-04 19:59:16 +08:00
Worros
b3f9ae253f Stars: Make parser ignore Cap limit
Header looks like:

PokerStars Game #52129212872:  Hold'em No Limit ($0.25/$0.50 - $10 Cap -  USD) - 2010/11/03 23:45:32 CET [2010/11/03 18:45:32 ET]
2010-11-04 18:31:14 +08:00
Worros
746e4b4871 Stars: Make play money hands parse again 2010-10-11 16:40:15 +08:00
Worros
235a8baa5f L10n: Remaining files 2010-09-23 14:31:16 +08:00
Worros
2b278b781e Stars: Apparently there is a PL 5 Card draw 2010-09-21 13:47:06 +08:00
steffen123
f540214e17 l10n: missed gettextify in various *ToFpdb files 2010-09-17 19:32:50 +02:00
Worros
e1bb9a602b Stars/Hand: Fix issue produced by last regression test file
7-Stud-USD-0.04-0.08-200907.Missing.Showdown.Card.txt only contains 6 showdown cards.

Put filthy hack in addShownCards to guard against this condition, and add a commented out debug print in the HHC
2010-09-09 13:19:19 +08:00
Worros
9a6de0476e Stars: Make readHandInfo() failure log an error not info 2010-09-06 17:22:36 +08:00
Worros
d4400b9f48 Stars: add part support for NL Single Draw 2010-09-02 00:40:36 +08:00
Worros
de9c0d9ba6 Stars: Minor refactor to readHandInfo
Make the readHandInfo function throw an exception if either of the regexes used fails to match
2010-08-27 14:44:19 +08:00
steffen123
54805e8771 add 8$ limit support, make list look nicer 2010-08-16 00:31:17 +02:00
steffen123
aacfb61d3b add missing gettext imports, gettextify TournamentTracker.py 2010-08-15 23:23:17 +02:00
steffen123
fa0c3d82ce gettext-ify PokerStarsToFpdb.py 2010-08-14 16:27:23 +02:00
Worros
acd80f7666 Fix Stars commit.
Forgot a ')'
2010-08-12 15:35:29 +08:00
Worros
a20bc801e8 Stars: Adjust limit blind lookup
The hash for limit values needed both 20.00 and 20.

Fixed for all values up to 1000
2010-08-12 12:23:22 +08:00
Worros
2859948c8a Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-05 12:04:14 +08:00
Worros
bc06e031fa Stars: Potention fix to Mixed PLH/PLO tourneys.
"PokerStars Game #47587046512: Tournament #294420919, $5.00+$0.50 USD Mixed PLH/PLO (Hold'em Pot Limit) - Level XVII (500/1000) - 2010/08/01 20:39:48 ET"

We already parsed up to 'Mixed' and accepted HORSE/HOSE and 8-Game previously. Added PLH/PLO to the list.
2010-08-04 13:16:34 +08:00
steffen123
faee37e101 set isKO to false when we know it's not a KO 2010-08-03 22:25:49 +02:00
Worros
dc2b315a9f Stars: Fix FPP tourneys (maybe...)
Also move hand.isKO to the correct place
2010-08-03 19:52:49 +08:00
Worros
9329475298 Stars: Take 42 on Tourney parsing
Hopefully fix parsing for bounty and cash tourneys for good.

FPP is probably still broken
2010-08-03 19:22:52 +08:00