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

Initial Map Sync from connecting players is not transferred to already existing players #11

Open Mydayyy opened 3 years ago

Mydayyy commented 3 years ago

The following scenario does not work currently:

Only after player A reconnects to the server, he would have the uploaded map data by player B

JTF195 commented 3 years ago

My temporary solution to this has been to use a client-side continuous map sync mod (ExploreTogether)

Mydayyy commented 3 years ago

Has the bug such a high impact? I thought its a pretty rare edge case and didnt prioritise it due to that.

The entire scenario basically only happens if: B has never been on the server while running the plugin but already explored areas during that time.

That's because if he had been running the plugin before, the server would already have an up2date map of Player B to send to Player A.

Whats your exact usecase for explore together?

Cheers Mydayyy

JTF195 commented 3 years ago

Well I feel silly. I didn't realize ServerSideMap was able to do continuous sync once all players have already completed initial sync.

When I first installed ServerSideMap, I was still using Valheim+ for map sync, and then when I finally scrapped V+, I immediately replaced it with several smaller mods, including ExploreTogether, so I never actually tested to see if SSM could do continuous sync on its own. My apologies.

I've also been using the pin sync feature to supplement SSM pin sync retroactively, at least until your upload and deduplication features are finished. And the death pin enhancements are also neat (i may keep it for that feature alone, even once SSM has superceded everything else)