Fix client-to-chat communication flow and remove unverified claims

Co-authored-by: aronwk-aaron <26027722+aronwk-aaron@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-08-31 04:17:49 +00:00
parent d5822e2d24
commit d5c6a61c82
3 changed files with 48 additions and 33 deletions

View File

@@ -19,23 +19,35 @@
│ │ SERVER COMMUNICATION LAYER │ │ │
│ │ │ │ │ │
│ ▼ ▼ ▼ ▼ │
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ │AUTH SERVER │ │CHAT SERVER │ │WORLD SERVER │ │WORLD SERVER │
│ │ │ │ │ │ │ │ │
│ │Port: 1001 │ │Port: 1501 │Port: Dynamic│ │Port: Dynamic│
│ │ │ │ │ │ │ │ │
│ │• Login │ │• Chat Msgs │• Game Logic │ │• Game Logic │
│ │• Accounts │ │• Teams │ │• Entities │ │• Entities │
│ │• Sessions │ │• Guilds │ │• Physics │ │• Physics │
│ │• Keys │ │• Friends │• Zone Mgmt │ │• Zone Mgmt │
│ └─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘
│ │ │ │ │
└───────────────────┼───────────────────┼───────────────────┘
│ │ │
│ │
┌───────────────────┼───────────────────┼───────────────────
│ │ │ │
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
│ │AUTH SERVER │ │WORLD SERVER │ │WORLD SERVER │ │WORLD SERVER │ │
│ │ │ │ │ │ │ │ │ │
│ │Port: 1001 │ │Port: Dynamic│ │Port: Dynamic│ │Port: Dynamic│
│ │ │ │ │ │ │ │ │ │
│ │• Login │ │• Game Logic │ │• Game Logic │ │• Game Logic │
│ │• Accounts │ │• Entities │ │• Entities │ │• Entities │ │
│ │• Sessions │ │• Physics │ │• Physics │ │• Physics │ │
│ │• Keys │ │• Zone Mgmt │ │• Zone Mgmt │ │• Zone Mgmt
│ └─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘ │
│ │ │ │ │
│ │ │
│ │
┌─────────────┐ │ │
│ │CHAT SERVER │←──────┼───────────────────┼───────────────────
│ │ │ │ │
│Port: 1501
│ │ │ │ │ │ │
│ │ │• Chat Msgs │ │ │ │
│ │ │• Teams │ │ │ │
│ │ │• Guilds │ │ │ │
│ │ │• Friends │ │ │ │
│ │ └─────────────┘ │ │ │
│ │ │ │ │ │
│ └─────────────────┼───────────┼───────────────────┼────────────────────────────┤
│ │ │ │ │
│ ┌─────────────────┼───────────┼───────────────────┼───────────────────┐ │
│ │ │ │ │ │ │
│ ▼ ▼ ▼ ▼ ▼ │
│ ┌─────────────────────────────────────────────────────────────────────────────┐ │
│ │ MASTER SERVER (Port: 1500) │ │
│ │ │ │
@@ -97,7 +109,7 @@
World Server → Master Server → Target World Server → Client
3. Chat Message Flow:
Client → World Server → Chat Server → Target World Server → Target Client
Client → World Server → Chat Server → Target World Server(s) → Target Client(s)
4. Entity Updates Flow:
World Server → EntityManager → ReplicaManager → All Clients in Zone