.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #9  
Old December 15th, 2002, 11:36 PM
Dan C.'s Avatar

Dan C. Dan C. is offline
Private
 
Join Date: Oct 2002
Location: London, Ont.
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Dan C. is on a distinguished road
Default Re: Mod error

Quote:
Originally posted by Dan C.:

I guess I'll have to replace them with the originials one-by-one until I find the culprit...
There must be something against quoting yourself...
Anyway I finally found the error, and I am explaining this in case anyone else sees this problem.

Replacing the files one-by-one led me to the fact that it was my TechArea.txt file that was in error. So thinking I had some sort of loop I fire up the mod editor by DavidG. So I see that a number of "leads to" techs are not being displayed So noteing that one tech is a prerequisite for 20 techs per level for 3 levels, I am thinking maybe this is the source of my overflow. I reduce the number down to 5 each, and set the other 15 techs to no-prereq, and nope. But I did find a limit in the mod program that it only displays 20 leads to techs... (must be some sort of internal array limit

After much reviewing of the file, dropping pre-reqs, dropping branches of the tree (and all derived components, facilities etc), I see the error. I somehow typed a -1 instead of a 1 for maximum level. This tech was a minor tech (actually Fighter Missiles) not granted at the start of the game, (requiring 7 levels from 3 different techs) but I guess when the program was setting up the initial tech for the players, it hit this level issue and even without the pre-req's it crapped out (better at the beginning than in the middle of a game though). So I don't know why it wasn't caught when the file was initially read in, but there it is.
__________________
-Dan

L++++ GdY $!+ Fr- C--- SdP T!- Sf A M++ Mp! RNSP Pw? Fq Nd Rp G++++ AuO
Reply With Quote
 

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 On

Forum Jump


All times are GMT -4. The time now is 01:38 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.