MMO map data on server

Hello everyone !

Im developing MMORPG, i have advanced understanding how networking is done and i have allready writed own database/patcher/server hubs. Im running each client on own thread and everything is working good.

But for map data on world server i cant find good way to understand it. How i should store my map to world server to have NPC AI calculations and stuff at right places ?

Current flow is this :

World server ↔ Main server ↔ client . When client walks in world World server should provide data where NPC are and calculate correct path for NPC’s.

Im not asking code or any softwares , im going to create all by myself, just need some information how map data is stored in world servers. Thank you in advance !

Personally I would use a Headless Unity Server so you have access to Physics and everything on your Server.

  1. Do as James writes.
  2. Implement your own server side physics and pathfinding or use some existing library’s on your server. Also if you want to setup levels in Unity then you need to save all collider information in some form and set it up on the server.

So i can create navmesh on unity , disable all graphics, use it on my unity server to calculate AI etc. ?

Yes if your server runs inside a headless unity instance.

Yeah, i got TCP approach inside unity :slight_smile: