Addin Updates

PureSim Baseball is the ultimate baseball fan's toy, with support for both casual and hardcore baseball fans.

Moderator: puresimmer

Post Reply
CrashDavis
Posts: 307
Joined: Wed Jul 05, 2006 12:01 am

Addin Updates

Post by CrashDavis »

Several more updates for previous addins are available for download on website. These mostly address error handling issues - so that instead of the dreaded popup error screen, the addin exits smoothly in situations like running an addin before any games have been played or stuff along those lines.

One notable error fixed:
I thought the last release of POSTSEASON had solved the error that some folks would get from time to time. Well, turns out I got an error on mine the following season. After a marathon debugging session, I was able to narrow the bug down to a single player card. Turns out this rare (and almost impossible to reproduce error) was occuring because the player was released to the free agent pool (which is where he currently was), but his transaction screen on his player card was never updated showing he was released. What does this mean? It means somewhere along the way, this players transaction didn't get updated. Why is that important to the POSTSEASON addin? The POSTSEASON addin makes two queries when it is run. The first to determine which players appear in the addin and the second (!) queries each of the selected players to determine if they are or are not a free agent. This second query is how the addin determines whether or not the player has a team affiliation - and if so, then the players team logo is displayed. This then is why the error was occuring intermittently as it was. When the addin came upon a player who was selected for this list and he was a free agent - but hasn't been updated in Puresim as being released - the addin could not find a team affiliation for him and would produce the popup error "No Current Record Found" or something like that.
Theres nothing I can do about fixing the player being updated in Puresim, but, I did put an error-handling routine so that the addin can deal with this specific situation should it happen in the future.

CrashDavis Addins
User avatar
Tanaka
Posts: 5137
Joined: Tue Apr 08, 2003 3:42 am
Location: USA

RE: Addin Updates

Post by Tanaka »

Wow! Great! Thanks Crash! [:D]
Image
Post Reply

Return to “PureSim Baseball”