Page 1 of 1

game-wide setting to limit how far things can spill

Posted: Fri Apr 16, 2021 11:32 pm
by Honktown
In the context of a modded inventory size and/or crafting speed, dropped items can be very hazardous. Even without modded inventory, someone could intentionally queue up many, many crafts (think thousands of items), and then spill intentionally by dying etc.

The primary example comes from scenarios with a limited map (using void, other surfaces, etc). The game can become 100% busy because it can't find valid spots to drop things (perpetually searching into void). There were many workarounds to try and prevent blocking: preventing players from unequipping armor, aggressively weeding out edge cases, etc.

A "simple" solution is abort spilling when the distance is too high. Whether it's a circular radius or the kind of square roboports and power poles use, either would be nice.

Re: game-wide setting to limit how far things can spill

Posted: Sat Apr 17, 2021 7:42 am
by ickputzdirwech
As I understand you it’s possible to get the game to a halt by spilling more items than fit on a limited map?

Another question I have is what should happen to the items that don’t fit on the ground anymore?

Re: game-wide setting to limit how far things can spill

Posted: Sun Apr 18, 2021 12:29 am
by curiosity
ickputzdirwech wrote:
Sat Apr 17, 2021 7:42 am
Another question I have is what should happen to the items that don’t fit on the ground anymore?
Put another layer on top. But a true performance fix would be to just drop all items in the closest valid spot with no regard to already spilled items items already on the ground.

Re: game-wide setting to limit how far things can spill

Posted: Sun Apr 18, 2021 5:23 am
by Honktown
ickputzdirwech wrote:
Sat Apr 17, 2021 7:42 am
As I understand you it’s possible to get the game to a halt by spilling more items than fit on a limited map?

Another question I have is what should happen to the items that don’t fit on the ground anymore?
Used to term "block" and "busy" because the game goes to 100%, not (a possible) 0%, but yes, frozen, stuck, etc. I figured destroy the items. Sane way to deal with it. Items could also be spilled in stack-sizes to reduce the space required, but in theory a jerk could still break the game.