This object is in archive! 

Safezone Crashes Dedicated Server W/ Certain Conditions

Michael McFarland shared this bug 17 months ago
Solved

When a grid with subgrid/mixed grid subcomponents passes through a safezone barrier and those components are moving (think landing gear folding up/down) the dedicated server crashes instantly.


Conditions:

- Grid must be passing though or partially through the safezone barrier (i.e. still in contact with the barrier)

- Safezone is set to allow these grids to pass through (i.e. no issues with ownership/faction/etc)

- Grid must have subgrids and those subgrids must be moving. In our case, those subgrids were small grid, while the main ship was large grid. The subgrids were attached with LG->SG hinges.


When those grids aren't moving, these same grids can pass through a safezone fine, but the expectation is that you should be able to activate moving parts at anytime and certainly not crash a server.

Replies (3)

photo
1

Hello, Michael,

thanks for letting us know about the issue that you are experiencing.

Unfortunately, when I did try it, everything was working just fine. Tested with properly set safe zone, ship with moving parts (hinge, rotor) and I was able to enter and exit safe zone without any issues.

Can I ask you for more information, please? Great would be if you can provide video of this bug happening and also the save of the world that you are experiencing it on with all affected platforms/ships needed for the reproduction of this issue. Does this happen every time you try it, or it is happening at random? Any more information that you can share would be great help as well!

Kind Regards

Keen Software House: QA Department

photo
1

can confirm this is a major bug relating to all safezones Only on official keen servers i've done numerous testing on singleplayer worlds and private run server without error. the cause is solely the hinge block and/or sub grid hinge itself when partially through a safezone barrier as stated above. the hinge parts do not need to be moving it has nothing to do with rotors they have not caused the same crash on official servers there is no way to provide a save file as that is solely through keen dedicated servers. now all of that said even with the hinge sub grid it doesn't always cause a crash but on random occurrence say the state of the grid and sub grid changes (unknown state not damage ect) it can either do it after each time the server reboots after crash essentially trapping you inside a safezone until the grid state either updates or changes which can sometimes be a restart or reloading the grid but that doesn't always fix the issue.


This bug can be caused with any hinge setup i have noticed it more common with different orientations. for my testing on official servers i used a small grid ship such as the npc small fighter corsair bought from an npc station fresh attached an advanced rotor and large grid i had large grid hinges attached to another large grid (hinge top).


Apon leaving a safezone right at the center point of the hinge top as it travels through the barrier the official server hang for a minute before crashing completely (this also affects npc station safezones).


Another thing to note i did another test on officials with my own safezone i knew the grid was in the unknown state which would cause the official server to crash after leaving the safezone. I completely switched the safezone off entirely and apon leaving the area of where the safezone was (it was completely turned off no silhouette) the official server still crashed regardless of the grid leaving the safezone area since it was already disabled however it did not crash the server when i switched the safezone off. it is something funky to do with how hinges react to safezones area state which seems to correspond with the previous area where a safezone had been active (only if the grid was inside that safezone)


reminder this has nothing to do with rotors they have not caused any problems after changing hinge to a rotor it never caused any such crash.


Unfortunatly i currently dont have any blueprints to provide it was simply just an advanced rotor attached to a small grid ship which was a large grid and on that large grid was hinges. i feel providing a blueprint will not trigger the bug since the hinge sub grid needs to enter an unknown state which does not occur from pasteing in blueprints and the state change has nothing to do with safezones after it is in the unknown state when leaving any safezone region (or after entering the safezone region and having it switched off) will still cause any official server to crash, Entering safezones does not cause the unknown state nor does it cause any crash.


i've done numerous tests on official servers during times when there were no other players and it definitely is a game breaking bug in some cases the server hard crashes and requires to reboot from request by admins.

Hope this info was informative or helps discern the bug in better detail.

photo
2

Thank you harley, your write up was much more detailed than what I had provided. I was uncertain on the hinge vs rotor as some of the earlier grids had both. However, on closer inspection with other grids I have this issue, the hinge is definitely the culprit as you have outlined. And also, only on trying to exit the safezone, not entering. One other detail I noted on our testing... in almost all cases that this happened to me, it was after I had been docked to something within the safezone for a longer period (such as through a server restart) using either landing gear or the new 1x1 magnets.

photo
2

Hello, Engineers!

While I´m really grateful for all the information gathered here on the thread, I´m still not able to reproduce the issue. It´s working for me all the time (definitely 100+ tries).

I would really need some decent steps to reproduce, as the information from text itself didn´t lead to me being able to reproduce it. So if you can provide those if form:

1) Run server

2) Spawn ship

3) Attach hinge on it

...

etc. That would help tremendously!

Harley, I sincerely thanks for the amount of information you provided in you comment, but anyway... still no luck :(

Please, if any of you can provide the steps, as mentioned above, video (showing the settings of the ships. hinge and safe zone), and the blueprints (you can do local blueprints on the servers as well) of the ships(s) and the base on which the safe zone is on, that would be great! And... I fear the only option for me to finally reproduce this issue.

Hope we can figure it out in the end.

Thanks again.

Kind Regards

Keen Software House: QA Department

photo
1

Another Fellow engineer had run into the same bug on their single player world, i borrowed their blueprint threw it into a fresh single player world and spawned it just outside an npc station on the moon,

Drove from one side of the npc safe zone entering it then as i exit the other side you will see in the video i provided that the game hangs. i cannot press escape or any other button only option is to use task manager to end the process.


i also provided the log file and world download there's a med bay set to all named "SPAWN HERE", once you find it or just use admin tools to cycle objects. sit in the right seat in the truck drive through the safe zone like i did in the video hopefully it reproduces the same bug for you.


Hope it helps get to the bottom of this.


Kind regards


Harley

photo
1

Hello, harley,

thanks for the video and mostly for the save! That was indeed great help!

I manage to reproduce the issue successfully and put it into our internal system.

Kind Regards

Keen Software House: QA Department

photo
1

I haven't seen any resolution to this issue in a while and its been a real pain for me. I did find a workaround to leave the safe zone today. I have a large ship with lots of hinges and sub grids and recently, by accident, I was able to exit the safe zone by coasting out without dampeners active. Any thrust and it hangs the game and forces me to restart SE. I also noticed that even after I stopped the game and restarted steam the sound card was still playing the thrusters sound in a loop. Even when the computer was being restarted. Hope that helps with a resolution to the bug.

photo
1

I know they have been able to replicate it. I am hoping this is going to be fixed in the February release.

photo
1

Hello, Engineer!

The fix for this is in v200

Thank you.

Kind regards,

Keen Software House: QA Department

Replies have been locked on this page!