|
|
|
 |
|

May 30th, 2002, 09:56 AM
|
Second Lieutenant
|
|
Join Date: Mar 2001
Location: Netherlands
Posts: 479
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Tech tree viewer in the works...
__________________
[Boo!]
|

May 30th, 2002, 07:31 PM
|
 |
Captain
|
|
Join Date: Mar 2002
Location: Santa Cruz, CA
Posts: 947
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
__________________
All that is gold does not glitter,
Not all those who wander are lost;
The old that is strong does not wither,
Deep roots are not reached by the frost.
|

May 31st, 2002, 01:46 AM
|
National Security Advisor
|
|
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
Phoenix-D
__________________
Phoenix-D
I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
- Digger
|

May 31st, 2002, 02:31 AM
|
 |
Private
|
|
Join Date: Mar 2002
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
__________________
I was going for a snake-slash-ninja approach with a little bit of hissit!
|

May 31st, 2002, 02:57 AM
|
 |
Private
|
|
Join Date: Mar 2002
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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 ]
__________________
I was going for a snake-slash-ninja approach with a little bit of hissit!
|

May 31st, 2002, 03:59 PM
|
Second Lieutenant
|
|
Join Date: Mar 2001
Location: Netherlands
Posts: 479
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
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.
|
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 ]
__________________
[Boo!]
|

May 31st, 2002, 04:14 PM
|
 |
National Security Advisor
|
|
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
|
|
Re: Tech tree viewer in the works...
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
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
|

May 31st, 2002, 07:23 PM
|
 |
Captain
|
|
Join Date: Mar 2002
Location: Santa Cruz, CA
Posts: 947
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
__________________
All that is gold does not glitter,
Not all those who wander are lost;
The old that is strong does not wither,
Deep roots are not reached by the frost.
|

May 31st, 2002, 09:52 PM
|
Second Lieutenant
|
|
Join Date: Mar 2001
Location: Netherlands
Posts: 479
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
__________________
[Boo!]
|

May 31st, 2002, 10:12 PM
|
National Security Advisor
|
|
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
__________________
Phoenix-D
I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
- Digger
|
Thread Tools |
|
Display Modes |
Linear Mode
|
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
|
|
|
|
|