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

Not syncing to players #54

Closed mLgz0rn closed 10 months ago

mLgz0rn commented 11 months ago

I can not seem to get this to work, the server does seem to sync. But player maps does not update at all.

Mydayyy commented 11 months ago

Greetings,

do all players have the mod installed and can confirm that it is loaded correctly via logs?

Best Regards Mydayyy

mLgz0rn commented 11 months ago

Hey! thanks for the fast reply

All players has the mod installed

From my log:

[Info   :   BepInEx] Loading [ServerSideMap 1.3.8.0]
[Info   :ServerSideMap] Store1: False
[Info   :ServerSideMap] Store2: False
[Info   :ServerSideMap] ZNet awake
[Info   :ServerSideMap] Minimap awake
[Info   :ServerSideMap] Registered Client Events
[Info   :ServerSideMap] Client received initial pin data by server. Pins: 7
[Info   :ServerSideMap] ClientAppendPins 7

One of my friends logs show the same

mLgz0rn commented 11 months ago

So I seem to have narrowed down what the issue is.

It seems to not be compatible with Webmap, that or removing crossplay, which makes the server use steamworks instead of playfab did it (got no idea about this one).

Mydayyy commented 11 months ago

Greetings,

I apologize for the late response; I fell asleep yesterday.

Yes, you are in fact right that crossplay introduces an incompatibility rendering my mod useless. It was actually discovered in the past by vp-en here: https://github.com/Mydayyy/Valheim-ServerSideMap/issues/47#issuecomment-1426843264

Unfortunately due to time constraints I did not yet investigate and fix this issue; the mod, since it got written before crossplay was not created with that option in mind. I failed however to list this as a known issue which I should have done.

I would welcome a PR on this topic so, if anyone finds himself willing to investigate this.

mLgz0rn commented 11 months ago

An addition could be to add the incompatibility to the serversidemap description so other people wont run into this issue 😅

Mydayyy commented 10 months ago

Greetings,

I once again apologize for the late response here.

But you're absolutely right. I will add this to the README next weekend and keep this issue open until then.

Best Regards Mydayyy

Mydayyy commented 10 months ago

Added to description in v1.3.9