.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old May 30th, 2002, 09:52 AM

Lemmy Lemmy is offline
Second Lieutenant
 
Join Date: Mar 2001
Location: Netherlands
Posts: 479
Thanks: 0
Thanked 0 Times in 0 Posts
Lemmy is on a distinguished road
Default 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!]
Reply With Quote
  #2  
Old May 30th, 2002, 09:56 AM

Lemmy Lemmy is offline
Second Lieutenant
 
Join Date: Mar 2001
Location: Netherlands
Posts: 479
Thanks: 0
Thanked 0 Times in 0 Posts
Lemmy is on a distinguished road
Default Re: Tech tree viewer in the works...

ok, here it is..

http://java.sun.com/products/archive...jre/index.html
__________________
[Boo!]
Reply With Quote
  #3  
Old May 30th, 2002, 07:31 PM
Gandalph's Avatar

Gandalph Gandalph is offline
Captain
 
Join Date: Mar 2002
Location: Santa Cruz, CA
Posts: 947
Thanks: 0
Thanked 0 Times in 0 Posts
Gandalph is on a distinguished road
Default 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.

Reply With Quote
  #4  
Old May 31st, 2002, 01:46 AM

Phoenix-D Phoenix-D is offline
National Security Advisor
 
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
Phoenix-D is on a distinguished road
Default 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
Reply With Quote
  #5  
Old May 31st, 2002, 02:31 AM
Hank's Avatar

Hank Hank is offline
Private
 
Join Date: Mar 2002
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Hank is on a distinguished road
Default 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!
Reply With Quote
  #6  
Old May 31st, 2002, 02:57 AM
Hank's Avatar

Hank Hank is offline
Private
 
Join Date: Mar 2002
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Hank is on a distinguished road
Default 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!
Reply With Quote
  #7  
Old May 31st, 2002, 03:59 PM

Lemmy Lemmy is offline
Second Lieutenant
 
Join Date: Mar 2001
Location: Netherlands
Posts: 479
Thanks: 0
Thanked 0 Times in 0 Posts
Lemmy is on a distinguished road
Default 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!]
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 08:54 PM.


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