Commit Graph
100 Commits
Author SHA1 Message Date
Worros faf19215e8 Make Hand initable without a hhc
Proof of concept code in test_PokerStars.py
2009-03-14 23:01:40 +09:00
Worros d847a71c6e Move addDiscard from upper class to specialised DrawHand 2009-03-14 22:23:30 +09:00
Worros a5ceeece3a Added note about renamed test file
Also changed name of Bike test file so I can tell what it is from ls
2009-03-14 22:18:30 +09:00
Worros 42e23ae449 Merge branch 'calcstats' 2009-03-14 21:21:04 +09:00
Worros b41afcd076 Add stub insert and select methods to Hand class 2009-03-14 21:19:20 +09:00
Worros d212d81e03 Add variables for most HudCache stats and add optional arg to Hand
Will almost certainly need to change all of the data structures in the
variables as they are only for a single player
2009-03-14 20:40:27 +09:00
Worros 311e79c6e6 Quick note on test file.
Intend on keeping better notes on test files so we can verify in testing
at some point
2009-03-14 20:03:28 +09:00
Worros 04b43e3b95 Add preliminary Badugi support
Done to flesh out what DrawHand will look like
2009-03-14 19:48:34 +09:00
Worros d389706e85 Revert dodgy import line 2009-03-14 11:21:23 +09:00
Worros 9cdfa5f279 Remove 3rd arg from Hud module loader
Mea culpa
2009-03-14 11:06:47 +09:00
Worros d3103f099e Make Stars Badugi recognised 2009-03-14 06:42:20 +09:00
Worros 93acab5bcb Merge branch 'master' of git://git.assembla.com/mctfpdb 2009-03-14 06:20:53 +09:00
Worros bbdbe7e47d Remove TODO for previous patch 2009-03-14 05:10:13 +09:00
Worros 6ebab06981 Make converters dynamically loadable in autoimport
Adds 1 restriction to the HHC sub classes, the classname must be the
same as the filename - ToFpdb.py

FulltiltToFpdb.py must contain a hhc class named Fulltilt
EverleafToFpdb.py must contain a hhc class named Everleaf
2009-03-14 05:00:12 +09:00
Worros 875f218379 Move it back again, found another way 2009-03-14 04:23:36 +09:00
Worros 321e38a16f Move 'plugin loader' to Utils file so HUD and Importer can share 2009-03-14 03:10:53 +09:00
Worros f4e3c8de28 Remove lookupLimitBetSize() - appears to no longer be necessary 2009-03-14 02:51:10 +09:00
Worros a7f7113705 Make determineGameType return 'tour' of currency is T$ 2009-03-13 18:45:15 +09:00
Worros 81df5a8919 Add Full Tilt flhe o supported games 2009-03-13 02:21:31 +09:00
Worros d8a689b9fe Quick fix 2009-03-13 02:18:34 +09:00
Worros 2d849c69e7 Refactor HHC call a bit, make sure out_fh gets closed 2009-03-13 00:31:29 +09:00
Worros c523fce123 Merge branch 'master' of git://git.assembla.com/mctfpdb
Conflicts:

	pyfpdb/fpdb_import.py
2009-03-12 22:57:43 +09:00
Worros 73d643b753 Merge branch 'master' of git://git.assembla.com/fpdb-eric
Conflicts:

	pyfpdb/Database.py
2009-03-12 22:52:48 +09:00
Worros 0bd2ecc2fe Merge branch 'master' of git://git.assembla.com/free_poker_tools
Conflicts:

	pyfpdb/Database.py
	pyfpdb/Mucked.py
2009-03-12 22:48:46 +09:00
Worros 27a0db56bb Add test file for betfair 2009-03-12 20:01:41 +09:00
Worros 63a4d3f605 Fix test_fpdb_simple.py's tests 2009-03-12 19:51:03 +09:00
Worros 2bb4593672 Compare determineGameType to readSupportedGames
Allows us to parse the header (and test it) and still skip the file.

May produce empty files in autoimport...
2009-03-12 19:43:28 +09:00
Worros bb2104e5f8 First successful Betfair import 2009-03-12 18:38:48 +09:00
Worros 8126972731 Betfair update. Now doesn't crash on test file.
Board and Hero cards are read. Actions all appear to be failing.
2009-03-12 18:23:20 +09:00
Worros 19ec7662e1 BetfairToFpdb - HandInfo regex 2009-03-12 17:26:15 +09:00
Worros 76ca6beab0 Update Betfair importer a bit
No longer crashes on test file, but doesn't actually import anything
yet.
2009-03-12 15:17:46 +09:00
Worros c582507b9f Quick fix for typo - Fixes FTP Razz import 2009-03-12 10:49:16 +09:00
Worros 0dfcac19fb Merge branch 'master' of git://git.assembla.com/mctfpdb 2009-03-12 08:56:21 +09:00
Worros c2d7822dfc Merge branch 'master' of git://git.assembla.com/mctfpdb 2009-03-12 00:57:14 +09:00
Worros 71c5e1300d Merge branch 'master' of git://git.assembla.com/mctfpdb 2009-03-11 23:12:22 +09:00
Worros fb141fd85d Merge branch 'master' of git://git.assembla.com/mctfpdb 2009-03-11 23:09:55 +09:00
Worros bd792142bd Convert RegressionTest.py into test.py format.
Still doesn't work and i'm confused
2009-03-11 23:05:36 +09:00
Worros 3a9657df5f Merge branch 'master' of git://git.assembla.com/mctfpdb 2009-03-11 22:02:31 +09:00
Worros eb61313fcd Remove debug message 2009-03-11 22:01:43 +09:00
Worros 88cadd36ad Fix Everleaf to start parsing 7 Card Stud games
Still missing readAntes
2009-03-11 00:57:13 +09:00
Worros e87118e9ae Make PLO work on Everleaf again 2009-03-11 00:14:23 +09:00
Worros 9427c97f4c Start of card selection filter
Doesn't display yet
2009-03-10 01:41:36 +09:00
Worros b062ed6e70 Add query from Eleatic Stranger on 2+2
Preliminary query for analysing hole cards
2009-03-10 00:34:07 +09:00
Worros 7f63ef7cfe Merge branch 'master' of git://git.assembla.com/fpdb-eric 2009-03-09 19:23:00 +09:00
Worros d6b5f5d019 Merge branch 'master' of git://git.assembla.com/fpdb-eric
Conflicts:

	pyfpdb/Configuration.py
2009-03-09 19:22:54 +09:00
Worros 023fe50bb0 Change default file (about to switch to another branch) 2009-03-09 17:50:09 +09:00
Worros b679fddfd2 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2009-03-08 14:18:20 +09:00
Worros da88e1b20c Merge branch 'master' of git://git.assembla.com/mctfpdb
Conflicts:

	pyfpdb/EverleafToFpdb.py
	pyfpdb/FulltiltToFpdb.py
2009-03-08 14:09:16 +09:00
Worros b07823b372 Merge branch 'futz' from Matt
Conflicts:

	pyfpdb/EverleafToFpdb.py
	pyfpdb/FulltiltToFpdb.py
	pyfpdb/Hand.py
	pyfpdb/HandHistoryConverter.py
2009-03-08 00:43:33 +09:00
Worros dee2c63a5d Syntax cleanups and optimisations 2009-03-07 23:35:52 +09:00
Worros 17609ce71b Minor mods to Grapher to try and resolve issue with multiple plots being
added
2009-03-07 18:23:30 +09:00
Worros c505e98bcf Player regex interface updates from monkeyfutz 2009-03-07 18:06:52 +09:00
Worros 50a1ec1ccf Add logging function from futz 2009-03-05 01:46:01 +09:00
Worros 87d9dbcf25 Merge branch 'master' of git://git.assembla.com/fpdb-eric
Conflicts:

	pyfpdb/EverleafToFpdb.py
2009-03-05 01:07:42 +09:00
Worros 740fe92914 rename hand.string to hand.handText
Few other minor updates to match monkeyfutz
2009-03-05 00:10:08 +09:00
Worros e8552023da Whitespace and comment updates from monkeyfutz 2009-03-04 23:29:13 +09:00
Worros dd6a912aa7 Merge branch 'master' of git://git.assembla.com/mctfpdb into futz 2009-03-04 12:40:17 +09:00
Worros 81279a0c9e Fix col align 2009-03-03 20:43:16 +09:00
Worros 86101c522c GuiPositionalStats.py
New tab, output cols aren't labelled properly but we appear to have
something sane
2009-03-03 20:32:01 +09:00
Worros 25ae39d7b5 Minor fixups: set->list and FullTilt lookup table 2009-03-03 00:10:15 +09:00
Worros d4cc5d4182 Initial fix for Everlead limit games
Only one entry in the lookup table at the moment, need to collect data
and expand for all known limits
2009-03-02 01:52:52 +09:00
Worros 3cf8239cc9 Fix bug inmporting Everleaf PLO 2009-03-01 23:05:21 +09:00
Worros ca9ed06351 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2009-03-01 22:44:03 +09:00
Worros 09d577214b Merge branch 'master' of git://git.assembla.com/free_poker_tools 2009-02-28 13:08:27 +09:00
Worros e5c65fe036 Fix Everleaf HandInfo regex to support limit 2009-02-28 12:45:44 +09:00
Worros c0400f6c66 Fix Everleaf GameInfo regex to detect FL
Added regression test mechanism while at it
2009-02-28 12:34:41 +09:00
Worros 3fba85456c Fix button regex 2009-02-27 01:26:50 +09:00
Worros 6d862cff52 addPlayerCards done - now need to print it 2009-02-27 00:35:15 +09:00
Worros 7f1fd2ca38 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2009-02-26 23:32:41 +09:00
Worros 440602198f Fix(?) HeroCards regex for stud 2009-02-26 01:48:41 +09:00
Worros 59136c70d1 Merge branch 'master' of git://git.assembla.com/mctfpdb 2009-02-26 01:24:15 +09:00
Worros 354a67c0e4 Some bringin code for stud/razz 2009-02-26 01:23:46 +09:00
Worros a71be6ddd3 Add stud/razz ante for FullTilt converter 2009-02-26 00:45:46 +09:00
Worros d500a9f9c5 More Razz - First pass through hh that doesn't crash 2009-02-25 21:34:05 +09:00
Worros 8b9b77edb9 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2009-02-25 20:40:55 +09:00
Worros a6df1b6461 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2009-02-25 19:35:54 +09: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 a8a870548e Merge branch 'master' of git://git.assembla.com/free_poker_tools 2009-02-25 02:08:06 +09:00
Worros a4f0e9a1fd Fulltilt nlhe working, more razz stuff
Everleaf still broken - need to create/move button regex to new abstract
method
2009-02-25 02:05:51 +09:00
Worros 7fd90ce760 Thinko - use right regex 2009-02-25 01:27:10 +09:00
Worros b38c62367a Preliminary razz support for Fulltilt
Breaks stuff
2009-02-25 01:17:25 +09:00
Worros bca9fb15cf Note in code re: os.walk 2009-02-24 22:46:05 +09:00
Worros a4911b8b9e More syntax error 2009-02-23 21:56:29 +09:00
Worros 5aecfb8e30 Oops. fix syntax error 2009-02-23 19:24:21 +09:00
Worros 1c1adfaf08 Preliminary support for Everleaf PLO? 2009-02-22 18:21:49 +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 3febe073cc Make FullTilt wrk with new importer 2009-02-22 12:42:16 +09:00
Worros 40ccefe105 Separate collected and collectees for output 2009-02-22 01:17:06 +09:00
Worros cf52ee4822 Fix blinds output
Changes self.posted to be a list of lists.
[[p1, "small blind"][p2, "big blind"][p3, "big blind"][p4, "both"]]
2009-02-22 00:22:25 +09:00
Worros 76688ed1c2 Fix regex for posting both blinds
Partially fix output:

neslein: posts small blind [$ 0.05 USD]
dokiprogym: posts big blind [$ 0.10 USD]
EricBlade: posts both blinds [$ 0.15 USD]
Tilting2: posts big blind [$ 0.10 USD]

becomes:

neslein: posts small blind $0.05
dokiprogym: posts big blind $0.10
Tilting2: posts big blind $0.10
EricBlade: posts big blind $0.10

EricBlade should post .15
2009-02-21 23:26:37 +09:00
Worros d196b80a60 Deal with case 'no small blind and walk in bb' 2009-02-21 22:31:57 +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
Worros 420c4fec69 Add 'Uncalled bet' line to output of new converter 2009-02-21 21:37:47 +09:00
Worros e8d90bd705 Fix for table names with '-' in them 2009-02-21 20:42:16 +09:00
Worros 36568075fe Add output line for main import code
Main import should probably read summary, meh
2009-02-21 20:24:11 +09:00
Worros 22c9fd6acb Adds command line operation to file.
Only supports a single file at the moment
2009-02-21 20:05:17 +09:00
Worros 81c92f9599 Revert last change and try alternate
Assumes that the player names cannot have a ':' or a ' ' in them
2009-02-20 17:22:58 +09:00
Worros 65821dbd2b Remove debug line that slipped thorugh in last commit 2009-02-20 16:42:57 +09:00