Mission Builder Error

General discussion for CFS2 - WW 2 Pacific Theater

Mission Builder Error

Postby Corsair Freak » Thu May 12, 2005 8:52 pm

When I try to run mission builder I get this error...

Microsoft Visual C++ Library
Runtime Error!
Program:C:\Program Files\Microsoft Games\Combat Flight Simulator 2 - Pacific Theatre\CFS2.exe
This Application has requested the Runtime to terminate it in an unusual way. Please contact the applications support team for more information.


I was gonna make my own spalshscreen of a mission I was working on, so I opened mission builder (worked fine) then got the idea of doing an Iwo Jima mission, but I hadn't put MR's Runway Entries in the airbases.dat file yet, so I added those, then tried to open mission builder and got the error... I was thinking maybe it was a corrupt registry key, so I d/led  and ran a few registry cleaners still having the problem... any ideas?

Brandon
AKA Corsair_Freak

P.S. I've been having a similar problem with Microsoft Word 2003.
User avatar
Corsair Freak
Major
Major
 
Posts: 1115
Joined: Tue Jan 13, 2004 5:37 pm
Location: Tiskilwa, Illinois, U.S.A.

Re: Mission Builder Error

Postby RabbitHawk » Fri May 13, 2005 12:53 pm

Did you save a copy of the old airbases.dat? If you did, you
could put it back and see if mission builder runs okay. If it
does you'll know for certain something went wrong with
the edits to airbases.dat.

Otherwise...check to be sure that the little box is still at the
end of airbases.dat. That's an End Of File marker. If it's not
there you can have major problems. Also be sure you've
maintained the correct number sequence. So if the last
airbase (before your edits) was [runway.127] the next one
has to be [runway.128] and it has to be correct through
all the new added bases. I believe the airbase id
"id=6011" for instance, can be any number sequence as
long as there are no duplicates.

There are many possible solutions to this problem, but
this is one quick and easy thing to check before
proceeding. Good luck!
User avatar
RabbitHawk
Ground hog
Ground hog
 
Posts: 38
Joined: Thu Mar 03, 2005 3:31 pm

Re: Mission Builder Error

Postby Corsair Freak » Fri May 13, 2005 2:05 pm

Yes, I have a backup of my airbases.dat file, but I made a copy of the one with the MR airfields in it and renamed it airbases.dat.orig and erased all the entries except stock, and it worked fine!  ??? No, I didn't erase the end of the file marker, I'll go through and make sure all the numbering sequences are correct. I hope it's just a duplicate number and not anything serious...

Brandon
User avatar
Corsair Freak
Major
Major
 
Posts: 1115
Joined: Tue Jan 13, 2004 5:37 pm
Location: Tiskilwa, Illinois, U.S.A.

Re: Mission Builder Error

Postby RabbitHawk » Fri May 13, 2005 5:06 pm

That's actually a positive sign. Since the original works okay
you know exactly where the trouble is.

I wrote a PHP script to update the numbers for me. Because
one slip of the fingers and...boom!

Let me know how it goes.
User avatar
RabbitHawk
Ground hog
Ground hog
 
Posts: 38
Joined: Thu Mar 03, 2005 3:31 pm

Re: Mission Builder Error

Postby Corsair Freak » Fri May 13, 2005 7:33 pm

I scanned through the airbases.dat file again and found some repeated numbers... fixed 'em, and still... I get the error... I might E-mail someone at Microsoft, I doubt they'll have any support for it though... the only way around it is... if I wanna make a mission using some add-on airbases, I'll just add the one's I need to airbases.dat file... it work's if I add a few, I don't how many... but when I add a bunch of entries... I get the error... oh well... at least I can still use Mission Builder, and make some highly fictional missions... (i.e. 25 Ace;High Aggression Corsair's with heavy bombs Vs. a slew of HIJMS Tanker's)  ;D

Brandon
User avatar
Corsair Freak
Major
Major
 
Posts: 1115
Joined: Tue Jan 13, 2004 5:37 pm
Location: Tiskilwa, Illinois, U.S.A.

Re: Mission Builder Error

Postby Hagar » Sat May 14, 2005 5:08 am

I'm not sure but it's quite possible there's a limit to the number of new entries you can add to airbases.dat. This could explain your problem.
Image

Founder & Sole Member - Grumpy's Over the Hill Club for Veteran Virtual Aviators
Member of the Fox Four Group
My Google Photos albums
My Flickr albums
User avatar
Hagar
Colonel
Colonel
 
Posts: 30864
Joined: Wed Jun 19, 2002 7:15 am
Location: Costa Geriatrica

Re: Mission Builder Error

Postby Corsair Freak » Sat May 14, 2005 3:45 pm

the stock amount of airfields is 124, when I added a few of the MR airfields I stopped at 170.. and got the error... oh well, I can still make missions, I'm happy.  ;)

Brandon
User avatar
Corsair Freak
Major
Major
 
Posts: 1115
Joined: Tue Jan 13, 2004 5:37 pm
Location: Tiskilwa, Illinois, U.S.A.


Return to Combat Flight Simulator 2

Who is online

Users browsing this forum: No registered users and 357 guests