Fix Server Desync

This is a serious issue, Devs need to fix immediately if they want to keep the playerbase stable. literally cant interact with anything on server while playing in party. Damage doesn't register, unable to pick items or open doors etc.
9:13 am, March 4, 2023
Sp4rda 0 comments 0 likes

SilentStrike158 replied to Fix Server Desync February 20, 2021 @ 3:20:15 am PST

Originally posted by Shrimpins:
if you're experiencing desync that's not a server. make a dedicated server, it takes like 20 minutes.

Can teach how to set up dedicated server? and do we need to buy the server? i search internet keep telling me to buy server. Please help
9:13 am, March 4, 2023
0 comments 0 likes

Avatar-X replied to Fix Server Desync February 20, 2021 @ 4:22:17 am PST

Originally posted by Shrimpins:
if you're experiencing desync that's not a server. make a dedicated server, it takes like 20 minutes.

Please stop writing crap like that. I run a dedicated server and the game's performance is unbearable. Actually already unplayable. We're only with seven players.

Our village building project has failed. Trees and items fly through the air. It was everywhere. This problem can be avoided by building far apart. But then you don't need a multiplayer / co-op game but a single player.

You have to stick to the truth. The co-op mode is just badly synced.
9:13 am, March 4, 2023
0 comments 0 likes

Shrimpins replied to Fix Server Desync February 20, 2021 @ 4:24:39 am PST

Simple Valheim Dedicated Server information

Search your steam library for "valheim", the dedicated server will appear, install that through the library interface. After that, right click that in your library list, and go to manage>browse local files. Once you have that directory opened, find the PDF file named "Valheim Dedicated Server Manual" and open that, give it a good read and don't skip anything, especially the part telling how to set a password in the files, if you want the server to be private.

To port forward easily, just press windows key and R to open the "Run" in the search field, type "cmd" without quotation marks, then press enter. You will see Windows Command Prompt appear on screen.

Type "ipconfig" without quotation marks into cmd, press enter. It will show you your ip configuration information.

Find the IPV4 address and write it down somewhere safe, we need that to port-forward your server. Find the "Default Gateway" and type the number it has shown into your web browser url address bar, and then find your login information on the back of your router, and sign in.

Opening port ranges for Valheim

Each router will look slightly different, but all provide general purpose firewall management and LAN settings. We're looking for "Port-Forwarding" or something along those lines. Add a new port, range using your IPV4 address as the IP address, and port ranges 2456 - 2458 set your protocol to "UDP/TCP" or "Both" and save.

Some routers let you disable and enable ports by a toggle button, so return to the port-forwarding list and ensure that it is enabled after you add it to the list of ports. Now click save somewhere on that page, if there is an additional save button at the bottom or top of the port list. If not, continue on to your steam library and run the server.

Connecting to the server

Find the IPV4 (the ip you will use to connect to your own server, if running it on your own network.) In Steam, click View in the upper left-hand corner, then servers. Go to favorites and click "Add a server" enter your IPV4 address and the port Steam will need is 2457.
So for example "IPV4address:2457" then save and refresh while you have the dedicated server running on steam. Connect to it and type in the password, if made to be a private server. The game should launch, and it may ask for the password again once in-game connection begins.

Others connecting to your server

Search "what is my IP" into google, and it will show you the address others will use to connect to your server, provide that in the form of yourIPaddress:2457 and tell them to add it to their Steam server favorites, and connect through that window.

You may also connect through the in-game IP connection button, but you will have to manually type the address each time, and you will be using the port 2456 if connecting through the game only, not using Steams server favorites list.
9:13 am, March 4, 2023
0 comments 0 likes

Shrimpins replied to Fix Server Desync February 20, 2021 @ 4:29:05 am PST

Originally posted by Avatar-X:
Originally posted by Shrimpins:
if you're experiencing desync that's not a server. make a dedicated server, it takes like 20 minutes.

Please stop writing crap like that. I run a dedicated server and the game's performance is unbearable. Actually already unplayable. We're only with seven players.

Our village building project has failed. Trees and items fly through the air. It was everywhere. This problem can be avoided by building far apart. But then you don't need a multiplayer / co-op game but a single player.

You have to stick to the truth. The co-op mode is just badly synced.

Co-op mode is not a dedicated server, that is a peer to peer connection.

If you are actually running a dedicated server outside of the game, you need better internet and/or hardware.

I have been running a dedicated server on the PC I use to play, with a handful of friends connecting, and have suffered zero problems for days in a row, if it's the game, I would be more than surprised.
9:13 am, March 4, 2023
0 comments 0 likes

Sp4rda replied to Fix Server Desync February 20, 2021 @ 4:30:50 am PST

Originally posted by Shrimpins:
Simple Valheim Dedicated Server information

Search your steam library for "valheim", the dedicated server will appear, install that through the library interface. After that, right click that in your library list, and go to manage>browse local files. Once you have that directory opened, find the PDF file named "Valheim Dedicated Server Manual" and open that, give it a good read and don't skip anything, especially the part telling how to set a password in the files, if you want the server to be private.

To port forward easily, just press windows key and R to open the "Run" in the search field, type "cmd" without quotation marks, then press enter. You will see Windows Command Prompt appear on screen.

Type "ipconfig" without quotation marks into cmd, press enter. It will show you your ip configuration information.

Find the IPV4 address and write it down somewhere safe, we need that to port-forward your server. Find the "Default Gateway" and type the number it has shown into your web browser url address bar, and then find your login information on the back of your router, and sign in.

Opening port ranges for Valheim

Each router will look slightly different, but all provide general purpose firewall management and LAN settings. We're looking for "Port-Forwarding" or something along those lines. Add a new port, range using your IPV4 address as the IP address, and port ranges 2456 - 2458 set your protocol to "UDP/TCP" or "Both" and save.

Some routers let you disable and enable ports by a toggle button, so return to the port-forwarding list and ensure that it is enabled after you add it to the list of ports. Now click save somewhere on that page, if there is an additional save button at the bottom or top of the port list. If not, continue on to your steam library and run the server.

Connecting to the server

Find the IPV4 (the ip you will use to connect to your own server, if running it on your own network.) In Steam, click View in the upper left-hand corner, then servers. Go to favorites and click "Add a server" enter your IPV4 address and the port Steam will need is 2457.
So for example "IPV4address:2457" then save and refresh while you have the dedicated server running on steam. Connect to it and type in the password, if made to be a private server. The game should launch, and it may ask for the password again once in-game connection begins.

Others connecting to your server

Search "what is my IP" into google, and it will show you the address others will use to connect to your server, provide that in the form of yourIPaddress:2457 and tell them to add it to their Steam server favorites, and connect through that window.

You may also connect through the in-game IP connection button, but you will have to manually type the address each time, and you will be using the port 2456 if connecting through the game only, not using Steams server favorites list.
Does the host require real ip to create dedicate server? I have shared ip
9:13 am, March 4, 2023
0 comments 0 likes

Shrimpins replied to Fix Server Desync February 20, 2021 @ 4:35:04 am PST

Originally posted by Jawad:
Does the host require real ip to create dedicate server? I have shared ip

It should work fine, yes.
9:13 am, March 4, 2023
0 comments 0 likes

Sp4rda replied to Fix Server Desync February 20, 2021 @ 4:36:59 am PST

Originally posted by Shrimpins:
Originally posted by Jawad:
Does the host require real ip to create dedicate server? I have shared ip

It should work fine, yes.
It would work with shared ip?
9:13 am, March 4, 2023
0 comments 0 likes

Avatar-X replied to Fix Server Desync February 20, 2021 @ 4:37:08 am PST

Originally posted by Shrimpins:
Originally posted by Avatar-X:

Please stop writing crap like that. I run a dedicated server and the game's performance is unbearable. Actually already unplayable. We're only with seven players.

Our village building project has failed. Trees and items fly through the air. It was everywhere. This problem can be avoided by building far apart. But then you don't need a multiplayer / co-op game but a single player.

You have to stick to the truth. The co-op mode is just badly synced.

Co-op mode is not a dedicated server, that is a peer to peer connection.

If you are actually running a dedicated server outside of the game, you need better internet and/or hardware.

I have been running a dedicated server on the PC I use to play, with a handful of friends connecting, and have suffered zero problems for days in a row, if it's the game, I would be more than surprised.

Guy stop calling " I use Linux with 24/7 Server. Why you call it is Coop? And my PC not stay at home he stay on a serverfarm. And this game is bad to playing for multiplayer/coop sessions with servers.
9:13 am, March 4, 2023
0 comments 0 likes

Shrimpins replied to Fix Server Desync February 20, 2021 @ 4:38:37 am PST

Originally posted by Avatar-X:

Guy stop calling " I use Linux with 24/7 Server. Why you call it is Coop? And my PC not stay at home he stay on a serverfarm. Dand this game is bad on multiplayer/coop with servers.

What are you even trying to say?
9:13 am, March 4, 2023
0 comments 0 likes

Avatar-X replied to Fix Server Desync February 20, 2021 @ 4:52:39 am PST

Originally posted by Jawad:
This is a serious issue, Devs need to fix immediately if they want to keep the playerbase stable. literally cant interact with anything on server while playing in party. Damage doesn't register, unable to pick items or open doors etc.

I can confirm this problem. The more you build, the worse it gets, walls are calculated, items fly through the air, the FPS drop to 10 FPS when the event "The forest is shifting" starts. Trees hop through the area when felled. Nobody knows where these occur and can be slain.

In addition, there is an urgent need for a trash can for items that you no longer need. Throwing items into the water or outside of the workbench simply cannot be the solution.

In my experience, from 5 players onwards, the performance drops drastically. As already written, if you try to build a village or with fellow players close together you will not find any fun. It ends in a lag party.

Can it be the solution to play with friends but build far apart? No, because then you can continue to play the single player on your own.

If you have built a village, the FPS and performance catch up if you are far enough from the base. All of the players we play with are unhappy and frustrated with this situation.
9:13 am, March 4, 2023
0 comments 0 likes

TinBlue replied to Fix Server Desync February 20, 2021 @ 5:03:44 am PST

The arrogance in some people's posts astounds me. 3 millions people playing and they have the nerve to think the issue is with the devs and not them.
9:13 am, March 4, 2023
0 comments 0 likes

Avatar-X replied to Fix Server Desync February 20, 2021 @ 5:13:50 am PST

Originally posted by TinBlue:
The arrogance in some people's posts astounds me. 3 millions people playing and they have the nerve to think the issue is with the devs and not them.

Sorry that your Show!

https://indiefaq.com/guides/valheim-fix-for-multiplayer-lag.html
https://guides.magicgameworld.com/how-to-fix-valheim-pc-performance-issues-lag-low-fps/
https://www.reddit.com/r/valheim/comments/lkea78/valheim_dedicated_server_lag/
https://www.gfinityesports.com/article/10737/valheim-how-to-fix-crashing-freezing-stuttering-and-lag-issues-guide

and 100 more links....

You too are ignorant that proves your answer!

9:13 am, March 4, 2023
0 comments 0 likes

BallScent replied to Fix Server Desync February 20, 2021 @ 2:52:27 am PST

The game is peer to peer unless you hosted your own dedicated server. If you got one person with a poor connection it will desync on p2p
9:13 am, March 4, 2023
0 comments 0 likes

eram replied to Fix Server Desync February 20, 2021 @ 2:53:52 am PST

shouldnt be any desync on a proper dedicated sever, upload speed per player is very important when playing p2p, you dont want anyone with a bad connection. Most desync is p2p and when 1 or more players has a bad connection and/or bad upload speed.#

Ask everyone you play with to go to speedtest and check their upload speeds.
9:13 am, March 4, 2023
0 comments 0 likes

Shrimpins replied to Fix Server Desync February 20, 2021 @ 3:00:31 am PST

if you're experiencing desync that's not a server. make a dedicated server, it takes like 20 minutes.
9:13 am, March 4, 2023
0 comments 0 likes