Conversation
- the blending layer is used only for calculating terraforming barriers. There is no need to store it. Reduces server memory consumption by 260 MB in the current zone configuration.
- cleaning up unused code.
- Warning: Node.js 20 actions are deprecated.
- сalculate the hash of a layer data file without loading it into memory; - write the array with layer data directly, while simultaneously calculating its hash. Co-Authored-By: Google Gemini <gemini@google.com>
- add to log build configuration and last commit hash.
- disable console logging when a process is started as a service.
aqpanaciy
force-pushed
the
aqpanaciy
branch
from
September 10, 2026 08:36
02e232f to
0147011
Compare
- added the ability to enable NPC roaming only when players are present. This is enabled by the admin command/configuration value.
aqpanaciy
force-pushed
the
aqpanaciy
branch
from
September 11, 2026 18:40
0147011 to
c5c1c02
Compare
- in the DEBUG mode, when attempting to place a debug beam outside the zone, the service crashes with an exception; - added a direction change for roaming if the path's endpoint is outside the zone.
ReadLayer now opens the file and streams bytes directly into a T[] for blittable structs to avoid an extra intermediate byte[] allocation. It uses MemoryMarshal.AsBytes and RuntimeHelpers.IsReferenceOrContainsReferences to choose the fast path, handles zero-length files, and falls back to the original ReadAllBytes->ToArray<T>() logic when the file size isn't a sizeof(T) multiple, the type contains references, or a partial read occurs. Added necessary using directives. Keeps behavior compatible while reducing allocations for raw binary layer files. Co-Authored-By: Copilot <198982749+Copilot@users.noreply.github.com>
aqpanaciy
force-pushed
the
aqpanaciy
branch
from
September 20, 2026 18:37
075c5c5 to
54294cc
Compare
Introduce a background pathfinding subsystem and integrate it with zones. - Added IPathFindService, IPathFindInfo, PathFindInfo/HomePathFindInfo and PathFindService (channel-based queue, multiple worker tasks, logging and stats). - Added AStarFinderReusable: optimized, reusable A* implementation with stamp-based(by @claude) closed list and debug validations. - Register PathFindService in ZonesModule and inject into Zone; IZone and Zone expose IPathFindService. - HomingAI updated to enqueue HomePathFindInfo instead of calling A* directly. - GlobalConfiguration.ConcurrentPathFinds added to control worker count (defaults to CPU-based heuristic). Note: API changes to IZone/Zone and DI registration may require recompilation of dependents. Co-Authored-By: Copilot <198982749+Copilot@users.noreply.github.com> Co-Authored-By: Claude <claude@users.noreply.github.com>
aqpanaciy
force-pushed
the
aqpanaciy
branch
from
September 21, 2026 11:59
54294cc to
6831ba2
Compare
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.
The pull request contains: