Commit Graph

106 Commits

Author SHA1 Message Date
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
steffen123
ed3d6ac15a fix so it works with old-style tourney header missing ISO currency code 2010-08-02 16:46:46 +02:00
steffen123
08959e3176 fix for 1FPP tourney 2010-08-02 16:36:25 +02:00
steffen123
9daadeb7f9 fix regex for FPP tourneys 2010-08-02 15:12:55 +02:00
steffen123
57d9cc5665 very dirty hack to work around bug in gameinfo regex missing last digit of second number 2010-08-02 14:56:20 +02:00
steffen123
9ad275e11c recognise and store knockout and bounty 2010-08-02 13:53:50 +02:00
steffen123
388097a412 fix import for non-KO tourneys 2010-08-02 13:35:20 +02:00
Worros
961ade9aff Stars: Make Knockout tourneys parse
Adjusted GameInfo regex to separately parse buyin, rake and knockout for tournamets
2010-07-31 16:57:25 +08:00
steffen123
522a745ead REFACTOR: move timezone changing method to HHC so it can used by other parsers 2010-07-13 20:37:06 +02:00
steffen123
9283d7b579 some fixes for handStart rename, fixes for TT.category/limitType,
dumpDatabase method and menu entry
2010-07-11 09:47:05 +02:00
steffen123
043c3b5bca fix import of PS FPP tourneys 2010-07-10 23:08:05 +02:00
steffen123
4efd9dc2fb fix import of normal tourneys and ring hands 2010-07-10 21:29:07 +02:00
steffen123
bf96e5103b ignore "Match Round" part of first line of HH 2010-07-10 20:39:43 +02:00
steffen123
ce0d3f59f6 correct for timezone in PS summaries, too 2010-07-08 23:31:39 +02:00
steffen123
d90fa27274 fix starttime to startTime in my new method 2010-07-08 22:47:37 +02:00
steffen123
3bff176970 Merge branch 'carl'
Conflicts:
	packaging/debian/changelog
	pyfpdb/PokerStarsToFpdb.py
	pyfpdb/TourneySummary.py
2010-07-08 22:33:09 +02:00
steffen123
7070c1431a put timezone removal into separate method for use by PSS 2010-07-08 21:28:21 +02:00
steffen123
178b528d3b change calls to python2 back to python 2010-07-08 20:01:03 +02:00
Worros
7c8339485d Fix startTime variable change from another patch 2010-07-08 23:14:55 +08:00
steffen123
92a4b105cc parsing PS summary emails now. just need to write insert/update code now 2010-07-07 06:58:42 +02:00
steffen123
eb3233ac98 more tourney work
- moved HH-based tourney handling completely into Hand
- renamed Tourney.py to TourneySummaries
- changed many DB fields to allow NULL and removed defaults
2010-07-07 04:01:40 +02:00
steffen123
d01435d068 store Tourneys and TourneyTypes for PS tourneys. see ML for more details 2010-07-05 11:48:26 +02:00
steffen123
3b24fd18b2 some cleanups:
- updated copyright notices
- added copyright notices that were missing
- changed python to python2
- added gpl-2/3 license texts
- removed THANKS.txt file as the wiki version is more up to date
- removed empty fpdb_db.py
- added GPL2 to debian license file
2010-07-04 03:05:16 +02:00
Worros
e0b51bee07 Really add the 0.20/0.40 limit level
Limit occurs in Stars 8 game
2010-06-25 16:58:14 +08:00
Worros
057a864794 Stars: Add 0.20/0.40 limit 2010-06-19 08:42:49 +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
def398e0c2 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-06-04 05:42:28 +08:00
Worros
9ac46c8c92 Add to Stars limit lookup table. 2010-04-23 17:09:08 +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
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
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
Eratosthenes
519494878e Don't try to find out blinds for stud games. 2010-03-04 11:50:03 -05:00
Gerko de Roo
aceb94d260 Oops... Lookup is only for ring games.... 2010-02-18 22:24:25 +01:00
Gerko de Roo
6272c057b9 Pokerstar Big and Small blind for limit games now derived
form lookup table.
This also needs to be done for PokerStars, don't know for the other sites....
2010-02-18 22:12:01 +01:00
Gerko de Roo
0294e4fdbb Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-02-18 21:47:14 +01:00
Gerko de Roo
a27bc45f6d fix for dead blinds and antes in the player stat calculation
Posted dead blinds messed up the rake and profit calculation
in the player stats.
This fix should also work for antes
The fix has been done for omaha and holdem game types (without antes)
I don't have draw or stud hands to check this
2010-02-18 16:17:08 +01:00
Gerko de Roo
e9f359f838 Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-02-18 16:07:14 +01:00
Worros
773ba71499 Change blind semantics slightly to improve accounting.
This should improve the case where a second small blind is added.

The player committing the second sb still has a 1xsb accouting error
2010-02-17 19:57:26 +08:00
Worros
fcd0ba3dd1 PokerStarsToFpdb: allow a second small blind to be posted
If a player sits out a sb in a cash game they can post it after the button

There is still an accounting error in the way we calculate the returned bet.
2010-02-16 00:34:18 +08:00
sqlcoder
6026d5bcb3 PokerStarsToFpdb.py 2010-02-14 23:27:34 +00:00
Worros
857c7f524d PokerStarsToFpdb - regex fix for actions
sqlcoder had a hh file containing

"playername: folds " - ie with a space on the end.
2010-02-14 23:54:19 +08:00
Gerko de Roo
0db3cecf65 Action Reg_ex updated
Due to the added end of line marker to eliminate playersnames
that start with card, all-in actions are no longer supported.
2010-02-13 20:41:01 +01:00
Worros
b996a884de PokerStarsTo? Fpdb: Fix subtle bug in re_Action
The bet action could become multiline greedy if there was a playername starting with 'card' in the next line.

"""
danny purse: bets $0.50
cardjunkie25: calls $0.50
"""

Would match "danny purse: bets $0.50\ncard", and the rest of that line would be ignored.

Added '$' to the end of the regex to make sure that it is limited to 1 line
2010-02-07 19:21:32 +08:00
Worros
ee66abfecc Revert "PokerStarsTo Fpdb: Fix subtle bug in re_Action"
This reverts commit ac51876200.
2010-02-07 19:19:00 +08:00
Worros
ac51876200 PokerStarsTo Fpdb: Fix subtle bug in re_Action
The bet action could become multiline greedy if there was a playername starting with 'card' in the next line.

"""
danny purse: bets $0.50
cardjunkie25: calls $0.50
"""

Would match "danny purse: bets $0.50\ncard", and the rest of that line would be ignored.

Added '$' to the end of the regex to make sure that it is limited to 1 line, and wrap 'cards' as a group.
2010-02-07 19:08:23 +08:00
Worros
33455cb1ac PokerStars: Fix tablename regex to allow a #
Occasionally Stars throws up a cash table that looks like

PokerStars Game #22920951206:  Triple Draw 2-7 Lowball Limit ($0.10/$0.20) - 2008/12/14 17:44:00 ET
Table 'T #252691988' 6-max Seat #2 is the button

a # was previously excluded from the regex.
2010-02-03 21:52:44 +08:00
Worros
17bc9af88e Merge branch 'master' of git://github.com/kangaderoo/fpdb-kangaderoo
Conflicts:
	run_fpdb.py
2010-01-29 13:01:38 +08:00