Commit Graph
77 Commits
Author SHA1 Message Date
Matt Turnbull ca57a5a5ff set -> list 2009-02-26 16:04:08 +00:00
Matt Turnbull d5b7b17b21 bugfix 2009-02-25 15:16:18 +00:00
Matt Turnbull e5489056ff less broken, please check sanity 2009-02-25 14:59:11 +00:00
Matt Turnbull 65c34a7377 keeping Everleaf uptodate with FullSteamAhead changes
Also, made static regexes class-wide, so compile once on import
2009-02-25 14:35:28 +00:00
Matt Turnbull abf489f0c6 need re.MULTILINE and not to have syntax errors 2009-02-25 14:14:42 +00:00
Matt Turnbull bb4eece2f7 Merge branch 'master' of git://git.assembla.com/fpdboz
Only seemed to conflict the [ --> \[ in the HeroCards re

Conflicts:

	pyfpdb/FulltiltToFpdb.py
2009-02-25 12:36:45 +00:00
Matt Turnbull 8cccce512d regexs start at start of lines 2009-02-25 12:34:01 +00:00
Matt Turnbull a324dc4c7e Merge branch 'master' of git://git.assembla.com/fpdboz 2009-02-25 11:32:14 +00:00
Matt Turnbull a5b7b8202a tiny changes 2009-02-25 11:32:03 +00:00
Matt Turnbull baa5b2e8b5 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-02-25 10:26:25 +00:00
Matt Turnbull 03f89ee439 for some reason my GuiBulkImport was missing get_vbox()
Added a combobox for selecting a filter
But import brokea  bit
2009-02-23 01:03:18 +00:00
Matt Turnbull 2b13d38da6 fixed keyword arg before non keyword arg bug from last commit 2009-02-20 18:02:23 +00:00
Matt Turnbull 483e177346 Explicit matching of player names
About the only place where we are guaranteed to get all the players'
names correctly is in the seating plan in the hand header. We extract
the names and build a regex that matches only the names. We only do this
if the current regex is out of date, to avoid recompiling them too
often.
I also did away with self.rexx because it seemed unnecessary and was
difficult to work with.
2009-02-20 16:29:52 +00:00
Matt Turnbull 05701955ac Merge branch 'master' of git://git.assembla.com/fpdboz 2009-01-22 18:21:48 +00:00
Matt Turnbull f048a763c0 Merge branch 'session' of git://git.assembla.com/fpdboz 2009-01-21 21:16:33 +00:00
Matt Turnbull 5db308e1b2 execute permission on HUD_run_me.py
removed huge chunk of duplicate code in fpdb_simple.py (strange git
problem -- first 300 lines or so were duplicated in a pull)
2009-01-10 01:46:23 +00:00
Matt Turnbull 9ec77775be Merge branch 'master' of git://git.assembla.com/fpdb-eric 2009-01-08 19:11:59 +00:00
Matt Turnbull 18db8a39c6 Merge branch 'master' of git@git.assembla.com:mctfpdb 2009-01-08 19:03:45 +00:00
Matt Turnbull d14dddca90 Break from thread loop instead of continuing. Fixes a bug where
we'd be looking up a new_hand_id of ""
2009-01-06 23:13:12 +00:00
Matt Turnbull 214861fc51 Merge branch 'master' of git://github.com/sqlcoder/fpdb-sql 2009-01-06 20:37:29 +00:00
Matt Turnbull 80e1eed7ec Merge branch 'master' of git://git.assembla.com/fpdboz 2009-01-05 19:04:46 +00:00
Matt Turnbull a76442f67e Poll if HUD window is already terminated before attempting to
communicate the \n character to tell it to terminate.
2008-12-22 20:17:29 +00:00
Matt Turnbull a6c2152be4 break less badly on a hand which I can't handle at the moment 2008-12-20 22:52:47 +00:00
Matt Turnbull da41e8e2ce Rid of cruft 2008-12-20 16:57:12 +00:00
Matt Turnbull 319ea7080d Pot taking on much functionality
committing before deleting a lot of commented out bits
2008-12-20 16:48:25 +00:00
Matt Turnbull 16f9906d84 pot total line output matches pokerstars better 2008-12-20 02:22:21 +00:00
Matt Turnbull 28e5a05037 Merge branch 'master' of git://git.assembla.com/fpdboz 2008-12-19 11:32:40 +00:00
Matt Turnbull b37ddc5ace So close, yet so far. Need to calculate rake to output the side pots
line correctly.
2008-12-19 03:01:45 +00:00
Matt Turnbull 7803f52307 autoimport a bit better, no? 2008-12-18 17:49:17 +00:00
Matt Turnbull fe2c806822 Everleaf appears to need addCallandRaise 2008-12-17 11:57:06 +00:00
Matt Turnbull d168166495 Added:
addCallandRaise  - when reported amount is the actual amount transfered
addRaiseBy       - when reported is the amount additional to the
previous bet
_addRaise        - common helper
2008-12-17 11:54:26 +00:00
Matt Turnbull 877f0771ab nongreedy matches in collect_pot_re to fix kicker being picked up
instead of hand bug
2008-12-17 11:22:02 +00:00
Matt Turnbull a5bd749959 quick hack to Hand to help ongame 2008-12-17 00:30:31 +00:00
Matt Turnbull ef48b83a80 OnGame is a bit weird, here's a start 2008-12-17 00:29:54 +00:00
Matt Turnbull 58411a1ae3 use python datetime handling functions : strptime strftime 2008-12-16 23:23:33 +00:00
Matt Turnbull 070091472c first BB is treated as a call & raise of sb, so if folded round to bb,
it's an uncalled bet and he collects pot
2008-12-16 22:03:13 +00:00
Matt Turnbull 6f1e335275 FullTilt output is looking good, tried it on a HandHQ history, no crashes!
Hand.py: report summary line only for players who acted preflop (as with
stacks)

bug in a BB calling itself fixed
2008-12-16 21:49:04 +00:00
Matt Turnbull 1f1332b849 a bit more FTP; works? on 7 hand sample. No regression test of Everleaf
:(
2008-12-16 21:08:10 +00:00
Matt Turnbull f230a82add board cards read
button read
2008-12-16 17:26:58 +00:00
Matt Turnbull 8bd58e849e some generality changes for FTP support 2008-12-16 17:14:37 +00:00
Matt Turnbull 988a7e3eb5 Added 'and is all-in' logic.
Altered to read actions in correct street order. hand.streetList must be
set correctly for different types of games.
2008-12-16 04:29:11 +00:00
Matt Turnbull 9c5d0f4598 Writes hands to stderr, miscellanous crap to stdout; usuable as cmdline
filter: ./Everleaf 'hhfile' 1>/dev/null 2>outfile

Holecards are sets -- should work on Omaha hi hands also.

Successfully imported Speed_Kuala_full.txt to fpdb.

Added gettext.

cards strings are handled a little better (one fewer regex)

Testfile can be supplied as first cmd line arg.
2008-12-15 23:56:19 +00:00
Matt Turnbull fb02d9224b Merge branch 'exp'
Conflicts:

	pyfpdb/Hand.py
2008-12-14 22:15:14 +00:00
Matt Turnbull 2796a95669 Merge branch 'master' of git://github.com/sqlcoder/fpdb-sql 2008-12-14 22:09:17 +00:00
Matt Turnbull 3dbb0e8376 Everleaf uncalled bets; pot total; rake 2008-12-14 22:05:51 +00:00
Matt Turnbull 7926ac9def multiple 'collected pots' handles side pots, rake calculated from
totalbets - totalcollected.
2008-12-14 19:25:04 +00:00
Matt Turnbull 7deb0bcc3e Merge branch 'master' of git://git.assembla.com/free_poker_tools 2008-12-13 16:38:44 +00:00
Matt Turnbull 24805700da StopAutoImport kills HUD 2008-12-13 01:06:26 +00:00
Matt Turnbull cbac52ccbb Autoimport toggle button 2008-12-13 00:52:31 +00:00
Matt Turnbull b34c0e1300 setting holecards for a player is now idempotent 2008-12-11 17:35:44 +00:00
Matt Turnbull 7500bcdf92 Everleaf sometimes shows the entire winning hand without reporting holecards seperately. 2008-12-11 17:31:58 +00:00
Matt Turnbull 90b87c0d98 should be right? 2008-12-10 23:27:29 +00:00
Matt Turnbull e90712c9a7 copied & pasted this back in, can't work out how to revert my reversion. 2008-12-10 23:16:29 +00:00
Matt Turnbull 36a384d4af Merge branch 'master' of git@git.assembla.com:mctfpdb 2008-12-10 22:53:45 +00:00
Matt Turnbull 489efc779b Merge branch 'master' of git://git.assembla.com/free_poker_tools
Conflicts:

	pyfpdb/Hud.py

Hope I chose the right lines here.
2008-12-10 22:52:07 +00:00
Matt Turnbull 69f6769a6b Merge branch 'master' of git://git.assembla.com/fpdb-eric 2008-12-10 22:48:20 +00:00
Matt Turnbull fd2cb9dc42 Merge branch 'master' of git://git.assembla.com/fpdboz 2008-12-10 22:47:54 +00:00
Matt Turnbull 010a2f4427 Merge branch 'master' of git://git.assembla.com/fpdboz 2008-12-10 18:13:06 +00:00
Matt Turnbull 092b1a1b83 Merge branch 'exp' 2008-12-10 18:08:46 +00:00
Matt Turnbull f3afba129a Revert "Add start of graph export functionality"
This reverts commit 998ab6eac3.
2008-12-10 18:01:20 +00:00
Matt Turnbull d1a8c445e2 for perusal of dispatcher 2008-12-10 17:56:16 +00:00
Matt Turnbull dda88b76ba cosmetics, comments, some value checking
added mucked / folded / shown summary lines
2008-12-10 16:30:57 +00:00
Matt Turnbull 3ff2ec2106 removed read board cards from markStreets 2008-12-10 00:58:10 +00:00
Matt Turnbull 91105824bd wasn't printing bets
and fixed last fix
2008-12-10 00:48:45 +00:00
Matt Turnbull 215d5a74b2 If the small blind is dead and it's folded round to big blind, no one collects a pot. Warning if we do not see 'collected' line. 2008-12-10 00:05:12 +00:00
Matt Turnbull c9cb2ea7dd takes care of weirdness with everleaf saying:
player folds
but also
player: bets

takes care of double spaces and other junk where stack size is usually reported.
2008-12-09 23:58:38 +00:00
Matt Turnbull e8810839f9 bit less mess 2008-12-09 23:38:16 +00:00
Matt Turnbull 6b0dcc37d4 I set it up with Speed_Kuala_full.txt and now it's time to go through them all fixing the bugs. 2008-12-09 23:30:58 +00:00
Matt Turnbull 7ac433fede 2 decimal places for rake 2008-12-09 15:35:16 +00:00
Matt Turnbull 2d6412c8a7 pseudo stars! 2008-12-09 15:32:37 +00:00
Matt Turnbull 4f44eff3da getting somewhere, very messy, using pokereval, not sure if this is right direction, comments please 2008-12-08 06:23:50 +00:00
Matt Turnbull 72addde510 whitespace 2008-12-06 14:15:41 +00:00
Matt Turnbull 95f43dfd74 pot total and rake 2008-12-06 14:13:38 +00:00
Matt Turnbull 47e2fd053a unimplemented is more meaningful warning 2008-12-05 02:42:13 +00:00
Matt Turnbull 862502cdc0 Hand class keeping track of pot total / bet amounts
Began to turn hand.printHand into the writeHand method but this may not be necessary after all
2008-12-05 02:40:04 +00:00
Matt Turnbull 92656ae6a0 hole cards / community cards extracted and added to printout 2008-12-03 23:57:20 +00:00
Matt Turnbull 85f64b42fb Merge branch 'master' of git://git.assembla.com/fpdboz 2008-12-01 14:34:39 +00:00