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

FPS and/or network lag while browsing the map zoomed out #52

Closed roxorplox closed 11 months ago

roxorplox commented 1 year ago

I've noticed that while browsing the map when zoomed out even just a bit, there is significant FPS (and possibly some network) latency. Is this normal for this mod? Anything that can be done to fix this? Thanks for your support!

Mydayyy commented 1 year ago

Greetings,

Thats a bit puzzling for me since I would not know why this occurs. I will test this on the weekend and report back here.

How many pins do you have? I can imagine that maybe there are a lot of duplicate pins. Are you able to provide a screenshot of your map?

Best Regards Mydayyy

roxorplox commented 1 year ago

Hey! Thanks for testing this. Just for the record both the dedicated server and myself are on 1Gb Fiber network connections. Server is very robust with components. My PC is also very robust using a 3080Ti.

Try zooming out far, doesn't have to be all the way, make sure there are plenty of pins on the map, and try pulling the map around quickly.

You can also see the fps lag while opening the map if it's zoomed out already.

On Wed, Jun 28, 2023, 12:08 PM Mydayyy @.***> wrote:

Greetings,

Thats a bit puzzling for me since I would not know why this occurs. I will test this on the weekend and report back here.

Best Regards Mydayyy

— Reply to this email directly, view it on GitHub https://github.com/Mydayyy/Valheim-ServerSideMap/issues/52#issuecomment-1611712637, or unsubscribe https://github.com/notifications/unsubscribe-auth/BA4RKS5LE2YHU3QFZNQT34DXNRJIXANCNFSM6AAAAAAZWGJRXE . You are receiving this because you authored the thread.Message ID: @.***>

Mydayyy commented 1 year ago

Greetings,

unfortunately I failed to reproduce it. For me the map is working fine.

A few thoughts:

Best Regards Mydayyy

roxorplox commented 1 year ago

I think this has actually improved after restarting the server once, after this mod was installed.

On Sun, Jul 2, 2023, 12:12 PM Mydayyy @.***> wrote:

Greetings,

unfortunately I failed to reproduce it. For me the map is working fine.

A few thoughts:

  • The mod does not have any functionality which runs when the map is dragged. All it does is creating pins via the functions valheim uses itself too.
  • How many pins are we talking about? And are there maybe a lot of duplicate pins in the same location which might cause strain?
  • This should happen without the mod installed too, although if it is caused by the amount of pins the issue might go away once you uninstall it since the pins are not loaded from the server anymore. But if you are able to test it with the same amount of pins and without the mod I'd be interested in the result

Best Regards Mydayyy

— Reply to this email directly, view it on GitHub https://github.com/Mydayyy/Valheim-ServerSideMap/issues/52#issuecomment-1616717363, or unsubscribe https://github.com/notifications/unsubscribe-auth/BA4RKS33Y2J47GCM2S4ICKLXOGMXBANCNFSM6AAAAAAZWGJRXE . You are receiving this because you authored the thread.Message ID: @.***>