Page 65 of 78

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

Posted: Tue Nov 26, 2013 10:24 pm
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

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

Posted: Tue Nov 26, 2013 10:31 pm
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.

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

Posted: Wed Nov 27, 2013 2:37 am
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)

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

Posted: Wed Nov 27, 2013 3:29 am
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%.

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

Posted: Wed Nov 27, 2013 6:48 pm
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.

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

Posted: Wed Nov 27, 2013 7:04 pm
by Pandora134
Is there no other way to get the files? My connection seems fine.

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

Posted: Wed Nov 27, 2013 7:20 pm
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...

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

Posted: Wed Nov 27, 2013 7:41 pm
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.

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

Posted: Wed Nov 27, 2013 7:50 pm
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

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

Posted: Wed Nov 27, 2013 9:55 pm
by Pandora134
Works now, the "HOW TO" video by Vanguard of Valor helped a lot.

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