Commit Graph

185 Commits

Author SHA1 Message Date
Worros
828cfc405d Merge branch 'master' of git://git.assembla.com/fpdb-eric
Conflicts:

	pyfpdb/fpdb_simple.py
2008-12-16 12:17:50 +09:00
Worros
764ef1b286 Merge branch 'master' of git://git.assembla.com/mctfpdb
Merge execution fixes from Ray with toggle button code from Matt.

Conflicts:

	pyfpdb/GuiAutoImport.py
2008-12-15 17:22:49 +09:00
eblade
691608b6ca update_table_position will kill huds that are closed, timer will not be called when under unix, currently, as this function only works in windows.
checkPositions() accepts position 9 again.
2008-12-15 02:04:35 -05:00
eblade
65e43a34e6 Merge branch 'master' of git://git.assembla.com/free_poker_tools.git
Conflicts:
	pyfpdb/fpdb_simple.py
2008-12-14 21:57:03 -05:00
Matt Turnbull
2796a95669 Merge branch 'master' of git://github.com/sqlcoder/fpdb-sql 2008-12-14 22:09:17 +00:00
Ray
5afc411cad Fix the "(deep)" error on FTP. 2008-12-14 15:10:59 -05:00
sqlcoder
a429cbb6e1 added new routines to drop and recreate indexes and foreign keys.
These could be called from any combination of standalone menu options,
as part of the database re-create option or as part of the bulk
import option
2008-12-14 02:23:40 +00:00
eblade
a6544f5d10 Merge branch 'master' of git://git.assembla.com/fpdboz.git
Conflicts:
	pyfpdb/fpdb_simple.py
2008-12-13 12:54:32 -05:00
eblade
84dfb0e967 looks like a whitespace churn, don't know why 2008-12-13 12:52:25 -05:00
Ray
71309ab337 Merge branch 'master' of git://git.assembla.com/fpdboz 2008-12-13 12:33:48 -05:00
sqlcoder
167c0de3b5 include antes in hudcache totalProfit figure 2008-12-13 02:02:07 +00:00
Ray
6c6e7fa793 Fixed mucked cards import for stud games--AGAIN. 2008-12-12 12:16:19 -05:00
sqlcoder
71a587faca mods to use insert_id() instead of repeated selects and get postgres working 2008-12-09 00:29:39 +00:00
sqlcoder
30e61901d6 use spaces not tabs and get first part of insert_id() code working again 2008-12-08 01:38:06 +00:00
sqlcoder
3ea95acb0c add db param to allow insert_id() matching fpdb_parse_logic.py 2008-12-08 00:55:03 +00:00
sqlcoder
4dc15bfd94 pulled and merged from fpdboz 2008-12-07 23:38:33 +00:00
Worros
51ce6fc191 Index mods '+0' from sqlcoder on mailing list
Have been tested and provide a significant improvement on import.

"""
Along with new indexes, I think some of the sql in fpdb_simple can be
altered to make it use existing indexes more effectively. Generally
these mods affect statements where the db has a choice of 2 indexes to
use and I think it is choosing badly, e.g. it is using tourneyTypeId
which could match the whole table when it could use the new
siteTourneyNo index which will return very few rows.

To stop the db from using an index I'm just adding zero to the field, so
something like
   playerId = %s
changes to
   playerId+0 = %s
We humans can tell this is no real change at all, but the db sees this
as a change from <field> = <value> to <expression> = <value>, and it can
only use the index if the <field> the index is on is being tested.
(Nowadays you can index expressions in some databases but we'll ignore
that!)
"""
2008-12-05 17:18:13 +09:00
Worros
42381eaabc Merge branch 'master' of git://git.assembla.com/mctfpdb
Conflicts:

	pyfpdb/fpdb_simple.py
2008-12-04 18:46:55 +09:00
Worros
a1ed9603f3 Revert debug changes made while working with Eric 2008-12-04 15:52:24 +09:00
sqlcoder
160db08689 calc totalprofit for hud 2008-12-03 23:14:03 +00:00
sqlcoder
a824814c0a sqlcoder initial updates 2008-12-02 00:15:50 +00:00
eblade
401bcc15cd remove debug code i accidently committed last time
account for dead seats between blinds
fix some improper position handling when BB in seat 2, with dead hand in seat 1, and SB on last seat
2008-11-27 11:27:23 -05:00
eblade
1de34462e3 remove spurious window realize from popup_window as well
printEmailErrorMessage also writes a traceback to the stderr, so we can more easily figure out -what part- it failed in
parsePositions will ignore a small blind if it appears to be coming from the same place as the big (does this mess with dead blinds? who knows)
2008-11-27 08:35:17 -05:00
Ray
37cd869209 fix reading of mucked cards for stud games 2008-11-14 13:10:17 -05:00
Worros
c2475db712 Bugfix - fixes new stars format import, also fixes bug in bulk import (that i introduced a few commits ago) 2008-11-12 22:40:29 +10:00
steffen123
49151a92bf p142 - commented tourney summary parsing as it fails on me. this is alpha9 2008-11-10 02:02:12 +00:00
steffen123
56c928ccdc p141 - support new PS UTC timestamps 2008-11-07 20:26:03 +00:00
eblade
cf2c7e4267 add lines with "($0 in chips)" to list of things to ignore, as a player with no chips cannot possibly be in the hand, and the lines often contain blank usernames on p4e, which are breaking the parser. 2008-10-30 00:03:28 -04:00
steffen123
bc15025be5 p135 - updated tv 2008-10-15 18:20:33 +01:00
steffen123
96664d009c p130 - stud/razz tourneys run again, but completely unverified (like holdem/omaha tourneys
changed fpdb_import slightly to not die if a file had 0 stored hands
2008-10-09 07:17:18 +01:00
steffen123
14eb29f702 p129 - fixed stud river in HudCache generation
PrintPlayerHud... now uses bigbet rather than bigblind to determine gametype.
2008-10-09 06:15:50 +01:00
steffen123
5dfa5061cf p128 - corrected 2 bugs in PrintHand.py. finished stud blackbox testdata. 2008-10-09 05:30:09 +01:00
steffen123
bc76d4baf0 p127 - fixed stud importer bugs missing hole cards and added one blackbox hand verification for studhilo. 2008-10-09 05:04:31 +01:00
steffen123
f1c94dac3e p119 - fixed bug that sawFlop/Turn/River/CBChance/etc gets miscalculated if someone is allin using the new all-in parsing
moved most of known bugs to wiki roadmap (not actually online yet since sf seems to malfunctioning..)
2008-10-06 05:19:55 +01:00
steffen123
2a90030982 p118 - added all in field to HandsActions and parsing to importer. still need to update hudCache generation to use this tho
expanded some todo prints and the graph missing lib error to clarify for users
2008-10-06 04:26:59 +01:00
steffen123
ce5f6f1d71 p117 - fixed bug in HudCache generation that it stored L rather than E for position
new blackbox regression testing data
2008-10-05 06:22:31 +01:00
steffen123
1cd9eb898f p115 - fixed bugs in tourney handling of playername with $ in it in these methods: parseActionAmount, parseAnteLines 2008-10-05 05:04:42 +01:00
steffen123
d29b4f19ea p114 - fixed bug in parseAnteLine causing tourney hands where paying ante meant all in to fail 2008-10-05 04:55:22 +01:00
steffen123
463432afbc p113 - fixed bug in parseWinLine that it would cut off the first digit for tourneys. 2008-10-05 04:45:53 +01:00
steffen123
622a00be96 p108 - These damn small blinds... all previously supported tourneys should be working again now 2008-09-26 14:39:24 +01:00
steffen123
ce3187667c p106 - fixed small blind reading 2008-09-26 13:01:57 +01:00
steffen123
6926306147 p105 - commented import in Grapher as its not used yet, reverted bug i introduced in p90 2008-09-26 02:54:08 +01:00
steffen123
005627b9d7 p103 - reading small blinds now rather than assuming them 2008-09-24 05:47:17 +01:00
steffen123
7bd16311b1 p101 - patch by ryan hayward to handle dead hand before BB 2008-09-24 04:37:55 +01:00
steffen123
4e8a09ff84 p93 - unbet now stores a negative amount since that's what it is 2008-09-22 22:12:03 +01:00
steffen123
8c6cecb8f7 p90 - release script renames HUD_config.xml.example so user doesnt have to
fixed a couple of stupid errors where i used the wrong siteID somehow
graph now lets you pick beteen PS and FTP
2008-09-21 23:38:22 +01:00
steffen123
672d2d70af p86 - ftp: read maxSeats rather than making an assumption. included new ebuild this time but obviously untried (can only try it after making the file release..). removed old ebuilds. 2008-09-18 01:23:38 +01:00
steffen123
1a008b1ac2 p85 - improved PS timestamp parsing using regex from Carl Gherardi 2008-09-17 02:33:46 +01:00
steffen123
7b13331331 p80 - a great many updates from Ray 2008-09-15 21:31:55 +01:00
steffen123
2c251d94f2 p78 - implemented stud HudCache generation and storing 2008-09-02 01:00:43 +01:00
steffen123
54ff7b71f1 p76 - specify NOT NULL on almost all table columns to increase DB resilience against importer errors
little bugfix to make omaha work again
2008-09-01 17:32:18 +01:00
steffen123
817c227dcb p74 - mostly recovered razz/stud support
removed obselete gentoo install instructions, added ubuntu instructions
2008-09-01 05:41:58 +01:00
steffen123
37e111067b p72 - redid foldToCB, this might be correct now but havent verified 2008-08-31 23:37:40 +01:00
steffen123
a289f7b151 p71 - fixed guibulkimport. thought I'd already done that, but there you go..
added 4B detection to HudCache filling
added primitive filling code for foldToStreetXCB, this'll not be correct for all cases yet
2008-08-31 21:22:36 +01:00
steffen123
660530a166 p56 - various fixes to get FTP working again
fixed in prev commit: sometimes truncuates position on store in tourneys
2008-08-18 09:05:22 +01:00
steffen123
b546868e10 p55 - three bugfixes
fixed bug that it filtered sitouts in tourneys
fixed bug that it didnt handle if some joined (tourney) out of hand
fixed bug that it didnt handle : in player name
2008-08-18 07:43:05 +01:00
steffen123
f6d596d2ed p54 - fixed bug that caused everything but FL to fail 2008-08-18 06:51:18 +01:00
steffen123
de845d4e90 p53 - more progress on tourneys 2008-08-18 06:27:37 +01:00
steffen123
8fb57d3729 p52 - much progress on tourneys and some minor stuff and a change of tables
migrated install-in-windows to website
renamed table tourneysgametypes to tourneytypes
2008-08-18 05:58:41 +01:00
steffen123
6a5d1d6332 p50 - added Hands.maxSeats 2008-08-18 02:45:06 +01:00
steffen123
5612ee6637 p48 - removed some redundant bracketed values from tv
renamed cache fields and added more to be flexible for stud style games. note that tv is not updated yet
added forums and bugtracker to website sidebar
2008-08-17 13:13:42 +01:00
steffen123
579b44450c p45 - implemented HandsPlayers.seatNo 2008-08-17 04:44:53 +01:00
steffen123
18ff57027f p44 - implement hands.tableName/importTime 2008-08-17 03:18:42 +01:00
steffen123
9531c8d85b p43 - implemented gametypes.base/.hiLo and more updates to table design 2008-08-17 02:46:23 +01:00
steffen123
0f032bcc5e git41 - added a bunch of new cache fields containing placeholder data. okay totalProfit should actually be filled correctly already :) 2008-08-16 22:03:27 +01:00
steffen123
423753de17 git38 - make HudData tables positional (sf request 2052124) 2008-08-15 03:32:27 +01:00
steffen123
341b24a2e0 git35 - changed table and field names to match my naming convention to stabilise downstream-facing api. 2008-08-15 01:45:40 +01:00
steffen123
e56a65b4c9 git34 - reading CB/2B/3B now. Some doc updates 2008-08-13 08:11:20 +01:00
steffen123
61d0857a4c git33 - added fields for CB/2B/3B to table design, table creation and tv. importer fills it with placeholder data
renamed ebuild from v0.01 alpha to v1.0 alpha as I won't be using normal version numbers before 1.0
2008-08-13 06:50:30 +01:00
steffen123
2a0f73646c git30 - 2008-08-13 04:13:56 +01:00
steffen123
6d61e1e6c6 git29 - it displays ST correctly (well, for the one steal I checked that is) 2008-08-13 03:29:24 +01:00
steffen123
6d7bdc347c git28 - added test hands for steal and cb
uncommented db version checking - it works
started implementing storing steals
filling steal attempts and attempt chances fields now, but not verified correctness nor am i displaying it
2008-08-13 03:07:44 +01:00
steffen123
b0dd505627 git21 - added fpdb version into db to detect outdated db format. added fields for steals to DB and placeholder inserts to importer. lots of doc updates
split pygtk requirements, cleaned table design HTML more
noticed its really slow now - might be because I'm running it over LAN. will figure this out shortly
2008-08-10 02:52:05 +01:00
steffen123
3d82fd4f6a git20 - made differently arranged array for actiontypes, used that to calculate 3B/4B percentage 2008-08-09 18:53:07 +01:00
steffen123
0e84dceb1f git19 (REIMPORT needed) - updated everything to use new action counting method -> it half works, but fails to store (or print) a substantial proportion of the action_nos
removed bunch of commented prints from fpdb_parse
2008-08-08 22:03:43 +01:00
steffen123
33e085cf88 git17 - added fields to db+imp+tv: Won $ when seen flop and Won $ at Showdown. Seem to work fine, will verify properly later. REIMPORT is necessary after this update.
cleaned table design a bit more
removed actionCount from print_hand - this is useless. need to update regression-test/*.expected.txt accordingly
2008-08-07 16:08:23 +01:00
steffen123
490af1acaf git15 - fixed bug that it read sawShowdown wrong. fixed postflop fold importing. fairly certain importer is running correctly now :)
also added SD/F, the percentage of the time the user saw the showdown when they saw the flop. I believe this is normally called WtSD, but this is clearer.
widened main GUI a bit more
the todolist is still growing hehe
2008-08-07 11:08:50 +01:00
steffen123
fb7a8ba9a2 git11 - documentation improved. tv shows 3B4B number of hands in brackets.
set correct permissions on docs
2008-08-05 19:55:50 +01:00
steffen123
84b3851cb5 git10 - added field to table design that i had neglected to document. apologies. renamed it as well to be more useful, its now PF3B4BChance. more table design cleaning.
finished PrintPlayerFlags and renamed to the more appropriate PrintPlayerHudData
fixed: imp/tv bug: PFR is blatantly crazy
moved the scripts that do regression testing into the testdata directory and renamed that into regression-test
2008-08-05 00:14:17 +01:00
steffen123
d95bc6dff6 git7 - calculates&displays flop stuff. I wouldnt go as far as claiming that "it works", but it runs without compiler/VM-caught error and it produces numbers - good enough till i get around to updating that damned print_hands 2008-08-04 19:57:33 +01:00
steffen123
b377fd08c6 git6 - it displays (in brackets behind the percentage) how many hands AF/FF/AT/FT/AR/FR is based on
commented out some prints
split off a "before alpha release" section off the known-bugs list
2008-08-04 15:54:13 +01:00
steffen123
02d928fb1e git5 - tv now displays all postflop rounds for holdem/omaha again (but with placeholder info as not calculating base data for that in importer yet)
added extra field to table to facilitate 3B calculations.
2008-08-04 12:54:54 +01:00
steffen123
6659dc6b9d git3 - it stores and updates hud data lines for holdem/omaha ring games :) 2008-08-04 08:01:26 +01:00
steffen123
67c2b3fe04 git2 - import now stores the first few fields into a new line.
little fix on load_profile - still doesnt work tho
2008-08-04 07:29:53 +01:00
steffen123
f17e8b54b4 git1 - initial git commit. note that right now nothing works due to reworking things 2008-08-04 04:44:28 +01:00