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. :)
Description
Details
- Task Type
- Bug
- Affected Gamemode(s)
- Singleplayer
- Reproducible
- Yes
- Last tested (version)
- v0.199.535a
- Category
- none/unspecified
- OS-Specific
- Windows Only
- Hardware-Specific
- No
- Video Card Vendor
- NVIDIA
- Video Card Model
- gtx 1080
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.
<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>
<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
-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.
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.
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.