Commit Graph

4243 Commits

Author SHA1 Message Date
Steffen Schaumburg
b1f524ce44 note that hand replayer isnt working yet in the GUI 2010-12-28 16:11:46 +01:00
Erki Ferenc
dc669c421d l10n: updated Hungarian translation 2010-12-28 16:11:09 +01:00
Steffen Schaumburg
b3b17feb71 fix guistove warning string 2010-12-28 16:00:16 +01:00
Steffen Schaumburg
b861b7e8e9 update l10n 2010-12-28 15:34:08 +01:00
gimick
95b496e9f4 GUI: another w$sd description change 2010-12-28 13:35:24 +00:00
gimick
0acaa8cb6d GUI: RingPlayerStats correct the description of w$sd 2010-12-28 03:20:49 +00:00
Steffen Schaumburg
eb55e261ef Merge branch 'carl' 2010-12-27 20:08:06 +01:00
Steffen Schaumburg
1a7df330fe add some testfiles 2010-12-27 20:07:52 +01: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
gimick
3437f99db7 HUD: First hand in database missing from HUD stats 2010-12-26 21:42:16 +00:00
Steffen Schaumburg
dc28c31e02 Revert "Database: Disable alchemy pools" as that breaks the HUD (on PS at least)
This reverts commit 797c126318.
2010-12-26 19:16:38 +01:00
Steffen Schaumburg
eaaa6feb78 make it repopulate config.sites after recreate 2010-12-26 17:55:41 +01:00
Steffen Schaumburg
93383d1006 Merge branch 'ferki' 2010-12-26 13:51:43 +01:00
Steffen Schaumburg
563efc0335 better fix for prevention of the crasher 2010-12-25 20:54:25 +01:00
Steffen Schaumburg
683d89389b Revert "prevent crasher when connecting to empty mysql (presumably this bug also applied to postgres)"
This reverts commit 2813bb7fe6.
2010-12-25 20:51:44 +01:00
Steffen Schaumburg
2813bb7fe6 prevent crasher when connecting to empty mysql (presumably this bug also applied to postgres) 2010-12-25 20:38:18 +01: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
cb037e7132 Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-12-23 10:49:32 +08:00
gimick
e3f0e971e6 GuiRingPlayerStats: Fix > 100% CB stat, and clarify helptext for CB 2010-12-22 15:07:58 +00: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
chaz@pokeit.co
6d3e21756d * Commented out BB won in sessionsCache for the time being. Will add it back in once I resolve the errors. 2010-12-20 07:02:00 -05: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
Erki Ferenc
bfe3325c9a Merge branch 'master' of git://git.assembla.com/fpdb 2010-12-19 22:15:01 +01:00
Steffen Schaumburg
e588a4606c Merge branch 'carl' 2010-12-19 20:13:29 +01:00
Worros
d4df513ce0 OnGame: Finish rest of OnGame EUR parsing 2010-12-19 16:30:11 +08:00
Steffen Schaumburg
7b10353682 Ongame: manually revert the regex change I made 2010-12-19 08:59:10 +01:00
Steffen Schaumburg
60b9b26651 Merge branch 'carl' 2010-12-19 08:53:03 +01:00
Worros
62e9e61fac OnGame: Fix crasher in OnGame EUR parsing 2010-12-19 15:38:26 +08:00
Steffen Schaumburg
573a2fad88 make ongame work with EUR 2010-12-19 04:29:00 +01:00
Steffen Schaumburg
2eb51d0607 change line ending on IdentifySite to unix and make it executable 2010-12-19 04:10:08 +01:00
Steffen Schaumburg
b3baea5a08 Merge branch 'nuto' 2010-12-18 21:39:02 +01:00
Steffen Schaumburg
73c9f1fc97 Merge branch 'master' of git://git.assembla.com/free_poker_tools into nuto 2010-12-18 21:35:13 +01:00
Steffen Schaumburg
b1d0943c91 Merge branch 'nuto' 2010-12-18 21:28:38 +01:00
Steffen Schaumburg
0205be410c Merge branch 'carl' 2010-12-18 21:28:10 +01:00
Steffen Schaumburg
86150294ec some gettextifications 2010-12-18 21:28:01 +01:00
Eric Blade
dd95c8626f license change 2010-12-18 14:58:43 -05:00
Steffen Schaumburg
51ff6d0bb0 another trivial cosmetic change to guireplayer 2010-12-18 20:33:22 +01:00
Steffen Schaumburg
185aa5af3e tiny cosmetic change to prints 2010-12-18 20:32:24 +01:00
Eratosthenes
c960a426ae Merge /home/reb402/workspace/free_poker_tools 2010-12-18 10:44:04 -05:00
Eratosthenes
d8cf53a2bd Don't fail on windows that don't have names. 2010-12-18 10:43:56 -05:00
Eratosthenes
530e479966 Merge /home/reb402/workspace/free_poker_tools 2010-12-18 10:04:50 -05:00
Eratosthenes
3b6867df29 Another try at sussing the Quartz bindings. 2010-12-18 10:04:34 -05:00
Worros
ba2b0e59d9 Merge branch 'master' of git://git.assembla.com/free_poker_tools 2010-12-18 12:33:09 +08:00
Eratosthenes
2027c9b89f Maked executable. 2010-12-17 22:44:40 -05:00
Eratosthenes
9c8858fe0f Merge /home/reb402/workspace/free_poker_tools 2010-12-17 22:43:53 -05:00
Eratosthenes
16da7ceda7 Update to work with OSXTables changes. 2010-12-17 22:43:41 -05:00
Eratosthenes
efc2db9fca Make HUD_main.pyw executable. 2010-12-17 22:35:03 -05:00
Eratosthenes
9c73c0b791 New module for poker client window finding on OSX. 2010-12-17 22:33:55 -05:00
Eratosthenes
6696cab13c Use sys.platform to detect OS instead of os.system. 2010-12-17 22:16:19 -05:00
Eratosthenes
15eb78c0c8 Fix bug with translated text. 2010-12-17 22:14:56 -05:00
Steffen Schaumburg
3157cf3c15 correct comment 2010-12-17 19:18:52 +01:00
Steffen Schaumburg
43911a49e8 split warning into several strings for easier translation 2010-12-17 19:16:11 +01:00
Steffen Schaumburg
147a40bff9 gettextify warning 2010-12-17 19:13:33 +01:00
Steffen Schaumburg
9413e74e0c add +git to version string again 2010-12-17 19:09:28 +01: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
Eratosthenes
1e28fd326d Merge /home/reb402/workspace/free_poker_tools 2010-12-15 13:02:29 -05:00
Eratosthenes
5e2d64744b See if I can quash HUD freeze bug. No resize, autofold. 2010-12-15 12:59:07 -05: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
Eratosthenes
f58af28779 Make executables executable. 2010-12-13 13:48:24 -05:00
Eratosthenes
6d8f1ca4f9 New window from id routine. 2010-12-13 13:45:04 -05:00
gimick
c6fbca1e37 pokereval: remove windows pypokereval files - these files now installed in site-packages 2010-12-12 19:48:10 +00:00
Eratosthenes
669fb58471 Make windows more nearly happy - adapt change from Eric. 2010-12-11 10:42:04 -05: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
Eratosthenes
f023527595 Make HUD_main executable (again). 2010-12-10 19:35:43 -05:00
Eratosthenes
f0a5864bf4 Fix autoclose on tourney table change. 2010-12-10 13:41:04 -05: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
Worros
02204edc48 Give storeHands the ability to output test data
Will allow for regression testing of hand start time
2010-12-10 21:35:49 +08:00
Worros
8fa38a26cc GuiStove: Temporary commit - add 'changed' hooks
They dont actually do anything yet.
2010-12-10 20:02:24 +08:00
Worros
267bf93fa5 Database: Comment out unused 'printdata'
Writing documentation for THP at the moment, and HandsActions data doesn't curently having any tests.

Comment out to simplify documentation for the moment.
2010-12-10 18:59:52 +08:00
Worros
9a956e41b6 THP: Allow a single site to be specified on the cli
The normal mode for running THP is to run though all the tests for all sites:

./TestHandsPlayers.py

This is a bit noisy and slow when trying to fix issues in a single parser.

Added '-s' so that you can run the regression tests against a single site

eg.
./TestHandsPlayers.py -s "Full Tilt Poker"
./TestHandsPlayers.py -s PokerStars
./TestHandsPlayers.py -s Winamax
2010-12-10 18:21:21 +08:00
Worros
3db9cfa6a7 Options: Add -s --sitename option 2010-12-10 18:20:52 +08:00
Worros
bc59e12768 Everleaf: Make re_GameInfo error handling consistant with other sites.
When re_GameInfo fails to match now, the first 100 characters of the hand will be printed to the log. Makes it much easier to identify the offending hands.

Error now also throws an FpdbParseError for the importing process to catch
2010-12-10 17:53:59 +08:00
Worros
7721468c92 Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz 2010-12-10 02:33:14 +08:00
chaz@pokeit.co
95d14911f3 Fixed a variety of bugs in storeSessionsCache() and the corresponding SQL statements 2010-12-08 16:32:26 -05:00
Eratosthenes
a4dff38c9f Ensure table.key is always temp_key calculated in HUD_main. 2010-12-07 10:24:06 -05:00
Eratosthenes
3fbaa0b0fb Don't try to close HUD mw twice. 2010-12-07 10:20:20 -05:00
Eric Blade
aef3186cfb remove commented log that ray removed 2010-12-06 18:04:54 -05:00
Worros
cfab629779 Regression: New Stars LHE file
Adds a file with a hand where the big blind is also the button
2010-12-06 14:16:59 +08:00
Worros
9235d12d59 Stars: Fix issue where player collected pot
As both big blind and the button - something i wasn't sure was possible
2010-12-06 13:45:58 +08:00
Worros
51011380ba Stove: Start gettextification 2010-12-06 12:51:53 +08:00
Worros
96b55a5bff Stars: Fix regression.
New test file regression-test-files/cash/Stars/Flop/LHE-10max-USD-1.00-2.00-No_max_seats.txt crashed Stars.

Put guard to make sure MAX has a value
2010-12-06 12:48:25 +08:00
Worros
352c40baab Merge branch 'chaz' of git://github.com/ChazDazzle/fpdb-chaz
Conflicts:
	pyfpdb/regression-test-files/cash/Stars/Flop/LHE-10max-USD-1.00-2.00-No_max_seats.txt
2010-12-06 11:51:16 +08:00
Worros
5fb23b3938 Move getSqlPlayerIDs next to the other version of the function 2010-12-06 11:49:28 +08:00
Worros
704bf06e19 Merge branch 'master' of git://git.assembla.com/fpdb-gimick 2010-12-06 11:45:26 +08:00
Worros
bc5cf4c92a Remove tracked .gitignore fix HUD_main permissions 2010-12-06 11:43:09 +08:00
Worros
b465a592de Move regression test file from old folder 2010-12-06 11:41:59 +08:00
chaz@pokeit.co
b37ebb9f4f Made the same 'Hero' changes for tour and summary files. Also made cacheSessions default in the test Config file 2010-12-05 18:24:45 -05:00
chaz@pokeit.co
1a1f9b504b Replaced 'YOUR SCREEN NAME HERE' with Hero in the test file 2010-12-05 17:30:56 -05:00
chaz@pokeit.co
a504fc211c Replaced all of the Hero names in the regression files with 'Hero' 2010-12-05 17:28:31 -05:00
Eric Blade
515557d45e fix merge error 2010-12-05 16:48:12 -05:00
Eric Blade
301348eb5e Merge branch 'master' of git://git.assembla.com/free_poker_tools.git
Conflicts:
	pyfpdb/HUD_main.pyw
2010-12-05 16:39:13 -05:00
Eratosthenes
78fdb37f38 Merge branch 'master' of git://git.assembla.com/fpdboz 2010-12-05 12:53:28 -05:00
Eratosthenes
b80ff5c7f8 Merge branch 'master' of git://git.assembla.com/fpdb 2010-12-05 12:53:19 -05:00
Eratosthenes
f329d85ca7 Fixed table dectection on Ubuntu/KDE. 2010-12-05 12:52:02 -05:00
gimick
46022509de pypokereval: fixes to allow py2exe to compile. Also, place win32 dependencies
in pyfpdb (pyfpdb files can be deleted when there is a site-package on win)

This commit allows fpdb+pypokereval to work on win32 machines without having
 to manually install pypokereval files
2010-12-05 16:59:32 +00:00
Eric Blade
22cf70358f Merge branch 'master' of git://git.assembla.com/fpdboz.git 2010-12-05 01:19:18 -05:00
chaz@pokeit.co
50ac251f9a DB version 147 2010-12-05 00:53:38 -05:00
chaz@pokeit.co
6ea5432c2e Added a placeholder for rebuild_sessionscache() 2010-12-04 21:04:43 -05:00
chaz@pokeit.co
dd707fb0cb Updated the comments 2010-12-04 21:02:21 -05:00
Chaz
0c46965d98 Finished up code for creating and updating SessionsCache. Table includes fields for sessionStart, sessionEnd, ring hands, tournament hands, ring totalProfit, and ring bigBets won during each session. bigBets field is a python float stored as a REAL in the database (I am open to alternative suggestions). Also, storeSessions is currently set to False. 2010-12-04 17:40:48 -05:00