Commit Graph

3237 Commits

Author SHA1 Message Date
steffen123
4a3869395c note that positional stats doesnt work on sqlite in menu 2010-08-12 20:30:22 +02:00
steffen123
4bcc622efa The commented out gettext in fpdb.pyw and HHC should work, but doesnt
I tried having those lines in a plain script but same problem - translation file not found
2010-08-12 20:23:36 +02: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
Erki Ferenc
31d3c37224 Determine blind amounts from RINGLIMIT and max buyin
The previous method was giving wrong results in some cases (e.g. the preflop forced allin situation from blind positions), so here's an another enhancement. At
PartyPoker there's two types of buyins for a cashgame table: 20BB min and 100BB max. The former has a 40BB max, while the latter has 35BB min too. This patch
makes fpdb to determine if a ring table is a 20BB min or 100BB max table, then calculates the correct big blind amount from that. When big blind is ready then
halves it for the small blind (except when big blind is 0.25$ when small blind is 0.10$).
2010-08-12 14:59:45 +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
steffen123
b5e481412e fix session stats in pgsql 2010-08-11 06:11:11 +02:00
steffen123
f0b5b4063b fix session viewer in mysql 2010-08-11 05:53:02 +02:00
steffen123
19bcc60c6a missed a spot 2010-08-11 04:50:01 +02:00
steffen123
d1c1a0a0f4 correct Backings.tourneysPlayerId to tourneysPlayersId like it's used in HP 2010-08-11 04:43:17 +02:00
steffen123
f1ac0b1dfa record HC.TTid on pgsql 2010-08-11 04:39:34 +02:00
steffen123
02b5ea8d37 corrected sqlite table layout. this also fixes hudcache generation for tourneys on sqlite 2010-08-11 04:25:47 +02:00
steffen123
5cba225fb3 improve naming of replacement clauses 2010-08-11 04:23:16 +02:00
steffen123
b385f9f0da this caused it to create a new TourneyType for each Tourney
Revert "remove some default values - if we don't know, don't just assume no/normal"

This reverts commit 7f8243f19d.
2010-08-11 03:10:08 +02:00
steffen123
174aa4adfb hudcache is regenerated properly on mysql now 2010-08-11 00:10:10 +02:00
steffen123
36b212388d make rebuildHudCache act on cash hands only 2010-08-10 23:31:53 +02:00
steffen123
87d4549b67 renamed PP files to match existing scheme 2010-08-10 23:16:30 +02:00
steffen123
d7a7cca2ab Revert "GRAPH: Put legend in "best" position, not fixed in top left."
previous consensus that I wasn't aware was to have the old setting, since "best" is
only better in some cases so I'm reverting this
This reverts commit 2d8f9dcc78.
2010-08-10 20:50:19 +02:00
steffen123
f0ef6e7e8b add stub for query for positional stats on sqlite 2010-08-10 20:45:40 +02:00
steffen123
ced47999bb GuiImap: don't show email password 2010-08-10 06:14:15 +02:00
steffen123
9dff572385 GuiImap: more error handling 2010-08-10 05:19:54 +02:00
steffen123
4da521eadc GuiImap: pass on auth failed error to GUI 2010-08-10 05:10:39 +02:00
steffen123
d94254c9cd GuiImap: turn non-editable fields into labels 2010-08-10 04:50:27 +02:00
steffen123
59f8bb1a70 GuiImapFetcher can save config 2010-08-10 04:44:35 +02:00
steffen123
97f1f8b836 display existing configs in IMAP tab 2010-08-10 03:50:26 +02:00
steffen123
6e654e5075 allow multiple email configs, start of nicer GUI for it 2010-08-10 03:28:57 +02:00
Erki Ferenc
c7e86513c7 Added validation to blind detection
Included checks for any ring game hands if there's a blind could be
found and if either SB or BB detection fails then determineGameType will
return None. It's needed for handling some invalid ring hands (e.g.
table closed messages at the end of a HH file).

Signed-off-by: steffen123 <steffen@schaumburger.info>
2010-08-10 02:05:14 +02:00
gimick
a6d7f27f5b FullTilt fixup currency typo 2010-08-10 00:32:53 +01:00
gimick
792e66c2b5 Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-10 00:31:14 +01:00
steffen123
c5acd04bb6 This makes HUD Cache work again but without tourneytypeid - one of these lines breaks it 2010-08-10 01:27:25 +02:00
steffen123
4fbb26b4fa remove some 100% duplicates 2010-08-10 01:00:35 +02:00
steffen123
08451c77d5 handle player not found 2010-08-10 00:49:14 +02:00
steffen123
10fac81ef9 handle tourney not found 2010-08-10 00:46:55 +02:00
steffen123
391c42cdff add error handling for invalid entry into tourneNo field 2010-08-10 00:35:02 +02:00
steffen123
3467f757d3 refactor a bit in GuiTourneyViewer to reduce code duplication 2010-08-10 00:25:43 +02:00
steffen123
8a6fe1588c PP histories by email. note how it skips the lines about hero raising 2010-08-10 00:05:13 +02:00
steffen123
f72b45e8f0 PP corner case history from ferki 2010-08-10 00:03:24 +02:00
steffen123
bb743b4567 add button to display info from TP to tourneyviewer 2010-08-09 23:41:48 +02:00
steffen123
c5bd036b6e add tourney viewer that displays info from TT and T, but not yet TP 2010-08-09 23:22:58 +02:00
gimick
2d8f9dcc78 GRAPH: Put legend in "best" position, not fixed in top left. 2010-08-08 22:48:08 +01:00
steffen123
6ac8f410f6 Merge branch 'eric' 2010-08-08 20:13:07 +02:00
Eric Blade
16cd5e7505 update Everleaf config example, add bbper100/BBper100 stats to popup default, fix my last tweak to hhc 2010-08-05 12:31:37 -04:00
Eric Blade
e49beb7724 Hand: extreme terminal spam when something bad happens in readBlinds, stop crashing import
HHC: set obs when failing to open a file (ie, you've stored a zip file in your handhistory folder), stop crashing import
2010-08-05 12:12:18 -04: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
Eric Blade
7486095069 Merge branch 'master' of git://git.assembla.com/free_poker_tools.git 2010-08-05 04:11:36 -04:00
Eric Blade
381e8958d9 Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-08-05 04:09:51 -04:00
Eric Blade
42d85abfa4 Merge branch 'master' of git://git.assembla.com/fpdb.git 2010-08-05 04:08:17 -04:00
Eric Blade
28576d70f8 switch "0.00%" on ffreq1 to NA, need to update all the other percents with that sometime too 2010-08-05 04:07:37 -04: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
Eratosthenes
8b1baa6593 Don't break stud and draw when counting players at street. 2010-08-04 20:52:37 -04:00
steffen123
9f52867bf6 add HP.wentAllInOnStreet field. explanation on wiki. 2010-08-04 23:41:50 +02:00
Eratosthenes
7d0b9ae505 Merge branch 'master' of git://git.assembla.com/fpdboz 2010-08-04 17:39:35 -04:00
Eratosthenes
edce06c5cb Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-04 17:39:00 -04:00
sqlcoder
15f99ddfa7 add bbper100 and BBper100 stats for HUD 2010-08-04 22:23:28 +01:00
Worros
5362cd1f73 Merge branch 'master' of git://github.com/grindi/fpdb-grindi 2010-08-05 00:36:37 +08:00
steffen123
2f9ded5141 fix pgsql index rebuilding 2010-08-04 17:39:45 +02:00
grindi
bcccefe8cf Fix a bug with blinds' amount detection on PartyPoker ring games
Patch by Erki Ferenc <erkiferenc@gmail.com>
2010-08-04 19:31:52 +04:00
Eric Blade
618dcc0473 Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-08-04 07:29:48 -04: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
sqlcoder
e203c1321d add new section for ring stats to example hud_config 2010-08-04 08:54:16 +01: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
bf33f0cef3 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2010-08-03 22:36:12 +02:00
steffen123
7f8243f19d remove some default values - if we don't know, don't just assume no/normal 2010-08-03 22:32:31 +02:00
steffen123
faee37e101 set isKO to false when we know it's not a KO 2010-08-03 22:25:49 +02: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
Eric Blade
d20c82c296 add preflop actors to blindsantes for determining who was in hand for wtsd calcs 2010-08-03 00:24:14 -04:00
Eric Blade
0c318df8ea fix comment on cbet stat 2010-08-02 17:50:19 -04:00
Eric Blade
7cd9b767a7 add some missing stats to the default popup 2010-08-02 17:33:18 -04:00
Eric Blade
49d8e0055d tweak cards shown regex 2010-08-02 16:47:32 -04:00
steffen123
7d70386c7e remove two windows packaging files as they're superseded 2010-08-02 22:37:00 +02:00
steffen123
8b3131eb9e update GUI version to indicate git 2010-08-02 22:35:31 +02: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
1054bf028d Merge branch 'gimick' 2010-08-02 14:37:14 +02:00
steffen123
b10868347f Merge branch 'sqlcoder' 2010-08-02 14:34:35 +02:00
steffen123
102cfa5d88 Merge branch 'eric'
Conflicts:
	pyfpdb/DerivedStats.py - identical change was already pulled
2010-08-02 14:30:29 +02:00
steffen123
1b4b335b29 Merge branch 'carl' 2010-08-02 14:00:26 +02:00
steffen123
9ad275e11c recognise and store knockout and bounty 2010-08-02 13:53:50 +02:00
gimick
7b3bee9146 py2exe : include mit.txt licence file 2010-08-02 12:36:42 +01:00
steffen123
388097a412 fix import for non-KO tourneys 2010-08-02 13:35:20 +02:00
steffen123
0776b8ef25 Merge branch 'gimick' 2010-08-02 12:47:25 +02:00
steffen123
d3f7583174 correct license info in about dialogue 2010-08-02 12:05:49 +02:00
steffen123
ddf69015cb add MIT license and notice 2010-08-02 11:53:02 +02:00
steffen123
0c4ce1b655 remove license menu entry as that info is in the about dialogue 2010-08-02 11:18:44 +02:00
gimick
5f2acf9fe6 py2exe: get pytz working; make script more restartable; update walkthrough 2010-08-01 23:51:33 +01:00
gimick
f9b437c8d3 Merge branch 'master' of git://git.assembla.com/fpdb 2010-08-01 22:51:47 +01:00
Eric Blade
d3f99eec9b call reposition_windows after doing a window move, so that the user doesn't need to hit the menu option to do it (reposition_windows manages to successfully move the hidden windows, whereas the original move doesn't, for some reason) 2010-08-01 03:05:35 -04:00
Eric Blade
8daee8da9b Merge branch 'master' of git://git.assembla.com/fpdb.git 2010-08-01 02:42:48 -04:00
steffen123
ed239668c0 fix pgsql index and foreign key drops 2010-07-31 23:55:05 +02:00
Eric Blade
e8d39711dd fix from carl for wtsd, more tweaks to everleaf regexes 2010-07-31 17:24:06 -04:00
sqlcoder
a3e55ba3f5 smarten up names of displayed categories and settings 2010-07-31 21:38:52 +01:00
steffen123
b4ff46ec4f fix typo in pgsql raiseFirstInChance 2010-07-31 22:31:55 +02:00
steffen123
c136f7a2dc fix pgsql table creation 2010-07-31 22:27:24 +02:00
sqlcoder
09dba1001e Merge branch 'master' of git://git.assembla.com/fpdb 2010-07-31 20:55:50 +01:00
sqlcoder
66cbf49cdc store column info for cash stats in config. Can now enhance gui to let user change column choices 2010-07-31 20:55:29 +01: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
Eric Blade
0e4be93e50 further update regexes for accounting problems with euro games 2010-07-31 12:25:01 -04:00
Eric Blade
7289f79bba Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-07-31 11:51:24 -04:00
grindi
223f7441b6 Fixes for absolute poker
Note: previous xtables's re doesn't match java absolute client
2010-07-31 22:55:43 +08:00
grindi
37e098fce9 Fixes for absolute poker
Note: previous xtables's re doesn't match java absolute client
2010-07-31 14:38:24 +04: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
gimick
841cb85f0b bump version numbers 2010-07-30 22:52:03 +01:00
Eric Blade
638b0cc2c1 Merge branch 'master' of git://git.assembla.com/fpdb.git 2010-07-30 16:10:08 -04:00
steffen123
a493e22c54 Merge branch 'carl' 2010-07-30 13:33:11 +02:00
steffen123
f407b70419 Merge branch 'sqlcoder' 2010-07-30 02:50:07 +02:00
sqlcoder
1688dfc991 add ability to display different columns in summary and position breakdown. Next job is to add this info to config and build a column config dialog. Also set height of top stat pane better. 2010-07-30 01:00:31 +01:00
steffen123
4510268bc8 teach windows how to handle non-ASCII usernames 2010-07-30 00:51:47 +02:00
unknown
c059fde3a9 remove derpy comment 2010-07-29 17:57:19 -04:00
unknown
981dcc632c everleaf euro support 2010-07-29 17:52:19 -04:00
unknown
4fa5ce2411 sql.py change for storing currency 2010-07-29 17:27:36 -04:00
unknown
a11f4f61cd store game currency 2010-07-29 17:27:07 -04:00
steffen123
216c9f2714 increase DB version for sqlcoder's recent DB change 2010-07-29 17:31:40 +02: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
steffen123
792a2aec4f finally fix the DST handling properly using pytz 2010-07-29 16:18:05 +02:00
steffen123
5721b5b23c Merge branch 'carl' 2010-07-29 14:39:34 +02:00
steffen123
872bf2fa28 correct version number 2010-07-29 14:24:23 +02: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
Ferenc Erki
d241ce9b48 Added new stat: fold to steal
Added new stat: fold to steal

Signed-off-by: steffen123 <steffen@schaumburger.info>
2010-07-28 16:17:58 +02:00
steffen123
f74d5b14ca Merge branch 'gimick' 2010-07-28 12:20:04 +02:00
Worros
0cd5b50b2f Merge branch 'master' of git://git.assembla.com/fpdb
Conflicts:
	pyfpdb/FulltiltToFpdb.py
2010-07-28 11:49:07 +08:00
sqlcoder
9c5581caf0 rename stealattempt fields to raisefirstin and derive accordingly 2010-07-27 22:27:18 +01:00
steffen123
acbe15fadd remove another near-duplicate from TourneyFilters 2010-07-27 19:14:23 +02:00
steffen123
0266a707ac move method from TourneyFilters to Filters 2010-07-27 19:07:14 +02:00
steffen123
3f4c5d45e8 for fear of repeating myself, removed another dupe from TourneyFilters 2010-07-27 18:54:40 +02:00
steffen123
31aa76abc9 and another dupe from TourneyFilters.. 2010-07-27 18:44:06 +02:00
steffen123
fd4e421ca3 remove another dupe from TourneyFilters 2010-07-27 18:41:51 +02:00
steffen123
e006db3a2d move 2 more methods from TourneyFilters to Filters 2010-07-27 18:35:38 +02:00
steffen123
c5ae1e785b remove another method from TF - this was only an almost-dupe 2010-07-27 18:33:01 +02:00
steffen123
9781cd1d87 yet more dupe removal from TourneyFilters 2010-07-27 18:31:35 +02:00
steffen123
90c81cb4ee move method from TF to F 2010-07-27 18:25:27 +02:00
steffen123
9006a7f45b remove another dupe method from TourneyFilters 2010-07-27 18:24:07 +02:00
steffen123
84df9ad567 remove more duplicate methods from TourneyFilters 2010-07-27 18:21:43 +02:00
steffen123
c996a11ed6 move method from TourneyFilters to Filters 2010-07-27 18:17:25 +02:00