[Ship Randomizer] The Randtrel v1.3.0

Distribute and discuss mods that are functional. Moderator - Grognak
sign1000
Posts: 19
Joined: Tue Jan 21, 2014 11:42 pm

Re: The Rand-[trel/orus/asio/wark/a Monster/prey] v0.10.1

Postby sign1000 » Mon Oct 13, 2014 11:43 pm

Ok thanks!! Here is what I have:

Code: Select all

Last login: Mon Oct 13 16:41:39 on ttys000
Prestons-MacBook-Pro:~ LukeAustins$ cd /Users/LukeAustins/Desktop/Randtrel_0.10.1/
Prestons-MacBook-Pro:Randtrel_0.10.1 LukeAustins$ java -jar RandtrelGenerator.jar -src_file assetList.xml
Exception in thread "main" java.lang.UnsupportedClassVersionError: flagshipgenerator/FlagshipGenerator : Unsupported major.minor version 51.0
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
   at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
   at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Prestons-MacBook-Pro:Randtrel_0.10.1 LukeAustins$

What do I do next?
rannl
Posts: 335
Joined: Sun Nov 25, 2012 11:13 pm

Re: The Rand-[trel/orus/asio/wark/a Monster/prey] v0.10.1

Postby rannl » Mon Oct 13, 2014 11:51 pm

Looks like your java version is not up to date. Mkae sure you install the latest java version for Mac, just google java download and you'll be directed to a Mac latest download pretty quickly. After getting the latest java version you should be able to run the tool.

Also, please run :
java -version

and post the java version you are using.
sign1000
Posts: 19
Joined: Tue Jan 21, 2014 11:42 pm

Re: The Rand-[trel/orus/asio/wark/a Monster/prey] v0.10.1

Postby sign1000 » Tue Oct 14, 2014 1:47 pm

Code: Select all

Last login: Tue Oct 14 06:44:45 on ttys000
Prestons-MacBook-Pro:~ LukeAustins$ java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-466.1, mixed mode)
Prestons-MacBook-Pro:~ LukeAustins$



Here is my java version. If I need to update it, how would I do so??
rannl
Posts: 335
Joined: Sun Nov 25, 2012 11:13 pm

Re: The Rand-[trel/orus/asio/wark/a Monster/prey] v0.10.1

Postby rannl » Tue Oct 14, 2014 2:15 pm

Yeah, your java version (1.6..) is incompatible with the tool java version (1.7 and onward).

You can download the latest java 1.7 release using this link (official site):
https://java.com/en/download/index.jsp

Your OS will be automatically detected, and you'll get detailed instructions on how to install the update (should be straight forward and simple).
sign1000
Posts: 19
Joined: Tue Jan 21, 2014 11:42 pm

Re: The Rand-[trel/orus/asio/wark/a Monster/prey] v0.10.1

Postby sign1000 » Tue Oct 14, 2014 4:39 pm

Ok, thanks!! :D
Here is what I have for my code now:

Code: Select all

Last login: Tue Oct 14 09:35:08 on ttys000
Prestons-MacBook-Pro:~ LukeAustins$ cd /Users/LukeAustins/Desktop/Randtrel_0.10.1/
Prestons-MacBook-Pro:Randtrel_0.10.1 LukeAustins$ java -jar RandtrelGenerator.jar -src_file assetList.xml
Exception in thread "main" java.lang.UnsupportedClassVersionError: flagshipgenerator/FlagshipGenerator : Unsupported major.minor version 51.0
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
   at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
   at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Prestons-MacBook-Pro:Randtrel_0.10.1 LukeAustins$

Apparently, something went wrong again! :x
rannl
Posts: 335
Joined: Sun Nov 25, 2012 11:13 pm

Re: The Rand-[trel/orus/asio/wark/a Monster/prey] v0.10.1

Postby rannl » Tue Oct 14, 2014 5:24 pm

sign1000 wrote:Ok, thanks!! :D
Here is what I have for my code now:

Apparently, something went wrong again! :x


Looks like the path to the java executable has not been updated. Can you run the command :
which java

and post the output ?
rannl
Posts: 335
Joined: Sun Nov 25, 2012 11:13 pm

Re: The Rand-[trel/orus/asio/wark/a Monster/prey] v0.11.0

Postby rannl » Tue Oct 14, 2014 7:58 pm

Released an update :

Changelog 0.11.0:
* Added specific floor layout images to all ships.
* Reduced size of tool and resources by half.
* Replaced .sh executable with a smaller version with better Mac OS compatability.

The added floor layouts solve the compatability issues with CE's latest release (the Randtrel floor layout replaces CE's floor layout, so as with all ship mods used with CE, the Randtrel should be patched in after CE).

Noticed I had some clutter in both the resource pools and the actual tool jar file, so this new release is about ~13mb smaller.

Following the issues with Mac OS compatability, and with the helpfull advise from kartoFlane and Vhati's script, this release's .sh file should run successfully on the Mac OS. Just make sure you have Java 1.7 or higher installed.

Have fun, keep on FTLing, and I'll start working on the Rand of war (and try to think of a few tricks to add to those slugs...)
sign1000
Posts: 19
Joined: Tue Jan 21, 2014 11:42 pm

Re: The Rand-[trel/orus/asio/wark/a Monster/prey] v0.11.0

Postby sign1000 » Tue Oct 14, 2014 9:56 pm

Ok, here is what I get from putting in the "which java" command:

Code: Select all

Last login: Tue Oct 14 14:54:01 on ttys000
Prestons-MacBook-Pro:~ LukeAustins$ which java
/usr/bin/java
Prestons-MacBook-Pro:~ LukeAustins$

sign1000
Posts: 19
Joined: Tue Jan 21, 2014 11:42 pm

Re: The Rand-[trel/orus/asio/wark/a Monster/prey] v0.11.0

Postby sign1000 » Sat Oct 18, 2014 3:32 am

Hey, I have an idea: what if the enemy ships' layouts were randomized? (just flooring/systems, of course :P)
Wouldn't that make this Mod even more amazing? :)
Russian Rockman
Posts: 819
Joined: Fri Jan 10, 2014 11:43 pm

Re: The Rand-[trel/orus/asio/wark/a Monster/prey] v0.11.0

Postby Russian Rockman » Sat Oct 18, 2014 6:06 am

sign1000 wrote:Hey, I have an idea: what if the enemy ships' layouts were randomized? (just flooring/systems, of course :P)
Wouldn't that make this Mod even more amazing? :)

Two words, Endless Loot. rannl has already made a program that randomizes all of the enemies for CE's Endless Loot addon. ;) You can go and download it now.

Who is online

Users browsing this forum: No registered users and 13 guests