Commit Graph

4679 Commits

Author SHA1 Message Date
Chaz Littlejohn
4b938b7e2a Added back in additions to THP and PokerStarsToFpdb now that the conflict has been resolved 2011-04-06 17:03:04 +00:00
Chaz Littlejohn
ae8006935d Merge branch 'sorrow' into chazdazzle-test 2011-04-06 16:56:48 +00:00
Chaz Littlejohn
69732a40ae resolving merge conflicts in PokerStarsToFpdb.py and TestHandsPlayers.py 2011-04-06 16:56:19 +00:00
Chaz Littlejohn
b7b93408b0 Commented out the printing in recreate_tables. Should think about undertaking an effort to remove all printing since everything important is logged anyways 2011-04-06 03:43:56 +00:00
Chaz Littlejohn
d7ed15bcfe Added the column 'showed' to handsplayers which flags whether or not a player showed his or her hand. If false and 'sawSD' is true then they mucked. If true and 'sawSD' is false, then they showed outside of a showdown (site dependent). Also fixed up readShownCards in FTP's hhc so it recorded mucked and showed correctly. 2011-04-05 02:41:53 +00:00
Chaz Littlejohn
5f9d402701 Added new showdownStrings dictionary in the Hand module as well as the appropriate regex in re_ShownCards for capturing the text discrption of showdown hands. FTP and Stars only for now. Once evaluating hand strings is added to Stove, this will be used as a back up for games Poker-eval does not fully support such as Razz and Badugi 2011-04-04 19:57:54 +00:00
Chaz Littlejohn
c518c482ac Fixed several errors in the new storeHudCache which were preventing the data from being imported in full 2011-04-04 06:32:57 +00:00
Chaz Littlejohn
d98a28ea0a Added support for board cards in FTP run it twice (RIT) hands. Hands continues to store the standard board for the hand, while run it twice board cards dealt after the all in are stored in the new Boards table. Designed to allow for more than 2 boards if a hand history allows it. Can be enabled for other sites by adding regex to detect multiple FLOP|TURN|RIVER deals in hhc.markStreets, and by updating hhc.readCommunityCards to save RIT streets and set hand.runItTimes with the number of deals. The Hands table now includes a 'runIt' BOOL indicating if a hands was run multiple times and board inserts are done in the storeHand method. 2011-04-04 04:50:01 +00:00
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
Worros
eec01083b1 FTP: Add high limit lookup
Clear the blind string of ,s and add 1k/2k and 1.5k/3k.
2011-04-02 23:22:56 +08:00
Worros
b20dde4f29 Import: reenable the test data for gametypes 2011-04-02 22:48:38 +08:00
Worros
c34467b987 Regression: FTP 1500/3000 Triple Draw sample hand.
Not UTF16 - from an archive file.

Hero wins hand
2011-04-02 22:27:13 +08:00
Worros
65e5ad45ac Stars: Add mixed holdem tourney support 2011-04-02 15:02:18 +08:00
Worros
7a9033e826 Regression: Stars mixed holdem tourney hands 2011-04-02 14:58:45 +08:00
Worros
a6bf237c9a Win2day: Allow CAD espacejeux.com hand to parse 2011-04-02 14:15:42 +08:00
Worros
07bce33894 Regression: Win2day espacejeux.com NLHE 2011-04-02 14:14:05 +08:00
Worros
086e2f9814 Card: Remove unused function 2011-04-02 12:27:29 +08:00
Worros
753596f217 fpdb_import: Only pipe to hud if callHud variable set 2011-04-01 13:35:13 +08:00
Worros
0c03547bf6 THP: Remove 'id' 2011-04-01 12:49:04 +08:00
Worros
dd95b8d3bb Regression: Fix card data for FTP draw .hp file 2011-04-01 12:26:38 +08:00
Worros
d8baef3072 Merge branch 'chazdazzle' of git://github.com/ChazDazzle/fpdb-chaz 2011-04-01 10:09:13 +08:00
Chaz Littlejohn
148777bebd Changed the order of how draw cards are stored in HP so cards dealt to hero on Draws 1-3 (the open field of the holecards dictionary are placed after the cards held from previous streets (the closed field of the holecards dictionary) 2011-04-01 02:08:20 +00:00
Worros
6fc599005d Regression: New OnGame tourney files 2011-03-31 18:11:50 +08:00
Worros
98902a3633 Regression: FTP Badugi hand data update 2011-03-31 18:05:04 +08:00
Worros
c1ada8436f OnGame: Refine tourney portion of re_HandInfo 2011-03-31 17:49:18 +08:00
Worros
6602dabc46 OnGame: Initial tourney import 2011-03-31 17:45:20 +08:00
Worros
d282dead8a Regression: Fix card data for FTP draw .hp file 2011-03-30 18:05:04 +08:00
Worros
fe1f8a5829 Regression: Fix card data for FTP draw .hp file 2011-03-30 14:44:29 +08:00
Worros
38f63ffcec Regression: Fix card data for newly parsed draw hands 2011-03-30 13:42:59 +08:00
Worros
3e6c5b6f31 THP: Minor updates 2011-03-30 13:29:39 +08:00
Worros
9b59d8fb9c Regression: Fix data for newly parsed draw hands 2011-03-30 13:28:57 +08:00
Worros
9a87d7d88a Merge branch 'chazdazzle' of git://github.com/ChazDazzle/fpdb-chaz 2011-03-30 11:50:33 +08:00
Chaz Littlejohn
6954ab1b62 changed the key in the hands stats dict from 'gameTypeId' back to 'gametypeId' 2011-03-30 03:49:13 +00:00
Worros
bac1d29166 Regression: Add gameSessionId to .hands files 2011-03-30 11:49:02 +08:00
Worros
468b98fb7a THP: Ignore gameSessionId 2011-03-30 11:46:49 +08:00
Chaz Littlejohn
faaca41b5a Merge branch 'sorrow' into chazdazzle 2011-03-30 03:25:58 +00:00
Chaz Littlejohn
fc2b79a5e8 tourneysPlayersIds is later updated by db.createOrUpdateTourneysPlayers and turned into a dict rather than a list so it makes sense to initialise as such 2011-03-30 03:18:36 +00:00
Chaz Littlejohn
c361992b13 added \u20ac into the sym dict 2011-03-30 03:15:12 +00:00
Worros
9eb0138f3d THP: Make less noisy 2011-03-30 11:13:03 +08:00
Worros
1e3bbd6047 Merge branch 'chazdazzle' of git://github.com/ChazDazzle/fpdb-chaz 2011-03-30 11:12:22 +08: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
Chaz Littlejohn
b00c30cbbf Re-did patch to fix import when no hero is defined 2011-03-29 14:18:00 +00:00
Chaz Littlejohn
dc839c9cae Merge branch 'sorrow' into chazdazzle 2011-03-29 14:04:59 +00:00
Worros
69905a051b Everleaf: Clean out some crufty comments 2011-03-29 18:07:39 +08:00
Worros
316e4ff284 Everleaf: Possible fix for older tourney hh's 2011-03-29 18:05:21 +08:00
Worros
f159823f1b Regression: Add card8-20 2011-03-29 17:35:24 +08:00
Worros
59d22bed5d Import: Remove unicode translation from addImportFile
A filename is an almost arbitrary binary sequence, assuming it can be encoded
in utf-8 caused crashes on certain file names.
2011-03-29 17:20:13 +08:00
Worros
0cef119a3b Stars: Add unicode marker back to currency substitution 2011-03-29 17:17:29 +08:00
Worros
de9c65e3ea Database: Fix sessionCache when no hero exists 2011-03-29 17:13:31 +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