Page 1 of 1

How can I fix this?

Posted: Sun Jan 16, 2011 4:32 am
by Fatleaf
I was having a really good game, just got my mark and all their buddies from random hits. Then jumped to the next system to look for the ship in spyhunter and got a mis-jump and ended up in witchspace surrounded by Thargons and the navy. After the battle only I and a battlebot II were remaining and after filling my hold with spoil and shooting the rest I continued to the planet intent on saving with much satisfaction :D

BUT... :( Oolite hung! :evil:

this is the bit in the log that seemed to be wrong

[script.javaScript.warning.ooliteDefinedError]: ----- JavaScript warning (<unidentified script>): The event handler shipLostTarget has been renamed to shipTargetLost. The script behemoth_fighter must be updated. The old form will not be supported in future versions of Oolite.
[script.javaScript.warning.ooliteDefinedError]: (null), line 0.


I would be very grateful for any help to find the problem. :D

Re: How can I fix this?

Posted: Sun Jan 16, 2011 11:24 am
by Eric Walch
Fatleaf wrote:
this is the bit in the log that seemed to be wrong

[script.javaScript.warning.ooliteDefinedError]: ----- JavaScript warning (<unidentified script>): The event handler shipLostTarget has been renamed to shipTargetLost. The script behemoth_fighter must be updated. The old form will not be supported in future versions of Oolite.
This part of the error should not be responsible for the hang because it was generated while you were in interstellar space and you already managed to jump to normal space.

About the renaming itself: That is my error. I thought it was already in the latest 2.5.4 release, but apparently I only fixed it in my local version. Last week I uploaded a version 2.6. There is this error fixed and another error that only will give problems when 1.75 is released.

But as said: I don't think this caused the hang. That leaves the last error line in your log.

Code: Select all

[script.javaScript.warning.ooliteDefinedError]: (null), line 0.

Re: How can I fix this?

Posted: Sun Jan 16, 2011 12:59 pm
by JensAyton
Eric Walch wrote:
But as said: I don't think this caused the hang. That leaves the last error line in your log.

Code: Select all

[script.javaScript.warning.ooliteDefinedError]: (null), line 0.
That’s directly connected to the previous line (which also says “<undefined script>”). It’s not a problem per se.

Re: How can I fix this?

Posted: Mon Jan 17, 2011 9:11 am
by Commander McLane
In other words: unfortunately we don't know what caused your hang.

Re: How can I fix this?

Posted: Mon Jan 17, 2011 2:38 pm
by Fatleaf
Never mind, but thanks for you time. :)

Re: How can I fix this?

Posted: Mon Jan 17, 2011 7:44 pm
by Poro
Since installing version 1.74.2 (on Linux) I've had the same crash-to-desktop hangs twice now - both in the middle of missions. The game has never crashed for me until this version. I know that isn't enough for anyone to go on, but just to let the OP know that he isn't the only one.Ah well, at least I save in every station.

Re: How can I fix this?

Posted: Tue Jan 18, 2011 9:25 am
by Fatleaf
I'm running windows7, 64 bit. If that helps!