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

This Month's Specials

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

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #71  
Old February 26th, 2005, 10:01 PM

Zooko Zooko is offline
First Lieutenant
 
Join Date: Sep 2004
Posts: 666
Thanks: 0
Thanked 0 Times in 0 Posts
Zooko is on a distinguished road
Default Re: Combat Simulator Released!

When I run this on Macintosh I get:

MAIN draco:~/Desktop/Combat_Simulator$ java Fight
Exception in thread "main" java.lang.UnsupportedClassVersionError: Fight (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java :539)
at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader .java:251)
at java.net.URLClassLoader.access$100(URLClassLoader. java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java: 194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 89)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 35)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:302)
MAIN draco:~/Desktop/Combat_Simulator$ java -version
java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-141.4)
Java HotSpot(TM) Client VM (build 1.4.2-38, mixed mode)
MAIN draco:~/Desktop/Combat_Simulator$ uname -a
Darwin draco.local 7.8.0 Darwin Kernel Version 7.8.0: Wed Dec 22 14:26:17 PST 2004; root:xnu/xnu-517.11.1.obj~1/RELEASE_PPC Power Macintosh powerpc

So much for that whole "Write Once, Run Anywhere" idea. :-/
Reply With Quote
  #72  
Old February 26th, 2005, 10:10 PM
Saber Cherry's Avatar

Saber Cherry Saber Cherry is offline
Major General
 
Join Date: Oct 2003
Location: Crystal Tokyo
Posts: 2,453
Thanks: 0
Thanked 0 Times in 0 Posts
Saber Cherry is on a distinguished road
Default Re: Combat Simulator Released!

Quote:
Zooko said:So much for that whole "Write Once, Run Anywhere" idea. :-/
This isn't the first time I had trouble with Macs. Before, I found out that Macs use a different director separator than Windows (Windows uses "\").

However, your problem is not OS-related, I think, but rather the fact that I compiled it in Java 5.0 and you are running it in Java 4.2. 5.0 makes some major changes.

Hopefully, if you go here:
http://java.sun.com/j2se/1.5.0/download.jsp

And click on this link: "Download JRE for Other Platforms"

And install it, it will run.

Edit. P.S. Thanks for posting the complete error message and version information!
__________________
Cherry
Reply With Quote
  #73  
Old February 26th, 2005, 10:20 PM

Zooko Zooko is offline
First Lieutenant
 
Join Date: Sep 2004
Posts: 666
Thanks: 0
Thanked 0 Times in 0 Posts
Zooko is on a distinguished road
Default Re: Combat Simulator Released!

Just checked, and there is no JRE 5.0 for Mac listed there.
Reply With Quote
  #74  
Old February 26th, 2005, 10:20 PM

Zooko Zooko is offline
First Lieutenant
 
Join Date: Sep 2004
Posts: 666
Thanks: 0
Thanked 0 Times in 0 Posts
Zooko is on a distinguished road
Default Re: Combat Simulator Released!

Why don't you make the source code freely available under the GNU Public License and I'll compile it for the current version of Java on Mac for you.
Reply With Quote
  #75  
Old February 26th, 2005, 10:24 PM
Saber Cherry's Avatar

Saber Cherry Saber Cherry is offline
Major General
 
Join Date: Oct 2003
Location: Crystal Tokyo
Posts: 2,453
Thanks: 0
Thanked 0 Times in 0 Posts
Saber Cherry is on a distinguished road
Default Re: Combat Simulator Released!

Ahh... sorry, I didn't realize that. There is a way to compile for compatibility with previous versions, so as soon as I figure that out (it should be somewhere in the sun forums) I'll recompile it for 4.2.
__________________
Cherry
Reply With Quote
  #76  
Old February 26th, 2005, 10:24 PM

Zooko Zooko is offline
First Lieutenant
 
Join Date: Sep 2004
Posts: 666
Thanks: 0
Thanked 0 Times in 0 Posts
Zooko is on a distinguished road
Default Re: Combat Simulator Released!

http://developer.apple.com/java/faq/#anchor2

^-- this says Java 1.5.0 will never be ported to Mac OS 10.3. It will only work on Mac OS 10.4, which isn't yet available, and which I would have to pay at least USD 100.00 to buy if I wanted it, which I don't.

Why don't you try rewriting your simulator in Python? Python is the easiest language to learn. I'll bet in a mere three hours you will be happy with the new simulator you've written.

Also, the result will be more portable. <wink>
Reply With Quote
  #77  
Old February 26th, 2005, 11:01 PM
Saber Cherry's Avatar

Saber Cherry Saber Cherry is offline
Major General
 
Join Date: Oct 2003
Location: Crystal Tokyo
Posts: 2,453
Thanks: 0
Thanked 0 Times in 0 Posts
Saber Cherry is on a distinguished road
Default Re: Combat Simulator Released!

Quote:
Zooko said:Why don't you try rewriting your simulator in Python? Python is the easiest language to learn. I'll bet in a mere three hours you will be happy with the new simulator you've written.
Hahaha... =)

2 reasons. First, Java is probably much faster, and it already took several days to do that large simulation. Second... it's taken me at least 200 hours to write, test, and debug the simulator so far... I doubt I could port it in 3

Anyway, I recompiled it for Java 1.4.2 (which will, therefore, run under 1.4.2 or higher). Hopefully it will work for you... you can download it here:

http://www.geocities.com/saber_marionette_cherry/

or more specifically, here:

http://www.geocities.com/saber_mario...ulator_142.zip

...although sometimes geocities does not like straight links to files.
__________________
Cherry
Reply With Quote
  #78  
Old February 26th, 2005, 11:30 PM

Zooko Zooko is offline
First Lieutenant
 
Join Date: Sep 2004
Posts: 666
Thanks: 0
Thanked 0 Times in 0 Posts
Zooko is on a distinguished road
Default Re: Combat Simulator Released!

It works! Thanks!
Reply With Quote
  #79  
Old February 27th, 2005, 01:26 AM
Saber Cherry's Avatar

Saber Cherry Saber Cherry is offline
Major General
 
Join Date: Oct 2003
Location: Crystal Tokyo
Posts: 2,453
Thanks: 0
Thanked 0 Times in 0 Posts
Saber Cherry is on a distinguished road
Default Re: Combat Simulator Released!

You're welcome=)
__________________
Cherry
Reply With Quote
  #80  
Old February 28th, 2005, 10:55 PM

Evil Dave Evil Dave is offline
Corporal
 
Join Date: Jan 2004
Location: Wilmington, Delaware, USA
Posts: 191
Thanks: 1
Thanked 13 Times in 2 Posts
Evil Dave is on a distinguished road
Default Re: Combat Simulator Released!

Hail, Saber Cherry!

I gotta question: which bless-9 effects are currently working?

I was looking at the history (in Readme.txt), which mentions that only some were working in v22, but then in v24 flaming weapons and berserking were added -- did that fix the fire and nature bless effects?
__________________
No plan survives contact with the enemy.
--Helmut von Moltke

Have too may pretender files to keep track of? Use catgod to view them.
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 03:34 PM.


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