mattsemar / dsp-personal-logistics

MIT License
10 stars 7 forks source link

Litter moving but leaving a tag #45

Open Wolphin5 opened 1 year ago

Wolphin5 commented 1 year ago

Describe the bug Version: 0.9.27.15033 When items are dropped on the ground, they are cleaned up as normal, but there is a new tracing system, similar to the way the build items are when there is none in the inventory. I was not able to find a way to release the trace of them, even though the items are no longer there! Note: this trace does stick around following an exit and relaunch.

To Reproduce Steps to reproduce the behaviour:

  1. Open inventory
  2. Drop something onto the ground and allow it to be cleaned up.
  3. The items are cleaned up but the trace is left behind.

Expected behavior A clear and concise description of what you expected to happen. The traces for the Litter should not be showing up once the items are cleaned up.

Workaround To prevent this issue from occurring, I have disabled the Litter collection function of the plugin. Set SendLitterToLogisticsNetwork to False

Screenshots If applicable, add screenshots to help explain your problem. (I don't have screenshot of it)

Mods installed

Extra Bonus points if you include the save and mod save files to make reproducing easier. These can be found in Documents\Dyson Sphere Program\Save Gamesave is too big to attach, so have created a OneDrive link to the ZIP file; will be active till Dec 4. https://1drv.ms/u/s!Aoh2uloq1blDg4wJnD-N_PrScxHcAQ?e=wsu2Uu

starfi5h commented 1 year ago

The solution is to change this line to GameMain.data.trashSystem.RemoveTrash(index); so warning icon can be removed. https://github.com/mattsemar/dsp-personal-logistics/blob/main/PlayerInventory/TrashHandler.cs#L102 The fix has been added in ModFixerOne plugin.

mikeloeven commented 11 months ago

Tried mod fixer one seems to prevent new litter tags but does nothing to purge the bugged litter tags already present this is becoming a critical issue on account of the sheer HUD clutter and needs a fix ASAP