Commit Graph
100 Commits
Author SHA1 Message Date
Ray dd1b442122 Rationalized holecards for stud and draw games.
Cards are now lists of cards rather than sets. Removed some
game-specific methods and replaced with general methods.
Let the superclass handle some stuff.
2009-07-13 00:37:51 -04:00
Ray 3234f89aad Rationalized hole card format for flop games.
Also updated writehand() so flop hands are written OK.
This breaks stud and draw--fixing them now.
2009-07-12 16:01:02 -04:00
Ray e294314e25 Fix: hand.maxseats has to be and int. 2009-07-12 13:14:50 -04:00
Ray d8820ae1f7 Allow parsing of tournaments, draw and play money.
Sorry about the massive commit. There are still numerous bugs
parsing non-holdem hands and writehand() is broken for all
but holdem cash games.
2009-07-11 13:44:32 -04:00
Ray 4e952de825 Remove intermediate print. 2009-07-07 14:15:36 -04:00
Ray 56bd7b37ba Parse Stars tournaments for flop and stud games.
Tournaments are not correctly written in writehand(). Nor are
stud games.
2009-07-07 13:48:43 -04:00
Ray 21d2276679 Get rid of intermediate hand obj print. 2009-07-06 12:01:39 -04:00
Ray 4ae8b123ce Fix game type for non-Mixed games. 2009-07-06 12:00:16 -04:00
Ray 799aa41c1e Correct handling of open/closed stud hole cards. 2009-07-05 23:44:53 -04:00
Ray 8f2350f861 Set dealt flag when reading holdem hero cards. 2009-07-05 11:47:18 -04:00
Ray c4cc6bd1aa Make WriteHand for holdem report mucked cards. 2009-07-04 15:28:20 -04:00
Ray a35b1a8b3c Make WriteHand for stud report mucked hand. 2009-07-04 15:19:46 -04:00
Ray f323447313 Get shown and mucked cards for stud games. 2009-07-04 14:35:20 -04:00
Ray 23a4ca34c8 Fix bug preventing some shown cards from being read. 2009-07-03 20:41:08 -04:00
Ray 0636a290f7 Get mixed game info and put it in gameType structure. 2009-07-03 19:28:32 -04:00
Ray 9d7c370449 Get mucked cards from Stars flop games. __str__ method for Hand. 2009-07-03 18:59:50 -04:00
Ray 3c2c328f5a Fix for PokerStars NewVPP tables. 2009-07-03 13:23:30 -04:00
Ray 7d97365fbf Merge branch 'master' of git://git.assembla.com/fpdb-sql 2009-07-02 10:11:23 -04:00
Ray 97520bfee9 Fix call to StoreHands for stud games. 2009-07-01 13:55:12 -04:00
Ray 4394c7beb3 Fix to convert stud hands. 2009-07-01 13:53:30 -04:00
Ray 2cfe7f2ccc Fix bug--get correct player id in Flop_Mucked tool tip. 2009-07-01 08:29:37 -04:00
Ray a3f233ca07 Comment out a DEBUG print. 2009-06-30 14:21:06 -04:00
Ray 3e90f42e89 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2009-06-30 11:51:20 -04:00
Ray 71d673f64f Added Hello_Seats to Hello.py. Demo of Aux_Seats class. 2009-06-30 11:45:14 -04:00
Ray a8b8ff2f4d More on Aux_Seats class. This seems to work OK. 2009-06-30 11:43:47 -04:00
Ray 7f7ad2a13e Further on Aux_Seats interface. Works. Not ready for prime time. 2009-06-25 10:07:40 -04:00
Ray 2f8918ebc9 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2009-06-23 10:25:12 -04:00
Ray 24b7af5703 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2009-06-23 10:23:05 -04:00
Ray 0bf39dbcf6 Merge branch 'master' of git://git.assembla.com/fpdboz
Conflicts:
	pyfpdb/fpdb_import.py
2009-06-23 10:04:23 -04:00
Ray 8cdac24517 Subclass Aux_Seats from Aux_Windows. Flop_mucked now a Aux_Seats. 2009-06-23 09:56:29 -04:00
Ray 287394c97d Use xpad and ypad from game element. 2009-06-20 10:01:52 -04:00
Ray 462ff87596 Add xpad and ypad to site and game elements. Cleanup some defaults. 2009-06-20 09:43:05 -04:00
Ray c9572129a6 Fix passing settings in import chain. 2009-06-19 16:48:42 -04:00
Ray a998a6dc6e Merge branch 'master' of git://git.assembla.com/fpdboz 2009-06-19 16:10:44 -04:00
Ray a307081574 More for Flop_Mucked with 0-52 encoding. 2009-06-19 15:51:56 -04:00
Ray e00887b865 Make Flop_Mucked work with the 0-52 card encoding. 2009-06-19 15:47:26 -04:00
Ray 053bfb9cee Remove intermediate print from previous commit. 2009-06-19 09:43:49 -04:00
Ray afddc130a5 Fix minor error in writing seen hole cards. 2009-06-19 09:39:17 -04:00
Ray 0f5d5a16f8 Merge branch 'master' of git://git.assembla.com/mctfpdb 2009-06-19 09:11:21 -04:00
Ray a6a98a750f Clean up changes to use 0-52 card encoding. 2009-06-18 14:11:53 -04:00
Ray 42f2b73c1a Get rid of some intermediate print. 2009-06-17 14:26:16 -04:00
Ray 63efc13cc9 Make Stud_Mucked work with the new card encoding scheme. 2009-06-17 14:24:16 -04:00
Ray 4a6c257b0f get_cards query now works directly with the 0-52 card encoding scheme. 2009-06-16 23:00:46 -04:00
Ray bb633fd435 Correctly pass cl options to HUD_main in Windows. 2009-06-16 20:04:06 -04:00
Ray c4659ce5ef Untangle settings and backend changes. 2009-06-16 09:55:23 -04:00
Ray b1ea38bea9 Add -c config cl option. Fpdb passes cl options to HUD. 2009-06-14 23:14:53 -04:00
Ray a5ac2dcf75 Merge branch 'master' of git://git.assembla.com/fpdb-sql 2009-06-13 09:25:04 -04:00
Ray 49a04af0c5 Add stud8 to PokerStars HH conversion. 2009-06-12 12:29:17 -04:00
Ray 9b5f8c53bc Changes to allow importing of razz hands. Tables not fully populated. 2009-06-09 19:06:20 -04:00
Ray eea4656f47 Should now run on windows--but not work correctly. 2009-06-09 16:38:26 -04:00
Ray dd80468f5f Fix a whitespace problem. 2009-06-09 14:18:56 -04:00
Ray f3103cc82a Merge branch 'master' of git://git.assembla.com/fpdboz
Conflicts:
	pyfpdb/Database.py
	pyfpdb/fpdb_db.py
	pyfpdb/fpdb_save_to_db.py
2009-06-09 14:01:15 -04:00
Ray 06a62927fc Merge branch 'master' of git://git.assembla.com/fpdboz 2009-06-08 10:17:11 -04:00
Ray 4ef4260342 Merge branch 'master' of git://git.assembla.com/fpdboz
Conflicts:
	pyfpdb/Database.py
	pyfpdb/SQL.py
	pyfpdb/fpdb_db.py
	pyfpdb/fpdb_save_to_db.py
2009-06-08 10:16:34 -04:00
Ray 7ef6a533ec Removed obsolete perl6 files. 2009-06-06 14:56:30 -04:00
Ray 75f17be9de Added usage information. 2009-06-06 13:39:39 -04:00
Ray 040cc92fd5 More cleanup when making release files. 2009-06-06 11:21:41 -04:00
Ray 35c5438c3c Fast hudcache fix not previously comitted. 2009-06-06 11:20:11 -04:00
Ray 109727e764 Postgres changes for unicode. 2009-06-06 11:17:49 -04:00
Ray 0008a9ede3 Mode change to Stats.py. 2009-06-06 11:06:49 -04:00
Ray 795d26ddf1 Fix prev commit of this file. 2009-06-06 10:50:28 -04:00
Ray 7f7a298bcb merging, I think 2009-06-04 16:52:07 -04:00
Ray 5013a07fc0 Minor change for postgres connection--not tested w/remote db. 2009-06-02 10:59:54 -04:00
Ray 9826138744 Correctly hand remote and local postgres dbs. Use get_db_parmeters(). 2009-06-01 18:27:56 -04:00
Ray 441b300cff Add db-type to get_db_parameters(). doh! 2009-06-01 18:26:20 -04:00
Ray 069aa025e4 Fixes for importing and HUD with the postgres db. 2009-05-31 21:25:36 -04:00
Ray f55460341d New table handling stuff and demo.
Not working for windows and not currently used by HUD_main.
2009-05-21 11:13:39 -04:00
Ray 6866f409ce Fix regression importing some Stars tournaments. 2009-04-09 09:21:52 -04:00
Ray fdabe29ea2 Fix stats aggregation and simplify HUD_main.py. 2009-04-08 16:43:40 -04:00
Ray 460102c3f5 Version 0.11 2009-04-07 10:44:06 -04:00
Ray a2862c9712 Minor change to allow proper detection of FTP tables. 2009-04-06 23:45:56 -04:00
Ray a1b2874878 Fix regression in naming HUDs that caused inconsistent killing. 2009-04-06 23:42:36 -04:00
Ray 87efd2cc8d Minor edits in HUD_config.xml.example. 2009-04-06 23:40:06 -04:00
Ray cd2b2aaf42 Comment out some intermediate print. 2009-04-06 11:03:51 -04:00
Ray 683190a261 Updated example config to work with recent code changes. 2009-04-06 10:34:14 -04:00
Ray 9b9d2f0570 Changed "Full Tilt" to Full Tilt Poker" 2009-04-05 14:40:22 -04:00
Ray 1b1185da17 Integrate 4bet fix from Steffen. Doesn't break-not tested on 4bets. 2009-04-05 13:46:41 -04:00
Ray ac93a2cb77 Change to allow import of HHs exported from PT Stud. 2009-04-03 12:51:58 -04:00
Ray 7ed4df463d Updated as discussed on mailing list. 2009-03-31 11:00:06 -04:00
Ray c9194a9827 Removed old files as discussed on mailing list. 2009-03-31 10:57:39 -04:00
Ray 84b6aa230b intermediate print 2009-03-30 15:53:10 -04:00
Ray f5d7764571 Remove another comprehension not working as expected in kill() 2009-03-30 11:59:07 -04:00
Ray 5505ebdec2 Remove comprehension and replace with loop in reposition_windows(). 2009-03-30 11:49:20 -04:00
Ray fb4e818ed2 get_sites now returns only enabled sites--enabled is the default in Config. 2009-03-29 23:40:03 -04:00
Ray a109687ac4 Fixed some 'True' v True problems. 2009-03-29 10:08:33 -04:00
Ray e78da7937c Merge branch 'master' of git://git.assembla.com/fpdb-eric 2009-03-28 15:27:09 -04:00
Ray fca0de81d7 Merge branch 'master' of git://git.assembla.com/fpdboz
Conflicts:
	pyfpdb/GuiBulkImport.py
	pyfpdb/fpdb_simple.py
2009-03-28 13:04:48 -04:00
Ray 1d45137502 Change fastStoreHudCache = False as default Import parameter. 2009-03-27 13:26:01 -04:00
Ray c8d80eef19 Revert Eric's change that failed on special chars in player name.
Should be able to get the new player id from connction.insert_id().
2009-03-27 13:21:33 -04:00
Ray 503262d398 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2009-03-27 11:34:47 -04:00
Ray d6fe2cac81 Merge branch 'master' of git://git.assembla.com/fpdboz 2009-03-27 11:34:11 -04:00
Ray 1846abb603 Updated readme. Deleted more obsolete files in docs. 2009-03-26 16:17:38 -04:00
Ray 61c0e03098 Remove outdated files in docs/. See wiki instead. 2009-03-26 15:31:03 -04:00
Ray c5e05f812a Merge branch 'master' of git://git.assembla.com/fpdb-eric
Conflicts:
	pyfpdb/Hud.py
2009-03-25 19:59:59 -04:00
Ray ceba4be73f More fixing of previous commit. 2009-03-25 17:48:43 -04:00
Ray 29bd0c2a7a Back out mucked window dragging changes. 2009-03-25 17:22:28 -04:00
Ray 01bc1cebf1 Fix numerous typos/bugs in previous commit. 2009-03-25 16:46:06 -04:00
Ray 9146758c5e Make flop_mucked windows follow the table on Windows. 2009-03-25 15:42:16 -04:00
Ray a404f0f3ee Merge branch 'master' of git://git.assembla.com/fpdb-eric 2009-03-24 17:54:23 -04:00
Ray 60ffb0896e Make isWinLine find low pots. 2009-03-24 11:23:33 -04:00