Commit Graph
100 Commits
Author SHA1 Message Date
Worros ee1ccd1097 OnGame: Fix for NL 2010-08-21 22:26:08 +08:00
Worros 0131ec9a09 OnGame: Fix hand splitting regex 2010-08-21 22:24:23 +08:00
Worros 488eb8433c HHC: Cleanup unused function 2010-08-21 22:19:08 +08:00
Worros b93e0ab8a8 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-08-21 22:10:24 +08:00
Worros 66e22e45f5 Merge branch 'master' of git://repo.or.cz/fpbd-bostik 2010-08-21 22:08:16 +08:00
Worros 9cc43b7424 HHC: doco for readAnte and readBlind 2010-08-21 17:35:32 +08:00
Worros 92e2e0ca95 HHC: Update doco on markStreets 2010-08-20 21:05:33 +08:00
Worros 5d2e7cb320 Betfair: Fix for Betfair 2.0
The Betfair poker site has changed hands/software and now has a
completely different hand history coverter.

Starting the process of making it work
2010-08-20 20:26:53 +08:00
Worros 7c5f4645f2 OnGame: More updates, primarily to readHandInfo 2010-08-20 20:10:52 +08:00
Worros d04e5e1a23 HHC: doco for compilePlayerRegexes 2010-08-20 20:09:44 +08:00
Worros 803f0fcaf8 HHC: Documentation on readHandInfo() 2010-08-20 19:48:37 +08:00
Worros 8ffb984d25 HHC: Better doco for readHandInfo 2010-08-20 18:52:00 +08:00
Worros c77cf55104 OnGame: Fix readSupprtedGames and currency 2010-08-20 18:05:25 +08:00
Worros 5f425e0910 OnGame: Fix determineGameType
Assumes that its a cash game at the moment, and needs some love for non-limit holdem
2010-08-20 17:59:52 +08:00
Worros dd3cd4fad4 OnGame: gettextify and add an error handler 2010-08-20 17:10:38 +08:00
Worros 08462884cf OnGame: Significant updates.
This parser hasn't been updated/completed since a very early version of HHC

File is updated to the point where it will now run and just crashes on a regex
2010-08-20 16:51:41 +08:00
Worros 568eba84ad Test: 4 Bet Pre test - curently fails.
s0rrow raises, is 3bet by AAALISAAAA, then 4bets pre-flop
2010-08-19 19:42:41 +08:00
Worros 8225b9a3f6 Test: Add failing test for streetXSeen
All in preflop hand currently fails as all streets are seen, but the 2 all-in players are incorrectly recorded.
2010-08-19 19:32:45 +08:00
Worros 3c5908224c TestHP: Pass name to print function 2010-08-19 19:31:23 +08:00
Worros 1236460e09 TestHP: Hopefully useful debug messages 2010-08-19 19:11:46 +08:00
Worros 3d6a0e5040 RTF: Oops - appear to have accidentally deleted the field 2010-08-19 19:10:52 +08:00
Worros 041c9c8527 Regression test file: Handsplayers data 2010-08-19 18:40:37 +08:00
Worros 75e1dbbfba Importer; Add missing default option 2010-08-19 18:33:43 +08:00
Worros bb6225f80c NEW: Add regression test utility for HandsPlayers 2010-08-19 18:30:12 +08:00
Worros fbcf987d97 BulkImport: Add command line option to generate test data 2010-08-19 18:29:10 +08:00
Worros 109ad292c0 Hand: Add optional argument for printing test data
And pass the argument on too Database
2010-08-19 18:28:10 +08:00
Worros 0fab203a53 Importer: Add utility functions for regression testing
setPrintTestData: Indicate you would like to print test data when importing
setFakeCacheHHC: Indicate you want to access the HHC after an import run
getCachedHHC: Retrieve HHC

Also modified the main import loop to pass self.settings['testData'] to the database insert and records the HHC if requested
2010-08-19 18:25:26 +08:00
Worros 924e155b45 Database: Add optional argument for pprinting the player data. 2010-08-19 18:23:26 +08:00
Worros 4d0e438de1 Regression: Add FTP.fr hand history for testing. 2010-08-18 16:36:16 +08:00
Worros 37d1a10d73 Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-18 13:25:45 +08:00
Worros 8b49f46d1c HHC: Correct error count for unmatched gametype regex 2010-08-18 13:17:42 +08:00
Worros 3f0f421c0d FTP: Make FTP.fr hand histories parse.
Had to adjust the currency character match, and the tablename which required \u2013 or 'En Dash'

Works for the 5 hand sample provided.
2010-08-18 13:12:11 +08:00
Worros 4e9c32ed84 Configuration: Make new gui_cash_stats have sane defaults when missing from config 2010-08-12 22:52:12 +08:00
Worros ad4fcef2fd DerivedStats: re-fix (break?) sawShowdown again.
Comment from code:

hand.players includes people that are sitting out on some sites for cash games
actionStreets[1] is 'DEAL', 'THIRD', 'PREFLOP', so any player dealt cards
must act on this street if dealt cards. Almost certainly broken for the 'all-in blind' case
and right now i don't care - CG
2010-08-12 21:44:40 +08:00
Worros acd80f7666 Fix Stars commit.
Forgot a ')'
2010-08-12 15:35:29 +08:00
Worros 5c76ec77d6 Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-12 14:40:09 +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 333c0bb716 Filters: fix SQL query to only return ring game blind levels 2010-08-05 17:18:43 +08:00
Worros 0c9e3e4973 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-08-05 16:55:18 +08:00
Worros 246c625fef FTP: Update regexes to support EUR games.
This touches on many Full Tilt regexes, and they appear to be functional.

I dont have a pristine FTP.fr hand history to test this with yet.

Buyer beware.
2010-08-05 16:43:24 +08:00
Worros 2859948c8a Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-05 12:04:14 +08:00
Worros c8006dc468 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-08-05 12:03:54 +08:00
Worros cb6be49c6a Merge branch 'master' of git://git.assembla.com/fpdb-eric 2010-08-05 12:03:21 +08:00
Worros 7449f11718 Fix HUD_config.xml.example 2010-08-05 12:03:04 +08:00
Worros 9c263f3c84 Bulk Import: Adjust usage text so i can actaully copy paste 2010-08-05 11:49:45 +08:00
Worros 5362cd1f73 Merge branch 'master' of git://github.com/grindi/fpdb-grindi 2010-08-05 00:36:37 +08:00
Worros 8f596d11af Config: Add the hint of providing defaults for the new config element
Adds a new function to Config to provide a complete list of Gui stat cols.

Still needs test to see if the element actually exists in the config
2010-08-04 17:28:38 +08:00
Worros c0f8f2be2a Config: Add default config for player stats columns 2010-08-04 16:18:22 +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
Worros edd0d36aa7 Test file: NLHE-USD-MTT-1-KO.201008.txt
$1.40 KO SnG from Stars.

Worth noting that neither the HH nor the tournament summary contain any bounty information.

The only place it was noted was in the individual tourney mailout

"You have also received USD 1.25 in Knockout Bounties for this tournament. You won bounties for the following players: odotb, Yvbo, bumbastik7, gliberis, __DMN__54321"
2010-08-04 02:10:44 +08: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 53c796dddc Importer: Add excetion handler to hud call.
Had a report on the 2+2 thread that:

  File "C:\Documents and Settings\b\Desktop\fpdb\pyfpdb\GuiAutoImport.py", line 160, in do_import
    self.importer.runUpdated()
  File "C:\Documents and Settings\b\Desktop\fpdb\pyfpdb\fpdb_import.py", line 371, in runUpdated
    (stored, duplicates, partial, errors, ttime) = self.import_file_dict(self.database, file, self.filelist[file][0], self.filelist[file][1], None)
  File "C:\Documents and Settings\b\Desktop\fpdb\pyfpdb\fpdb_import.py", line 467, in import_file_dict
    print "fpdb_import: sending hand to hud", hand.dbid_hands, "pipe =", self.caller.pipe_to_hud
IOError: [Errno 9] Bad file descriptor

Was happening, which is a crash attempting to print self.caller.pipe_to_hud

This patch doesn't fix the problem, but should give some indication in the log that it happened.
2010-08-03 19:27:34 +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
Worros 2fd856d55b HHC: Shorten length of time hh file is open by 2 lines 2010-08-03 18:24:03 +08:00
Worros 14588b3bf9 DerivedStats: Fix sawShowdown for sitting out players in cash games 2010-08-01 02:09:34 +08:00
Worros 832135054c Revert "DerivedStats: Fix sawShowdown for sitting out players in cash games"
This reverts commit 43de7a7141.
2010-08-01 02:07:12 +08:00
Worros 43de7a7141 DerivedStats: Fix sawShowdown for sitting out players in cash games 2010-08-01 01:17:33 +08: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
Worros de39d1cabf Add all Timezones that Stars supports to TZ function
All timezones outside of Australia I dodn't define for the moment.

Still requires support for actually getting said timezone, but were on our way.
2010-07-29 22:57:57 +08:00
Worros ac728fffb2 FTP and Timezone fix.
Error reported with the following hand hostory from FTP France:

Full Tilt Poker.fr Game #22632637058: Daily Euro (174599326), Table 3 - 10/20 - No Limit Hold'em - 20:15:39 CET - 2010/07/27

The existing FTP parser crashed on CET times.

1) Fixed parser to accept CET
2) Added timezone offset into HHC

Not happy with TZ1/TZ2 solution.
2010-07-29 19:59:45 +08:00
Worros 0cd5b50b2f Merge branch 'master' of git://git.assembla.com/fpdb
Conflicts:
	pyfpdb/FulltiltToFpdb.py
2010-07-28 11:49:07 +08:00
Worros 72f395bab0 Merge branch 'master' of git://git.assembla.com/fpdb
Conflicts:
	pyfpdb/FulltiltToFpdb.py
2010-07-22 10:49:22 +08:00
Worros 6da2c6de82 Merge branch 'master' of git://github.com/kangaderoo/fpdb-kangaderoo
Conflicts:
	pyfpdb/FulltiltToFpdb.py
2010-07-22 10:48:22 +08:00
Worros 585fd2feb2 Update graph and session queries to identify ring games 2010-07-12 18:41:28 +10:00
Worros 627c044b6f Fix grapher so that only cash limits show up 2010-07-12 18:19:01 +10:00
Worros e7776de8f1 Fix startTime change in remaining files 2010-07-08 23:30:02 +08:00
Worros 7c8339485d Fix startTime variable change from another patch 2010-07-08 23:14:55 +08:00
Worros 52ae2e6b1f Merge branch 'master' of git://git.assembla.com/fpdb
Conflicts:
	pyfpdb/DatabaseManager.py
	pyfpdb/TourneySummary.py
	setup.py
2010-07-08 15:48:21 +08:00
Worros 4d4d6f297f Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-07-08 11:44:10 +08:00
Worros 01a853d84e Give Makefile a 'release' target 2010-07-07 12:48:13 +08:00
Worros 1d47fbb3c5 Add simple IMAP email fetcher 2010-07-07 10:47:02 +08:00
Worros f44947c8a0 Add a new sample file for parsing website results.
Decided to knock up a quick proof of concept for fetching and parsing tournament results from a website.

Specifically uses:
- Pythons Beautiful Soup library
- P5s results pages - replace playername with the desired p5s username (eg. taypaur)

Of note; no tournament ids are displayed on any of the sites, so for this to work we may need to add a field like 'p5sid'
2010-07-06 16:13:25 +08:00
Worros 958e67beac Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-07-06 12:18:16 +08:00
Worros 4577cfbfa2 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

Conflicts:

	pyfpdb/Database.py
	pyfpdb/DerivedStats.py
	pyfpdb/SQL.py
	pyfpdb/SummaryEverleaf.py
	pyfpdb/TournamentTracker.py
	pyfpdb/Tourney.py
	run_fpdb.py
2010-07-05 12:17:08 +08:00
Worros c1c3cdf8bd Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-07-03 13:20:32 +08:00
Worros 072ead3250 Merge branch 'master' of git://repo.or.cz/fpbd-bostik 2010-07-03 13:04:13 +08:00
Worros 68e3f5b181 CarbonPokerToFpdb: Fix for Black Chip poker
This site records a timestamp for every action
2010-07-01 21:53:24 +08:00
Worros 7acaa95151 Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-06-30 12:54:13 +08: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 06e5e5ec26 Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-06-25 16:22:38 +08:00
Worros 5720012b3b Actually remove fpdb.py 2010-06-21 18:44:38 +08:00
Worros 77211cd4be Revert change to HUD_main window 2010-06-21 18:44:04 +08:00
Worros cf4e80cfa3 Add new test file, delete fpdb.py 2010-06-21 18:42:15 +08:00
Worros d6f2cd4e83 Add utf8 encoding line to fpdb.pyw 2010-06-21 18:41:31 +08:00
Worros cf2b913592 make CLI parameters to run_fpdb.py and fpdb.py work again
Conflicts:

	pyfpdb/fpdb.py
	run_fpdb.py
2010-06-21 14:49:56 +08:00
Worros 79a6aa8f48 Merge branch 'master' of git://github.com/kangaderoo/fpdb-kangaderoo 2010-06-21 14:45:03 +08:00
Worros 6902bf8150 FTP Stud steal examples.
Stud steal examples provided by Cardvark on 2+2
2010-06-21 13:12:52 +08:00
Worros d647a3a5ec Adjust author names on request 2010-06-21 12:44:13 +08:00
Worros 057a864794 Stars: Add 0.20/0.40 limit 2010-06-19 08:42:49 +08:00
Worros 0ee7724d00 Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-06-18 18:58:16 +08:00
Worros 00dd86ee19 Fix sessionStats query to exclude tourney hands. 2010-06-17 12:57:31 +08:00
Worros 61e3f79a7f Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-06-15 11:07:24 +08:00
Worros 498eb486b5 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-06-13 13:33:02 +08:00
Worros 5660d6cb5e Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-06-08 13:30:30 +08:00
Worros 5f1308688b Merge branch 'master' of git://git.assembla.com/fpdb-sql 2010-06-08 13:17:20 +08:00
Worros 523a70ebd8 Merge branch 'master' of git://repo.or.cz/fpbd-bostik 2010-06-08 11:47:14 +08: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
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