Home | Webstore
Latest News: OOTP 27 Buy Now - FHM 12 Available - OOTP Go! 27 Available

Out of the Park Baseball 27 Buy Now!

  

Go Back   OOTP Developments Forums > Prior Versions of Our Games > Earlier versions of Out of the Park Baseball > Earlier versions of OOTP: Mods

 
 
Thread Tools
Old 03-25-2005, 11:52 PM   #1
DamnYankees
All Star Starter
 
DamnYankees's Avatar
 
Join Date: Jun 2004
Posts: 1,644
CatoBase and Invalid Use of Null: Specific problem, specific help?

I'm doing a historical replay, and just finished 1947. I import all the league files, and that's OK. When I create the win shares, I run into an error when it is assigning pitching win shares. Everything goes smoothly until it hits "Assigning Pitching Win Shares: 1946 DET" and the error message "Error 94: Invalid Use of Null" pops up. I click ok and it goes on, but no pitching win shares end up being created.

Any idea on what this is? I know it could result from having 0 IP and more than 0 ER, but then why would it have a problem with the 1946 Tigers when it was able to output it fine when I output CatoBase after 1946?

I figured this means there would be a problem with the pitch_career.csv file, since it has new stats for 1946. I'm not really sure what exactly I'm supposed to edit in here.

Also, there are always pitchers, a ton of them, with 0 IP and more than 0 ER. I even checked my almanacs, and the 1946 Tigers didn't have any pitchers with 0 IP and +0 ER.

Any ideas? If I can't fix this, that would seriously suck, since I have 46 years of the league already done, and it took a long time.

Last edited by DamnYankees; 03-25-2005 at 11:53 PM.
DamnYankees is offline  
Old 03-26-2005, 09:23 AM   #2
SandMan
Hall Of Famer
 
Join Date: Aug 2003
Posts: 2,946
If you have MS ACCESS, sort the pitchers by IP for the 1947 season. If you see one with 0 IP and more than 0 ER then add the .333 IP. You stated that you have tons of these in your database? This would be unusual. In 80 seasons of my WBL, I have had this occur only 3 times and each time it blew up in CATO and I did the fix and moved on. Win shares can not be assigned to players with 0 IP, but the program tries to assign WS to any pitcher with runs scored against them. This will blow up each time the 0/+0 error is present. Also check for a player with this criteria who has been traded to or from the DETROIT team.

Hope this helps.
SandMan is offline  
Old 03-26-2005, 03:47 PM   #3
DamnYankees
All Star Starter
 
DamnYankees's Avatar
 
Join Date: Jun 2004
Posts: 1,644
Quote:
Originally Posted by SandMan
If you have MS ACCESS, sort the pitchers by IP for the 1947 season. If you see one with 0 IP and more than 0 ER then add the .333 IP. You stated that you have tons of these in your database? This would be unusual. In 80 seasons of my WBL, I have had this occur only 3 times and each time it blew up in CATO and I did the fix and moved on. Win shares can not be assigned to players with 0 IP, but the program tries to assign WS to any pitcher with runs scored against them. This will blow up each time the 0/+0 error is present. Also check for a player with this criteria who has been traded to or from the DETROIT team.

Hope this helps.
Does it have to be MS access? When I open pitch_career.csv with Excel, I seem to have plenty of access.
DamnYankees is offline  
Old 03-26-2005, 05:24 PM   #4
<o>
All Star Reserve
 
<o>'s Avatar
 
Join Date: Oct 2004
Location: Server 47
Posts: 696
Quote:
Originally Posted by DamnYankees
Does it have to be MS access? When I open pitch_career.csv with Excel, I seem to have plenty of access.
The database is an mdb file, which can only be opened by Access.
__________________
Loving it as the Senior Member, who thinks he knows everything since he's been around the longest, is proven wrong by Spammy.


Quote:
Originally Posted by atarizx3
Hooray for Haliburton! Keeping overseas American casualities to a minimum since 2004!
<o> is offline  
Old 03-26-2005, 05:26 PM   #5
SandMan
Hall Of Famer
 
Join Date: Aug 2003
Posts: 2,946
The problem is not in the CSV files, it is in the CATOBASE table. Sort the table and the bad record will stand out.....this is usually the problem (about 90% of the time).



Plenty of access, LOL....
SandMan is offline  
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:19 AM.

 

Major League and Minor League Baseball trademarks and copyrights are used with permission of Major League Baseball. Visit MLB.com and MiLB.com.

Officially Licensed Product – MLB Players, Inc.

Out of the Park Baseball is a registered trademark of Out of the Park Developments GmbH & Co. KG

Google Play is a trademark of Google Inc.

Apple, iPhone, iPod touch and iPad are trademarks of Apple Inc., registered in the U.S. and other countries.

COPYRIGHT © 2023 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Copyright © 2024 Out of the Park Developments