|
|
|
 |

May 30th, 2002, 09:52 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...
hmm, i know what wrong with that, the MS JVM odesn't have the java command, but "jview", that file is located in the c:\windows dir, so all you have to do is replace "java" with "c:\windows\jview" in the bat file.
(eidt: jview could be somewhere else if you downloaded it, just serach for it then)
But then you'll get another error, called java.lang.NoClassDefFoundError, for which i got no solution yet...
I suggest downloading the Sun JVM..i can't find the link yet...it's somwhere on java.sun.com, i'll post it when i find it..
[ May 30, 2002, 08:58: Message edited by: Lemmy ]
__________________
[Boo!]
|

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!]
|
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
|
|
|
|
|