Page 43 of 78

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

Posted: Sat Jun 08, 2013 8:34 pm
by TheNewbie
So that means that I have to create gibs. Challenge accepted. :ugeek:




Thanks for the help. You have my seal of approval.

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

Posted: Sat Jun 08, 2013 8:43 pm
by Thunderr
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.

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

Posted: Sat Jun 08, 2013 9:32 pm
by speedoflight
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. ;)

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

Posted: Sat Jun 08, 2013 10:13 pm
by kartoFlane
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...

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

Posted: Mon Jun 10, 2013 2:37 am
by Thunderr
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)

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

Posted: Mon Jun 10, 2013 10:23 am
by kartoFlane
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.

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

Posted: Tue Jun 11, 2013 3:49 am
by timstarwars7
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?

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

Posted: Tue Jun 11, 2013 9:14 am
by kartoFlane
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.

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

Posted: Tue Jun 11, 2013 8:47 pm
by speedoflight
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:

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

Posted: Tue Jun 11, 2013 9:07 pm
by kartoFlane
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 :)