Claude/reorganize legacy code cx u jf - #95
Merged
Conversation
Re-separates the WorldCluster and WorldServer into independent processes, reversing the monolithic merge from commit 355195a. This implementation improves upon the original by using a custom binary TCP protocol for inter-process communication instead of .NET Remoting. Architecture: - Mangos.Cluster.Interop: New shared library providing binary RPC protocol with length-prefixed frames, request/response correlation, and automatic ICluster/IWorld proxy generation over TCP connections - WorldCluster: Standalone cluster executable accepting game client TCP connections (port 8085) and world server IPC connections (port 50001) - WorldServer: Standalone world server executable connecting to cluster via IPC and handling world simulation The existing GameServer monolithic mode is preserved. Docker Compose supports both deployment modes via profiles (monolithic/distributed). https://claude.ai/code/session_01LK4hBwJ8AhEPgNELyzJkWD
Move types from the monolithic legacy project into their correct homes: - ICluster, IWorld, ClientInfo, ServerInfo → Mangos.Cluster.Interop - SQL, SqlExtensions, DbVersionChecker → Mangos.MySql - BaseWriter, ConsoleWriter, ColoredConsoleWriter, FileWriter → Mangos.Logging - Functions, NativeMethods, StringFunctions → Mangos.Common Update all using statements across 50+ files in Mangos.Cluster and Mangos.World to reference the new namespaces, and delete the now-empty Mangos.Common.Legacy project. https://claude.ai/code/session_01Di4VqaQ3sc3zEBgg2VC8ji
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.
This change is