-
Notifications
You must be signed in to change notification settings - Fork 18
Add floating entity cleanup/control #39
Comments
I've always thought that Per-User floating objects would be really nice to have, But i have no idea if it is even possible in extender/essentials |
It'd be possible, but it would still have to live within the global limit set on the server. |
Well, 25 per user would be a total limit of 375-700 based on some popular servers player counts at 15-28 players, Having them all moving at the same time could get bog down the server so if they were to stop if not affected by gravity it would make hand mining much easier, Gravity collectors, Cannons all without disturbing other users hopefuly, I'm not sure how you'd handle them spawning from ships crashing, or miners/etc, Anyway its just a thought. |
Hmm. For crashes, or for large mining ships/platforms, that could lead to unexpected results |
don't know much about how SE does things, but don't floating objects still have some sort of unique ID? can't you just map the ID of the floating objects to the associated players? if the player goes over the limit, just delete the first floating object on the player's stack. |
Yes, they have unique ids, but how do you know who created them in the first place? |
well, this is a wrapper for the SE server, correct? the SE server has to, at some point, know why its creating these floating items? (so for example: I'm creating floating items here because player X just drilled the shit out of this asteroid). again, taking shots in the dark for game internals in which I'm not fluent in. but if my speculations are correct, this would be a great feature to abstract out into an event system within the extender |
You'd have to amend the core functions that create the objects to call events or attach the entities to the player in some sort of entity manager, this is not currently done at all. |
Right. This is a wrapper, not a code injector. |
I'm all for having all sorts of events in the game that can be hooked into. |
Since floating entity cleanup is being removed from extender, something should be put into essentials to replace it (though much more capable/useful).
Thoughts on what might be good floating entity management schemes?
The text was updated successfully, but these errors were encountered: