Grand Slam Tracking

This forum is for 3rd party developers to post enhancements for PureSim Baseball, such as stadium art, face packs, etc.

Moderator: puresimmer

Post Reply
User avatar
Frozen Stiffer
Posts: 1059
Joined: Fri Aug 19, 2005 8:18 pm
Location: California, USA

Grand Slam Tracking

Post by Frozen Stiffer »

I know that, overall, it's a minor statistic in games, but has anyone developed an Add-In that specifically tracks Grand Slams? Perhaps one that tracks offensive accomplishments of which Grand Slams are included?

I was just wondering- it came to me just as Hanley Ramirez smacked his 2nd Grand Slam of the game.

[:D]
"It ain't braggin' if you can do it."

-Hall of Fame pitcher Jerome 'Dizzy' Dean
CrashDavis
Posts: 307
Joined: Wed Jul 05, 2006 12:01 am

RE: Grand Slam Tracking

Post by CrashDavis »

...has anyone developed an Add-In that specifically tracks Grand Slams

Been doing some testing with this on the two associations I have, Frozen. Here's what I did.
I included code for Career Grandslams and Most K's in Game (for Pitchers) to the MileStones addin. Now, unlike most other stats that can be had straight from tables like CareerTotals, Grandslams & Ks/Game requires having to query
every single play that has ever occured in the life of your association.
For an idea of how many plays that is, consider my 4.5 season old assn contains approx 385,000 plays; while my 65 season old assn contains 5.5+ million plays.
Not surprisingly, it takes the addin over a minute to execute and finish on my larger assn; whereas only about 5 sec to complete on the smaller assn.

User avatar
akcranker
Posts: 477
Joined: Mon Dec 12, 2005 12:21 pm

RE: Grand Slam Tracking

Post by akcranker »

ORIGINAL: CrashDavis
...has anyone developed an Add-In that specifically tracks Grand Slams

Been doing some testing with this on the two associations I have, Frozen. Here's what I did.
I included code for Career Grandslams and Most K's in Game (for Pitchers) to the MileStones addin. Now, unlike most other stats that can be had straight from tables like CareerTotals, Grandslams & Ks/Game requires having to query
every single play that has ever occured in the life of your association.
For an idea of how many plays that is, consider my 4.5 season old assn contains approx 385,000 plays; while my 65 season old assn contains 5.5+ million plays.
Not surprisingly, it takes the addin over a minute to execute and finish on my larger assn; whereas only about 5 sec to complete on the smaller assn.


A min to wait for it to query a 65 year old league isn't that bad at all. I'd be willing to wait if it can produce the stats were looking for.
Post Reply

Return to “3rd Party Add-ons Area”