Commit Graph
100 Commits
Author SHA1 Message Date
Worros bba6d48c7d StarsSummary: Fix for EUR currencies 2011-01-18 11:12:39 +08:00
Worros c212b4e7bc Merge branch 'master' of git://git.assembla.com/fpdb-eric 2011-01-17 15:10:10 +08:00
Worros f647395b21 Regresion: FTP: Fix totalProfit value 2011-01-17 14:28:45 +08:00
Worros a341570612 Regression: Fix .hands file for FTP 2011-01-17 14:28:08 +08:00
Worros 0f48461c64 Regression: FTP: Fix winnings for Player5 2011-01-17 14:16:22 +08:00
Worros 66247216a5 FTP: Introduce Lim_Blinds lookup table for Big Bets 2011-01-17 14:11:43 +08:00
Worros 5ec9c41efb Hand: Refactor addBlind function
addBlind was separate for draw and flop games.

There should only be 2 lines difference between the functions, so merged them with appropriate changes.
2011-01-14 14:36:23 +08:00
Worros acdd1aa507 FTP: Refine re_CollectPot
FTP Draw games do not necessarily have the ending ', mucked' or ' with blah' in the summary
2011-01-14 14:14:14 +08:00
Worros 97c4ce4d03 Revert "Grapher: Add 0th entry into winnings so graph starts at 0"
This reverts commit f4805746ae.
2011-01-13 18:50:20 +08:00
Worros d8fc0ce4ed THP: Add ability to test Gametypes
Will now look for .gt files and compare.

Useful to test against limit blinds
2011-01-13 14:32:13 +08:00
Worros 2188bb7865 Hand.py: Add gametyperow variable
To be used for regression testing by THP
2011-01-13 14:28:51 +08:00
Worros 8dfc885a97 Regression: Correct .gt file.
sb, bb, SB, BB all incorrect for FTP limit game
2011-01-13 14:26:55 +08:00
Worros ef4bc60ef0 Regression: Verify number of seats in .hands
Discovered test file with 8 players 'seated' but only 7 acting.
2011-01-13 13:50:19 +08:00
Worros c2052fcd16 Remove test_Betfair.py.
File was barely used, and surpassed in functionality by THP
2011-01-13 12:21:45 +08:00
Worros 0c60cae5cf Regression: Add test data for FTP Triple draw file.
Hero.sitting.out.but.not.listed

Manually changed the .gt file (currently not test anyways)
2011-01-13 12:08:30 +08:00
Worros 96ceed9eed Regression: Add 2 Tripledraw hands with differing 'sit outs'
One hand shows the player listed as sitting out in the initial player stacks, the second shows the player as sitting in, but not acting. The summary section states the player was sitting out.
2011-01-13 11:41:54 +08:00
Worros bd5d848934 FTP: Refine how players are counted as playing.
Players can be noted as sitting out, but act within the hand.

The summary info contains more accurate information, so use that to cull the list.
2011-01-12 17:41:03 +08:00
Worros be83ab0713 Stars: Add 20/40 limit to table 2011-01-12 15:09:27 +08:00
Worros 70c4c5fada FTP: Add exception handler to readButton
Fix crasher in FTP (see 927184a3f2)
2011-01-12 11:47:42 +08:00
Worros 927184a3f2 Regression: Add FTP crasher.
FTP hand that contains all the prelim information, but is actually a cancelled hand.

Crashes in readButton
2011-01-12 11:45:38 +08:00
Worros 0f40afe7a7 Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2011-01-11 11:44:35 +08:00
Worros 503c00e1b0 Remove unused minPrint option 2011-01-07 16:08:31 +08:00
Worros f12bc7bfaa Add printdata capability for Gametype info. 2011-01-07 13:58:15 +08:00
Worros b1703a95ec Regression: Stars wonWhenSeenStreetX test file fixes.
Adds 3 THP failures - Total 76
2011-01-05 15:55:17 +08:00
Worros a9a1be2e09 Regression: Stars streetXseen and wonWhenSeenStreetX test data
Verified the file and fixed the values. Adds 9 THP failures.

Total 73
2011-01-05 15:42:34 +08:00
Worros a5de1d6c61 Regression: Stars Cap streetXseen and wonWhenSeenStreetX values
Adds 9 new failures to THP - Total 64
2011-01-05 15:21:03 +08:00
Worros b0faf02d28 Regression: Add FTP Rush rebuy MTT summary file 2011-01-05 14:52:35 +08:00
Worros 9330088e6a Regression: Add failing 'Daily Euro' Summary file 2011-01-05 14:33:44 +08:00
Worros 7f9f4c80cb Regression: Add FTP 'Daily Dollary' summary file 2011-01-05 14:27:44 +08:00
Worros c2e553751e FTPSummary: Fix 'Daily Dollar' summary file
Also comment out some noisy debug
2011-01-05 14:26:49 +08:00
Worros 1dffbbc81a Win2day: Fix addBlind string for SBBB 2011-01-05 11:29:46 +08:00
Worros 0075d00020 Regression: Everleaf streetXseen and wonWhenSeenStreetX fixes
Verify and correct 3way aipf hand

Adds 12 new errors for Everleaf - Total 55
2011-01-04 14:48:18 +08:00
Worros 0ec976bc78 Regression: OnGame streetXseen and wonWhenSeenStreetX fixes
Verify and correct OnGame all-in pre/flop hand with Hero win.

Adds 9 new errors to THP - Total 43
2011-01-04 13:53:18 +08:00
Worros de01acade9 Regression: Carbon streetXseen .hp values
Verify that both Player3 and Player8 saw the river (all-in on turn)

Increases THP count by 2 - Total 34
2011-01-04 13:17:57 +08:00
Worros 071a3715de Regression: Winamax PLO
Verify and correct Winamax all-in pre PLO hand with sidepots.

Adjusts street2/3seen and wonWhenSeenStreet2/3 in the .hp file.

This increases the number of errors in THP from 22 to 32
2011-01-04 12:57:08 +08:00
Worros 65825a33b9 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-12-30 15:52:06 +08:00
Worros 88459c4343 Merge branch 'master' of git://git.assembla.com/fpdb 2010-12-30 15:51:50 +08:00
Worros 4285237a48 Merge branch 'master' of git://git.assembla.com/fpdb 2010-12-27 19:36:59 +08:00
Worros 0e33f0f29b FTPSummary: Expand regex to deal with rebuy info
New fields:
ADDON - cost of addon
REBUYAMT - cost of rebuy
PNAME - Hero name
PREBUYS - No of Hero rebuys
ADDONCHIPS - How many chips the addon purchased
REBUYCHIPS - How many chips a rebuy purchased
ADDONS - Total # of tourney addons
REBUYS - Total # of tourney rebuys
2010-12-27 19:24:54 +08:00
Worros 3fdab4a8c3 FTPSummary: Minor regex change for failing summary file 2010-12-27 18:28:00 +08:00
Worros bf18295eb7 HHC: Add timezone reference for CCT
Made it the same as Perth for the moment.
2010-12-27 17:51:15 +08:00
Worros 54264bb263 Replayer: Refactor player code into its own class 2010-12-23 15:26:28 +08:00
Worros 18ccea9a67 fpdb_import: Correct mainline print 2010-12-23 14:18:27 +08:00
Worros fc836ea902 Replayer: Move table hash creation into a class
Add several other classes too
2010-12-23 12:40:22 +08:00
Worros a049ef35be Merge branch 'master' of git://repo.or.cz/fpbd-bostik 2010-12-23 10:53:20 +08:00
Worros cb037e7132 Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-12-23 10:49:32 +08:00
Worros da31ed2e5b Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-12-22 13:29:06 +08:00
Worros 6487691b69 Hand: Add pot calculations to select() 2010-12-22 13:26:41 +08:00
Worros 2382152cb8 Hand: select() update - Fix holecards for holdem 2010-12-22 13:20:43 +08:00
Worros d94f7a68a2 Hand: Fix for stack print in writeHand 2010-12-22 13:08:41 +08:00
Worros 9cff165c3c Hand: select() updates
Fix SQL for seat order

Fix startTime formating

Add lots of commented out debug
2010-12-22 13:04:20 +08:00
Worros f31d0cbfc8 Replayer: Switch over to Hand.select() 2010-12-22 13:03:45 +08:00
Worros 10fc52e96f Hand: First pass at select() for Hand 2010-12-22 12:13:58 +08:00
Worros 797c126318 Database: Disable alchemy pools
Want to use DBAPIs connection.row_factory so we can select() directly into a dict
2010-12-22 11:26:58 +08:00
Worros 8339ad1da6 Winamax: Reduce size of tourney hids
The max size of a MySQL unsigned bigint is 9223372036854775808

Winamax hand.handid was a lot larger than that.

Reduce the size if the nummber is 19 digits long.
2010-12-20 15:57:15 +08:00
Worros b39637866c Database: Fix MySQL crasher
Tablename with an odd .fr character caused the insert in Hands to fail

Resolves: http://sourceforge.net/apps/mantisbt/fpdb/view.php?id=60
2010-12-20 15:21:43 +08:00
Worros e705188dd2 HUD_Config.text.xml: Add MySQL option 2010-12-20 14:32:32 +08:00
Worros c979c172d8 FTP: Make FTP use clearMoneyString()
FTP Summary files have a slightly different format than those written my the client.

Also convert all tourney string munging to clearMoneyString
2010-12-20 14:25:58 +08:00
Worros 0b02b05f67 HHC, Party: Move clearMoneyString into HHC
Make clearMoneyString available to all parsers and fix all calls within Party
2010-12-20 14:00:09 +08:00
Worros d6dc0c535a Merge branch 'master' of git://git.assembla.com/fpdb-eric 2010-12-20 13:20:29 +08:00
Worros 238631aec7 Merge branch 'master' of git://git.assembla.com/fpdb 2010-12-20 13:20:01 +08:00
Worros d858d10087 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-12-20 13:19:47 +08:00
Worros d97be04066 FTP: Change the way the number format is dealt with
Rather than define [.,0-9] multiple times thoughout the regexes, add it to the substitutions section.

Passes existing regression suite.
2010-12-20 13:18:05 +08:00
Worros 02b3928581 Fix .hands file: s/<UTC>/pytz.utc/ 2010-12-20 12:40:45 +08:00
Worros 69a67f5c83 FTP: Make apostrophe a valid tablename character 2010-12-20 12:29:20 +08:00
Worros 31b068c3dc Regression: FTP Table with "'" in Table name 2010-12-20 12:09:40 +08:00
Worros d4df513ce0 OnGame: Finish rest of OnGame EUR parsing 2010-12-19 16:30:11 +08:00
Worros 62e9e61fac OnGame: Fix crasher in OnGame EUR parsing 2010-12-19 15:38:26 +08:00
Worros ba2b0e59d9 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-12-18 12:33:09 +08:00
Worros 70c3480105 Hand: Start select() method
Can currently add the players in the hand. Still a long way to go, but a good start
2010-12-17 19:03:50 +08:00
Worros 20c5ecee82 Replayer: Add start of relacement importhand function 2010-12-17 19:02:01 +08:00
Worros 06978fb77b SQL: Add get_gameinfo_from_hid 2010-12-17 18:59:01 +08:00
Worros caab83e6b6 Replayer: Add command line parsing for filename and site 2010-12-17 16:50:32 +08:00
Worros fd28ad3987 Replayer: Add option to run from cli 2010-12-17 15:56:15 +08:00
Worros 2579f658e9 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-12-17 11:45:38 +08:00
Worros e0987e67a6 Stars: Add new blind levels to lookup 2010-12-17 11:24:07 +08:00
Worros c333bb7689 SessionViewer: A few updates
- Added a 0th hand to the start of the winnings array
- Miscalculating number of hands again

High/Low watermark values appear to be much more accurate, as do max/min values for the session.
2010-12-15 16:51:59 +08:00
Worros f4805746ae Grapher: Add 0th entry into winnings so graph starts at 0 2010-12-15 15:05:41 +08:00
Worros ec62b1911d SessionViewer: Fix total profit for single session
Bound to be lots more bugs, but the total profit for a single session is now being calculated correctly.
2010-12-15 14:27:50 +08:00
Worros acf5e4a677 THP: Make THP use new Options.site_aliases function 2010-12-15 12:50:23 +08:00
Worros e5b514cb55 Options: Modify site_alias so it returns False on failure 2010-12-15 12:49:52 +08:00
Worros 46dd6524ec Options: Add site_alias function
Function returns the FPDB name for a given site. Should make command line options a bit simpler
2010-12-15 12:44:12 +08:00
Worros 7269926d7b Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-12-14 12:58:29 +08:00
Worros 7165ea8d29 Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-12-14 12:56:29 +08:00
Worros aeaf64e469 Merge branch 'master' of git://git.assembla.com/free_poker_tools
Conflicts:
	pyfpdb/TableWindow.py
2010-12-11 09:16:37 +08:00
Worros e113f56ac1 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2010-12-11 01:56:53 +08:00
Worros df7bfedd89 Regression: add PLO .hands file
Appears I forgot to add this previously
2010-12-11 01:45:23 +08:00
Worros caa2104fa9 Fix for FTP Razz crasher
When a player is listed as playing the hand and sits out between the listing and ante-up join_holecards returned only 2 cards causing Card.encodeRazzStartHand() to crash.

Make sure that join_holecards must return at least 3 cards for stud, and add an entry for this case in the lookup table
2010-12-11 01:26:56 +08:00
Worros 5a5ab451d1 Regression: Fix datetime format for eval() call 2010-12-11 01:19:49 +08:00
Worros c47fc8b8c0 Regression: FTP Razz crasher
Player6 is listed as playing the hand and sits out between the listing and ante-up

Crashes in encodeRazzStartHand
2010-12-11 01:17:15 +08:00
Worros ee0ed080ed DerivedStats: Remove erroneous comment 2010-12-11 00:34:27 +08:00
Worros 3cd7eb881b FTP: Change date format handling
The new FTP date format contains local and ET time information, in almost the same way as Stars.

Tested against a new file, an old file, a EUR file and the weird date format that existed for about 3 days
2010-12-11 00:01:00 +08:00
Worros d922984b91 THP: Add support for Hands table
Will search for <filename>.hands in the same manner as it does for .hp files
2010-12-10 23:59:27 +08:00
Worros 702bbb4c71 Regression: Change validated date - July is the 7th month, not 6th 2010-12-10 23:57:28 +08:00
Worros e26e219327 Regression: Change validated ET time as date during DLS 2010-12-10 23:56:04 +08:00
Worros 2d5580b7e6 Regression: Change validated CET time, as date is during DLS 2010-12-10 23:53:51 +08:00
Worros f9ee1510b1 Regression: FTP Razz file, with .hp and .hands
We didn't have an FTP Razz file in the Regression test suite.

This is the new date format from FTP, like Stars contains both local and ET time
2010-12-10 22:59:26 +08:00
Worros b966be8ec3 Regression: .hands file for FTP EUR file
By default EUR sites (.fr?) use CET in the HH file
2010-12-10 22:46:49 +08:00
Worros 7dd8b9de16 Rename gameTypeId to gametypeId
Go through and change all references to gameTypeId to gametypeId to make it consistent.

The database field is named with the lowercase version, and MySQL is case sensitive.

This may have been causing minor issues in multiple areas when attempting to join on gametype.
2010-12-10 22:31:12 +08:00
Worros b543d08d80 Regression: .hands file for FTP with with funky date 2010-12-10 22:27:44 +08:00