Page MenuHomeSchine - Phabricator

Starmade | Game closes down in combat (break off)
Closed, DuplicatePublic

Description

Hi, I'm having a rather annoying bug at the moment in Starmade, whenever I'm in a ship and something starts to attack me, my game eventually just closes down, in the same way it does when you exit to the desktop, I'm not sure if its the enemies shooting me or something other than me shooting them (because it did this once without me shooting them at all) but what ever it is its rather annoying and I hope you can fix this. :)

Details

Task Type
Bug
Testing Results
Affected Gamemode(s)
Singleplayer
Reproducible
Yes
Last tested (version)
v0.199.535a
Category
none/unspecified
Hardware/Software/System
OS-Specific
Windows Only
Hardware-Specific
No
Video Card Vendor
NVIDIA
Video Card Model
gtx 1080
Steps to reproduce

Firstly, get in a ship, doesn't matter if its a 1km long battleship or just a shuttle, secondly, go find something to attack you, when it occurred to me it was some random pirate ships, there were also some trade guild ships around however this has occurred without the presence of any other faction, thirdly, begin to fight them, when it happened to me I was just fighting them like normal and it randomly occurred, also I am unsure as this works on multiplayer with other people, as I have no friends to play this game with, if you follow these steps and are "lucky" then it should happen, also I don't know if this is only happening to me as, like stated earlier, I have no friends to play this game with and searches on the internet haven't shown anyone else having this issue.

Serverconfig (server.cfg)
 <replace this block with the file content, 
but do not remove the first and last line. 
Before using the paste function, mark the area from the 
opening angle bracket to the closing angle bracket>
Clientconfig (settings.cfg)
 <replace this block with the file content, 
but do not remove the first and last line. 
Before using the paste function, mark the area from the 
opening angle bracket to the closing angle bracket>

Event Timeline

lancake added a subscriber: lancake.
lancake claimed this task.

-feedback-

In order to get some more information about this crash, we need you to upload your log file here. The logfile we need is named logstarmade.0.log and is located in your ./StarMade/logs directory.
Reproduce this problem, and after that crash, upload that logfile (make sure to upload that file before restarting the game, or else the file will be overridden).
Drag and drop the file in the comment box here on Phabricator to upload it.

lancake shifted this object from the S1 Public space to the S3 Starmade space.Jun 21 2017, 7:36 PM
lancake changed the visibility from "Custom Policy" to "Public (No Login Required)".
lancake changed the edit policy from "Task Author" to "Starmade (Project)".
lancake changed the task status from Open to Feedback.
Restricted Application added a project: Waiting on Author. · View Herald TranscriptJun 21 2017, 7:36 PM

I think this is the correct file...

Restricted Application edited projects, added Customer responded; removed Waiting on Author. · View Herald TranscriptJun 21 2017, 9:59 PM
Restricted Application changed the task status from Feedback to Open. · View Herald Transcript
lancake changed the task status from Open to Feedback.Jun 21 2017, 11:46 PM

Yes it is.

[2017-06-21 22:55:50] Exiting (normal) because of exception java.lang.NullPointerException: Exception: REQUESTED TYPE 0 IS NULL
[2017-06-21 22:55:50] java.lang.NullPointerException: Exception: REQUESTED TYPE 0 IS NULL
[2017-06-21 22:55:50] 	at org.schema.game.common.data.element.ElementKeyMap.getInfo(SourceFile:643)
[2017-06-21 22:55:50] 	at org.schema.game.common.controller.EditableSendableSegmentController.handleHit(SourceFile:1494)
[2017-06-21 22:55:50] 	at obfuscated.YA.handleHit(SourceFile:334)
[2017-06-21 22:55:50] 	at org.schema.game.common.controller.elements.ProjectileController.hitBlock(SourceFile:524)
[2017-06-21 22:55:50] 	at org.schema.game.common.controller.elements.ProjectileController.checkCollision(SourceFile:390)
[2017-06-21 22:55:50] 	at org.schema.game.common.controller.elements.ProjectileController.updateParticle(SourceFile:1150)
[2017-06-21 22:55:50] 	at obfuscated.aLm.update(SourceFile:167)
[2017-06-21 22:55:50] 	at org.schema.game.common.controller.elements.ProjectileController.update(SourceFile:1188)
[2017-06-21 22:55:50] 	at obfuscated.ajG.a(SourceFile:2318)
[2017-06-21 22:55:50] 	at org.schema.game.common.data.world.Universe.updateSector(SourceFile:1133)
[2017-06-21 22:55:50] 	at org.schema.game.common.data.world.Universe.update(SourceFile:1197)
[2017-06-21 22:55:50] 	at org.schema.game.server.controller.GameServerController.update(SourceFile:1295)
[2017-06-21 22:55:50] 	at org.schema.schine.network.server.ServerController.run(SourceFile:275)
[2017-06-21 22:55:50] 	at java.lang.Thread.run(Unknown Source)

It seems you have the feature "enable break off" enabled which is a broken/experimental feature. Parts are physically disconnecting and the error above is what happens shortly after.
In the main menu -> local universe -> adv. setting, there should be a "Enable break off" somewhere in those 5 tabs, you can search for it with the bottom bar.
If you can't find it, you can manually change it in the server.cfg file itself, located in ./StarMade where it is called "ENABLE_BREAK_OFF". Put that on "false" and save the file change.

That will prevent any future issues from happening although your current world may be broken still or extremely laggy when joining.

In case that setting was already on false, please upload your server.cfg too.
Waiting on your feedback, can put it in queue afterwards as it is an issue to tackle one way or another.

Restricted Application edited projects, added Waiting on Author; removed Customer responded. · View Herald TranscriptJun 21 2017, 11:46 PM

Yes, disabling break off appears to fix this issue, thanks for the feedback :)

Restricted Application edited projects, added Customer responded; removed Waiting on Author. · View Herald TranscriptJun 22 2017, 5:03 PM
Restricted Application changed the task status from Feedback to Open. · View Herald Transcript

Awesome! Found an existing of the break off issue but it's a bit outdated. Will merge the tasks together and update the original one.

lancake renamed this task from Game closes down in combat to Game closes down in combat (break off).Jun 22 2017, 10:51 PM
AndyP moved this task from Unclassed to Archived on the Starmade board.Jul 20 2017, 10:40 PM