Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
About The Pull Request
This is gonna be a rather scary PR
Garbage Subsystem:
Wait time decreased from 2 to 1 Second
Priority increased from 15 to 10
The time between a reference getting cleaned and it failing decreased from 5 min to 30 seconds.
Goal: The system should hopefully fire faster and with a higher priority... and not allow too much to build up before it rechecks the GC_CHECK_QUEUE from getting too big.
NPC Pool Subsystem:
Goal: The system should properly mark mobs as ai_z_off... a condition when no players are on the zlevel to stop processing the AI.
This should be functional on arrival of a planet, leaving a planet... and if the planet is locked due to admin or mission items.. Those mobs should no longer cause long term load issues.
Note: this does not fight back against hivebots since they are basic mobs... thats another subsystem
Machine Subsystem:
This is the scary one.
Mahines not located on ships and outpost will not fire unless a player is on their zlevel... unless they are locked as a "critical machine"
Critical machines are things like the SM, Singulo and so forth... but we need to check and verify.
The goal is to have fluff machines, such as vending machines and the sort from being a resource hog when players are not even there..
This is a draft... i need to keep working before I feel safe even trying to TM this.
Why It's Good For The Game
Faster Server processing
Changelog
🆑
/:cl: