Mydayyy / Valheim-ServerSideMap

This plugin completely moves the explored map and created pins to the server. As clients explore, they will send their explored areas to the server who will then distribute it to all connected clients. When a client joins, the server will synchronize the currently explored areas to the client. Pins are shared as well but default to false and need to be enabled. When pin sharing is used, all newly created pins are send to the server who saves them along with the explored area.
38 stars 1 forks source link

Address performance concerns about map up and down syncing #2

Closed Mydayyy closed 3 years ago

Mydayyy commented 3 years ago

Address performance concerns about map up and down syncing

Currently, connecting to a server uploads the entire discovered map from the client and downloads the existing map from the server. This may be a huge network load. The goal should be to reduce this to a minimum, while still providing all the current features. For this, batching and sending the calls over time should be implemented.

E.g group the discovered map into Y packets with X coordinates and sending Z packets per second.