Matt Turnbull
0986e36648
work in progress!
...
- command line options
Try the following
./Everleaf --help
cat everleaf.txt | ./Everleaf -i - -o -
Try using -i -, and pasting in a hand. Be aware it needs an EOF
<ctrl>-d (unless you specify --follow, which isn't done yet)
- HHC is a thread
- hand gametypes per hand
- lots of stupid little things just to cause trouble
- added logging
Not yet done:
- tail -f mode
- integration into fpdb_import. Two options for grand plan here:
1) recently modified files get a HHC filter attached
when the HHC runs out of pipe it waits
runUpdated finds modified files and notifies the thread
2) the thread follows independently, when it runs out of input it
sleeps and then tries again at intervals
I like both, 1) involves bigger changes to fpdb_import whilst with 2) we
just point the existing fpdb_import code at the filter output (the way
we currently do filtering has to be altered though)
Comments welcome of course.
2009-02-26 00:59:36 +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
Worros
8b9b77edb9
Merge branch 'master' of git://git.assembla.com/fpdb-eric
2009-02-25 20:40:55 +09:00
eblade
cda897608c
EverleafToFpdb: should at least recognise Stud, once the HandInfo regex is fixed. Not that it'll do anything good with it.
...
HHC: return doing nothing but printing a warning message to output, if determineGameType() returns None
2009-02-25 06:01:44 -05:00
Worros
3d9026da2c
More razz updates
2009-02-25 19:32:12 +09:00
Worros
dd6c23ad85
Move markStreets outside of if statement in main processing loop
2009-02-25 02:12:45 +09:00
Worros
b38c62367a
Preliminary razz support for Fulltilt
...
Breaks stuff
2009-02-25 01:17:25 +09:00
Worros
232c0df33a
determineGameType fixed for FTP, PLO working
2009-02-22 18:07:11 +09:00
Worros
baae7af5e0
Remove a tonne of debug, neaten output
2009-02-22 14:37:38 +09:00
Worros
5c6793d373
Add sanity check to HHC
...
Make sure input file and output file are different so we dont overwrite
the source.
2009-02-21 22:06:10 +09:00
eblade
824f6a3129
Merge branch 'master' of git://git.assembla.com/mctfpdb.git
...
Conflicts:
pyfpdb/HandHistoryConverter.py
2009-02-20 15:58:00 -05: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
eblade
f0dc69250c
Merge branch 'master' of git://git.assembla.com/fpdboz.git
2009-02-20 02:30:41 -05:00
Worros
e5ab933659
Fix major bug in fpdb_import
...
Hat tip to Eric
2009-02-20 16:06:22 +09:00
eblade
71b47c237a
Merge branch 'master' of git://git.assembla.com/fpdboz.git
...
Conflicts:
pyfpdb/HandHistoryConverter.py
2009-02-19 16:59:28 -05:00
eblade
14cf64f81b
HHC will return without generating python errors if given an empty input, commented out echoing the input
2009-02-19 16:56:37 -05:00
Worros
08a4d568cc
Fix parseHandStartTime for FullTilt
...
Doesn't come close to fixing Full Tilt tourneys as far as i can tell.
2009-02-20 02:26:29 +09:00
Worros
bc8f1b56b6
Remove Unicode mode from file read.
...
Hope this fixes the issue with Erics source file getting nuked
2009-02-19 22:58:29 +09:00
eblade
d2159b6430
changes to make auto-import recursive, and to get the converter thingee kind of working
2009-02-19 05:38:51 -05:00
Worros
6214131713
Small change - note we should error check
2009-02-05 18:50:50 +09:00
Worros
315d010311
Make Everleaf converter actually function.
...
Makes HandHistoryConverter actually write out a file to
$hhArchiveBase/sitename/
Adds code in importer call the functions in EverleafToFpdb
2009-02-05 18:28:18 +09:00
Matt Turnbull
58411a1ae3
use python datetime handling functions : strptime strftime
2008-12-16 23:23:33 +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
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
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
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
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
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
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
Worros
fed3374901
Start output of action lines for Super class
2008-11-27 21:29:19 +09:00
Worros
b495387d94
Move Everleaf updates - action now parsed
2008-11-27 20:54:42 +09:00
Worros
55332d4983
More Everleaf updates, may have a functional regex for action in NLHE
2008-11-16 13:44:16 +09:00
Worros
6e182831ac
Everleaf update - Holecards read
2008-11-12 14:12:18 +10:00
Worros
2bdc7f5057
Everleaf converter update - blinds posting
2008-11-11 18:54:24 +10:00
Worros
45b2b4b212
Fix sb/bb - no need to convert
2008-11-11 08:22:33 +10:00
Worros
d112c39c1c
More Everleaf updates - parse player stacks and seats
2008-11-11 00:19:45 +10:00
Worros
da83795e5a
Fix 'duh' error and grab button position
2008-11-10 23:29:49 +10:00
Worros
816a9e3b58
More Everleaf converter updates, now parsing some hand info
2008-11-10 23:02:56 +10:00
Worros
0bbf801d89
Bit more Everleaf
2008-11-10 16:41:04 +10:00
Worros
d4038c3f19
Lots of changes. Fixes the hud for auto-import - at least for me.
...
Does configer Importer to use the Config class.
2008-11-09 21:57:58 +10:00
Worros
c53d78491a
Minor update to Carbon poker - read gametype + sb/bb
2008-11-09 16:27:27 +10:00
Worros
43f8620dea
Remove FpdbRegex until functional
2008-11-09 15:33:42 +10:00
Worros
7bc686c859
Add Regex file pokerstars_cash.py from pokerstats package ( http://bostik.iki.fi/pokerstats/ )
...
Intend to turn into a class plugins can subclass and override the various regexes
2008-11-09 13:29:58 +10:00
Worros
f3224f87cc
Add sanity check function, creates ~/.fpdb/HandHistories/<sitename> if it doens't exist.
...
Fixes hhbase and hhdir interpretation.
2008-11-09 12:58:46 +10:00
Worros
328bba2d23
Updates
...
- change HH object init call.
- override carbon readFile function and hack so minidom can read it
2008-11-09 10:46:14 +10:00
Worros
7df572895b
Work on plugin initialisation, add Carbon poker plugin
2008-11-09 09:49:05 +10:00
Worros
70f9e6edca
Make Everleaf actully inherit from the super class
2008-11-07 23:19:18 +13:00
Worros
7e41c73742
Add initial versions of Hand Converter class, and initial implementation.
2008-11-07 21:47:00 +13:00