Commit Graph

53 Commits

Author SHA1 Message Date
unknown
545d4f37fb Add freeroll support to Pokerstars 2009-12-19 10:57:07 +01:00
Worros
a6a3217bbc Fix draw parsing finally? 2009-11-29 16:54:15 +08:00
Worros
f5d8f153b5 Start of fixes to draw parsing 2009-11-29 14:40:32 +08:00
Worros
d08e9a1ea3 Add support for UTF-8 HH type.
Able to parse and import an EUR hh file
2009-11-22 12:34:11 +08:00
Eratosthenes
b637247871 Fix for logging changes. 2009-11-09 19:24:46 -05:00
Eratosthenes
2d890be3c8 Get the tableName right for tournaments. 2009-11-05 11:27:33 -05:00
unknown
a6b7292943 mostly None checkings fixed (== to is != to is not) 2009-11-03 14:30:52 -05:00
Worros
cfd7b40ab6 Merge branch 'master' of git://repo.or.cz/fpbd-bostik
Conflicts:
	pyfpdb/HandHistoryConverter.py
2009-08-12 22:49:18 +08:00
Matt Turnbull
a32d4e053a FulltiltToFpdb handles canceled hands
Better exception handling during parsing
FpdbParseEcxeption takes an optional HID
Stripped pointless __init__s from *ToFpdb subclasses
Logging now has logging.conf config - default is to log only INFO to
file but easily changed to DEBUG for devel work
2009-08-09 15:19:43 +01:00
Ray
26016bffb7 Correctly parse fpp tournaments. 2009-08-06 19:27:52 -04:00
Ray
bbf02c7ee3 Added correct cp1252 symbols for Euros and GBP. 2009-08-02 23:50:44 -04:00
Ray
83fbbc6332 Finished prep for Stars HH format change.
All currency symbols are maintained in dicts that are class
variables. The currency symbols are compiled in to the regexs.
I.e., "\$?" no longer appears in any of the regexs. Will have
to be updated with actual Euro symbol and tested against live
HHs when Stars makes the change.
2009-08-01 11:51:37 -04:00
Ray
5660b77355 Delete uneeded intermediate prints. 2009-07-30 23:44:59 -04:00
Ray
1820e71054 Started on supporting expected HH change--rewrote GameType regex.
This version should work with the expected HH format for $ tables
only. I abstracted the ISO currency codes and currency symbols
out of the regex so they only need to be maintained in 1 place.
I didn't apply the change to everywhere "\$" appears, in case
comments are negative.
2009-07-30 18:06:13 -04:00
Ray
3c64e67750 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-07-19 00:27:29 -04:00
Worros
34932c14ee Add index parameter to Plugins
Change constructor to HHC to accept an index arg, so that file reads can seek
2009-07-17 17:45:22 +08:00
Ray
32a1c322d4 Merge branch 'master' of git://git.assembla.com/fpdboz
Conflicts:
	pyfpdb/PokerStarsToFpdb.py
2009-07-15 13:36:00 -04:00
Ray
0e76c3a676 Fix findHeroCards() for empty streets. 2009-07-15 11:48:58 -04:00
Matt Turnbull
35a5cffb77 Working on PS HORSE file now.. 2009-07-15 00:26:53 +01:00
Matt Turnbull
79ca83c95a Merge from ray, minor conflicts 2009-07-15 00:20:26 +01:00
Matt Turnbull
70f271ef78 location of test PS horse hh 2009-07-15 00:15:04 +01:00
Ray
599aee6393 Fix parsing of tournaments of mixed games. 2009-07-14 10:55:39 -04:00
Ray
d79ea0e6e5 Fixes for Mixed and Play Money games. 2009-07-13 16:21:20 -04:00
Ray
dd1b442122 Rationalized holecards for stud and draw games.
Cards are now lists of cards rather than sets. Removed some
game-specific methods and replaced with general methods.
Let the superclass handle some stuff.
2009-07-13 00:37:51 -04:00
Ray
3234f89aad Rationalized hole card format for flop games.
Also updated writehand() so flop hands are written OK.
This breaks stud and draw--fixing them now.
2009-07-12 16:01:02 -04:00
Ray
e294314e25 Fix: hand.maxseats has to be and int. 2009-07-12 13:14:50 -04:00
Ray
d8820ae1f7 Allow parsing of tournaments, draw and play money.
Sorry about the massive commit. There are still numerous bugs
parsing non-holdem hands and writehand() is broken for all
but holdem cash games.
2009-07-11 13:44:32 -04:00
Ray
4e952de825 Remove intermediate print. 2009-07-07 14:15:36 -04:00
Ray
56bd7b37ba Parse Stars tournaments for flop and stud games.
Tournaments are not correctly written in writehand(). Nor are
stud games.
2009-07-07 13:48:43 -04:00
Ray
4ae8b123ce Fix game type for non-Mixed games. 2009-07-06 12:00:16 -04:00
Ray
8f2350f861 Set dealt flag when reading holdem hero cards. 2009-07-05 11:47:18 -04:00
Ray
f323447313 Get shown and mucked cards for stud games. 2009-07-04 14:35:20 -04:00
Ray
23a4ca34c8 Fix bug preventing some shown cards from being read. 2009-07-03 20:41:08 -04:00
Ray
0636a290f7 Get mixed game info and put it in gameType structure. 2009-07-03 19:28:32 -04:00
Ray
9d7c370449 Get mucked cards from Stars flop games. __str__ method for Hand. 2009-07-03 18:59:50 -04:00
Ray
0f5d5a16f8 Merge branch 'master' of git://git.assembla.com/mctfpdb 2009-06-19 09:11:21 -04:00
Matt Turnbull
620576ba21 more html output 2009-06-19 07:21:35 +01:00
Ray
49a04af0c5 Add stud8 to PokerStars HH conversion. 2009-06-12 12:29:17 -04:00
Matt Turnbull
d8cf0619ac use datetime instead of time 2009-06-07 22:39:19 +01:00
Worros
a261517175 Add additional siteids to db, move player select function 2009-06-01 17:14:31 +08:00
Worros
2bc564e292 Remove draw from supported list.
Olld import code doesn't support draw yet, this patch prevents the bulk
importer from crashing if you have a draw hh file in the list
accidentally.
2009-04-11 04:18:10 +08:00
Matt Turnbull
5cd5ad8fa6 Fix bug I introduced that caused empty hands corresponding to splits
between hands (blank lines) to be 'processed' by HHC in Everleaf, PS and
FTP converters.
2009-03-31 07:44:19 +01:00
Matt Turnbull
f3ee865721 Merge branch 'master' of git://git.assembla.com/fpdboz
Conflicts:

	pyfpdb/PokerStarsToFpdb.py
 - this fails py.test
2009-03-29 12:27:00 +01:00
Worros
74d9f14945 Make CET timezones work with Stars hands 2009-03-25 19:34:40 +09:00
Matt Turnbull
aca5dc9ed0 Parse another PokerStars datetime.
Make tail work:
  -log instead of print inode # change detected,
  -make sure splitter regexes have groups around them
  -fix a bug
  -increase buffering size to something >> a single hand

Conflicts:

	pyfpdb/HandHistoryConverter.py
2009-03-24 14:58:14 +00:00
Worros
40d98b11d9 PokerStarsToFpdb - PLO parsing update 2009-03-15 14:32:52 +09:00
Worros
22ff84852b Kludge maxseats for Stars 2009-03-15 00:30:38 +09:00
Worros
faf19215e8 Make Hand initable without a hhc
Proof of concept code in test_PokerStars.py
2009-03-14 23:01:40 +09:00
Worros
04b43e3b95 Add preliminary Badugi support
Done to flesh out what DrawHand will look like
2009-03-14 19:48:34 +09:00
Worros
d3103f099e Make Stars Badugi recognised 2009-03-14 06:42:20 +09:00