|
|
|
|
January 18th, 2004, 03:08 AM
|
Corporal
|
|
Join Date: Oct 2003
Location: Chicago
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Invalid Index???
I've spent two days working on a new map and now that I've finally thrown it through the map generator, I get an Invalid Index error when I try to run that campaign. Anyone have any idea what causes that, or how to fix it? Thanks in advance.
__________________
In theory, there's no difference between theory and practice, but in practice, there is.
|
January 18th, 2004, 04:29 AM
|
Corporal
|
|
Join Date: Oct 2003
Location: Chicago
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Invalid Index???
Ok, never mind that. I found the problem: invalid entries in my QuadrantMap.txt file. Handy tip: to find a system that's misbehaving in this situation, do a search for ":= 0", since systems that incorrectly reference one another invariably give a 0 for the link ID number.
Ok, new problem: every time I go to look at the quadrant map, I get one of my beloved Range Check Errors. Is this because the map exceeds a certain size (my map is 66 wide, 45 high)? Anyone? Anyone?
__________________
In theory, there's no difference between theory and practice, but in practice, there is.
|
January 18th, 2004, 05:33 AM
|
National Security Advisor
|
|
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Invalid Index???
Never got a range check error on the quadrent map myself. It just stopped displaying the systems after a certain point. I'd suggest throwing a double space into your quadrent data file, checking to see if the error still occurs, then moving the double space and repeating (SF treats double space as end of file)
On your earlier problem: this can happen when a aystem is linked to itself, or to a system that doesn't like back. The quadrent map display smooths over these errors, but the campaigndata.txt doesn't.
__________________
Phoenix-D
I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
- Digger
|
January 18th, 2004, 06:27 AM
|
Corporal
|
|
Join Date: Oct 2003
Location: Chicago
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Invalid Index???
Thanks, Phoenix-D- that pointed me in the right direction. I was able to determine that the map seems top out around 60 units in width. Now, all I have to do is re-figure the X coordinates for about 80 systems
Guess I know what I'm doing tomorrow...
__________________
In theory, there's no difference between theory and practice, but in practice, there is.
|
January 18th, 2004, 06:35 AM
|
National Security Advisor
|
|
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Invalid Index???
heh. I'm definitely glad I thought to check that before I laid out mine. Made things so much easier.
EDIT: oh, and the height allowed is different than the width. Smaller, IIRC..around 42 squares.
[ January 18, 2004, 04:36: Message edited by: Phoenix-D ]
__________________
Phoenix-D
I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
- Digger
|
January 18th, 2004, 09:35 PM
|
Corporal
|
|
Join Date: Oct 2003
Location: Chicago
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Invalid Index???
42?? That figures... My map is 45 units high... Guess I'll be changing that, too...
__________________
In theory, there's no difference between theory and practice, but in practice, there is.
|
January 18th, 2004, 10:20 PM
|
National Security Advisor
|
|
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Invalid Index???
Be sure to test it, I'm not 100% sure that's the actual value.
__________________
Phoenix-D
I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
- Digger
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|