Topic: Optimize loading of new things in detection range
If you have ever used a detector on gamma, you would know that the loading of many things at once that come in your detection range is very slow.
Likely, its a blocking operation to the client and the client can't continue with anything else till it is complete.
I propose a few optimizations:
1. Add a priority system, players should always load before structures.
2. Make the code non blocking and stream it in a series of many updates instead of requiring it all at once.
3. Don't immediately remove things from the client when they are outside of detection range, remove them after say 120 seconds. This is especially important when detecting. Of course, the location of said objects would not change until the server updates the client again but if they came back in detection range it would be easier for the client in theory.
Yes I suppose this could sometimes result in things not showing up for a few seconds on occasion but its better then the current situation of laggy death on gamma.