Open Side Menu Go to the Top
Register
SharpStats Personal Tracker for Cake, Merge, Stars, and FTP SharpStats Personal Tracker for Cake, Merge, Stars, and FTP

09-23-2008 , 03:57 PM
Before I go into the main announcement, I would like to say one thing: This is not PT for Cake. The program is completely incapable of tracking any statistics for any player besides "hero". As an extra precaution, it will not import "same-day" hands, so there will be no way for a useful HUD to be used with this program.

This is only a tool for tracking personal statistics.

With that out of the way, I would like to introduce CPST.



As you can see from the SS, you will eventually be able to view your stats by several different groupings. Currently, only by Blind Level for cash games and by M-Zone for tourneys is available, but the others should be implemented soon.

Requirements:
-Microsoft .NET Framework 2.0 or above
-Microsoft SQLServer 2005 Available for free here

To install, simply Download and run.



Initial Setup:
Go into Configuration-->Initial Setup
Choose your Source and Destination directories (CPST does not change any of the files, so your HHs are safe)
Input the SQLServer info
Click "Test Connection" to verify that all of your database information is correct
Click "Create Databases" to set up the Cake db in SQLServer
Exit out of the configuration screen and click the "Import Hands" button to start importing your hand histories
Importing hands will take a little while (my 45k-hand test batch took around 1 minute to import). After the program has imported all available files, a screen with the number of hands processed will come up.
After that, just adjust the time range at the bottom of the screen then click on the tab you wish to view (NOTE--you might need to move out and then back into a tab for the stats to update). You can sort by any column and even re-order the columns as you see fit.

If you click on a Blind Level (or M-Zone under the M-Zone tab) a list of Hand Histories will come up in the top-right table. If you double-click a Hand Number, the full hand history will pop-up.

Future plans:
Finish tab views
Add a report generator

Please post any comments, suggestions or bug reports here. Please keep in mind that I do not own PT, HeM, or any other tracking software so comments like "do it more like <insert tracker here>" will be ignored.

That's it. I look forward to hearing any suggestions you guys may have.

-red

Last edited by jukofyork; 07-21-2009 at 07:40 PM. Reason: Changed title at OP's request.
SharpStats Personal Tracker for Cake, Merge, Stars, and FTP Quote
09-23-2008 , 04:00 PM
Forgot to mention CPST is compatible with Hold'Em and Omaha hand histories. Unfortunately, the program does not differentiate between the two, so the stats will be a mix of Hold'Em and Omaha. I hope to implement Omaha-only tabs in a future release.
SharpStats Personal Tracker for Cake, Merge, Stars, and FTP Quote
09-26-2008 , 08:39 AM
Well this is getting quite the overwhelming response

Not sure if this is the problem, but I am currently working on a PostgreSQL version of the program. I just need to get a few more tables up and running in the UI and it will be caught up with the SQLServer version.

BTW, is there anything else that you guys would like to see?

-red
SharpStats Personal Tracker for Cake, Merge, Stars, and FTP Quote
10-02-2008 , 03:03 AM
Very nice redlotus; This is just what I have been looking for.

I will try installing it tomorrow; I have been keeping records in excel and I am missing out on a lot of stats.
SharpStats Personal Tracker for Cake, Merge, Stars, and FTP Quote
10-02-2008 , 03:25 AM
Thanks man, bout to install and see how it works.
SharpStats Personal Tracker for Cake, Merge, Stars, and FTP Quote
10-05-2008 , 01:22 PM
I have not been able to get it to work yet.

I install a full version of SQLServer 2005 instead of the express version...could this be the problem. I am pc literate..but no expert.

Thanks
SharpStats Personal Tracker for Cake, Merge, Stars, and FTP Quote
10-06-2008 , 01:52 AM
Quote:
Originally Posted by sensi12002
I have not been able to get it to work yet.

I install a full version of SQLServer 2005 instead of the express version...could this be the problem. I am pc literate..but no expert.

Thanks
That could be the problem. Where is it failing? Does the "Test Connection" work? Is it failing when you try to import?

LMK and I'll try to help you get it up and running.

-red
SharpStats Personal Tracker for Cake, Merge, Stars, and FTP Quote
10-09-2008 , 05:20 PM
New version is up. Get it here: http://files.openomy.com/public/redl...PSTsqlv0_2.zip

All Hold 'Em tabs are finished. Omaha has been separated, but only displays hands by blind level. Tournament is still M-Zone only for now.

Unfortunately, this version requires a reset of the database if you've been using version 0.1. This should be the last time this is necessary unless I get enough requests for new/different stats.

Other changes:
-Improved importer that shouldn't crash when it runs into a problem. Instead, it will skip the hand/file that it has a problem with and write the error information to an error log.
-Streamlined UI
-Changed directory structure: you only have to set it up once if you are playing on multiple skins.

Known issue:
Refreshing the "Sessions" tab takes a long time to fill the tables. I recommend that you keep the filter dates within 3 weeks to prevent a time out.

Let me know what you guys think. I can't improve this program without any feedback.

Thanks,
-red
SharpStats Personal Tracker for Cake, Merge, Stars, and FTP Quote
10-09-2008 , 11:02 PM
uses SQLServer? good lord, yuck. Wont even look at it until it has an option for some (any) other kind of database.
SharpStats Personal Tracker for Cake, Merge, Stars, and FTP Quote
10-10-2008 , 01:04 AM
sick, def will give it a shot when I switch back
SharpStats Personal Tracker for Cake, Merge, Stars, and FTP Quote
10-10-2008 , 06:22 AM
this product will never be sellable imo, unless its advanced alot more before retail...so i think you might aswell work on an open source version for the new open source poker tracking project..so that way other people can expand upon your work and hopefully integrate it into an entire tracking package software.
SharpStats Personal Tracker for Cake, Merge, Stars, and FTP Quote
10-10-2008 , 08:54 AM
Quote:
Originally Posted by ekdikeo
uses SQLServer? good lord, yuck. Wont even look at it until it has an option for some (any) other kind of database.
I had started work on a PostgreSQL version, but the db side was so slow that it would time out with only 45K hands. I will be taking another look at trying to get a postgres version working, though. SQL Server may not be popular, but so far it seems a heck of a lot easier to program.

Quote:
Originally Posted by SilentNoise
this product will never be sellable imo, unless its advanced alot more before retail...so i think you might aswell work on an open source version for the new open source poker tracking project..so that way other people can expand upon your work and hopefully integrate it into an entire tracking package software.
First, I doubt that I will ever charge for this program. I originally started this project as a way to motivate myself to learn C#.

Second, even this second version is very much in the alpha stage. I started learning C# just 6 weeks ago and db programming about three weeks ago. As I get more familiar with both, the program will get better.

Lastly, releasing this to open source has too much potential for someone to build a full-fledged HUD. While I don't agree 100% with Cake's anti-HUD policy, I have chosen to respect it as best I can.

Thanks for all the feedback guys.

-red
SharpStats Personal Tracker for Cake, Merge, Stars, and FTP Quote
10-16-2008 , 02:43 PM
Well, you asked for it and here it is. CPST PostgreSQL version is now available here.

All tabs are now complete and I've greatly decreased the search time. Unfortunately, import times have increased by quite a bit. It now takes my dual-core 1.8GHz laptop about 12 minutes to import 48K hands.

Here are a few screenshots:
Main Screen:


Database Setup:


Directory Setup:


Updates in this version:
--Works with PostgreSQL only. The database should not interfere with your HM or PT database.
--All tabs complete
--Some stats were changed so they more-closely correlate with PT's definition (i.e. WTSD is now [# of hands that you took to showdown]/[# of hands where you saw the flop] instead of [# of hands that you took to showdown]/[total # of hands])
--Customizable queries. All of the queries are located in the .que files which you can open with Notepad and edit.
--6-max and full ring stats have been separated. I don't have any HHs from heads-up tables to use for testing so they are currently mixed with the full ring stats. If anyone can supply a few HU HHs, I can probably get the HU stats separated as well. Scrubbed HHs would work fine.

Installation:
Just unzip and run.

Setup:
Go to Configuration-->Database.
Input your password (change the server, port, and UID fields if necessary)
Click "Test Connection" to verify that the information is correct.
Click "Initialize Database" to build the database and its tables.
Save and Exit
Go to Configuration-->Folders.
Use the controls to set the HH and Work directories
Save and Exit
Go to File-->Import Now
Once the import process is complete, you can change the date filters and view your stats any way you want.

Notes:
The file where your database password is stored is not encrypted. If you are concerned about security, delete the CPSTdb.ini file after each use. You'll have to enter your database settings each time if you do this. I am working to find a way to encrypt this file for future versions.
There are backup copies of the queries in the backup folder in case you have an editting experience go bad. I recommend not changing these backup copies--copy them into the main folder and then edit them from there.

That's it. I would really appreciate any feedback you guys can give me. In particular, I need to hear from anyone that is having problems with the import process.

Thanks and enjoy,
-red
SharpStats Personal Tracker for Cake, Merge, Stars, and FTP Quote
10-29-2008 , 10:48 AM
New version available here.

New for this version:
-Updated to work with Cake's new tourney/SnG hand histories (I believe that these were changed with the 10/23/08 software update).
-Created more traps to prevent crashing during the import process
-The "General" table in the Position tabs now contains a "Net Win/Loss Without Blinds" column
-New report under the "Utilities" menu: Tax Report. This report creates a new file that lists your net wins/losses for each day that you played. Unfortunately, I can only list cash game net profit.
-No change to the database so there's no need to reset and re-import your hand histories

That's it for this version. Please let me know if there is anything you guys don't like or if there are any problems.

Thanks,
red
SharpStats Personal Tracker for Cake, Merge, Stars, and FTP Quote
10-31-2008 , 01:44 AM
DB set-up keeps giving me an error
SharpStats Personal Tracker for Cake, Merge, Stars, and FTP Quote
10-31-2008 , 08:56 AM
Quote:
Originally Posted by NWCougar
DB set-up keeps giving me an error
My apologies for that. I forgot to include Npgsql with the last update. You can download CPST version 0.1 and just unzip the three Npgsql.* files into your CPST directory or get them directly from here.

I will include these files again in version 0.3 which should be released early next week. Here is what I'm working on for the new version:
  • Bug fix for Omaha8 files
  • Import progress screen
  • Database settings file encryption
  • Error log file viewer


-red
SharpStats Personal Tracker for Cake, Merge, Stars, and FTP Quote
11-03-2008 , 03:30 PM
Version 0.3 of the PostgreSQL version is now available here

Updates for this version include:
  • Bug fix for Omaha Hi/Lo Files
  • Bug fix for a currently unused AI stat
  • New AI stat created
  • Database settings .ini file is now encrypted
  • Error Log viewer
  • Pre-Flop All-In Generator -- this creates a file that includes all of the hands that you've shoved pf or you've called a pf shove and you've seen the flop. I hope to use this tool for an All In EV calculator in the future.
  • A few internal programming improvements.

Unfortunately, the AI stat bugfix and the added AI stat requires a reset and re-import. Judging by the lack of feedback, I'm assuming that this won't affect many people, though.

This will probably be the last update for a while. I have to get back to working on my game a little bit.

Let me know if there are any questions/comments/suggestions/problems/etc.

-red
SharpStats Personal Tracker for Cake, Merge, Stars, and FTP Quote
11-08-2008 , 01:47 PM
Desperately want to use this by the MySQL 2005 thing doesn't want to install for me.
SharpStats Personal Tracker for Cake, Merge, Stars, and FTP Quote
11-08-2008 , 02:16 PM
Quote:
Originally Posted by vandweller
Desperately want to use this by the MySQL 2005 thing doesn't want to install for me.
I would skip the SQL Server version and give the PostgreSQL version a try. You can download PostgreSQL at www.postgresql.org.

Speaking of which, there is a new version (0.4) available here.

Updates:
  • Ante Bug Fix
  • Improved error-checking
  • Added some small visual improvements
  • Removed the same-day import restriction
  • Added a check to make sure that a Cake's software is not running. CPST will refuse to load or it will shut itself down if it detects that the poker client is running
  • Added Tournament Profit Tracker (see below)


Tournament Profit Tracker is a simple program to record your tournament and SnG wins/losses.


Just submit the tourney details and it automatically keeps track of your profit and ROI. Since it is part of CPST, you won't be able to input new tournies while playing. However, if there is any interest, I can create a separate data-entry-only program pretty quickly. The TPT database is separate from the main CPST, so you won't need to worry about losing your tourney data if the main CPST database needs to be reset.

I have also started testing on Vista and I've found that you might need to give the software admin rights to get it to work correctly. Sorry that I didn't catch this before, but most of my testing has been on Win2K.

Also, another problem that might occur is a crash when refreshing the Hold'Em BB tables. This has only come up when the total profit has netted out to zero (it's a rounding issue with PostgreSQL). Quick fix is to replace the text in the BBGen.que file with the following
Code:
--Query for general cash game stats
--{0} = filter start date
--{1} = filter end date
--{2} = filter game type (H for holdem, O for Omaha)
(SELECT hand_bb::text::money::text AS "Blind Level", 
	"type" AS "6M or FR", 
	count(hand_id) as "# of Hands", 
	sum(net_win::numeric(9,2))::text::money::text as "Net Win/Loss", 
	to_char((((sum(net_win)/(hand_bb*2))/(count(hand_id)::real))*100),'9990D99') as "PTBB/100"
FROM hand_master
WHERE hand_date>='{0}' AND hand_date<='{1}' AND game='{2}'
GROUP BY hand_bb, "type"
ORDER BY hand_bb, "type")
UNION
(SELECT 'TOTAL', ' ', count(hand_id), sum(net_win::numeric(9,2))::text::money::text, ' '
FROM hand_master
WHERE hand_date>='{0}' AND hand_date<='{1}' AND game='{2}')
If this still doesn't work for you, feel free to send me a PM and I'll try to help you out.

Thanks,
-red
SharpStats Personal Tracker for Cake, Merge, Stars, and FTP Quote
11-08-2008 , 11:36 PM
This sounds interesting. I play on the Cake network, however I play mostly (HU) SNG's. Is this personal stats tracker still something that is relevant for my purposes?
SharpStats Personal Tracker for Cake, Merge, Stars, and FTP Quote
11-09-2008 , 01:03 AM
Quote:
Originally Posted by LiarsDice
This sounds interesting. I play on the Cake network, however I play mostly (HU) SNG's. Is this personal stats tracker still something that is relevant for my purposes?
Certainly
SharpStats Personal Tracker for Cake, Merge, Stars, and FTP Quote
11-12-2008 , 03:36 PM
Version 0.5 is now available here.

Updates for this version include:
  • BBGen.que updated per my post above
  • Drastic improvement to importer compatibility with older hand history files
  • Tax report now includes data from Tournament Profit Tracker
  • AI Hand Utility now has its own hand viewer
  • Tournament Profit Tracker now displays ITM%
  • A couple of small bug fixes
SharpStats Personal Tracker for Cake, Merge, Stars, and FTP Quote
11-14-2008 , 10:48 AM
Version 6 (final alpha) is available here.

New Additions:
  • Separate program for entering tournament information into Tournament Profit Tracker
  • Net Profit Graph

Here's a quick screenshot of the Profit Graph:


This is the last feature that I really wanted to implement. Therefore, I will not be adding any new features unless they are specifically requested (or I happen to stumble upon something while I'm using it).

As always, let me know if anyone has any questions, comments, suggestions, or complaints.

-red
SharpStats Personal Tracker for Cake, Merge, Stars, and FTP Quote
11-26-2008 , 02:19 AM
I get the following error when I click test connection.



I already have PostgreSQL installed for Poker Tracker 3 so I know it is not that but I am running Vista 64 bit and that is normally my problem, lol. Any suggestions?
SharpStats Personal Tracker for Cake, Merge, Stars, and FTP Quote
11-26-2008 , 09:54 AM
Looks like it's not finding Npgsql, so you'll need to run PostgreSQL's Stack Builder. Go to Start-->All Programs-->PostgreSQL 8.x-->Application Stack Builder. On the first screen, choose your database server from the drop-down list. The next screen should look like this:

Click the check box next to Npgsql, click "Next", and follow the instructions.

Let me know if this doesn't fix the problem.

-red
SharpStats Personal Tracker for Cake, Merge, Stars, and FTP Quote

      
m