Jump to content

Fast moving boats have structures detach from them


Hornete
  • Fixed

 

Structures can become detached from boats moving at high speeds, if the structure is right on the edge of the boat.

Changing line 167 in "components/walkableplatform.lua" from

if not entity.components.embarker and not self.new_objects_on_platform[entity] and not entity.entity:GetParent() == nil then


To

if not entity.components.embarker and not self.new_objects_on_platform[entity] and entity.entity:GetParent() == nil then

will fix this issue.

The issue is best reproduced by placing two malbatross sails on a boat, a structure on the opposite direction the boat will sail to, hoisting the masts up and running "c_save()" to cause intentional lag, which will nearly 100% of the time cause the structure to fall off (As demonstrated in the video from 0:00 to 0:35)

When the line is changed to its fixed version(in the video, I used a simple mod that replaced line 167), the issue will no longer occur (As demonstrated in the video from 2:40 to 3:16)

I don't take credit for the solution here, the bug and solution were originally provided in this bug report, I just decided to re-report it again:

 


Steps to Reproduce

See above structions

  • Like 4
  • Thanks 1
  • Big Ups 1



User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...