[Tool] FTL Ship Editor: Superluminal [NOT UPDATED TO AE]

Discuss and distribute tools and methods for modding. Moderator - Grognak
Post Reply
NarwhalsR1337
Posts: 1
Joined: Tue Nov 26, 2013 10:17 pm

Re: [Tool] FTL Ship Editor: Superluminal - version 13-11-12

Post by NarwhalsR1337 »

When I put 10 power or more, add artillery, and make the crew teleporter available at
start(yes OP, but I am horrile at FTL) the program Superluminal crashes
with this error message:

java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
at java.util.LinkedList.checkElementIndex(Unknown Source)
at java.util.LinkedList.get(Unknown Source)
at com.kartoflane.superluminal.core.ShipIO.loadWeaponImages(ShipIO.java:1812)
at com.kartoflane.superluminal.core.ShipIO.loadShipProject(ShipIO.java:2637)
at com.kartoflane.superluminal.core.ShipIO.askLoadDir(ShipIO.java:2769)
at com.kartoflane.superluminal.core.Main$56.widgetSelected(Main.java:2839)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at com.kartoflane.superluminal.core.Main.open(Main.java:763)
at com.kartoflane.superluminal.core.Main.main(Main.java:428)
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
at java.util.LinkedList.checkElementIndex(Unknown Source)
at java.util.LinkedList.get(Unknown Source)
at com.kartoflane.superluminal.core.ShipIO.loadWeaponImages(ShipIO.java:1812)
at com.kartoflane.superluminal.core.ShipIO.saveShipProject(ShipIO.java:2720)
at com.kartoflane.superluminal.core.Main.main(Main.java:456)

If you can help, thanks! :D
User avatar
kartoFlane
Posts: 1488
Joined: Mon Jan 14, 2013 10:20 pm

Re: [Tool] FTL Ship Editor: Superluminal - version 13-11-12

Post by kartoFlane »

*sigh* I expected that the newly added part might cause problems.

Either way, it seems that it's crashing because there's no weapon mount for artillery. If your ship has artillery system assigned, you need to place n+1 weapon mounts, where n is the number of weapon slots your ship has.
Superluminal2 - a ship editor for FTL
mcsniperslayer
Posts: 6
Joined: Sat Nov 09, 2013 10:36 pm

Re: [Tool] FTL Ship Editor: Superluminal - version 13-11-12

Post by mcsniperslayer »

When I open it up (im on a Mac and i tried both the 32 and 64 bit) it just crashes






Exception in thread "Thread-1" java.lang.UnsupportedClassVersionError: com/kartoflane/superluminal/core/Main : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
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)
Pandora134
Posts: 7
Joined: Wed Nov 27, 2013 12:10 am

Re: [Tool] FTL Ship Editor: Superluminal - version 13-11-12

Post by Pandora134 »

Trying to install this, but I get the error:

File extraction failed. The archive may be corrupted, not readable or in an incomplete format. I've tried both 32 and 64 versions for windows but it only downloads 86%.
User avatar
kartoFlane
Posts: 1488
Joined: Mon Jan 14, 2013 10:20 pm

Re: [Tool] FTL Ship Editor: Superluminal - version 13-11-12

Post by kartoFlane »

@mcsniperslayer
Your Mac is using an older version of Java, most likely 1.6, whereas the editor requires 1.7. Look here for a potential solution.

@Pandora134
Looks like your download was interrupted for whatever reason. Try downloading it again some other time, it's probably just a temporary issue with Dropbox's servers / your own connection.
Superluminal2 - a ship editor for FTL
Pandora134
Posts: 7
Joined: Wed Nov 27, 2013 12:10 am

Re: [Tool] FTL Ship Editor: Superluminal - version 13-11-12

Post by Pandora134 »

Is there no other way to get the files? My connection seems fine.
User avatar
kartoFlane
Posts: 1488
Joined: Mon Jan 14, 2013 10:20 pm

Re: [Tool] FTL Ship Editor: Superluminal - version 13-11-12

Post by kartoFlane »

Both files are downloading perfectly fine for me... So I guess it has to be something on your end. Perhaps your antivirus software prevents the downloading of programs it deems suspicious? There was an issue like this, once...
Superluminal2 - a ship editor for FTL
Pandora134
Posts: 7
Joined: Wed Nov 27, 2013 12:10 am

Re: [Tool] FTL Ship Editor: Superluminal - version 13-11-12

Post by Pandora134 »

I've disabled my anti-virus, but still it only downloads 86%. Is dropbox the only way to get the files?

*Update*
It was my winzip causing the problems, not sure why..so I tried winrar and now it's working fine.
User avatar
kartoFlane
Posts: 1488
Joined: Mon Jan 14, 2013 10:20 pm

Re: [Tool] FTL Ship Editor: Superluminal - version 13-11-12

Post by kartoFlane »

That's the only place where I've uploaded them, because it's very convenient for me. But I suppose I can mirror them somewhere else...

edit:
Uploaded as a release on GitHub: download link
Superluminal2 - a ship editor for FTL
Pandora134
Posts: 7
Joined: Wed Nov 27, 2013 12:10 am

Re: [Tool] FTL Ship Editor: Superluminal - version 13-11-12

Post by Pandora134 »

Works now, the "HOW TO" video by Vanguard of Valor helped a lot.

http://www.youtube.com/watch?v=A31U0CtvU0w
Post Reply