mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-09-07 07:41:26 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user