.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   Error Reporting Bugs (http://forum.shrapnelgames.com/showthread.php?t=10996)

Fyron December 28th, 2003 07:26 AM

Error Reporting Bugs
 
Anyone notice any odd places where SE4 fails to report an error? I have...

If you have a letter in the Roman Numeral field in Components.txt (instead of a number), SE4 simply reports that it failed to load the Components.txt file, rather than specifying the error and/or the location of the error.

se5a December 28th, 2003 09:17 AM

Re: Error Reporting Bugs
 
if you leave an extra blank line between the componants it wont load the componants under extra blank line...

Atrocities December 28th, 2003 09:50 AM

Re: Error Reporting Bugs
 
I did not notice that error before Fyron. I know that I have done the same thing and it loaded just fine for me. I will try it now to see if it errors.


Nope, it worked.


Ah this time it did not. Good point to bring up to Aaron. No description of the error, just said it did not load the component file.

Fyron December 28th, 2003 10:21 AM

Re: Error Reporting Bugs
 
Quote:

Originally posted by se5a:
if you leave an extra blank line between the componants it wont load the componants under extra blank line...
<font size="2" face="sans-serif, arial, verdana">That is not necessarily a typo sort of error that produces no error message though, as 2 blank lines is one of the signals to end the file (the line of = signs also ends it, or some other sequence of characters involved in that part that says end). Everything after the "end" of the data is treated as comments. There should be some error checking though, to check the next lines and if the first non-blank line has the string "Name" on it, it should either error or just continue reading. This would have to still check the = ending though, so you can have comments at the end that include component entries.

Fyron December 28th, 2003 10:24 AM

Re: Error Reporting Bugs
 
Quote:

Originally posted by Atrocities:
I did not notice that error before Fyron. I know that I have done the same thing and it loaded just fine for me.
<font size="2" face="sans-serif, arial, verdana">The character happened to be an "i", so that might have made a difference?


All times are GMT -4. The time now is 11:48 AM.

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