diff --git a/docs/readme-dev.txt b/docs/readme-dev.txt index 25e013bd..c8b5cd3f 100644 --- a/docs/readme-dev.txt +++ b/docs/readme-dev.txt @@ -1,67 +1,67 @@ -Hi, -This document is to serve as a little overview (later: full technical doc) for current and prospective developers with: -a) introduction into the code structure -b) organisational/legal things - -What to do? -=========== -- Anything you want. -- The most useful (because it's the most boring) would be to update print_hand.py, update the expected files (testdata/*.found.txt) and create more .found.txt to ensure import processing is running correctly. -- There's a list of various bugs, deficiencies and important missing features in known_bugs_and_planned_features.txt. -- In the main GUI there's various menu points marked with todo - all of these will have to be done eventually. - -If you want to take a look at coding-style.txt. -Ideally use git (see git-instructions.txt for some commands) and let me know where to pull from, alternatively feel free to send patches or even just changed file in whatever code layout or naming convention you like best. I will, of course, still give you full credit. - -Contact/Communication -===================== -If you start working on something please open a bug or feature request at sf to avoid someone else from doing the same -Please see readme-overview - -Dependencies -============ -Please let me know before you add any new dependencies and ensure that they are source-compatible between *nix and Windows - -Code/File/Class Structure -========================= -Basically the code runs like this - -fpdb.py -> bulk importer tab (import_threaded.py) -> fpdb_import.py -> fpdb_parse_logic.py -> fpdb_save_to_db.py -or -fpdb.py -> table viewer tab (table_viewer.py) (todo: -> libTableViewer) - -All files call the simple methods that I just collected in fpdb_simple.py, to abstract the other files off the nitty gritty details as I was learning python. -I'm currently working on (amongst other things) integrating everything into the fpdb.py GUI with a view to allow easy creation of a CLI client, too. - -Also see filelist.txt. - -How to Commit -============= -Please make sure you read and accept the copyright policy as stated in this file. Then see git-instructions.txt. Don't get me wrong, I hate all this legalese, but unfortunately it's kinda necessary. - -Copyright/Licensing -=================== -Copyright by default is handled on a per-file basis. If you send in a patch or make a commit to an existing file it is done on the understanding that you transfer all rights (as far as legally possible in your jurisdiction) to the current copyright holder of that file, unless otherwise stated. If you create a new file please ensure to include a copyright and license statement. - -The licenses used by this project are the AGPL3 for code and FDL1.2 for documentation. See readme-overview.txt for reasons and if you wish to use fpdb with different licensing. - -Preferred File Formats -====================== -Preferred: Where possible simple text-based formats, e.g. plain text (with Unix end of line char) or (X)HTML. Preferred picture format is PNG. IE-compability for HTML files is optional as IE was never meant to be a real web browser, if it were they would've implemented web standards. - -Also good: Other free and open formats, e.g. ODF. - -Not good: Any format that doesn't have full documentation freely and publicly available with a proper license for anyone to implement it. Sadly, Microsoft has chosen not fulfil these requirements for ISO MS OOXML to become a truly open standard. - -License (of this file) -======= -Trademarks of third parties have been used under Fair Use or similar laws. - -Copyright 2008 Steffen Jobbagy-Felso -Permission is granted to copy, distribute and/or modify this -document under the terms of the GNU Free Documentation License, -Version 1.2 as published by the Free Software Foundation; with -no Invariant Sections, no Front-Cover Texts, and with no Back-Cover -Texts. A copy of the license can be found in fdl-1.2.txt - -The program itself is licensed under AGPLv3, see agpl-3.0.txt +Hi, +This document is to serve as a little overview (later: full technical doc) for current and prospective developers with: +a) introduction into the code structure +b) organisational/legal things + +What to do? +=========== +- Anything you want. +- The most useful (because it's the most boring) would be to update print_hand.py, update the expected files (testdata/*.found.txt) and create more .found.txt to ensure import processing is running correctly. +- There's a list of various bugs, deficiencies and important missing features in known_bugs_and_planned_features.txt. +- In the main GUI there's various menu points marked with todo - all of these will have to be done eventually. + +If you want to take a look at coding-style.txt. +Ideally use git (see git-instructions.txt for some commands) and let me know where to pull from, alternatively feel free to send patches or even just changed file in whatever code layout or naming convention you like best. I will, of course, still give you full credit. + +Contact/Communication +===================== +If you start working on something please open a bug or feature request at sf to avoid someone else from doing the same +Please see readme-overview + +Dependencies +============ +Please let me know before you add any new dependencies and ensure that they are source-compatible between *nix and Windows + +Code/File/Class Structure +========================= +Basically the code runs like this + +fpdb.py -> bulk importer tab (import_threaded.py) -> fpdb_import.py -> fpdb_parse_logic.py -> fpdb_save_to_db.py +or +fpdb.py -> table viewer tab (table_viewer.py) (todo: -> libTableViewer) + +All files call the simple methods that I just collected in fpdb_simple.py, to abstract the other files off the nitty gritty details as I was learning python. +I'm currently working on (amongst other things) integrating everything into the fpdb.py GUI with a view to allow easy creation of a CLI client, too. + +Also see filelist.txt. + +How to Commit +============= +Please make sure you read and accept the copyright policy as stated in this file. Then see git-instructions.txt. Don't get me wrong, I hate all this legalese, but unfortunately it's kinda necessary. + +Copyright/Licensing +=================== +Copyright by default is handled on a per-file basis. If you send in a patch or make a commit to an existing file it is done on the understanding that you transfer all rights (as far as legally possible in your jurisdiction) to the current copyright holder of that file, unless otherwise stated. If you create a new file please ensure to include a copyright and license statement. + +The licenses used by this project are the AGPL3 for code and FDL1.2 for documentation. See readme-overview.txt for reasons and if you wish to use fpdb with different licensing. + +Preferred File Formats +====================== +Preferred: Where possible simple text-based formats, e.g. plain text (with Unix end of line char) or (X)HTML. Preferred picture format is PNG. IE-compability for HTML files is optional as IE was never meant to be a real web browser, if it were they would've implemented web standards. + +Also good: Other free and open formats, e.g. ODF. + +Not good: Any format that doesn't have full documentation freely and publicly available with a proper license for anyone to implement it. Sadly, Microsoft has chosen not fulfil these requirements for ISO MS OOXML to become a truly open standard. + +License (of this file) +======= +Trademarks of third parties have been used under Fair Use or similar laws. + +Copyright 2008 Steffen Jobbagy-Felso +Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, +Version 1.2 as published by the Free Software Foundation; with +no Invariant Sections, no Front-Cover Texts, and with no Back-Cover +Texts. A copy of the license can be found in fdl-1.2.txt + +The program itself is licensed under AGPLv3, see agpl-3.0.txt diff --git a/ignore-me_perl6/RunFpdbCLI.perl6 b/ignore-me_perl6/RunFpdbCLI.perl6 index 90401cdf..dbbad9a7 100644 --- a/ignore-me_perl6/RunFpdbCLI.perl6 +++ b/ignore-me_perl6/RunFpdbCLI.perl6 @@ -1,29 +1,29 @@ -#!/usr/bin/pugs - -#Copyright 2008 Steffen Jobbagy-Felso -#This program is free software: you can redistribute it and/or modify -#it under the terms of the GNU Affero General Public License as published by -#the Free Software Foundation, version 3 of the License. -# -#This program is distributed in the hope that it will be useful, -#but WITHOUT ANY WARRANTY; without even the implied warranty of -#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -#GNU General Public License for more details. -# -#You should have received a copy of the GNU Affero General Public License -#along with this program. If not, see . -#In the "official" distribution you can find the license in -#agpl-3.0.txt in the docs folder of the package. - -use v6; -#use strict; -use LibFpdbImport; -use LibFpdbShared; - - -my Database $db .= new(:backend, :host, :database, :user, :password); -#todo: below doesnt work -my Importer $imp .= new(:db($db), :filename); -#perlbug?: adding another named argument that isnt listed in the constructor gave very weird error. -say $imp; - +#!/usr/bin/pugs + +#Copyright 2008 Steffen Jobbagy-Felso +#This program is free software: you can redistribute it and/or modify +#it under the terms of the GNU Affero General Public License as published by +#the Free Software Foundation, version 3 of the License. +# +#This program is distributed in the hope that it will be useful, +#but WITHOUT ANY WARRANTY; without even the implied warranty of +#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#GNU General Public License for more details. +# +#You should have received a copy of the GNU Affero General Public License +#along with this program. If not, see . +#In the "official" distribution you can find the license in +#agpl-3.0.txt in the docs folder of the package. + +use v6; +#use strict; +use LibFpdbImport; +use LibFpdbShared; + + +my Database $db .= new(:backend, :host, :database, :user, :password); +#todo: below doesnt work +my Importer $imp .= new(:db($db), :filename); +#perlbug?: adding another named argument that isnt listed in the constructor gave very weird error. +say $imp; + diff --git a/pyfpdb/GuiAutoImport.py b/pyfpdb/GuiAutoImport.py index e33976cf..bb5e0386 100644 --- a/pyfpdb/GuiAutoImport.py +++ b/pyfpdb/GuiAutoImport.py @@ -140,6 +140,7 @@ class GuiAutoImport (threading.Thread): # Add directories to importer object. for site in self.input_settings: self.importer.addImportDirectory(self.input_settings[site][0], True, site, self.input_settings[site][1]) + print "Adding import directories - Site: " + site + " dir: "+ str(self.input_settings[site][0]) self.do_import() interval=int(self.intervalEntry.get_text()) diff --git a/pyfpdb/Hud.py b/pyfpdb/Hud.py index 2490ad91..bee81aaf 100644 --- a/pyfpdb/Hud.py +++ b/pyfpdb/Hud.py @@ -116,13 +116,13 @@ class Hud: return True return False - def kill_hud(self, args): + def kill_hud(self, *args): for k in self.stat_windows.keys(): self.stat_windows[k].window.destroy() self.main_window.destroy() self.deleted = True - def reposition_windows(self, args): + def reposition_windows(self, *args): for w in self.stat_windows: self.stat_windows[w].window.move(self.stat_windows[w].x, self.stat_windows[w].y) @@ -259,7 +259,8 @@ class Stat_Window: # This handles all callbacks from button presses on the event boxes in # the stat windows. There is a bit of an ugly kludge to separate single- # and double-clicks. - if event.button == 1: # left button event + + if event.button == 3: # right button event if event.type == gtk.gdk.BUTTON_PRESS: # left button single click if self.sb_click > 0: return self.sb_click = gobject.timeout_add(250, self.single_click, widget) @@ -270,12 +271,14 @@ class Stat_Window: self.double_click(widget, event, *args) if event.button == 2: # middle button event - pass # print "middle button clicked" - - if event.button == 3: # right button event pass -# print "right button clicked" + + if event.button == 1: # left button event + if event.state & gtk.gdk.SHIFT_MASK: + self.window.begin_resize_drag(gtk.gdk.WINDOW_EDGE_SOUTH_EAST, event.button, int(event.x_root), int(event.y_root), event.time) + else: + self.window.begin_move_drag(event.button, int(event.x_root), int(event.y_root), event.time) def single_click(self, widget): # Callback from the timeout in the single-click finding part of the @@ -349,8 +352,9 @@ class Stat_Window: # font = pango.FontDescription("Sans 8") self.label[r][c].modify_font(font) - if not os.name == 'nt': # seems to be a bug in opacity on windows - self.window.set_opacity(parent.colors['hudopacity']) +# if not os.name == 'nt': # seems to be a bug in opacity on windows + self.window.set_opacity(parent.colors['hudopacity']) + self.window.realize self.window.move(self.x, self.y) self.window.show_all() @@ -457,7 +461,7 @@ class Popup_window: self.lab.set_text(pu_text) self.window.show_all() - self.window.set_transient_for(stat_window.main_window) + self.window.set_transient_for(stat_window.window) # set_keep_above(1) for windows if os.name == 'nt': self.topify_window(self.window) diff --git a/pyfpdb/fpdb_import.py b/pyfpdb/fpdb_import.py index 6dd25067..8f815a3c 100755 --- a/pyfpdb/fpdb_import.py +++ b/pyfpdb/fpdb_import.py @@ -177,7 +177,11 @@ class Importer: self.pos_in_file[file] = inputFile.tell() inputFile.close() - firstline = self.lines[0] + try: # sometimes we seem to be getting an empty self.lines, in which case, we just want to return. + firstline = self.lines[0] + except: +# print "import_fpdb_file", file, site, self.lines, "\n" + return if firstline.find("Tournament Summary")!=-1: print "TODO: implement importing tournament summaries" diff --git a/regression-test/known-broken/ftp-omaha-hi-pl-ring-001-005.txt b/regression-test/known-broken/ftp-omaha-hi-pl-ring-001-005.txt index b2b4ebb6..bebd282b 100644 --- a/regression-test/known-broken/ftp-omaha-hi-pl-ring-001-005.txt +++ b/regression-test/known-broken/ftp-omaha-hi-pl-ring-001-005.txt @@ -1,271 +1,271 @@ -Full Tilt Poker Game #6929537410: Table Green (deep) - $0.50/$1 - Pot Limit Omaha Hi - 17:15:44 ET - 2008/06/22 -Seat 1: player16 ($94.90) -Seat 2: player25 ($147) -Seat 3: player18 ($62.80) -Seat 4: player19 ($136.55) -Seat 5: play-er26 ($56.05) -Seat 6: player21 ($252.95) -Seat 7: player22 ($200) -Seat 8: player23 ($162.50) -Seat 9: player24 ($270.70) -player24 posts the small blind of $0.50 -player16 posts the big blind of $1 -player22 posts $1 -The button is in seat #8 -*** HOLE CARDS *** -player25 folds -player25 stands up -player18 folds -player19 folds -play-er26 folds -player21 folds -player22 checks -player23 calls $1 -player17 adds $100 -player24 calls $0.50 -player16 checks -*** FLOP *** [4s Kc 8s] -player24 has 15 seconds left to act -player24 checks -player16 checks -player22 checks -player23 checks -*** TURN *** [4s Kc 8s] [6s] -player24 checks -player16 checks -player22 checks -player23 bets $4 -player24 calls $4 -player16 folds -player22 folds -*** RIVER *** [4s Kc 8s 6s] [Qc] -player24 checks -player23 checks -*** SHOW DOWN *** -player23 shows [Td 5s 3d Js] a flush, Jack high -player24 mucks -player23 wins the pot ($11.40) with a flush, Jack high -*** SUMMARY *** -Total pot $12 | Rake $0.60 -Board: [4s Kc 8s 6s Qc] -Seat 1: player16 (big blind) folded on the Turn -Seat 2: player25 didn't bet (folded) -Seat 3: player18 didn't bet (folded) -Seat 4: player19 didn't bet (folded) -Seat 5: play-er26 didn't bet (folded) -Seat 6: player21 didn't bet (folded) -Seat 7: player22 folded on the Turn -Seat 8: player23 (button) collected ($11.40) -Seat 9: player24 (small blind) mucked - - - -Full Tilt Poker Game #6929553738: Table Green (deep) - $0.50/$1 - Pot Limit Omaha Hi - 17:17:06 ET - 2008/06/22 -Seat 1: player16 ($93.90) -Seat 2: player17 ($100) -Seat 3: player18 ($62.80) -Seat 4: player19 ($136.55) -Seat 5: play-er26 ($56.05) -Seat 6: player21 ($252.95) -Seat 7: player22 ($199) -Seat 8: player23 ($168.90) -Seat 9: player24 ($265.70) -player16 posts the small blind of $0.50 -player17 posts the big blind of $1 -The button is in seat #9 -*** HOLE CARDS *** -player18 folds -play-er26 stands up -player19 raises to $2 -play-er26 folds -player21 calls $2 -player22 has 15 seconds left to act -player22 folds -player23 folds -player24 folds -player16 calls $1.50 -player17 calls $1 -*** FLOP *** [Jc 4c Kc] -player16 checks -player17 checks -player19 checks -player21 checks -*** TURN *** [Jc 4c Kc] [7h] -player16 checks -player17 checks -player19 bets $3.50 -player21 folds -player16 folds -player17 calls $3.50 -*** RIVER *** [Jc 4c Kc 7h] [8s] -player17 checks -player19 has 15 seconds left to act -player19 bets $10 -player17 calls $10 -*** SHOW DOWN *** -player19 shows [4s Tc As Ac] a flush, Ace high -player17 mucks -player19 wins the pot ($33.25) with a flush, Ace high -*** SUMMARY *** -Total pot $35 | Rake $1.75 -Board: [Jc 4c Kc 7h 8s] -Seat 1: player16 (small blind) folded on the Turn -Seat 2: player17 (big blind) mucked -Seat 3: player18 didn't bet (folded) -Seat 4: player19 collected ($33.25) -Seat 5: play-er26 didn't bet (folded) -Seat 6: player21 folded on the Turn -Seat 7: player22 didn't bet (folded) -Seat 8: player23 didn't bet (folded) -Seat 9: player24 (button) didn't bet (folded) - - - -Full Tilt Poker Game #6929572212: Table Green (deep) - $0.50/$1 - Pot Limit Omaha Hi - 17:18:40 ET - 2008/06/22 -Seat 1: player16 ($91.90) -Seat 2: player17 ($84.50) -Seat 3: player18 ($62.80) -Seat 4: player19 ($154.30) -Seat 6: player21 ($250.95) -Seat 7: player22 ($199) -Seat 8: player23 ($168.90) -Seat 9: player24 ($265.70) -player17 posts the small blind of $0.50 -player18 posts the big blind of $1 -The button is in seat #1 -*** HOLE CARDS *** -player19 folds -player21 folds -player20 adds $50 -player22 folds -player23 folds -player24 folds -player20 is sitting out -player16 raises to $2 -player17 folds -player18 folds -Uncalled bet of $1 returned to player16 -player16 mucks -player16 wins the pot ($2.50) -*** SUMMARY *** -Total pot $2.50 | Rake $0 -Seat 1: player16 (button) collected ($2.50), mucked -Seat 2: player17 (small blind) folded before the Flop -Seat 3: player18 (big blind) folded before the Flop -Seat 4: player19 didn't bet (folded) -Seat 6: player21 didn't bet (folded) -Seat 7: player22 didn't bet (folded) -Seat 8: player23 didn't bet (folded) -Seat 9: player24 didn't bet (folded) - - - -Full Tilt Poker Game #6929576743: Table Green (deep) - $0.50/$1 - Pot Limit Omaha Hi - 17:19:03 ET - 2008/06/22 -Seat 1: player16 ($93.40) -Seat 2: player17 ($84) -Seat 3: player18 ($61.80) -Seat 4: player19 ($154.30) -Seat 5: player20 ($50), is sitting out -Seat 6: player21 ($250.95) -Seat 7: player22 ($199) -Seat 8: player23 ($168.90) -Seat 9: player24 ($265.70) -player18 posts the small blind of $0.50 -player19 posts the big blind of $1 -The button is in seat #2 -*** HOLE CARDS *** -player20 has returned -player21 calls $1 -player22 folds -player23 calls $1 -player24 calls $1 -player16 raises to $4 -player17 folds -player18 folds -player19 folds -player21 folds -player23 folds -player17 is sitting out -player24 has 15 seconds left to act -player24 calls $3 -*** FLOP *** [Tc 9s 7h] -player24 checks -player16 has 15 seconds left to act -player16 bets $8 -player24 folds -Uncalled bet of $8 returned to player16 -player16 mucks -player16 wins the pot ($10.95) -*** SUMMARY *** -Total pot $11.50 | Rake $0.55 -Board: [Tc 9s 7h] -Seat 1: player16 collected ($10.95), mucked -Seat 2: player17 (button) didn't bet (folded) -Seat 3: player18 (small blind) folded before the Flop -Seat 4: player19 (big blind) folded before the Flop -Seat 5: player20 is sitting out -Seat 6: player21 folded before the Flop -Seat 7: player22 didn't bet (folded) -Seat 8: player23 folded before the Flop -Seat 9: player24 folded on the Flop - - - -Full Tilt Poker Game #6929587483: Table Green (deep) - $0.50/$1 - Pot Limit Omaha Hi - 17:19:57 ET - 2008/06/22 -Seat 1: player16 ($100.35) -Seat 2: player17 ($84), is sitting out -Seat 3: player18 ($61.30) -Seat 4: player19 ($153.30) -Seat 5: player20 ($50) -Seat 6: player21 ($249.95) -Seat 7: player22 ($199) -Seat 8: player23 ($167.90) -Seat 9: player24 ($261.70) -player19 posts the small blind of $0.50 -player20 posts the big blind of $1 -The button is in seat #3 -*** HOLE CARDS *** -player21 folds -player22 folds -player21 stands up -player23 calls $1 -player24 calls $1 -player16 folds -player18 folds -player19 calls $0.50 -player20 checks -*** FLOP *** [Jd Td 2c] -roguern adds $100 -player19 bets $3 -player20 folds -player23 folds -player24 has 15 seconds left to act -player24 raises to $11 -player19 raises to $37 -player24 raises to $115 -player19 raises to $152.30, and is all in -player24 calls $37.30 -player19 shows [Jc Jh 7s 5h] -player24 shows [Kh Ad 6h Qd] -*** TURN *** [Jd Td 2c] [As] -*** RIVER *** [Jd Td 2c As] [8s] -player19 shows three of a kind, Jacks -player24 shows a straight, Ace high -player24 wins the pot ($305.60) with a straight, Ace high -player19 is sitting out -*** SUMMARY *** -Total pot $308.60 | Rake $3 -Board: [Jd Td 2c As 8s] -Seat 1: player16 didn't bet (folded) -Seat 2: player17 is sitting out -Seat 3: player18 (button) didn't bet (folded) -Seat 4: player19 (small blind) showed [Jc Jh 7s 5h] and lost with three of a kind, Jacks -Seat 5: player20 (big blind) folded on the Flop -Seat 6: player21 didn't bet (folded) -Seat 7: player22 didn't bet (folded) -Seat 8: player23 folded on the Flop -Seat 9: player24 showed [Kh Ad 6h Qd] and won ($305.60) with a straight, Ace high - - - +Full Tilt Poker Game #6929537410: Table Green (deep) - $0.50/$1 - Pot Limit Omaha Hi - 17:15:44 ET - 2008/06/22 +Seat 1: player16 ($94.90) +Seat 2: player25 ($147) +Seat 3: player18 ($62.80) +Seat 4: player19 ($136.55) +Seat 5: play-er26 ($56.05) +Seat 6: player21 ($252.95) +Seat 7: player22 ($200) +Seat 8: player23 ($162.50) +Seat 9: player24 ($270.70) +player24 posts the small blind of $0.50 +player16 posts the big blind of $1 +player22 posts $1 +The button is in seat #8 +*** HOLE CARDS *** +player25 folds +player25 stands up +player18 folds +player19 folds +play-er26 folds +player21 folds +player22 checks +player23 calls $1 +player17 adds $100 +player24 calls $0.50 +player16 checks +*** FLOP *** [4s Kc 8s] +player24 has 15 seconds left to act +player24 checks +player16 checks +player22 checks +player23 checks +*** TURN *** [4s Kc 8s] [6s] +player24 checks +player16 checks +player22 checks +player23 bets $4 +player24 calls $4 +player16 folds +player22 folds +*** RIVER *** [4s Kc 8s 6s] [Qc] +player24 checks +player23 checks +*** SHOW DOWN *** +player23 shows [Td 5s 3d Js] a flush, Jack high +player24 mucks +player23 wins the pot ($11.40) with a flush, Jack high +*** SUMMARY *** +Total pot $12 | Rake $0.60 +Board: [4s Kc 8s 6s Qc] +Seat 1: player16 (big blind) folded on the Turn +Seat 2: player25 didn't bet (folded) +Seat 3: player18 didn't bet (folded) +Seat 4: player19 didn't bet (folded) +Seat 5: play-er26 didn't bet (folded) +Seat 6: player21 didn't bet (folded) +Seat 7: player22 folded on the Turn +Seat 8: player23 (button) collected ($11.40) +Seat 9: player24 (small blind) mucked + + + +Full Tilt Poker Game #6929553738: Table Green (deep) - $0.50/$1 - Pot Limit Omaha Hi - 17:17:06 ET - 2008/06/22 +Seat 1: player16 ($93.90) +Seat 2: player17 ($100) +Seat 3: player18 ($62.80) +Seat 4: player19 ($136.55) +Seat 5: play-er26 ($56.05) +Seat 6: player21 ($252.95) +Seat 7: player22 ($199) +Seat 8: player23 ($168.90) +Seat 9: player24 ($265.70) +player16 posts the small blind of $0.50 +player17 posts the big blind of $1 +The button is in seat #9 +*** HOLE CARDS *** +player18 folds +play-er26 stands up +player19 raises to $2 +play-er26 folds +player21 calls $2 +player22 has 15 seconds left to act +player22 folds +player23 folds +player24 folds +player16 calls $1.50 +player17 calls $1 +*** FLOP *** [Jc 4c Kc] +player16 checks +player17 checks +player19 checks +player21 checks +*** TURN *** [Jc 4c Kc] [7h] +player16 checks +player17 checks +player19 bets $3.50 +player21 folds +player16 folds +player17 calls $3.50 +*** RIVER *** [Jc 4c Kc 7h] [8s] +player17 checks +player19 has 15 seconds left to act +player19 bets $10 +player17 calls $10 +*** SHOW DOWN *** +player19 shows [4s Tc As Ac] a flush, Ace high +player17 mucks +player19 wins the pot ($33.25) with a flush, Ace high +*** SUMMARY *** +Total pot $35 | Rake $1.75 +Board: [Jc 4c Kc 7h 8s] +Seat 1: player16 (small blind) folded on the Turn +Seat 2: player17 (big blind) mucked +Seat 3: player18 didn't bet (folded) +Seat 4: player19 collected ($33.25) +Seat 5: play-er26 didn't bet (folded) +Seat 6: player21 folded on the Turn +Seat 7: player22 didn't bet (folded) +Seat 8: player23 didn't bet (folded) +Seat 9: player24 (button) didn't bet (folded) + + + +Full Tilt Poker Game #6929572212: Table Green (deep) - $0.50/$1 - Pot Limit Omaha Hi - 17:18:40 ET - 2008/06/22 +Seat 1: player16 ($91.90) +Seat 2: player17 ($84.50) +Seat 3: player18 ($62.80) +Seat 4: player19 ($154.30) +Seat 6: player21 ($250.95) +Seat 7: player22 ($199) +Seat 8: player23 ($168.90) +Seat 9: player24 ($265.70) +player17 posts the small blind of $0.50 +player18 posts the big blind of $1 +The button is in seat #1 +*** HOLE CARDS *** +player19 folds +player21 folds +player20 adds $50 +player22 folds +player23 folds +player24 folds +player20 is sitting out +player16 raises to $2 +player17 folds +player18 folds +Uncalled bet of $1 returned to player16 +player16 mucks +player16 wins the pot ($2.50) +*** SUMMARY *** +Total pot $2.50 | Rake $0 +Seat 1: player16 (button) collected ($2.50), mucked +Seat 2: player17 (small blind) folded before the Flop +Seat 3: player18 (big blind) folded before the Flop +Seat 4: player19 didn't bet (folded) +Seat 6: player21 didn't bet (folded) +Seat 7: player22 didn't bet (folded) +Seat 8: player23 didn't bet (folded) +Seat 9: player24 didn't bet (folded) + + + +Full Tilt Poker Game #6929576743: Table Green (deep) - $0.50/$1 - Pot Limit Omaha Hi - 17:19:03 ET - 2008/06/22 +Seat 1: player16 ($93.40) +Seat 2: player17 ($84) +Seat 3: player18 ($61.80) +Seat 4: player19 ($154.30) +Seat 5: player20 ($50), is sitting out +Seat 6: player21 ($250.95) +Seat 7: player22 ($199) +Seat 8: player23 ($168.90) +Seat 9: player24 ($265.70) +player18 posts the small blind of $0.50 +player19 posts the big blind of $1 +The button is in seat #2 +*** HOLE CARDS *** +player20 has returned +player21 calls $1 +player22 folds +player23 calls $1 +player24 calls $1 +player16 raises to $4 +player17 folds +player18 folds +player19 folds +player21 folds +player23 folds +player17 is sitting out +player24 has 15 seconds left to act +player24 calls $3 +*** FLOP *** [Tc 9s 7h] +player24 checks +player16 has 15 seconds left to act +player16 bets $8 +player24 folds +Uncalled bet of $8 returned to player16 +player16 mucks +player16 wins the pot ($10.95) +*** SUMMARY *** +Total pot $11.50 | Rake $0.55 +Board: [Tc 9s 7h] +Seat 1: player16 collected ($10.95), mucked +Seat 2: player17 (button) didn't bet (folded) +Seat 3: player18 (small blind) folded before the Flop +Seat 4: player19 (big blind) folded before the Flop +Seat 5: player20 is sitting out +Seat 6: player21 folded before the Flop +Seat 7: player22 didn't bet (folded) +Seat 8: player23 folded before the Flop +Seat 9: player24 folded on the Flop + + + +Full Tilt Poker Game #6929587483: Table Green (deep) - $0.50/$1 - Pot Limit Omaha Hi - 17:19:57 ET - 2008/06/22 +Seat 1: player16 ($100.35) +Seat 2: player17 ($84), is sitting out +Seat 3: player18 ($61.30) +Seat 4: player19 ($153.30) +Seat 5: player20 ($50) +Seat 6: player21 ($249.95) +Seat 7: player22 ($199) +Seat 8: player23 ($167.90) +Seat 9: player24 ($261.70) +player19 posts the small blind of $0.50 +player20 posts the big blind of $1 +The button is in seat #3 +*** HOLE CARDS *** +player21 folds +player22 folds +player21 stands up +player23 calls $1 +player24 calls $1 +player16 folds +player18 folds +player19 calls $0.50 +player20 checks +*** FLOP *** [Jd Td 2c] +roguern adds $100 +player19 bets $3 +player20 folds +player23 folds +player24 has 15 seconds left to act +player24 raises to $11 +player19 raises to $37 +player24 raises to $115 +player19 raises to $152.30, and is all in +player24 calls $37.30 +player19 shows [Jc Jh 7s 5h] +player24 shows [Kh Ad 6h Qd] +*** TURN *** [Jd Td 2c] [As] +*** RIVER *** [Jd Td 2c As] [8s] +player19 shows three of a kind, Jacks +player24 shows a straight, Ace high +player24 wins the pot ($305.60) with a straight, Ace high +player19 is sitting out +*** SUMMARY *** +Total pot $308.60 | Rake $3 +Board: [Jd Td 2c As 8s] +Seat 1: player16 didn't bet (folded) +Seat 2: player17 is sitting out +Seat 3: player18 (button) didn't bet (folded) +Seat 4: player19 (small blind) showed [Jc Jh 7s 5h] and lost with three of a kind, Jacks +Seat 5: player20 (big blind) folded on the Flop +Seat 6: player21 didn't bet (folded) +Seat 7: player22 didn't bet (folded) +Seat 8: player23 folded on the Flop +Seat 9: player24 showed [Kh Ad 6h Qd] and won ($305.60) with a straight, Ace high + + + diff --git a/regression-test/known-broken/ftp-stud-hilo-ring-001.txt b/regression-test/known-broken/ftp-stud-hilo-ring-001.txt index e23cb335..956d1d14 100644 --- a/regression-test/known-broken/ftp-stud-hilo-ring-001.txt +++ b/regression-test/known-broken/ftp-stud-hilo-ring-001.txt @@ -1,61 +1,61 @@ -Full Tilt Poker Game #6367428246: Table Mountain Mesa - $15/$30 Ante $3 - Limit Stud H/L - 23:47:38 ET - 2008/05/10 -Seat 1: Player_8 ($446), is sitting out -Seat 2: Play er9 ($303.50) -Seat 3: P layer10 ($613), is sitting out -Seat 4: Player_11 ($164) -Seat 5: Player1 2 ($543.50), is sitting out -Seat 6: Player13 ($912.50) -Seat 7: Player14 ($430), is sitting out -Seat 8: Player15 ($531.50) -Player15 antes $3 -Player_11 antes $3 -Player13 antes $3 -Play er9 antes $3 -*** 3RD STREET *** -Dealt to Play er9 [2s] -Dealt to Player_11 [3c] -Dealt to Player13 [8c] -Dealt to Player15 [Jc] -Play er9 is low with [2s] -Play er9 brings in for $5 -Player_11 folds -Player13 completes it to $15 -Player15 folds -Play er9 calls $10 -*** 4TH STREET *** -Dealt to Play er9 [2s] [6c] -Dealt to Player13 [8c] [5h] -Player13 bets $15 -Play er9 calls $15 -*** 5TH STREET *** -Dealt to Play er9 [2s 6c] [Ac] -Dealt to Player13 [8c 5h] [Ah] -Player13 bets $30 -Play er9 calls $30 -*** 6TH STREET *** -Dealt to Play er9 [2s 6c Ac] [2c] -Dealt to Player13 [8c 5h Ah] [Jd] -Play er9 bets $30 -Player13 calls $30 -*** 7TH STREET *** -Play er9 bets $30 -Player13 calls $30 -*** SHOW DOWN *** -Play er9 shows [5c 4h 2s 6c Ac 2c 2h] three of a kind, Twos, for high and 6,5,4,2,A, for low -Player13 mucks -Play er9 wins the high pot ($125) with three of a kind, Twos -Play er9 wins the low pot ($125) with 6,5,4,2,A -*** SUMMARY *** -Total pot $252 | Rake $2 -Seat 1: Player_8 is sitting out -Seat 2: Play er9 collected ($250) -Seat 3: P layer10 is sitting out -Seat 4: Player_11 folded on 3rd St. -Seat 5: Player1 2 is sitting out -Seat 6: Player13 mucked -Seat 7: Player14 is sitting out -Seat 8: Player15 folded on 3rd St. - - - +Full Tilt Poker Game #6367428246: Table Mountain Mesa - $15/$30 Ante $3 - Limit Stud H/L - 23:47:38 ET - 2008/05/10 +Seat 1: Player_8 ($446), is sitting out +Seat 2: Play er9 ($303.50) +Seat 3: P layer10 ($613), is sitting out +Seat 4: Player_11 ($164) +Seat 5: Player1 2 ($543.50), is sitting out +Seat 6: Player13 ($912.50) +Seat 7: Player14 ($430), is sitting out +Seat 8: Player15 ($531.50) +Player15 antes $3 +Player_11 antes $3 +Player13 antes $3 +Play er9 antes $3 +*** 3RD STREET *** +Dealt to Play er9 [2s] +Dealt to Player_11 [3c] +Dealt to Player13 [8c] +Dealt to Player15 [Jc] +Play er9 is low with [2s] +Play er9 brings in for $5 +Player_11 folds +Player13 completes it to $15 +Player15 folds +Play er9 calls $10 +*** 4TH STREET *** +Dealt to Play er9 [2s] [6c] +Dealt to Player13 [8c] [5h] +Player13 bets $15 +Play er9 calls $15 +*** 5TH STREET *** +Dealt to Play er9 [2s 6c] [Ac] +Dealt to Player13 [8c 5h] [Ah] +Player13 bets $30 +Play er9 calls $30 +*** 6TH STREET *** +Dealt to Play er9 [2s 6c Ac] [2c] +Dealt to Player13 [8c 5h Ah] [Jd] +Play er9 bets $30 +Player13 calls $30 +*** 7TH STREET *** +Play er9 bets $30 +Player13 calls $30 +*** SHOW DOWN *** +Play er9 shows [5c 4h 2s 6c Ac 2c 2h] three of a kind, Twos, for high and 6,5,4,2,A, for low +Player13 mucks +Play er9 wins the high pot ($125) with three of a kind, Twos +Play er9 wins the low pot ($125) with 6,5,4,2,A +*** SUMMARY *** +Total pot $252 | Rake $2 +Seat 1: Player_8 is sitting out +Seat 2: Play er9 collected ($250) +Seat 3: P layer10 is sitting out +Seat 4: Player_11 folded on 3rd St. +Seat 5: Player1 2 is sitting out +Seat 6: Player13 mucked +Seat 7: Player14 is sitting out +Seat 8: Player15 folded on 3rd St. + + +