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

Discuss and distribute tools and methods for modding. Moderator - Grognak
TheNewbie
Posts: 138
Joined: Thu Mar 28, 2013 9:56 am

Re: [Tool] FTL Ship Editor: Superluminal - version 13-6-1

Postby TheNewbie » Sat Jun 08, 2013 8:34 pm

So that means that I have to create gibs. Challenge accepted. :ugeek:




Thanks for the help. You have my seal of approval.
Thunderr
Posts: 142
Joined: Sun May 19, 2013 9:09 pm

Re: [Tool] FTL Ship Editor: Superluminal - version 13-6-1

Postby Thunderr » Sat Jun 08, 2013 8:43 pm

kartoFlane wrote:I've already fixed it and will upload the updated files later... Again...

You must pour all of your free time into this project... You have my eternal respect.
speedoflight
Posts: 660
Joined: Mon Feb 18, 2013 11:08 am

Re: [Tool] FTL Ship Editor: Superluminal - version 13-6-1

Postby speedoflight » Sat Jun 08, 2013 9:32 pm

Thunderr wrote:
kartoFlane wrote:I've already fixed it and will upload the updated files later... Again...

You must pour all of your free time into this project... You have my eternal respect.


I second that. ;)
My currently mods / wips ->
ImageImage
User avatar
kartoFlane
Posts: 1488
Joined: Mon Jan 14, 2013 10:20 pm

Re: [Tool] FTL Ship Editor: Superluminal - version 13-6-1

Postby kartoFlane » Sat Jun 08, 2013 10:13 pm

To be honest, it was a matter of a single line of code... I spent more time packing each distribution than fixing the bug.

Either way, fixed files should be up.
Hopefully there won't be any more hidden, small, annoying bugs 'til the next update...
Superluminal2 - a ship editor for FTL
Thunderr
Posts: 142
Joined: Sun May 19, 2013 9:09 pm

Re: [Tool] FTL Ship Editor: Superluminal - version 13-6-1

Postby Thunderr » Mon Jun 10, 2013 2:37 am

I just got this strange crash, although I was using the second to latest version, so you might have already fixed this.

Code: Select all

java.lang.ArrayIndexOutOfBoundsException: 0
   at com.kartoflane.superluminal.ui.ShipPropertiesWindow$13.mouseDoubleClick(ShipPropertiesWindow.java:1668)
   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.ui.ShipPropertiesWindow.open(ShipPropertiesWindow.java:388)
   at com.kartoflane.superluminal.core.Main$19.widgetSelected(Main.java:1653)
   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:611)
   at com.kartoflane.superluminal.core.Main.main(Main.java:358)
User avatar
kartoFlane
Posts: 1488
Joined: Mon Jan 14, 2013 10:20 pm

Re: [Tool] FTL Ship Editor: Superluminal - version 13-6-1

Postby kartoFlane » Mon Jun 10, 2013 10:23 am

Huh. Nice find... Fixed it, will be up for the next version.
Until then -- this bug happens when you have items on augment/weapon/drone list, and double click on the list without having any item selected -- just make sure you select the item before double-clicking.
Superluminal2 - a ship editor for FTL
timstarwars7
Posts: 6
Joined: Tue Jun 11, 2013 3:43 am

Re: [Tool] FTL Ship Editor: Superluminal - version 13-6-1

Postby timstarwars7 » Tue Jun 11, 2013 3:49 am

i tried to run it, but when i double-click it, it doesn't open. i tried it with both 32 and 64, and i'm pretty sure i have the correct java installed. can someone please help me?
User avatar
kartoFlane
Posts: 1488
Joined: Mon Jan 14, 2013 10:20 pm

Re: [Tool] FTL Ship Editor: Superluminal - version 13-6-1

Postby kartoFlane » Tue Jun 11, 2013 9:14 am

First I'll need to know, what system do you have? Also, when you double-click, does "superluminal.ini" file appear in the editor's directory?

Also, to make sure you have correct Java version - open command line / terminal, write java -version and hit enter - the editor requires at least 1.7, if it shows that you have an earlier version, you'll need to update or change your computer's settings to use the newer version (if you have multiple installed)

Also, check if there's a debug.log file in superluminal's directory and open it with any text editor - if there's anything inside it, post its contents here - I'll need that to be able to help you.
Superluminal2 - a ship editor for FTL
speedoflight
Posts: 660
Joined: Mon Feb 18, 2013 11:08 am

Re: [Tool] FTL Ship Editor: Superluminal - version 13-6-1

Postby speedoflight » Tue Jun 11, 2013 8:47 pm

Hi, KartoFlane, i was going to start another project, so i downloaded the last version (actually the last version without that java fix in the previous post) and everything ok, but when im going to export the ship, it always crash with this ->

java.lang.ArithmeticException: / by zero
at com.kartoflane.superluminal.core.ShipIO.export(ShipIO.java:2031)
at com.kartoflane.superluminal.ui.ExportDialog$12.widgetSelected(ExportDialog.java:328)
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.ui.ExportDialog.open(ExportDialog.java:85)
at com.kartoflane.superluminal.core.Main$56.widgetSelected(Main.java:2548)
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:611)
at com.kartoflane.superluminal.core.Main.main(Main.java:358)

unknown source?? wut¿?... :shock:
My currently mods / wips ->
ImageImage
User avatar
kartoFlane
Posts: 1488
Joined: Mon Jan 14, 2013 10:20 pm

Re: [Tool] FTL Ship Editor: Superluminal - version 13-6-1

Postby kartoFlane » Tue Jun 11, 2013 9:07 pm

It's the same as previously - you try exporting a ship that has no gibs. You must've missed the fixed version I uploaded.

If it's still occuring then, well, that's weird. In this case you'll have to wait for the next release, as I'm in the middle of a rather big update now, and I haven't synced the minor fixes with github repository.

And yeah, "unknown source" tends to happen a lot with events :)
Superluminal2 - a ship editor for FTL