#dedicated-server

1 messages · Page 9 of 1

vast crag
#

...That's what I'm asking about.

#

If you don't know, there's no need to reply haha. I'm specifically asking about what is broken - ie: Why is only one .db file showing up, and not being backed up?

Has anyone seen this before?

wheat heath
#

anything special to do if I am trying to join with an invite code? it said failed to connect and I dont know why and I didn't even get to the spot where i need to enter the password EDIT I figured it out ( I was a bit dense and forgot my high skill char was on PTB version so just rolled back backups to join live server)

dapper grail
#

does anyone here know about the better networking valheim mod ?

#

if so, does it actually help with server stability?
where does one have to install it?, client/server or both ?

knotty oracle
dapper grail
#

aight thanks

frozen current
#

guys where does the dedicated server save the world

barren sigil
#

mb

frozen current
#

I don't have an irongate folder in locallow

barren sigil
#

Default location is C:\Users\User\AppData\LocalLow\IronGate\Valheim\worlds

#

If i remember correctly

proven niche
heady depot
#

Hi there, I got an issue with the dedicated server. Currenly the world progress is at Yagluth down, but if we get raids we only get Eikthir. Any ideas what the problem could be?

knotty oracle
#

Are you on world based raids or player based raids?

heady depot
#

there is a difference?

#

my understanding was, that it is world progress based

knotty oracle
#

Absolutely, world based raids depend on what the conditions are in the world, player-based raids depend on what the character that triggered the raid has experienced.

heady depot
#

How can i check?

barren sigil
#

Where can i find more about this? Never knew about player based raids

heady depot
#

The pdf to the docker server isn helping very much either 😄

barren sigil
#

Thought it was progression based, defeated the boss; you get raids from that biome type monsters etc

heady depot
knotty oracle
heady depot
#

I know the page.

#

We are only getting "Eikthyr rallies the creatures of the forest." allthough all other bosses are dead, and the trophies are placed

proven niche
# heady depot I know the page.

If you have access to devcommands and the F5 console, you can use the command "listkeys" to verify that the boss deaths are properly recorded for the world.

heady depot
#

just a sec, firing up the game

proven niche
#

Type in "devcommands" to open those up.

heady depot
#

Still nada

proven niche
#

I don't know why you're getting that. Maybe try typing in "debugmode".

heady depot
#

Not valid in context

knotty oracle
#

It's a dedicated server so presumably that won't work.

proven niche
#

I thought it was working for me on my servers. Lemme go check. BRB

#

Lots of mods loading up, it'l ltake a min...

knotty oracle
#

Server Devcommands would be the one to look for.

proven niche
#

This what I get while logged onto my dedicated server...

heady depot
#

Interesting

proven niche
#

I've been getting those "Chill Wind from the Mountains" raids there, too. The raid with all the drakes.

heady depot
#

Could the transfer from local game to server be the issue? What are u running your server with?

proven niche
#

IIRC, a while back I moved this world over to the server. The server runs on a Linux host without container or SteamCMD.

heady depot
#

The rest works fine just the raids are messed uo

proven niche
#

I'm pretty sure those keys are saved in the world's .fwl file. So if you transfer the world with it's matched file pair properly selected, the keys would go with it.

#

Does your "setkey xxxxx" command work on your server?

heady depot
#

Have to check

proven niche
#

You could type in "help" and see if those commands are listed.

#

I don't know why that's happening. I didn't do anything special to access those commands. Not that I recall, anyway.

heady depot
#

I know

proven niche
#

And my server and game are on the current release. Not the PTB or anything special.

heady depot
#

oh

#

the fwl looks broken

proven niche
#

It's a hex file so it'll look wierd if you edit it with Notepad.

#

Nope. That's wierd all right.

heady depot
#

Would explain certain things

proven niche
#

Time for a backup restore.

heady depot
#

haven't one that far back.. hmm what happens if i just kill the fwl file

#

lets find out

proven niche
#

Dunno. Probably a terrain disaster.

heady depot
#

Just the fwl?

proven niche
#

Really dunno.

#

If you have some buildings you want to save, you could probably do that with PlanBuild mod.

heady depot
#

Ok Stupid Idea... lul

hollow dagger
#

@proven niche Would you recommend running a dedicated valheim server on a raspberry pi?

#

Damn your macro game got rusty 😄

proven niche
hollow dagger
#

So I did

#

And it works pretty well, especially after a hefty 25% overclock

#

However I have a problem and I need help 😄

proven niche
#

I think you can get a heat fan for that Pi, if you want.

hollow dagger
#

Actually I used a nvme radiator I had lying around and passively it can run stresstest for an hour <80°C passively which is impressive ^^

#

It runs at 2GHz at 1V core

proven niche
#

Indeed!

hollow dagger
#

I used sysbench with 4 threads. It has been running for 17h so far no problem

#

Except when sailing to new places

#

Where I get a pretty nasty desyncs, and I thing it's the biomes loading, and since CPU doesn't reach 100% on any core I was wondering if someone would guess where the bottleneck could be comming from

proven niche
#

Either networking or maybe disk storage. You got it talking to a fast SSD? Is it cabled up and not on Wifi?

hollow dagger
#

My internet is great, 1GB ethernet on a fiber line. But the storage is a sdcard. It's high end A2 but definitely not an ssd. But I don't know how to benchmark storage for a case like this

proven niche
#

I don't know either. You've gotta face that sooner or later it's just gonna be beating it's head on the cieling and flogging it won't help any. It's the one with 8GB RAM, right? How much RAM is actually available to Valheim, I wonder?

hollow dagger
#

4GB model but it doesn't go above 2GB ram. I read old post where there definitely were memory leaks. I'm running the server in docker. From what I read on docker'doc it's supposed to have zero limit on hardware utilisation by default

#

18hours uptime and 2.11GB part of which can be freed I think

#

Unless there's a ram limitation somewhere I'm not aware of

proven niche
#

The 2.11GB doesn't sound like nearly enough for the Valheim dedicated server. Might be just me, though...

#

Probably got a busy swapfile. If it has one at all...

hollow dagger
#

it has a 200MB swap but I've seen it used only once

#

I kept it default as the raspberry lite config

proven niche
#

Ok, I'm amazed now. 😄

#

That's a LOT more efficient than I would have thought.

hollow dagger
#

But I have to say we only beat bonemass so most likely the ram usage will increase with time

proven niche
#

Yeah, but you knew you were on borrowed time with the project from the git go, right. I'd say you've already created a bit of a miracle.

hollow dagger
#

I honestly don't understand how it can run this good. The only downside is the initial load time and the biome generation, otherwise the experience with 4 players is pretty much flawless

proven niche
#

Yep. You should go buy a Lotto ticket. 😄

hollow dagger
#

Yeah I'm not sure I checked on other overclock and apparently I have an older less capable revision and even with that some people had tighter settings 😄

proven niche
#

Keep a garden hose handy. 😛

hollow dagger
#

But on the dedicated server side of things there are definitely problems. For example the world loading seems pretty badly multithreaded

proven niche
#

I've seen that, too. I think that's just the way it's designed.

hollow dagger
#

I'm running this on a loop 😄

#

It ran hotter earlier it's 20° ambiant right now, And I wonder how it'll fare in late july

proven niche
#

Can you relocate it to the stove top? You can use the exhaust fan there with it. And with a little work it could double as your toaster. 😄

hollow dagger
#

Well depends on the size of the toast

#

the radiator is 22mm x 22mm. Might take a while ^^

#

I'll try to run the server outside of docker, and probably look into overclocking the GPU aswell as I read it is also responsible for the low latency cache of the pi

proven niche
#

Way above my pay grade but sounds logical.

hollow dagger
#

It's super easy honestly, everything is provided by the raspberry in a neat config file

proven niche
#

I gotta run. Wife just got back with the groceries I wanna help with that...

hollow dagger
#

Have a nice day 🙂

final current
#

Is this using an emulator or one of those expensive "Call us for pricing" Unity runtimes, @hollow dagger?

viral roost
#

Hello,
Running a dedicated server on a PC that I have dedicated to running a few small game servers.
The hardware isn't being tested by the game, but we're still experiencing a fair amount of lag.

We're in the Ashlands and mobs are teleporting around.
Is there a log that might show what's going on somewhere?

oblique walrus
hollow dagger
#

It allows you to run linux 64bit app on arm with pretty impressive efficiency

echo crystal
#

All these azure outages yet somehow Valheim crossplay is still working

proven niche
# oblique walrus had the exact same problem, I think it's Ashlands just beign ashlands to be hone...

Ashland lag issues seem to be pretty common. I think the biome is just more complex than other biomes and demands more traffic volume between dedicated servers and their players.

Some folks are reporting help with that from the BetterNetworking mod over at thunderstore.io. Others not so much. It all depends on exactly what and where you are experiencing the problem. But it may be worth a try.

Load the mod on your server and also on individual player games as well.

hollow dagger
#

There was a post on reddit 3y ago talking about patching the exe to allow for more bandwidth is this still a thing?

proven niche
hollow dagger
#

Arg I can't use that, Bepinex isn't compatible with box64 yet because of certain libs 😢

oblique walrus
proven niche
hollow dagger
#

They really should work on a better dedicated server, it's a core aspect of the game

proven niche
hollow dagger
#

I'll probably do the patching manually, that should work ^^

#

But having to patch a server executable is kind of ridiculous to play the game unmodded

proven niche
hollow dagger
#

it shows ^^ the amount of limits you can overcome on server lags is a bit dumb.

proven niche
hollow dagger
proven niche
oblique walrus
#

But however we have playef through it now so i dont really need any help with it

#

Probably put valheim on the shelf until deep north

frozen current
proven niche
# frozen current I don't have an irongate folder in localLow

@barren sigil is right about the default location of the IronGate folder. Are you trying to find it for your game or for a dedicated server? And are you looking on the PC that the server or game is running on? Also, in the path, the 2nd "User" must be your own login ID name. And make sure your File Manager is set to show 'hidden' files.

frozen current
#

Yeah 100% lemme check again

#

Ahhh found it now

#

Thanks

#

For some reason there's a bunch of files called 'georgeshouse' is this normal?

#

Is it possible I played this game many years ago with someone called George? I don't think so.... It's possible

#

Which files are relevant if I want to backup my world?

proven niche
proven niche
frozen current
#

I see the .fwl in the worlds_local folder but can't find any .db file

proven niche
#

Sort them by Date Modified instead of Name.

frozen current
#

Oh wait found it. It's extension wasn't being displayed

#

Thank you 🙏

frozen current
#

Guys my server isn't working idk why it keeps disconnecting

#

Zrpc timeout

proven niche
# frozen current

It appears that something is interfering with your server's communication with the playfab crossplay network.

If you don't need crossplay to support Xbox users, then remove it. But, you'll then have to have your server's ports forwarded properly in the router that it's connecting to (probably the one in your home, if the server's located locally).

The problem is likely not with your server but something on the comm route or at the other end. If so, you only need to wait and they'll fix it. Hard to tell.

potent turret
#

I am doing a fresh install of a dedicated server on ubuntu server and following the Wiki Dedicated_servers page. But I am getting an error running steamcmd with

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
ERROR! Failed to set beta 'none'
steam@gameserver4:~$

potent turret
#

I opted to remove the argument and got the install done. Curious though, what is the correct flag to install or remove the beta?

potent turret
#

oy it installed the .17

proven niche
#

To use the PTB you can do “+app_update 896660 -beta public-test -betapassword “yesimadebackups” +exit”

And then to use the current release do “+app_update 896660 -beta public” +exit”

potent turret
#

Ah thanks, the guide has beta none I will give that a try.

proven niche
potent turret
proven niche
potent turret
#

Interesting. Put my client back on .19 and the Character I made on .17 is not showing. Guessing that may be a compatibility thing?

proven niche
potent turret
honest linden
#

hello, am trying to run a dedicated modded server but i keep getting incombatable ( running r2modman ) i launched both server and the game from r2modman

full crag
#

Hello. Could anyone explain how custom servers work? Im looking to play (again), with my buddy, but we are kinda over the vanilla experience.. Ty.

proven niche
# full crag Hello. Could anyone explain how custom servers work? Im looking to play (again),...

Download the Valheim Server Tool from Steam and follow it's .pdf Manual (that comes with it). If you need more info, there's some good Youtube tutorials about Valheim dedicated servers as well as a lot of step by step "How to" articles on-line for it, too.

If you're looking for info on how to 'customize' a dedicated server with mods, you can ask about that in one of the #mods-discussion or #mods-issues channels here.

full crag
proven niche
full crag
#

thosse "big" servers...

proven niche
#

They're called 'dedicated' servers. And they work fine. Separately from your game.

full crag
#

thank you 🙂

hollow dagger
#

What does the server calculate when no player is connected?

knotty oracle
#

Nothing.

hollow dagger
#

It clearly does something since the CPU usage is still quite high. For example I know it still check if a backup is required.

#

But it must do a lot more

knotty oracle
#

I mean, it'll be still listening for connections.

hollow dagger
#

I get that but look at the activity of a webserver instance like nginx for example, the load on the server is basically zero

#

Hold on, on windows the server seems much more efficient

gilded lintel
#

Hey guys so how can I check which player killed what boss either through server commands or checking through logs which I don't know where it is

mild scarab
#

how do i identify what the ip/join code is on dedicated server i cant find it anywhere ive asked my provider what the ip should be (didnt work) and im just lost at this point

final current
mellow summit
#

I'm currently running a modded server if anyone wants to join, can send the modpack, happy to add more mods and take suggestions on what to change, if you are interested dm me

quartz mason
#

hey fellow vikings

#

i have a vanilla dedicated val server that i have decided to get going again, but im stuck with the dreaded "incompatible version" .......ive done the uninstall/reinstall on both ends with no luck, im not using any mods, i have valhiem installed on the dedi server via steam CMD , on my PC im running version (0.218.19) , any other ideas?

hollow dagger
final current
# quartz mason i have a vanilla dedicated val server that i have decided to get going again, b...

if you've decided to get it going again after a while, there's a good chance you were on the public beta branch without realizing it. If you have the server log enabled, search the log for "Valheim version". If it's not *-0.218.19 then you're probably on a branch other than public main.

You can add -beta public to your next +app_update to switch to the main/public branch. Note that worlds created or saved by PTB server builds might use a newer world format than the regular public branch and could potentially be un-loadable in the regular build.

quartz mason
#

so how do i write all this in the CMD?

#

app_update 896660

#

then -beta public +app_update

quartz mason
hollow dagger
final current
# quartz mason then -beta public +app_update

-beta public goes after +app_update 896660. It is an argument to the app_update command.
So:

SteamCMD +app_update 896660 -beta public

from your system shell or if you're already in a SteamCMD shell:

app_update 896660 -beta public

assuming you're already using app_update in some fashion to download/update the latest stuff. If you normally include the validate argument, you can keep that at the end after -beta public.

quartz mason
final current
#

You're welcome! Let us know if you get it working

quartz mason
#

legend

quartz mason
final current
#

Anything of note in the server log, @quartz mason?

upper vessel
#

this might be a better place to ask, can i give admin powers to someone in a dedicated val server? or does it have to be my own server

opaque shuttle
#

I'm a builder looking for active dedicated server. Please invite me.

final current
wide cipher
verbal veldt
#

Any one is here using Apex hosting? Or might have other recommendations for EU server hosting. I was using dathost in past. But now server no longer is booting up no matter what

proven niche
# verbal veldt Any one is here using Apex hosting? Or might have other recommendations for EU s...

You could try doing an on-line search for game hosts in your area and see what comes up. Some of them will have reviews that will help you in your choice.

Although, chances are that the server no longer booting may not be the hosting company's fault. Have you been adding mods or switching back and forth between the beta and the release versions, for example?

You should probably put in a support ticket with the hosting company to see what they can find.

hearty locust
pale robin
#

Hello guys i need help i am trying to join my dedicated server and every time it says CONNECTION FAILD any suggestions??

tranquil thunder
#

how do I get mods on a dedicated server? I've tried valheim+, but it just doesnt work tbh

proven niche
woven siren
#

hello, I have a friend who is the server admin and he cannot give me an admin on his server how can I do this?

proven niche
woven siren
proven niche
# woven siren I need admin commands to enable creative mode

Then, you need devcommands not just admin commands. Your friend, the server host, must add your Steam64 ID to the server's adminlist.txt file and restart the server.

Your Steam64 ID is in the server's F2 window when you're playing on the server.
The server's adminlist.txt file is next to the server's worlds and worlds_local folders.

And you must add the ServerDevcommands mod to your game.

thorny bramble
#

Has anyone noticed dedicated server performance issues when you have multiple players and don't sleep in-game for a few days? We had a couple of new folks on last night and after 2-3 days without everyone "going to bed" the server seemed to be lagging/having connection issues. I had everyone log and rebooted the server and it behaved itself after that. I was just wondering if not sleeping and getting the "unloading assets" message might have lead to the performance problems. Could have been a fluke, just curious if anyone has seen similar. (Hosted server, had maybe 6 people, 2 of which were playing on Xbox, rest on PC)

final current
thorny bramble
#

Could be, I'll keep an eye on it and see if there is a pattern. Thanks!

nocturne oriole
#

Hi there, I've set up a server on a raspberry pi but after a while the server stops being available to connect to. The command line doesn't indicate that it's disconnected and the last line it's currently displaying is Am I Host? True (This was yesterday at around 8pm, the server was started on Tuesday 6pm). Any ideas what's happening?

short halo
#

Good afternoon,

I have a dedicated server where I am running pterodactyl on. Now my question is can I install BepInex on a running valheim server? And use plugins based on the BepInex?

summer rapids
#

Skål all! I have a dedicated server running from my PC. I’ve copied/renamed the world files to run a ‘fork’ of the world locally.
This works fine, but a couple things I’m curious about:

  1. Is there a way to fully rename the world? The online tool was unable to read the fwl, so the world appears as “originalName (newName)”.
  2. We are experiencing noticeably more lag/choppiness on the local version on the world. We are on the same LAN as the server and have good connectivity. Is there maybe some way the dedicated and local worlds are interfering with eachothers performance?
    Thanks in advance for any input!
proven niche
proven niche
# summer rapids Skål all! I have a dedicated server running from my PC. I’ve copied/renamed the ...

To be sure I understand your situation, you've copied your world's two files, the .db and .fwl pair together, from your remote hosted rented server down to your PC and are also running a dedicated server there with the copied world files. And you'd like to rename the copy running on the PC.

The easiest way, I believe, is to use one of the rename sites. You've already tried that and it didn't work? You just give them your .fwl file and choose a new name for it and they change the world name in there and give it back to you. Then you manually rename the .db file to the same name, right? If one of the sites didn't work for you try another site. There are at least a couple you can find online. Or with a search in here.

As for the lag you experience locally, you can make sure your PC isn't busy with too many tasks while also running your valheim game along with your valheim server, too. Check with your Task Manager to see how it's doing with resource usage with both running. Also, in Task Manager, you can set the priority of the valheim server process to a higher than normal priority.

final current
nocturne oriole
#

Using an x86_64 emulator using steam connectivity (crossplay is disabled) connecting through internet ip (I think, you connect through putting in the IP address:Port code)

summer rapids
#

It’s our first time experiencing this particular Ashlands POI, so I’m wondering if it’s not just ‘normal’ to experience this performance degradation.

final current
# nocturne oriole Using an x86_64 emulator using steam connectivity (crossplay is disabled) connec...

If this device is on your local network, you might consider connecting using the LAN IP instead (e.g. 192.168… or 10.10…). Either way, if you plan to have others connect over the Internet, it will be worth figuring out external connectivity. If this device is behind NAT, you will need to forward UDP for the server's 2 main ports. If your port forwarding is based on local IP addresses, you'll want to find a way to make those lAN IPs more predictable (e.g. DHCP reservation or static addressing).

clever loom
#

Hello guys. I created a world to play valheim when it first came out with my friends; if i remember correctly, i then decided to create a dedicated server and copied the world files over there. I had it set up with a password and we would access it via the steam server list. Fast fowar to today I tried to run the server again and to no surpise it's not working and it doesn't show up on the server list. I tried locahost:2456 but to no avail so i was wondering what would most likely be the issue

proven niche
# clever loom Hello guys. I created a world to play valheim when it first came out with my fri...

Assuming you reinstalled the server with the current Valheim Server Tool, how did you set it up? Is it on your LAN? On your game PC?

You've edited your start_headless_server.bat file with your current options for name, world, password, etc.? One of those options is new. The -crossplay option is to support Xbox users. If you have none, remove that option.

Set -public 1 so that it gets listed in the Steam server window. Make sure your router's port forwarding is set up properly for the server's internal IP address. Ports 2456 and 2457 need to be forwarded using the UDP protocol.

You can use the additional option to start up with -logfile "...path\Server.log" so that you get a log file you can check for errors. It's overwritten every time the server starts up.

boreal flame
left stream
boreal flame
#

i dont remember hot to make exception for valheim or smth like this

proven niche
boreal flame
#

it doesnt work 😢

#

(ignore name of the server)

proven niche
knotty oracle
#

But Geekstrom can already see the server, unless I'm seeing that wrong.

boreal flame
knotty oracle
#

It's a client-side issue. So maybe VPN?

boreal flame
proven niche
#

Wait. If Geekstrom sees the server running and his client can't connect, then it's likely the client Firewall blocking. As he suggested. The server is remotely hosted, right? 😄

boreal flame
#

maybe port forwarting on router idk

proven niche
# boreal flame yeah

Can you connect with the Firewall temporarily turned off? I assumed that's what you meant when you said "it's the firewall". 🙂

boreal flame
#

got kicked out after 1 min

proven niche
proven niche
boreal flame
#

gtg i will get back to it later

proven niche
boreal flame
#

thx for help

boreal flame
#

openned ports in router, firewall i use good version , good ip and password and still "failed to connect"

left stream
#

@boreal flame
Usually when you rent a server all the ports are open. So no need to open ports on your side.
There are 2 questions:

  1. Did someone else try to connect to your server?
  2. Can you connect to other servers and do other internet activities as usual?
proven niche
left stream
#

I still didn't get if it's a local server on your PC or somewhere else.

proven niche
#

I think we may have a language problem. But I don't know how to fix that. 😟

silk lava
#

Been having some trouble running a Dedicated Server while also using my Steam Deck
Anytime I try to run a game on Steam Deck I get a message stating that my account is already active on another computer (my PC running the Server)

#

So I have to disconnect the Server if I want to play Steam Deck Games
Does anyone know of a workaround for this?

#

Anytime I launch it it automatically opens up Steam

#

is there a way to Bypass Steam when starting it up?

quaint sage
small spire
#

has anyone here setup a Dedicated server on a Pi4?

#

Mine is live however none of my friends can join. Ports are set, firewall is off. doesn't seem to be a double NAT and I can connect fine on my laptop. We have tried the public ip, as well at the local ip. any ideas?

silk lava
#

especialyl cuz I wanted to log into the server from my steam deck while out of town

quaint sage
silk lava
#

hm, worth looking into...

#

thank you!

left stream
silk lava
#

Yeah, running the server on Windows

left stream
silk lava
#

Ok!

boreal flame
wheat heath
#

Is there admin command to destroy ward?

quaint sage
#

There is definitely forcedelete as a devcommand. But that would mean you would have to be on a modded server with those enabled.

wheat heath
#

Server owner can use devcommands I thought

static vessel
wheat heath
boreal flame
#

join code is temporary?

proven niche
boreal flame
#

oke

unkempt spruce
#

trying to move my world over to a dedicated server but having alot of problems if anyone could help?

final current
unkempt spruce
left stream
unkempt spruce
unkempt spruce
full pagoda
#

I was having issues with connecting on a world that I had and re verified my files and now it loads brand new worlds when I use the previous' name for "world"

final current
full pagoda
#

I am on win11/db & metadata are in a separate folder in the dedicated server folder/ valheim_server -nographics -batchmode -name "Valhell" -port 2456 -world "Valhell" @final current

final current
#

Thanks. And you put your desired Valhell.db and Valhell.fwl in %USERPROFILE%/AppData/LocalLow/IronGate/Valheim/worlds_local ?

full pagoda
#

I just did that

heavy wing
#

how do i restart a valhost server?

silk lava
#

thank you for your help!

left stream
hearty locust
full pagoda
#

Can I force a dedicated server to use more ram instead of it being dynamic?

gilded vine
silk wadi
#

This has probably been asked before, but if I want to use 2 separate pcs to host the same server, do I need to keep transferring the world files back and forth each time? I ask because during the work day I want to run the server from my work computer so my other friends can play, and when I get home I want to run it from my personal desktop so I can play with other friends as well

sinful portal
silk wadi
sinful portal
silk wadi
sinful portal
left stream
silk wadi
#

it's unmodded so yeah any machine should be fine. Thing is that my friends who dont work the same time as I do just end up playing on their own worlds since I can't keep my home pc running all day when I am at work and they are able to play

left stream
#

To be honest I've disabled Steam cloud and I have no clue how it syncs files. All my world and character files are stored locally.

silk wadi
#

the steam_autocloud.vdf file is, but the dedi server files found in C:\Users\username\AppData\LocalLow\IronGate\Valheim\worlds_local is what is needed on my other pc in order to run the server. Once I finish there, steamcloud doesn't update these files, so I need to transfer it to my desktop computer

silk wadi
left stream
silk wadi
left stream
# silk wadi yes and cloud storage should only be used for backup saves of worlds, not runnin...

I'm not sure I understand completely what you want. So either:

  1. copy files (sync) every time to and from gdrive or similar
  2. get a server to host valheim - usually around 10-15 bux. I've never used the free ones I can't comment on that.
  3. Host on your own hardware but you said you don't want that, I get it.
    Hey if it's free why not? I might try it myself just out of curiosity how it works.
silk wadi
# left stream I'm not sure I understand completely what you want. So either: 1) copy files (sy...

in response to each numbered item:

  1. is the only current way to host the same server on separate computers that I own. If I put the files in cloud or send them via zip file to and from both pcs, they need to be in the offline location in order for server to run
  2. Yeah ApexHosting is cheapest, but AxentHost is free and if Azure/Oracle have free accounts that come with a server setup that is good enough, then this would be best
  3. yes what I am currently doing, just from 1 PC
proven niche
silk wadi
proven niche
# silk wadi it's definitely an option. When I first did this with my buddy sending me the fi...

A bit tedious as it's an extra step. But you could stream line the copy/paste operations with a .bat file shortcut to execute the copy/paste commands with just a click. And you can put in the flash drive when you arrive, leave it in all day, and take it home with you and just leave it in until you shut down the PC for the night. You can get flash drives that fit on your key chain, if you're worried about forgetting the drive when you leave.

silk wadi
# proven niche A bit tedious as it's an extra step. But you could stream line the copy/paste o...

it's a bit tedious in that if I decide to have a life outside of valheim, I may not be near my desktop computer nor would I bring my work laptop anywhere. The fact that my friends' collective enjoyment of the game hinges on one of my computers being on all the time is where it also gets tedious. The flash drive thing is totally fine, it's just the "always on" approach won't hold up in a near-permanent routine.

proven niche
# silk wadi it's a bit tedious in that if I decide to have a life outside of valheim, I may ...

Well, then you are limited to a free remote server hosted server somewhere like Oracle, Amazon or MS Azure unless you want to pay for one with a hosting Co.

And, AFAIK from hearsay and some personal experience, the 'free' remote platforms are a royal PITA in one way or another and before you're done with them you'll be wishing you just paid somebody the US$13/mo or so to host a server for you in the first place.

silk wadi
steady nest
#

for me and my friends the bad connection sign shows up from time to time in the upper right corner to all players, anyone got a idea why?

proven niche
#

There are a number of possible causes for that issue. For one thing, it'll happen when the server gets overloaded with comm traffic between players.

And also when just one of the players has a comm problem between him and the server it will effect all of the other players as well while the server struggles with the issue for the one player.

It can also be caused by just one of the players with a weaker PC struggling to respond to the game activity of all the other players and bogging down the comm traffic that way.

And lately it's happening more often as players get into the Ashlands biome. There is apparently a higher load put on the player's games and comm links while using the Ashlands biome.

balmy valve
#

How to create a dedicated server using your own computer?

#

https://www.youtube.com/watch?v=upEhacdqMLw
I'll follow these steps
But my friends can’t find my server on steam and games.

Playing Valheim, but want your own private server that runs all the time to play with your friends? Well, it's super simple and FREE to set up on your own hardware. By the end of this video you should not only have a server set up but also have it set up in your firewall and port forwarded! This is the simplest crash course that you'll find for ...

▶ Play video
left stream
# balmy valve https://www.youtube.com/watch?v=upEhacdqMLw I'll follow these steps But my frien...

There's a difference between Steam-service and SteamCMD methods. Which one did you follow?
Have you tried the official guide on Fandom?
Are ip and ports set up properly? you need 2 ports - one for the game and the other for steam query. Is server set to private or public?
Another possibility is - it takes time for the server to show up on steam.
But you may always use direct method by telling them to type in IP:port and password.

royal estuary
#

Hey I need help!!! I play on windows, but I have another machine with ubuntu installed on it that I use to host my server. I'm trying to transfer a world file that me and my buddy played on onto my new server that I just made. When I log into the server I have all my items and the seed is the same, but I everything else isnt the same. None of the map is explored and all our buildings are completly gone. Can anyone help me?!?! Thanks!

knotty oracle
#

Have you copied both the .db and .fwl files accross?

royal estuary
#

Yes both of them.

proven niche
royal estuary
#

How can I match them?

proven niche
#

By name and created date. Both must match. And don't rename them. If you want to restore a backup, you need to do that through the game startup menu.

royal estuary
#

Im pretty sure they match, but let me check. I'm not very good with computer things.

#

The dates and times match.

proven niche
latent crypt
#

In some servers the ping shows values and in some servers it just displays 0

Why is it like that? Is there any way to turn on the ping value in dedicated servers?

latent crypt
proven niche
# latent crypt In some servers the ping shows values and in some servers it just displays 0 Wh...

I don't think there's any option to 'turn on' the ping value in Valheim. But here's two options for getting around that.

If you have console access while on the server, you can use the "ping" command to get the ping value between you and the server.

And, if you don't have console access, you can use the server's IP address and check the ping value from your Windows OS outside Valheim. Open a cmd window and type in "ping [IP address] there.

latent crypt
proven niche
short patio
#

hello can anyone help or tell me if we can change the modifiers for our servers to normal

proven niche
echo tangle
#

I was looking into what files I need to copy to a dedicated server, and I spun up a test world locally, and I actually don't see a .db and .fwl for it in my worlds or worlds_local folders. I do see some Cache files for it (e.g. Extraplanarspace_mapTexCache) but not the other files I expect. Wat do?

proven niche
echo tangle
#

I didn't start it with dedicated server actually, just chose an existing character and spun up a new world. Does that behave differently in terms of file persistence?

proven niche
echo tangle
#

I see, looks like somehow it was only cloud saved -- hitting "move to local" put it in worlds_local. Still is not in worlds...

proven niche
sage furnace
#

Is it possible to set up a local dedicated server to use cloud world saves?

proven niche
#

Dedicated servers are meant to only use local world/character saves. While it may be possible to change that in some circumstances, it wouldn't be easy and may not be reliable to do so.

sage furnace
#

Alright, thanks for the answer

#

One significant issue im facing with both my dedicated and in-game hosted worlds is that I get periodic drops in cpu usage and resulting stutter

proven niche
sage furnace
#

using process lasso to see cpu perf, it drops hard and correlates with a process called MsMpEng.exe increasing in usage (dunno if it actually has anything to do with it)

proven niche
sage furnace
#

Same pc

proven niche
# sage furnace Same pc

It sounds like your PC might be overworked and bogging down. There are some things you can do with Windows OS settings to help with that.

You can find some of those suggestions detailed step by step in Youtube videos, if you search there for "Windows lag" and "Valheim lag".

I've not used those setting suggestions myself so I can't vouch for them but most of them do seem logical and may be worth a try for you.

You might find this article interesting, too. https://helpdeskgeek.com/windows-11/what-causes-msmpeng-exe-high-cpu-and-how-to-fix-it/#:~:text=msmpeng.exe is a Windows system process

quick spire
#

I cant join any server for some reason i just get failed to connect and get back to main menu any one could help I am on xbox

proven niche
quick spire
proven niche
quick spire
#

Also tried non dedicated server none of them works

#

Always the same error

proven niche
#

I'm out of ideas. Since I know basically nothing about how Xboxes work, you might try asking about your problem in the #xbox-bugs-discussion channel here where they know things about Xboxes.

covert jewel
silk wadi
#

Is there a way to get devcommands to work on a dedi server that I rented? I made myself an admin, set Val to launch with -console in the launch options, and enabled devcommands with F5, but none of the commands actually work

potent turret
#

You will need a mod to use any of the regular devcommand type commands. There is a mod called server devcommands that I have used in the past to do a removedrops command to clean up our world from time to time.

#

You just need to run the mod on the client, it's not needed on the server

silk wadi
#

oh wait you said client, not server

potent turret
silk wadi
#

cool thank you

potent turret
#

*most of the commands

silk wadi
potent turret
#

There are server side mods yes. In those cases all clients normally need to have the mods

silk wadi
#

right I see. but the devcommands one is just client sided which is dope

potent turret
#

But for the devcommands. Just run the mod needed on the client

silk wadi
potent turret
silk wadi
#

and r2 and thunderstore are essentially the same right?

potent turret
#

Yep r2 uses thunderstore.

silk wadi
potent turret
echo tangle
#

I successfully join the dedicatd server I set up, but how do I make it have a name? In my recent/favourite servers it just shows up as the ip:port (and I'm going to forget which is whcih)

proven niche
autumn leaf
#

hey, how do i access my world files?

#

nvm got it

proven niche
#

Your world files are stored here ....AppData\LocalLow\IronGate\Valheim\

autumn leaf
#

yeah i found it

final current
proven niche
final current
#

I hope that some day there will be a way to convey server metadata when non-crossplay and non-public!

proven niche
dusk cipher
#

I have an old HP Envy 23 with a i5-4750t and 8 gig ddr3 ram. Has a base clock of 2.9 ghz but goes up to 3.6 ghz. Would this work fine for a dedicated server?

#

CPU is only dual core and read online that minimum clock needs to be 3 ghz. So would it be fine?

proven niche
# dusk cipher I have an old HP Envy 23 with a i5-4750t and 8 gig ddr3 ram. Has a base clock of...

I believe you'll have to try it out and see if it's up to the task of running a dedicated server. Once the OS (probably a version of Windows) has loaded up and settled in there will be something less than 8GB RAM available. And the same for the CPU cycle availability. So, it's hard to predict whether the left available resources will be sufficient. But, IMHO, chances are it'll be ok. So, worth a try.

dusk cipher
proven niche
dusk cipher
lilac pebble
#

Hello everyone! My wife and I currently use an old Mac installed with Ubuntu Linux to run a local dedicated server. I recently just purchased a NUC that is prebuilt with Windows 11 Pro. I can't find any conclusive articles explaining how to transfer the Ubuntu Linux server over to the new Windows machine. Does anyone have any experience with this or can lead me in the right direction?

#

Thank you in advance!

proven niche
# lilac pebble Hello everyone! My wife and I currently use an old Mac installed with Ubuntu Lin...

You will need to download a new Valheim server for the Windows PC. Just follow the instructions that come with the Valheim Server Tool that you can download for free from your Steam Client Library and install it on the Windows PC.

To bring your worlds over from the old server to the new one, you'll need to copy the world's files from the old server to the new one.

The world files for the old Ubuntu server are in it's

/home/[UserID]/.config/unity3d/IronGate/Valheim

folder. Copy both the worlds and worlds_local folders there to a flash drive.

Take the flash drive to the new server's PC and copy the worlds and worlds_local folders to the

C:\Users[UserID]\AppData\LocalLow\IronGate\Valheim

folder on the new Windows PC.

lilac pebble
#

Had to enable hidden files - I only see the worlds_local folder, has a bunch of dedicated_backup files...

proven niche
lilac pebble
#

10-4. Thanks for your help!

lilac pebble
#

All works. Seamless transition from Linux to Windows. Thanks again!

proven niche
ripe plank
#

how do I connect to my non-cross play server?

#

I was using crossplay before, and I just turned crossplay off. the ipv4 isn't working

#

I also tried default gateway, and that didn't work either

knotty oracle
#

If you're not using crossplay you'll need to set up your port forwards.

ripe plank
#

I did that with the crossplay

#

so that should already be working

knotty oracle
#

You did it for crossplay? Why?

ripe plank
#

I watched a video that said to port forward, opting for crossplay came after

#

I thought you had to port forward for both

knotty oracle
#

No, just Steam.

ripe plank
#

well, it shouldn't be a problem

knotty oracle
ripe plank
#

what ip do I enter?

knotty oracle
#

Your server IP.

ripe plank
#

which is that

knotty oracle
#

I have no idea what your IP is.

ripe plank
#

okay well how do I figure out what it is

knotty oracle
ripe plank
#

I took that ip and pasted it in the server check site

#

it said my server is up, but I can't connect to it in-game

proven niche
ripe plank
#

in steam favorite game servers, it's detecting my server from the public ip, but not from the local one

#

however:

proven niche
#

Where is your server located? On your game PC? On another PC on your home LAN? Or at a remote hosting site?

ripe plank
#

it's on a spare PC on my home LAN

proven niche
#

Good. Then, you need to use it's internal IP address and port number to connect to it.

ripe plank
#

how

proven niche
#

Go to the server's PC, open a Windows command window and type in ipconfig. The internal IP address will appear there. It should be something like 192.168.1.nnn or 10.0.1.nnn. It's the IPv4 internal address of the server's PC.

ripe plank
#

I've tried different combinations of ports with all of those

#

none of them have worked before

proven niche
#

If you look at the server's start up file, the server's port should be there. It's shown as an option in the start_headless_server.bat file. It will probably be 2456, since that's the default port number.

ripe plank
#

Strange

#

I have mine set to 2456, but the web says that my server is running on 2457

#

Regardless, that only tells me that it 100% does not connect

proven niche
#

Both of those things are true. The server is actually running on 2456 and is also using 2457 to broadcast it's presence.

#

To accress the server from your other PC's game, you should give it just the server's internal IP number. The default port of 2456 will be assumed by your game.

ripe plank
#

Well I put that in both the steam server list and in-game and they aren't working

proven niche
#

The Steam server list often takes a while to update and, frankly, just isn't that dependable. As I said before, you should be connecting to the server on your LAN with it's internal IP address.

ripe plank
#

I know this is frustrating

#

but please have faith that I can read.

proven niche
#

What is the server's internal address that you're trying to use?

ripe plank
#

ipconfig says ipv4 address 192.168.1.242

#

I put 192.168.1.242:2456 into valheim on another pc

proven niche
#

That's correct. It should be working. And the geekstrom site is able to find the server externally when you give the site the server's external IP address? That's the address you got from the 'myipaddress' web site.

ripe plank
#

yeah

proven niche
#

Do you have a VPN on the game PC? And try disabling the game PC's Firewall as a test to see if that's blocking it.

ripe plank
#

it's not connected

#

my friend can't connect from his network to the public ip either

proven niche
#

And yet the geekstrom site can. Odd...

ripe plank
#

yep .-.

#

servers never work for me istg

proven niche
#

I don't know what else to suggest. Sorry.

ripe plank
#

what do I do?

ripe plank
#

I restarted both pc's

#

I checked the batch file for any mistakes

#

I checked my modem gateway to make sure the ports are still open

#

okay, I got in somehow

autumn leaf
#

if i add my friend's world file to my server, how do i keep the map info and waypoints

proven niche
autumn leaf
#

istg host havoc is complicated

proven niche
#

Only for a while at first.

autumn leaf
#

is it possible that you can help me set this up

#

bc i got no clue how to do so

proven niche
#

Start by reading the .pdf manual that came with the server very carefully.

#

I'm going to be AFK back and forth for a while now so probably can't be of as much help as I'd like.

autumn leaf
#

yeah at this point i have no clue what im doing

autumn leaf
#

and im following the tutorials that the website gives me and its still not working

knotty oracle
autumn leaf
knotty oracle
#

There's a copy linked in this channel.

autumn leaf
knotty oracle
#

Depends on what you're actually trying to do.

autumn leaf
#

im trying to set up a dedicated server?

knotty oracle
#

But hosted with Havoc?

autumn leaf
#

i believe so

knotty oracle
#

How do you not know?

autumn leaf
#

i have no clue what im doing

knotty oracle
#

But you know who you're renting the server from right?

autumn leaf
#

yeah

#

host havoc

knotty oracle
#

Do they not have instructions?

autumn leaf
#

they have like a help thing where you can look up articles but thats about it

knotty oracle
#

Should be enough.

autumn leaf
knotty oracle
#

Oh?

autumn leaf
#

same shit i was doing before

#

my buddys helping me tho its all g

gilded lintel
#

so for changing the server modifiers
we have to have the -modifiers infront of every modifier we want to make right its not
-modifier Raids muchless Portals casual
it has to be
-modifier Raids muchless -modifier Portals casual

right ?

sage nexus
#

when using -crossplay on a dedicated (steam), i find i can no longer login on localhost; rather i have to specify my EXTERNAL IP address. This sucks because my IP can change fairly regularly. Is there a port or somehting i need to open so that crossplay enabled dedicated allows me to connect to a LOCAL interface?

sage nexus
#

also: is there a complete list of parameter options for valheim_server.x86_64 ?

frozen zephyr
sage nexus
#

@frozen zephyr classic microsoft gross oversight. As if people arent going to want to run a dedicated...and maybe want to play on the same machine. In my case its because i discovered the old pc i wanted to use it on wont boot, but then i realised that the load of the dedicated is so trivial that i cant even distinguish it from normal idle load on a graph.. unless i start/stop it and can see the tiny rise/drop.

#

so how then do people use play with a freind when they hapen to buy the microsoft store one, which presumably crossplays by default. On linux the single player is essentially still runing the dedicated under the gui clinet anyway, so i assume ms/crossplay does the same

#

and of course, the steam-purchased game just routes through steam... and yet i can still connect to that locally.

quaint sage
#

IIRC, you shouldn't need crossplay if you are playing with people who all purchased from the same platform (all on steam, all on Xbox, ect).

sage nexus
#

i do becaseu im not, they didnt

quaint sage
#

Ah, different platforms. That makes things more complicated.

sage nexus
#

im hoping he can refund it and buy it from the actual professional game company

#

as in steam, who do game-stables for a front-gig, versus microsoft who just do it as an opportunistic way to walled-garden things

quaint sage
#

That explains your point of view (steam is a specialized platform for game distribution, not a tech giant dabbling in a little of everything).

sage nexus
#

seriously though, if you are playing a game with a friend, your pc is running the dedicated executable and the game client, and yet microsoft manage to stop that from working somehow. At least it doesnt on linux. Maybe they have some special caveat that makes it work on thier own OS... becasue "iT PrOvEs ThAtWiNdOwS iS BeTtEr"

quaint sage
#

I would guess that since Xbox and Windows are slightly different operating systems (both owned by Microsoft AFAIK), I would guess they have what is needed to connect the dots(so to speak) of any gaps in communication between the 2 different OS.

#

I have seen similar things happen due to DRM, but people created mods/emulators to fake the DRM and allow you to play solo/offline when the game wouldn't allow you to do so by default.

final current
# sage nexus when using -crossplay on a dedicated (steam), i find i can no longer login on lo...

As for the changing IP issue, the crossplay mode of the server has temporary join codes. After connecting with a join code, a client should be able to find the same server through whatever recent/favorite entry is created for it until the server operator drastically changes parameters.

For your question on a complete list of arguments, the manual has all of the ones specific to the game server. The PDF can be found in the root of your server's main downloaded assets. There's also a copy linked in this Discord channel's pins.

There are additional arguments for low-level effects of the dedicated server's underlying engine here:
https://docs.unity3d.com/Manual/PlayerCommandLineArguments.html
most of those are not applicable to dedicated server operation, however.

sage nexus
# final current As for the changing IP issue, the crossplay mode of the server has temporary joi...

a client should be able to find the same server
Hopefully i'll find out when my tactical-bro is ready to game.
pdf
Doh, I had already read and stashed that in a convenient place. I guess I had hoped there would be more parameters.
unity documentation
Excellent, thanks. All useful to know.
-force-vulkan
Question. I see my linux steam install of valheim has an option to start vavheim, or start using openGL....presumably the unnamed default is vulkan. Is there a third option? I ask becasue I had assumed i would be best off using vulkan, and yet after ~30 minutes of play my framerate would plummet and ~10Hz stutterring was evident. Using GL solves that, but it feels like its not quite as performant. So I'm slightly disappointed and therefore interested in general comments.

#

and re: crossplay: its not a question of not being able to find the server, its a case of cant join the server they can see unless i add -crossplay. Which is tedious because all of my data needs to route half way across the world instead of just connecting to localhost. - and - i think i have seen more glitches since switching to crossplay. eg: chests i cant open, full chests being suddenly half full, invincible domesticated livestock, etc.

#

yes, friendly fire was on, and if i was particualrly persistent i could ususally kill them, but in some cases i simply couldnt apply enough damage fast enough to do it

final current
sage nexus
#

hmm, thanks. I'll check in there later.

final current
sage nexus
#

i saw the glitches while ingame alone building, so they either havent seen anyhting, or are so green they dot know any different. (both of the people i have played with are extremely new, like day 1 new)

#

one was mac, one is win

#

and of course, neither was able to connect when im not using -crossplay

final current
#

Assuming this is a home server, were you forwarding the 2 UDP ports at your router? And do you know if the mac user playing the game through Steam?

#

The Azure PlayFab Party Relay (from crossplay) definitely can add latency, lag, and issues. It'll be great if you can get it working without. It is more work to get things working without it, though.

sage nexus
sage nexus
#

i couldnt find any specific forwarding info for crossplay, presumably there is none and whatever library they use with -crossplay sneaky-nats it to work - which i dislike intensely

final current
#

If the Mac user is on the App Store version of Valheim, they will only be able to connect to a crossplay server, unfortunately.

Then next step is to make sure the LAN IP it was forwarding to was correct/unchanged. Then making sure the other users were connecting to your external IPv4 address (IPv6 won't work). Also note you and them will see a question mark and no players/version stats for the server if it isn't -public (but should still be able to connect to you). Ensure you don't have any local firewall rules interfering (i.e. iptables, nftables, ufw) and no VPN or Internet security suite running that could be interfering.

Yes, no forwarding required for crossplay as your server will make outbound connections to the relay

sage nexus
#

Yep. All of that is how it is. The mac player is more of a counterstrike person, so loincloth sprinting after deer with a club is probably the last I will see of them :) The windowns player is more likely to be regular, but without -crossplay all they could do was see the server in the browser and note there was 'an X on it'

#

Winguy connects no problem when i use -crossplay, i'd just prefer not to.

feral root
#

Hello my Vikings!

My boys and I have a little problem. Since I haven't really found a solution on Reddit, I thought I'd give it a try here.

We play on a rented server.
For some time now, it has been happening again and again that our portals lose the connection.
It's always the portal in our base. If we go to the "end portal", it is still connected to the one on the base. But if we then go through it, we end up outside our house or on its roof.
The portals are on the upper floor of the base (if relevant^^)

Can anyone help me/us with this? 😄

That reminds me:
The server has already been restarted, the portals in the base have been rebuilt and renamed^^

proven niche
# feral root Hello my Vikings! My boys and I have a little problem. Since I haven't really f...

Are you using any mods at all on the server or on any of your games?

Do you have the issue with only the one portal at your base?

Is there anything unusual or noteworthy about the name of that portal pair?

You've rebuilt the portal at your base but have you rebuilt it's remote portal?

Have you also tried relocating the portal to a new location at your base or relocating the remote portal?

feral root
# proven niche Are you using any mods at all on the server or on any of your games? Do you h...

hey.

no mods are used.
it concerns 2 portals.
there is nothing special about the names. maybe the fact that it is called "Händler" and "Händlerin"... The portals lead to the two merchants.

I only rebuilt the portals in the base, right. That didn't help.

Renaming the portals concerned (to get from one to the other) worked. After I renamed them back to their original names, they were not connected again.

I was at the end portals at the time, renamed them and renamed them back -> works again, as desired.

Sorry if it seems a bit confusing, I'm writing the text with a translation program 😄 If German works as a language, that would be great LUL

proven niche
#

It's fine. I'm used to being confused and gotten quite comfortable with it. Unfortunately, my only German is "gesundheit!". And I'm not sure that's appropriate here... 😄

feral root
#

Maybe my portals have a cold... then it could almost help! hahaha

proven niche
#

So, anyway, for whatever reason it seems to be a name problem. And you already know how to work around it. So, it's now a minor annoyance but not a big problem?

feral root
#

it's just strange, because the problem has already occurred with a portal that had a very unique name (got the name of one of the bosses) and yet exactly this problem occurred.
Unfortunately it's not possible to fly on dedicated servers (right? xD) so I had to take the loooong way myself 😦

proven niche
feral root
#

Well, for now I have found an emergency solution.
I was just hoping to find the right solution here so that this problem would no longer occur. But never mind.

As for the topic of mods ... unfortunately my mates aren't too keen on them when I want to use them, so I guess that's out of the question 😦 😄 But thanks for the offer and thanks for your help in general 🙂

proven niche
feral root
#

i hope so 😄 Have nice day, mate 🙂

onyx goblet
#

please help !!!
can't join dedicated server . it failed to connect . I did port forwarding already . add inbound-outbound rules already.
[How many things i need to check before run the dedicated server?]

proven niche
onyx goblet
proven niche
onyx goblet
proven niche
# onyx goblet but still failed to connect

Oh, ok. Well, -crossplay is needed to support Xbox players. So, if you don't need to do that, then it's better to remove the -crossplay.

So, with it removed, you need to have properly forwarded the game's two ports, i.e. 2456 and 2457, by default. Both ports need to be forwarded with IPv4 and UDP protocol.

And, when you still get the "Failed to connect" error, you need to temporarily turn off it's Firewall and any VPN on the server PC to see if those are causing the problem.

And without -crossplay, when the server is located on your home LAN along with your game PC, you may need to use it's internal IP address instead of it's WAN (external) address for local access. That's because some home routers don't allow 'loopback' routes.

onyx goblet
proven niche
onyx goblet
proven niche
# onyx goblet it no and show this message [Query port is not reachable from the internet.]

Ok, so you know that the external comm link for the server is being blocked somehow. Usually, it's Firewall, VPN, or port forwarding problem.

There's also a remote possibility that your ISP is douple NATing you (also called CGNAT). If you're sure that the other things are ok then check with your ISP for that.

I'l be AFK for an hour or so. So, others in here may be able to help, if the problem continues. Good luck with it!

final current
glad orchid
#

Running Valheim on windowsGSM, had an unscheduled power outage yesterday, boot the server up today, looks like the config file got overwritten and now I can't get it to load the old save file, anyone have any suggestions?

proven niche
glad orchid
#

serverparam="-name Zelheim -port 2456 -world Zeleno -password xxxxx -savedir c:Zelheim/worlds_local -Public 1"

#

that's the line in the config and i.... i'm missing a / aren't i?

sage nexus
#

mine has a trailing slash, which is not required but still works in linux, probably does in win too

#

and they probably should be backslashes in your case... \

red hawk
#

Hiya...I am not sure if this is the right place to ask, but I am wondering if anyone has any good suggestions of which discord bot to use in my discord server that will notify discord in real time when a raid occurs and ends in the game? I'm new and learning and have already tried other methods of trying to find out. Thanks for any help provided.

proven niche
red hawk
#

Thanks so much!

weary rapids
#

Dedicated Server question for minimal spec requirements
Running windows 10, Intel Core i7-7700k 4.2GHz
32 GB ram @ 3600MHz
Started playing with 7 players, Eikthyr was a bit jerky, but this was my first experience with 7 players...
Wondering if were already seeing stability issues and if it'll
actually be playable later down the road

proven niche
weary rapids
#

thanks

opal saddle
#

The specs of the players computers (network connection, CPU) are much more important than the server. I've been running a server on a messly dual-core old-gen I3, and can not saturate it's CPU (max 5 players). But if one of us has an iffy connection, lagging will occur.

This game will assign the first one to enter an area as the chunk master.

mossy torrent
#

For whatever reason my -saveinterval 900 parameter isn't working, anyone have a reason? seems to just use the default 1800 no matter what i change it to.

#

nvm I found the problem. ServerCharacters overrides this 🙃

proven niche
mystic prism
#

I cannot find this on Google - anyone know where GPortal keeps the Valheim log?

#

They have log files for Steam in their little logging console but not the Valheim log output (which would normally go to Player.log)

proven niche
# mystic prism I cannot find this on Google - anyone know where GPortal keeps the Valheim log?

GPortal (where the server is) has the server log(s).

But, your game log(s) would be kept in folders on your PC (where your game is). Look in your C:\Users\UserID\AppData\LocalLow\Irongate\Valheim\ folder for your Player.log.

And in your C:\Program Files (x86)\Steam\steamapps\common\Valheim\BepInEx folder for your LogOutput.log file.

I could be wrong, of course. I'm just going by memory. 🙂

rain thistle
#

Booted up a dedicated server that i'm hosting for me and a friend of mine for the first time in a few weeks, and it just gives "failed to connect"

#

The cmd log for the dedicated server also looks troubling with a lot of warning messages 🤔

proven niche
rain thistle
#

Yeah it's in there

#

You're right it's mostly shaders

proven niche
#

If it's the same server that was working before, try re-verifying your game files in the Steam client. Unless you're using gamepass, of course.

rain thistle
#

Oh shit I just realised my forward port stuff has reset

proven niche
rain thistle
#

Oh god how do I do this again 😡

proven niche
#

If you don't need to support Xbox or gamepass users, just remove the -crossplay option from the server's start_headless_server.bat file. And update the port forwarding in your server's home router. Making sure the server's internal IP address hasn't changed recently.

The server's set port and one port # higher must both be forwarded to the server's current internal IPv4 address with the UDP protocol.

rain thistle
#

How do I know which common service port do I use 😩

proven niche
rain thistle
#

Yeah but I have to select a "Common Service Port", like DNS, HTTP or FTP

proven niche
rain thistle
#

I'll try to get it working tonight

midnight summit
midnight summit
#

Today i try relocate server from RU to NL
maybe this help/

proven niche
#

It seems you are having comunication problems with Microsoft's playfab network. The -crossplay server start option requires that you communicate with the server through the MS playfab network. You only need -crossplay to support Xbox or MS gamepass users. If you don't need it, remove it.

I've never used fail2ban or ufw but I suppose that if there are enough failed attempts for the game to try and communicate with the playfab network, then fail2ban might block the playfab site. I'm only guessing at that but you should consider temporarily disabling the ufw as a test to see if that's part of the problem.

And relocating the server is likely to create a different communication environment. If that is enough to solve the problem then that's great. You may still have to trouble shoot the ufw, however as some of the rules set by fail2ban may need to be removed.

midnight summit
#

i setup fail2ban only in ssh ports

and maybe i need open some port to playfab, but i dont know which port used in playfab

#

if i switch of fail2ban and ufw this maybe insecure

proven niche
#

You have not said if you require -crossplay or not?

If the comm link to playfab occurs only occasionally, then it isn't an open port problem.

midnight summit
#

Sorry, i need use crossplay, because i have some users with XBOX version

proven niche
#

Ok. And your server was working good for a while and then fails now and then? Or the server has never worked at all?

midnight summit
#

server still work is ok. i wait then user with xbox version connect.
if server work ok, i text here about that.
this mean solution is relocate server to another country/hosting

proven niche
grim cipher
#

While playing games with our friends, their connection drops and they cannot enter the game. What is the reason ?

proven niche
grim cipher
#

My other friend logs in via Steam.

proven niche
glad estuary
#

Can you get more then 10 slots?

knotty oracle
glad estuary
#

Any mention of this happening without mods?

knotty oracle
glad estuary
#

You might not but others might

proven niche
midnight summit
proven niche
#

If you have InfinityHammer, set it to 'repair anything' then target the mob and use middle mouse button.

Or you can use the WorldEdit mod and bind a key to "object remove" then target the mob and use the key you bound it to. I put mine on the "Delete" key.

midnight summit
#

How i can get InfinityHammer?

#

i need instal mods on server?

proven niche
#

Install it on your game should be enough.

midnight summit
#

objects ok ,~~ mobs not 😦~~

proven niche
mystic prism
#

Anyone have issues with gportal servers randomly disconnecting and losing progress since last save?

wise swallow
#

any suggestion of where do rent a server from?

proven niche
proven niche
# wise swallow any suggestion of where do rent a server from?

It varies from place to place and person to person. Go online and look up 'game hosting review' and you might get to see some customer reviews of the companies that way. Decide the location of the server that you need for you and your players and how much technical support you'll need help with.

daring wagon
#

Hi guys I need help, I'm hosting a dedicated server on my computer. I'm playing with 2 friends.
The first friend is living in France (I'm living in France too), he can join the server, but the other one is living in London and he can't join the server, it's loading for 30s and then back to the main menu, do you know why?

I tried to remove the "-crossplay" from the .bat but when I did, the server couldn't finish loading.

proven niche
# daring wagon Hi guys I need help, I'm hosting a dedicated server on my computer. I'm playing ...

Have your friend in London turn off any VPN he might have and turn off his Firewall as a test to see if that's the problem. He can also check his game logs to see if an error there might explain it.

Removing -crossplay shouldn't interfere with your server loading. You will, however, have to have the server's two ports (default would be 2456 and 2457) forwarded in your home router. And without -crossplay, you can go to the geekstrom.de/valheim/check website and put in your external (WAN) ipaddress to see if the site can find your server up and running.

And your home router may not allow 'loopback' connections so, when you're on the same LAN as the server, you'll have to connect with it's internal IP address:port.

Also, without crossplay, there's no Join Code to use. So players external to your LAN would need to use the server's** external** IP address:port.

daring wagon
proven niche
#

Before you shut it down, make sure it isn't actually running and just pausing on the 'unloading assets' msg. You can use the geekstrom.de/valheim/check for that without -crossplay.

daring wagon
#

Okay, i'll try this next time, thanks.

My friend just sent me the "error" he gets when he tries to connect :

[Info : Unity Log] ZPlayFabSocket::Dispose. State: CONNECTING
[Info : Unity Log] ZPlayFabSocket::Dispose. leave lobby. LobbyId: 9286367c-7ee6-4c22-9870-5a4af7dbada1.r-20230509
[Info : Unity Log] ZPlayFabSocket::Dispose. State: CLOSED
[Info : Unity Log] ZPlayFabSocket::Dispose. State: CLOSED
[Info : Unity Log] 08/10/2024 16:37:05: Lost connection to server:ErrorConnectFailed

Idk if it can help

proven niche
daring wagon
#

So removing the -crossplay should help and thanks to that he could connect, that's it?

proven niche
#

Hopefully, yes. 🙏

daring wagon
#

We'll try this, thank you for your help 😊

jagged dagger
#

I just asked this in the general help channel but I'll put it here since it's more specific. I have a dedicated server running on a box on my lan. I set myself up as an admin today and turned on Devcommands. I used sleep a couple of times and it worked fine, but now all the sudden it's not working? Someone mentioned you need mods to run devcommands on a multiplayer server, which is weird to me cause we've never had to do that before and it literally worked earlier today. And now I see the wiki is mentioning that too, but then, why have the commands worked before without any mods including earlier today?

echo wraith
#

Hi, I’m an Xbox Valheim player looking to start a 24/7 valheim server for me and a few of my friends to play. I’ve looked into hosting a server myself but I don’t think my hardware is powerful enough and I’m not very experienced with creating and hosting a server and it seems complicated to me. However I’m now interested in paying for a server and was wondering what providers I should check out. I’m looking for a server that will support 5-10 people 24/7, has a good UI for someone inexperienced like myself when it comes to hosting a server, minimal lag and stutters, and a reasonable price. Thank you.

proven niche
echo wraith
grim cipher
#

I cannot transfer the normal save files of the game to the server established with cmd.

mystic prism
proven niche
knotty oracle
echo wraith
#

Alright thanks I’ll check them out!

proven niche
bitter whale
#

Hello, is there a way for me to buff the trader on my dedicated server vanilla if possible and if not then modded?

knotty oracle
#

Buff the trader?

midnight summit
#

pls can somebudy says wich system parametrs i need to normal game with 5 users?
i have now 2 x 3.3 Ghz CPU • 4 Gb RAM • 50 Gb NVMe

Is it optimal?

Because some times i have freezing mobs

knotty oracle
#

How much RAM is that?

gilded vine
final current
gilded vine
#

So, 4GB of RAM. Which seems very borderline to me. The CPU looks to be pretty weak as well.

knotty oracle
#

That's low for 5 players, yeah.

gilded vine
#

So maybe 8 Гб RAM and a CPU with 5 cores would be good targets to shoot for. And we haven't even mentioned the h/d yet.

final current
#

Unfortunately, troubleshooting lag in mobs is hard with Valheim. After you've got an optimized server, you can easily find one of your players' computer or connection is too slow to process and relay the creature and fight decisions. The players' game clients are responsible for a lot in those situations.

edgy wasp
grim cipher
#

My save files are in worlds_local file

grim cipher
midnight summit
#

ok i grow up server to 8GB RAM and 4 CPU

final current
midnight summit
#

i use now server without crossplay

jade sail
#

Is dedicated servers at 218.19?

proven niche
proven niche
# grim cipher Can I transfer via these files ?

To be clear this time, if you're asking if you can transfer world files from one place to another, the answer to that is yes. You need to keep the world pair of files (.db and .fwl) together carefully. If they become mixed up, the world won't work anymore.

To move the world, you copy the file pair and then paste them in the destination folder on the server. I don't know what you mean by the 'server established with cmd'. I'm going to assume it's a dedicated server somewhere, maybe on a different PC on your home LAN, that you installed with SteamCMD. Unfortunately, I've never used SteamCMD myself. So. I'm not an expert on that.

However, I believe SteamCMD has you create it's own directory for the server to live in and maybe the world save files, too. I don't recall the name SteamCMD gives to it's directory but you should see that in the installation instructions. So back to the installation instructions, I guess.

If you didn't mean your server was installed with SteamCMD, then the worlds would be kept in the default directories. So, if the server is running on a Linux host, as many do, then the server's world files go here:

/home/[UserID]/.config/unity3d/IronGate/ValheimServer

If the server is running on a Windows host then the world files go here:

C:\Users[UserID]\AppData\LocalLow\IronGate\Valheim

Hopfully, that helps you.

proven niche
jade sail
#

Sorry meant 218.17

proven niche
#

Go to your Steam Library, right click on the Valheim Server Tool icon and choose Properties. Select installed files and then Beta. Make sure that's set to None. Then reverify the Server Tool files and it should update to 218.19.

mossy torrent
#

Just to clear that up 🙂

jade sail
#

Its linux based and should automatically update ill see if i can find some setting.

left stream
proven niche
proven niche
left stream
proven niche
# left stream It's not clear to me if he is using a managed server, but it sounds more like he...

OIC. All of my servers run on Linux hosts. None of them are installed with SeamCMD or docker containers. I looked those over in the beginning and decided they only added an extra layer of complexity for no really important additional functions. I don't need auto-updates or the like. I'd rather keep track of it myself. So, I'm not familiar with SteamCMD, or Valheim Containers, or LinuxGSM or the like at all. Somehow I manage. I often wonder how... 🤷‍♂️

jade sail
#

Im using Unraid and running in docker container using steamCMD

proven niche
left stream
proven niche
# left stream So there are two ways one is SteamCMD and the other Steam-service. If you're usi...

I have remote desktop access to the Linux hosts. So go I full GUI most all the time. Except for when I start or stop or update or trouble shoot the servers. Then, I open a terminal in the remote desktop and fearlessly wade in in full CLI barefoot mode. Linux is fun. Always has been. Lately, I've installed r2modman on the Linux hosts to keep all the mods up to date. That does save a lot of time.

left stream
final current
jade sail
#

by ich777

final current
#

Had you used the public test branch for your server at any point in time, @jade sail? If so, your server assets arre stuck on that branch due to steam metadata. To get back on the main branch, ich777's SteamCMD images use the GAME_ID environment variable for stuffing parameters to the updater. You would set something like GAME_ID=896660 -beta public to restore the regular public branch. You only have to start the container with that once and it will be on the regular public branch until you specify a different branch again.

jade sail
final current
#

I'll say I don't know if the world version used by the PTB is compatible with the regular public release at the moment. I recommend backing up your world files first, either way.

sharp venture
#

Hi I’m coming from 7d2d, is there a server manager like RAT. A server manager that will start the game, handle backups , etc

midnight summit
proven niche
# midnight summit

Based on the info you've provided, it's probably due to comm link problems between the server and one or more of the players. A player with a weak PC would cause the same issue.

midnight summit
proven niche
#

I can't really help you with 3rd party hosting sites. Sorry.

midnight summit
left stream
midnight summit
left stream
old birch
#

Hey all I have a group of four coming into the game, Ive played before but only solo world. Does Valheim host any public servers or do we have to either host our own?

formal owl
scarlet tide
#

do dedicated servers show up on the server list if their password protected because my dedicated server is not showing up

#

could anybody verify for me if they can see Frost Pine gaming server in the dedicated server list

tiny mist
#

can somebody help me make a server? one that runs 24/7. i remember that i can take my save from a existing world and put that in the server

final current
final current
tiny mist
#

what is the best free valheim server hoster?'

scarlet tide
#

non i rent a server and just host of ther

frozen zephyr
#

Your self

scarlet tide
#

host havek wonts 40 a month

#

i pa aboot 10 and stole is corekt u ar the free ist hoset

final current
#

We try to avoid giving specific vendor advice here as it will be very geo-specific and opens up the door for spam, shills, and scams.

I will say it is hard to host a Valheim server for free if you aren't using your own hardware and Internet connection. There have been some users in here who have used Oracle's free arm64 tier of servers alongside an x86_64 emulator in Linux. You will have to handle the software setup yourself in that case.

scarlet tide
#

the one I'm running my game on isn't a vendor it's a friend who just has a really expensive server to have a really expensive server and everybody chips in $10 a month just to make sure we have decent internet and money for upgrades later given the Modern Age it just seemed reasonable to have access to a server...great form of entertainment and it really doesn't take up that much resources oh and I just learned if I run my computer through the Xbox Live I can use my dual analog shock so the game just got even better

knotty oracle
#

You're ALL chipping in $10?

scarlet tide
#

yeah we're all friends from high school and or close work relations that's why we jumped all over it when we found out that you could run a dedicated server a lot of games require you to have multiple accounts like farm simulator you can't host and play from the same Steam account with a dedicated server

#

or digital combat simulator servers you got to have a separate account from the posting account

#

any recommendations on which tools would help operating a dedicated valheim server

scarlet tide
#

the guy who owned it recently added a Raspberry Pi and a smartphone now we can all control the server from our phones through Discord so like for example I want to save or restart or even activate a mod I can do it all from my phone

brave quartz
#

Hello all, I have a couple backups of my lgsm valheim server and need to restore. Can I just use tar xf or is there a particular lgsm command I am supposed to run?

uneven smelt
#

Hi, I hope this is the right place to ask for help - my friends and I have been playing on a dedicated server. we just got to the ashlands and it's so stuttery/laggy to the point of being unplayable. enemies teleport, hits don't register or they register far too late to react to them, and aiming is nearly impossible bc it's never clear exactly where enemies are. this only happens in ashlands, generally once the massive hordes of enemies start spawning in. restarting the server doesn't help. what can we do to make this playable? it's really a shame we finally got to the new content and we can't really enjoy it :/

final current
final current
# uneven smelt Hi, I hope this is the right place to ask for help - my friends and I have been ...

Sorry, it's a common complaint. I've got a nice setup but I still run into the same. Makes it hard to hit your parry.
Your best bets are:

  • Avoid crossplay if you have no Xbox or Apple App Store players
  • Let a player with hearty CPU and wired ethernet be the first through the portal and run ahead of the group into new areas. Individual player game clients have a big impact on creatures/combat sync and decisions.
  • You may have luck with the Better Networking mod. I haven't heard much about its performance with the Ashlands update yet. It has a lot of knobs you can turn if you have the patience to try them out. It can be deployed on both the game client and server via the BepInEx framework.
uneven smelt
sinful portal
uneven smelt
sinful portal
uneven smelt
tiny mist
#

Hi, how do i put my world file into squadnox? if even possible or would i need to find another server hoster.

gilded vine
#

Follow their instructions for uploading your world to their server. Put in a support ticket if you have to.

spring monolith
#

hi guys i just got into trying to port my friends server (not hosted in a dedicated server previously) to my dedicated server, having some troubles with following the guide is i had already copied the world files to the cmd world name but it doesnt show up in steam local servers

#

do note its my first time seting up a dedicated server

proven niche
proven niche
#

I assume you've already confirmed that the server is actually up and running as you didn't seem to questions that.

So, if the server start_headless_server.bat file has the** -public 1 **option, or no -public option, then it should show up in Steam eventually.

spring monolith
#

sorry i made it seem like i did it but i did manage to run it normally not with dedicated server

#

i did copiedd all the related files

spring monolith
proven niche
# spring monolith it says server is up on the cmd but theres no option on the steam servers

I don't know what you meant by "server is up on the cmd".

And I can't tell where you aren't seeing it. When you say, 'on the steam servers', do you mean the server listings inside your Steam Client or the list on the game's startup menus?

Is the server using -crossplay? If not, did you forward both of the server's ports using UPD protocol? Are you able to connect? If so, how?

I can't tell if the server is actually running or not but, if it isn't, try it without any Firewall or VPN on the server's PC.

lament grotto
#

ok smart people here i need your help i was trying to sort out for past few hours my ded server issues. so far managed to make it not crash however whenever i try to join it it ask for passwork - i put it in and then i am back in main menu of the game this time without bepinex plugin info displayed in top left corner. keep in mind that mods are exactly the same on server and my local machine which makes this few lines totally ridicuous : [Warning:Jotunn.Utils.ModCompatibility] Jötunn is not installed on the server. Client has mandatory mods, cancelling connection. Mods that need to be installed on the server: Valharvest BoneAppetit FantasyCreatures FarmyardAnimals PlanBuild HoneyPlus ValheimRAFT as those mods are installed on server

opal saddle
#

Ask in #mods-issues , this channel is for plain unmodded self-hosted servers only.

bitter whale
#

based off this which one is 1.5x resources?

left stream
torpid holly
#

How would I manually save on a dedicated server

torpid holly
#

Nevermind, got it

rich belfry
#

Running Valheim in Unraid docker. What is the best way to gracefully shut the server down from command line? Trying to avoid saving and shutting down from in game.

final current
rich belfry
#

just figured that out myself. I used the following which did appear to force a save and shutdown the sever about 30 seconds after running

#
pkill -f -SIGINT valheim_server.x86_64
final current
#

Cool, looks fine

rich belfry
#

thank you.

bitter whale
bleak kelp
knotty oracle
#

Fix what? There are no errors.

bleak kelp
#

the server runs, this appears, and it restarts

final current
#

Your snippet doesn't go far back enough, @bleak kelp. The cleanup of allocations you're seeing happens at the very end, after a server-ending signal or issue.

bleak kelp
#

@final current

final current
#

I can, @bleak kelp. Looks like your own infrastructure is restarting the server:
/usr/local/bin/valheim-is-idle && /usr/local/bin/supervisorctl restart valheim-server

bleak kelp
#

ok. is there a way i can fix this?

final current
#

Did you write this hosting infrastructure, or are you using someone else's?

bleak kelp
#

i got it from somewhere

final current
#

My recommendation is to consult that infrastructure's documentation. Restarting on idle state is not part of the vanilla Valheim Dedicated Server. It's likely a regular feature of whatever you're using.

bleak kelp
final current
bleak kelp
#

do you know how i can fix it?

final current
#

I don't. I'd take a look at the documented configuration linked above, especially the environment variables section.

bleak kelp
#

I dont really know where to look. do you know someone else i can ask?

final current
bleak kelp
#

is there aanother image that is better that i can move my world files to?

#

@final current

final current
#

I'm currently hosting without a container so I don't have a personal recommendation. lloesche's image is pretty-well respected and generally kept up to date. If it's working well for you except for the restarts, I would just disable those restarts and keep using it.
Some alternatives:

  • A user named ich777 makes an image that's optimized for Unraid if that happens to be your distribution.
  • @north narwhal in here maintains an image geared to running rootless if you're looking for an alternate security model.
  • Iron Gate provides an image build script in the Linux depot assets for Valheim Dedicated Server if you'd like to roll your own (in the docker directory)
#

If your setup is unable to recover from the restarts, but you want to keep the restarts, you may need to talk to the creator of the config you used. I don't know of any CasaOS users in here off-hand, unfortunately.

bleak kelp
#

ok. thank you very much:)

#

for now i just tried to reinstall the same docker thing to se if it works again.

#

nevermind

#

same thing happened.......

final current
#

Per the docs on the cron expressions, if you're trying to disable them with an empty string in YAML, you can usually use something like MY_ENV_VAR: '' (two single quotation marks)

bleak kelp
#

what is that?

final current
#

The Reddit post you linked was configuring the container launch using YAML, so I assumed you were using that configuration to set the environment variables.

bleak kelp
#

yes

#

and i dont really understand. the server has been fine for about a week and suddently started restarting on its own. i dont know what could have caused it

final current
#

If you look at the documented env vars and compare with the Reddit post, it looks like the Redditor has a very aggressive restart schedule set up. Basically every minute of Saturday UTC when there are 0 players, restart the server.

bleak kelp
#

oh i see. so if take away the cron values it wil stop?

final current
bleak kelp
#

it worked! thank you very much for your help:) (im sorry if i diddnt understand alot and for bad english)

final current
#

No problem. I'm glad you got it working!

brave quartz
#

I have a virtual machine server where I host all of my different game servers. I worked out the solution for my situation.

grand zinc
#

@north narwhal

north narwhal
grand zinc
#

Apoplogies mods, he does not condone apostasy

#

@dawn warren @cerulean summit

knotty oracle
grand zinc
#

theyre not random they just need to see that whoami_root doesn't condone apostasy its a religious thing sorry

#

i wont tag anyone else

slim grail
#

I host a server for my friends and they experience lag every now and then. Is it my fault or its because of their pc/net?

midnight summit
final current
sand hazel
#

Any ideas as to why I can't find my server I'm hosting? Generated world, saved to local, edited bat files, ports are forwarded/open, bat shows server successfullystarted. I'm oout of ideas, all I can think of is some issue running the same steam account on 2 pcs at the same time? I guess I could create a new steam account specifically to host the server?

left stream
# sand hazel Any ideas as to why I can't find my server I'm hosting? Generated world, saved t...

There are 2 ways to install a dedicated server -

  1. Steam-service that requires you to log in.
  2. SteamCMD that allows anonymous login.
    Possible reasons why server is not visible on the internet: set to private instead of public, and another reason - it takes time for Steam to update the list of servers.
    A direct way to join a server would be to type IP and port instead of looking for it on Steam servers or in-game menu.
sand hazel
left stream
# sand hazel messed around with it a bit more, still no luck trying to joing off IP. I did re...

If you can give more details, I'd be able to answer better. How did you install valheim server?
I personally have no experience installing valheim server in any form on windows.
I have experience installing vh dedicated server on local and remote linux servers using command line interface. And I run and play the game on windows as most people do.
But don't let it confuse you, the vh-server is almost same on both os-es.
It's a matter of preference and habit.

sand hazel
# left stream If you can give more details, I'd be able to answer better. How did you install ...

everyone we play with is on windows. downloaded VH server from steam. trying to run it off my home media server running win10 with an i5, 16gb ram, 8tb of HDD space but installed VH server on the boot SSD. i have the basics of linux down and could swap to that if it was "easier". launching the bat and based on text in the CMD table the server IS being launched, im just having trouble accessing it. tried earlier via IP/port and i still couldnt find the server, either in game or by attempting to add it to steam server favorites

this may be a dumb question, but i can run the server by launching the bat file right? or do i need to choose between steamcmd or physically launching through steam?

#

it seems straight forward enough, and ive ran dedicateds before, I have a pretty strong feeling that its user error and i havent done one of the steps correctly. may try uninstalling the VH server on steam and starting from scratch, i might be adding more problems than fixing

left stream
left stream
left stream
sand hazel
# left stream There are 2 questions here, one is about Steam account and the other issue with ...

yea, ran into the issue of running the server and trying to play the game on a different pc with the same steam account. got around that by launching the bat file vs. launching via steam. maybe need to go the steamcmd route.

ive tried to join via localhost and also the public IP of the pc, neither seems to work. they only other issue ive just found is the port forwarding on the router was only set to TCP, didnt open them for UDP which may actually be the issue

sand hazel
left stream
sand hazel
left stream
sand hazel
#

sounds like adding the UDP exception is my first step tomorrow then.

proven niche
midnight summit
#

and we have some giants items now

quartz rock
#

I'm having an issue where /setkey PlayerEvents isn't actually triggering all of a sudden.
I accidentally set my portals to hardmode and turning that back down to normal wasn't working so I had to reset all world modifiers to fix portals
but after doing so I can no longer set player based raids again
I was still able to use the /setworldmodifier commands to set up the rest of my settings again though so I'm not sure what the problem is

I'm using a slightly weird dedicated host so I'm not able to change the launch options to add the setting that way

but the command definitely did work before because we had player based raids till now

haughty ermine
#

Hey everyone, looking at starting a server for a few friends under 10 people. Don't know if getting a dedicated server is worth it or how easy/hard they are to manage. Was hoping someone could give me some information on that or recommendations on where to get a server. Also, not sure if it's worth getting a dedicated server vs hosting the server myself.

midnight summit
# midnight summit after 2 weeks its not help to play normal 😦

We've checked the Valheim server both locally and on the server side.

When I connect from my local machine to another local machine, everything works perfectly and all the items load without any issues.

However, when it comes to other clients connecting through Steam, the server seems to struggle with loading constructions and items.

The problem lies in the synchronization of objects, their durability, and structure. As soon as players move outside of the constructions, the FPS improves and there are no more freezes.

Occasionally, there are issues with invisible or immortal mobs as well.

As an experiment, we deleted a large number of constructions, and the gameplay became smoother.

Now, I have a few questions: How can we determine the boundaries of constructions/items on the server? How can we optimize these situations?

While the best solution may be to delete unnecessary constructions and avoid building massive castles, I would like to explore other optimization options as well. There must be servers that can handle a large number of concurrent players without these issues.

fickle mauve
#

Hello, we have been having connection issues with the -crossplay on but when we delete it, there's no join code and also my friends can not join my server even though we all use steam

knotty oracle
#

Join code only works on crossplay, you'll need the IP for Steam.

frozen zephyr
#

You also need to make sure port forwarding is set up right, with -crossplay it didn't need port forwarding to work

proven niche
# haughty ermine Hey everyone, looking at starting a server for a few friends under 10 people. Do...

It all depends on your personal circumstances. If you have the time and patience and an old unused PC with 8GB Ram, or more, then you might consider creating the server yourself at home.

If you're all right with paying a monthly fee of around US$ 12.00/mo. And leave the heavy lifting to a remote hosting Co., then that might be the best option for you.

Hosting either your own server or a rented one requires an effort on your part. You'll need to make all kinds of decisions about the server and what the players on the server are doing. It can be a lot like herding cats. You'll need patience either way.

proven niche
# midnight summit We've checked the Valheim server both locally and on the server side. When I co...

It's hard to understand your situation due to language issues. But do you have your own dedicated server running on it's own PC on your home LAN or are you renting one from a remote Gamehosting Company?

Either way, you're probably going to have to move some of your larger buildings away from each other. Far away enough so that you can't see them anymore. If you're going to take the trouble to move them at all, you might as well make it as far away as possible and travel back and forth with portals.

If you have a remote hosting company, they may have the option to optimize your network traffic between the server and the players by adding a mod to the server and to all the player's games on their PCs. If they do, then use that.

If they don't have that option, and the server is on your home LAN, you can add the BetterNetworking mod to the server and all the player's games yourself. It has worked well for some but not so well for others. If it would work well for you depends on exactly what your particular problem is caused by. You would just have to try it and see.

edgy wasp
#

Hey, can you not use cheats on a server?
I've activated "devcommands"

proven niche
edgy wasp
#

Why is it a mod issue?
We're playing vanilla?

knotty oracle
#

Because you need a mod to do it.

edgy wasp
#

That's odd

#

Thank you

proven niche
#

Oh, trust me. I've seen 'odd'. This doesn't even come close.

sand hazel
#

@proven niche @left stream thanks for the help! server is up and running. it was actually BOTH of yalls suggestions. once i enabled UDP port forwarding the geekstrom website said server was online. and my router doesnt support loopback so i have to connect via local IP.

quartz rock
knotty oracle
#

That'll get you admin commands, but not dev commands.

quartz rock
#

Wait does that explain the problem I'm having?

left stream
# quartz rock Here

Can't you download the world files, change settings then upload to the server?

knotty oracle
#

Yeah, you can do that, for sure. Or use the command line arguments when launching the server.

quartz rock
quartz rock
knotty oracle
#

Ouch, that's a bad host.

full warren
#

Hello, I have a problem with the Microsoft Store version of the game. I can't join a self-hosted dedicated server of a friend (yes, the crossplay and all the configuration for the server is ok) I think the problem is in my end. I can't find anything online that solves this problem.

#

Trying to join either with the IP or the invitation code fails to connect

final current
#

What message do you see?

#

Anything in your Player Log?

full warren
#

In the game it show failed to connect

#

At the log I have the following: PlayFab lobby matching search filter 'string_key10 eq 'IPADDRESS' and string_key2 eq 'True'': Got back zero lobbies

#

I censored the ip

#

Then I have this: Backend not retreived yet, checking again in 0.25 seconds...

#

And the first message again

final current
#

Alright, the IP you've entered is an external/Internet one? And when you say crossplay is OK you mean it is enabled?

full warren
#

It is an external IP, for a hosted server on docker

#

And yes, the crossplay its enabled

final current
#

Does the docker container have libpulse installed?

full warren
#

I'll ask

final current
#

The popular images (e.g. from lloesche or ich777) have it installed usually, but either way it is required for Crossplay to work.

#

And are other players able to join?

full warren
#

Yes, the only differences is that all of them are from Steam

left stream
#

I've read somewhere in the past that microsoft store version is shitty crap that should be avoided.
I use windows LTSC and live without it.

full warren
final current
#

And make sure you aren't running an aggressively strict firewall or other Internet security suite. Note that with crossplay your client will end up connecting to one of Microsoft's relay servers and not directly connect to the IP address you supply.

frozen zephyr
full warren
#

He just told me his images is from lloesche

final current
proven niche
full warren
#

No vpn is running on my pc

proven niche
#

How are the other players joining? Using the Join Code? The server IP:port address?

#

You can ask your friend hosting the server to check the server log to see if there are any errors there that would explain whether the -crossplay is actually working on the server. If the server is producing a Join Code then it's -crossplay is working.

#

I've gotta go. You're in good hands with Justin and Stolenvw. Good luck with it!

full warren
#

Thank you dude, Justin is helping me out in dms because I tried to paste the .sh content here and I got 10min mute 😅

#

So far my friend's server was missing the argument Justin mentioned

#

Now hes trying to make a new server for testing that

final current
full warren
#

No success for now

full warren
final current
#

Sorry :/ They are welcome to stop by and paste us server logs. If they are seeing a Join Code, the Crossplay part is probably working

#

It just has to be an environment variable to the docker container. lloesche's container will convert that to an argument to the entrypoint executable.

#

If you are launching the container with a container management GUI, there will be a section for environment variables.

#

To be clear, the SERVER_ARGS environment variable should have the value -crossplay

full warren
full warren
#

does it changes over time? The join code

#

IT WORKS!

final current
#

Hey, great 🙂

#

It does. It changes once every new start of the process/container and occasionally other times. Once you've joined once with that code, you can usually re-join that server from the same Recents or Favourites entry even after the code has changed, though.

full warren
#

He was missing a minus sign

#

XD

#

I could only join through the join code tho

final current
#

Common mistake to leave out the hyphen. Hopefully you'll be able to continue to join using the recent or favourites entry now without having to enter the join code.

full warren
#

I hope so, really thank you for helping me out with this one dude!

#

Finally, I can play with them after two days of trying things XD

final current
#

hopefully they can still join 😄

twin shore
#

Adding myself to my dedicated server adminlist is not giving me the permissions to activate mods on my own dedicated server. I have the server set up on a 2nd PC on my home network and am controlling the server through the start_headless_server.bat. I can get to the server and others can join but despite adding my Steam ID # to the adminlist.txt file, single input on first line, numerals only. I am pulling my hair out trying to figure out what I am doing wrong. Searching the channel, I didn't see as post specifically for this. Any help appreciated.

left stream
proven niche
torpid holly
#

Incoming input from him

twin shore
#

I want to be able to use mods on my dedicated server. I can log into it and devcommands works but when I try debugmode, I apparently do not have the permissions to do so despite having added myself to the adminlist.txt file. I'll try and see if I can confirm the Bepinex is working and if you can let me know where the log files you need are, I can track them down. So frustrating as I just want to use 1 particular mod on the server.

midnight summit
# proven niche It's hard to understand your situation due to language issues. But do you have ...

I have a server hosted with a fairly powerful configuration for a game server.

We conducted testing on a local server specifically to rule out any suspicions related to the hosting service and the distance of players from the hosting server.

I enabled BetterNetworking on the server yesterday, and we are continuing with testing. This mod allows for more flexible network protocol configuration, and initially, it seems to have improved things.

Regarding the structures in the world that I mentioned earlier, it makes sense that they would put a load on the system. However, I’m surprised that at this moment there’s no load on the CPU or RAM (maybe this is beyond my understanding).

If this mod helps, I’ll report back here about it.
Thank you very much.

zinc frigate
#

Can someone help me, how to create 24/7 server for free in Valheim?

midnight summit
wide cipher
#

descent video I found in short time 😄

midnight summit
#

some pc with running server

#

and you need private ip address frome your provider

#

and the setup port forwarding in your router to your server/pc

wide cipher
#

you can host from your own PC

#

and connect to yourself

#

or tell people the crossplay code

zinc frigate
zinc frigate
wide cipher
#

the dedicated server itself isn't massivly heavy tho

#

it doesn't behave like a client

#

it just shuffles data and load in the world into your RAM

proven niche
# twin shore I want to be able to use mods on my dedicated server. I can log into it and devc...

If you have installed the BepInEx mod loader, and it is running properly, it will create a LogOutput log file in the BepInEx folder, which you can review with Notepad. There will be information in there about the startup process that BepInEx goes through to load any mods that you may have put in the BepInEx plugins folder to be loaded.

There is a 2nd log file along side your worlds_local folder. It's named Player.log. Those two log files will help you understand how the startup process is going and if there are any problems, they will show Errors there.

What is the name of the one mod that you want to use? To insure that you've chosen a current mod that is recently updated and supported and won't cause problems, you should download mods from the thunderstore.io web site and check the mod's updated date there and check that the mod's icon shows that it's compatible with the Ashlands game version.

native matrix
#

How can i import my singleplayer save to self host dedicated server?

proven niche
native matrix
#

thanks!

earnest mica
twin shore
# proven niche If you have installed the BepInEx mod loader, and it is running properly, it wil...

I am so confused at this point and I would just start over but I can still access the server and I am afraid of losing this world so am reluctant to uninstall everything and start over. First off, I need to confirm that Bepinex and the mod I am using need to be installed on the server PC and the gaming PC as well? That is what I have done and attached is the requested BepinEx Log File. Files were installed amnually on both ends and I can still access the server. Once in the server, through the console, I am able to enable devcommands but still cannot enable debugmode. I am not finding the 2nd log file at the location you mentioned and I assume you are talking about log fileas on the gaming PC, not the server PC. Attached is the log file in the BepinEx folder. I appreciate your help but am unable to respond immediately at times and will do so when able so I hope this doesn't frustrate you.

final current
odd shell
#

I'm having an issue where valheim and my dedicated server keep crashing my pc randomly, black screen and everything is unresposive but can still talk in discord and hear spotify running

final current
odd shell
#

They are on the same machine, 32gb ram, temps look fine when it crashes around 70C-80C

final current
#

Got enough PSU capacity to power a heavier load?

odd shell
#

I would think

#

I can always try joining a server without booting the dedicated to see huh

final current
#

Those temps are GPU specifically? How is CPU looking? Screen going black tends to lean on GPU issue. If you don't suspect hardware issue, I would still look at available graphics driver updates, or UEFI updates for your CPU if using a hobbyist motherboard. If you're on Linux, see if there's a firmware update package for your distribution.

I would then take a gander at the game client's Player.log after coming up from such a crash. Enable server logs as well if you haven't already (see -logFile in the manual).

odd shell
#

temps for cpu look the same around 70-80c

#

Where is player.log located?

final current
# odd shell Where is player.log located?

When you first start the game, there's often a link to it in the bottom-left of the menu. The log gets replaced when you start the game anew, but the last version is copied to a …-prev.log file. If you can't find it, let us know if you're on Linux, macOS, or Windows, and whether through Steam or an app store.

odd shell
#

I found it, no idea what im looking at

final current
#

If you're looking at the log for a session with the crash, anything of interest would likely be near the end of it. You're looking for errors, failures, stack traces.

native matrix
#

Getting bad fps lag spikes on my server. Any ideas? i have mods on my server

proven niche
# native matrix Getting bad fps lag spikes on my server. Any ideas? i have mods on my server

There are many possible causes for lag spikes. It's usually due to one or another of the players on at the time having a poor connection to the server. Possible causes for that vary but could be their PC being weak in general or busy with other stuff or using a poor VPN route.

Other causes, if it just happens in certain areas, could be overly large and complex buildings or even some world corruption of one sort or another.

You need to gather as much information as you can about the lag like when, where, who's on with you in the same area, and see if you can pin down the cause.

Unfortunately, there aren't any 'magic' fix things you can do that always work for everyone.

reef marsh
#

I'm hosting a server through Dathost for my european players. Currently the location of the server is set to Sweden. Will it improve perhaps if I move the server to Holland as maybe that will be more "central" for most europeans.

Please mention me if you have any information on the topic please.

final current
left stream
knotty oracle
#

Adding mods is never going to lower lag.

left stream
left stream
reef marsh
round citrus
#

looking for a fun server to play modded

round arrow
#

What file do I need to copy to my PC to play offline? Upload speed from my ec2 is terrible

#

Only 90kb/s is awfull

#

I guess I only need the .db and .fwl files. I do not want any backup for now

proven niche
round arrow
proven niche
round arrow
#

I thought it was client side, no?

knotty oracle
#

Yes, the character file is client side.

daring tree
#

does the valheim game client support DNS SRV records?

proven niche
daring tree
daring tree
# proven niche Let us know how it works.

whelp, it didn't work. That's why I'm asking here. I just had the idea now to verify what the valheim game client was doing via wireshark and it doesn't attempt an SRV lookup. Even wilder, it seems like not even CNAME works. That's quite limiting. But I managed to get it to work for me by explicitly setting an A record now.

bitter whale
#

are their any mods that are server side and work well for a dedicated server that wont block xbox players from joining?

inland token
#

will i able to get a copy of the world save from a server i played on? are there any way?

knotty oracle
#

If you ask the server owner, sure.

inland token
#

i asked, but the thing is... the server have expired meaning they didnt extend the hosting... but we wanted a copy of the world but they are unable to retrieve it

knotty oracle
proven niche
inland token
final current
# daring tree whelp, it didn't work. That's why I'm asking here. I just had the idea now to ve...

CNAME does work. Any chain of CNAMEs will need to end in an A record pointing at your Valheim server's IP. Valheim uses something from the Common Language Infrastructure std lib DNS package. The CLI runtimes that ship with Unity usually end up using the OS' name resolution stack for the low-level DNS part, and that will honor the name resolution tricks you're used to (but not port resolution tricks)

Are you using crossplay? If so, resolution is a little strange in that the IP address is not the final address, but an identifier of its own that leads to an Azure Playfab Party Relay.

I think you're right about that article author only getting SRV to work by coincidence. They just happen to be using the default game port so no discovery would have been necessary.

soft tree
#

Hello, I've been at trying to get a server working on Linux for a couple days. It starts up mostly correctly, save for errors with the crossplay. Attaching screenshot of the error. I do have Pulse Audio installed. After it finishes set up I'm getting this message on a loop:

08/24/2024 02:31:39: PlayFab reconnect server '...'
08/24/2024 02:31:39: Server '...' begin PlayFab create and join network for server```
#

Does anybody have an idea what could be the problem here?
The libparty.so file is present in valheim_server_Data/Plugins after downloading the server, should it be also present in MonoBleedingEdge? (I tried some basic solutions like copying over but it didn't seem to solve the Fallback handler error)

#

Details: I'm running the server on a VM with an ARM processor, so I am using an x86 emulator (I chose FEX-Emu). The image is started from Ubuntu 24.04. I can send the full log and my Dockerfile (I made my own as I wasn't able to find any existing one that was made for ARM) if it will help.

final current
soft tree
#

Well, that didn't really work, it still says it failed to load that library

proven niche
soft tree
#

That is what I'm trying

proven niche
soft tree
#

Thank you

#

I achieved an error upgrade

Error loading needed lib libSDL3.so.0
Warning: Cannot dlopen("libSDL3.so.0"/0x7fff09abfdea, 2)
proven niche
soft tree
#

I'm running this as root so probably not

proven niche