Ship Mass not updating when transferring cargo to other grid

Thomas Albertine shared this bug 3 years ago
Reported

I have a small grid ship and a large grid truck. I drive the large truck out to the dig site, then detach the small ship to do the actual mining. When I fill up the smaller ship, I fly back to the large truck, dock with a connector, transfer the ore, detach and continue mining. At least, that's what I'd like to do. Instead, when I detach, the cargo weight hasn't changed.

When empty, my mining ship is around 35000 kg. When I fill it up, it's around 53000 kg (I have a script that turns off the drills the ship's weight exceeds 80% of thruster capacity). If I dock and transfer the inventory to my larger truck, when I detach again, the ship is still around 53000 kg, despite the inventory being empty.

Reloading the save corrects the ship's mass, but I can't do that every time I need to drop off a load of ore.

Replies (1)

photo
1

Hello Thomas!

Sorry to hear you're experiencing this issue. The best way for us to look at this will be with a save file. Can you please supply your save without any mods and reliable steps to reproduce the issue? :)

  • You can access your save files by typing %appdata% into your Windows search bar and you will be redirected to the hidden Roaming folder. After that just follow: \Roaming\SpaceEngineers\Saves. There should be a folder with your SteamID and your saves.

Please zip the file and attach it here. If you are having difficulty attaching files you can optionally use Google Drive. When sharing a google drive link please make sure it is set to be downloadable by anyone with the link.

Kind Regards

Laura, QA Department

photo
1

Sure thing Laura.

The save was still too big even after compression zip file, so here's the link. You'll probably need 7-zip to extract it.

I also made sure I could still reproduce the problem with mods uninstalled. While I was at it, I took some screenshots to illustrate:

empty.jpg shows the ship's mass in the HUD while it's empty.

full.jpg shows the ship's mass after the weight of the ship is over 80% of thrust, which is when my script turns off the drills.

afterDroppingOffCargo.jpg shows the ship's mass in the HUD after attaching to a connector and transferring the ore from the mining ship to the hauler.

inventoryMenu.jpg shows that all the ore was removed.

photo
1

Hello Thomas!

Thank you so much for all of the information and save. I have been trying to reproduce this as so far, it has updated every time (see screenshots) Is it at all possible you could record a video at all? I've followed your steps and I'm pretty sure I'm doing them the same way you are but certainly getting a different result currently. A video would just verify how you're doing it and hopefully narrow down where the issue is :)

Kind Regards

Laura, QA Department217ed816a4e4d166c03416cca51a103503cc44c4248ed8ff7d8ed9064c20a7e3

photo
1

Hi Laura,

Here's a video I took with the Windows screen capture tool.

I also include a bit inside the cockpit. The right screen is the one where my script displays the mass at which it will turn off the drills to prevent overloading. It also turns orange when the ship has more mass than that, so that's why the drill turns off on it's own. It uses the IMyShipController CalculateShipMass method to get the ship's mass every 10 ticks. Not sure if that's useful information for debugging or not.

Thomas

photo
1

Hello Thomas!

Thank you for the video and a bit more information, that was a big help! I have successfully reproduced and reported the issue internally :)

Kind Regards

Laura, QA Department

photo
Leave a Comment
 
Attach a file