Commit Graph

74 Commits

Author SHA1 Message Date
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