.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   Tech tree viewer in the works... (http://forum.shrapnelgames.com/showthread.php?t=6054)

Lemmy May 30th, 2002 09:56 AM

Re: Tech tree viewer in the works...
 
ok, here it is..

http://java.sun.com/products/archive...jre/index.html

Gandalph May 30th, 2002 07:31 PM

Re: Tech tree viewer in the works...
 
I am getting an error when attempting to use this. Here is the error error1.bmp Here is the line it refers to error2.bmp

Phoenix-D May 31st, 2002 01:46 AM

Re: Tech tree viewer in the works...
 
Getting the same error, but according to Metapad line 429 is..

"Name := Space Port
Description := Facility which processes all generated resources in its system and makes them available for the empire.
Facility Group := Resource Extraction
Facility Family := 7
Roman Numeral := 0
Restrictions := None
Pic Num := 7
Cost Minerals := 6000
Cost Organics := 0
Cost Radioactives := 0 <-- right here
Number of Tech Req := 1
Tech Area Req 1 := Cargo
Tech Level Req 1 := 1
Number of Abilities := 1
Ability 1 Type := Spaceport
Ability 1 Descr := Acts as a spaceport for this system.
Ability 1 Val 1 := 0
Ability 1 Val 2 := 0
Ability 2 Type := None"

also, tried loading Proportions data. no go, "required tech area greater than max tech area". That's intential in Proportions, but looks like your loader doesn't like the concept. http://forum.shrapnelgames.com/images/icons/icon7.gif

Phoenix-D

Hank May 31st, 2002 02:31 AM

Re: Tech tree viewer in the works...
 
Hey Lemmy,

As an alternative to distributing the app as plain Java consider performing a native compile and distributing it as an exe.

I perform win32 native compiles with Excelsior JET. It has a free Version that works quite well.

Hank May 31st, 2002 02:57 AM

Re: Tech tree viewer in the works...
 
Oh and to answer why the error is occurring. You posted it right below!


Number of Abilities := 1
Ability 1 Type := Spaceport
Ability 1 Descr := Acts as a spaceport for this system.
Ability 1 Val 1 := 0
Ability 1 Val 2 := 0
Ability 2 Type := None"


Note the Number of Abilities says "1". There is a "Ability 2 Type" in there. So technically, the data file has an error in it. Since the parser is very unforgiving, it registers that as an error.

Edit: The workaround is of course to remove the "Ability 2 Type := None" line from the facility.txt file.

[ May 31, 2002, 01:59: Message edited by: Hank ]

Lemmy May 31st, 2002 03:59 PM

Re: Tech tree viewer in the works...
 
Quote:

Edit: The workaround is of course to remove the "Ability 2 Type := None" line from the facility.txt file.
<font size="2" face="Verdana, Helvetica, sans-serif">exactly...when it says "Numberof abilities := 1" the program expects only 1 ability, that is four lines.

Quote:

also, tried loading Proportions data. no go, "required tech area greater than max tech area". That's intential in Proportions, but looks like your loader doesn't like the concept.
<font size="2" face="Verdana, Helvetica, sans-serif">hmm...i'll have to think about that one...
it's true that my program only allows compononts with "real" tech levels reqs...i'll see if i can chabnge that.

[ May 31, 2002, 15:00: Message edited by: Lemmy ]

geoschmo May 31st, 2002 04:14 PM

Re: Tech tree viewer in the works...
 
Quote:

Originally posted by Lemmy:
ok, here it is..

http://java.sun.com/products/archive...jre/index.html

<font size="2" face="Verdana, Helvetica, sans-serif">F.Y.I. for people on a slow modem, if you have the SEIV Gold Version, the Java jre is included on the CD. They included it for us because it needed for the PBW RTC program.

Geoschmo

Gandalph May 31st, 2002 07:23 PM

Re: Tech tree viewer in the works...
 
I haven't seen a reply to my error so I am listing it again.

I am getting an error when attempting to use this. Here is the error error1.bmp Here is the line it refers to error2.bmp

Lemmy May 31st, 2002 09:52 PM

Re: Tech tree viewer in the works...
 
Gandalph:
I don't see what's wrong with that particular facility, the error could be somwhere in the previous facility, maybe there's a double line in there, that usually messes the program up...

it is weird though...it really shouldn't be able to give that error at that particular line.

Phoenix-D May 31st, 2002 10:12 PM

Re: Tech tree viewer in the works...
 
Gandalph, are you sure you have the right line? Metapad said line 429 in the same file was an entry in the SPACE PORT, not what you posted..and when I changed it got past that file


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

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