#dedicated-server
1 messages · Page 9 of 1
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?
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)
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 ?
The guys in #mods-discussion might have an idea.
aight thanks
guys where does the dedicated server save the world
mb
I don't have an irongate folder in locallow
Default location is C:\Users\User\AppData\LocalLow\IronGate\Valheim\worlds
If i remember correctly
That's right. The worlds folder there is for cloud saves and there would be a worlds_local folder alongside it for local saves.
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?
Are you on world based raids or player based raids?
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.
How can i check?
Where can i find more about this? Never knew about player based raids
The pdf to the docker server isn helping very much either 😄
Thought it was progression based, defeated the boss; you get raids from that biome type monsters etc
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
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.
Type in "devcommands" to open those up.
I don't know why you're getting that. Maybe try typing in "debugmode".
Not valid in context
It's a dedicated server so presumably that won't work.
I thought it was working for me on my servers. Lemme go check. BRB
Lots of mods loading up, it'l ltake a min...
Server Devcommands would be the one to look for.
This what I get while logged onto my dedicated server...
Interesting
I've been getting those "Chill Wind from the Mountains" raids there, too. The raid with all the drakes.
Could the transfer from local game to server be the issue? What are u running your server with?
IIRC, a while back I moved this world over to the server. The server runs on a Linux host without container or SteamCMD.
The rest works fine just the raids are messed uo
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?
Have to check
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.
I know
And my server and game are on the current release. Not the PTB or anything special.
It's a hex file so it'll look wierd if you edit it with Notepad.
Nope. That's wierd all right.
Would explain certain things
Time for a backup restore.
haven't one that far back.. hmm what happens if i just kill the fwl file
lets find out
Dunno. Probably a terrain disaster.
Just the fwl?
Really dunno.
If you have some buildings you want to save, you could probably do that with PlanBuild mod.
Ok Stupid Idea... lul
@proven niche Would you recommend running a dedicated valheim server on a raspberry pi?
Damn your macro game got rusty 😄
I don't know if I'd 'recommend' it. But I'm pretty sure you could get it to work at least for a while and for a few people in a non-complicated world. Think of it as a good project that you could put a lot of enjoyable work into and having an 80% chance of some degree of success. 🙂
So I did
And it works pretty well, especially after a hefty 25% overclock
However I have a problem and I need help 😄
I think you can get a heat fan for that Pi, if you want.
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
Indeed!
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
Either networking or maybe disk storage. You got it talking to a fast SSD? Is it cabled up and not on Wifi?
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
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?
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
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...
it has a 200MB swap but I've seen it used only once
I kept it default as the raspberry lite config
But I have to say we only beat bonemass so most likely the ram usage will increase with time
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.
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
Yep. You should go buy a Lotto ticket. 😄
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 😄
Keep a garden hose handy. 😛
But on the dedicated server side of things there are definitely problems. For example the world loading seems pretty badly multithreaded
I've seen that, too. I think that's just the way it's designed.
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
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. 😄
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
Way above my pay grade but sounds logical.
It's super easy honestly, everything is provided by the raspberry in a neat config file
I gotta run. Wife just got back with the groceries I wanna help with that...
Have a nice day 🙂
Is this using an emulator or one of those expensive "Call us for pricing" Unity runtimes, @hollow dagger?
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?
had the exact same problem, I think it's Ashlands just beign ashlands to be honest...
Everything were running smoothly until we (a group of 8) arrived to Ashlands
No I'm using box64 which is an opensource project
It allows you to run linux 64bit app on arm with pretty impressive efficiency
All these azure outages yet somehow Valheim crossplay is still working
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.
There was a post on reddit 3y ago talking about patching the exe to allow for more bandwidth is this still a thing?
That patch is included in the BetterNetworking mod I mentioned above. So you don't have to modify it manually and then recompile the file.
Arg I can't use that, Bepinex isn't compatible with box64 yet because of certain libs 😢
I had betternetworking, as long as we were 2 or less it was smooth, 3 started lagging and 4 close to unplayable
Did you have it on both the server and the players?
They really should work on a better dedicated server, it's a core aspect of the game
Just one more opportunity for you to overcome another David and Goliath challenge on your RPi's road to success. 🙏
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
Technically, it's still an "early access" game and was never intended to be an MMORPG. Just a solo survival game with an option for some co-op play. 🙂
it shows ^^ the amount of limits you can overcome on server lags is a bit dumb.
True that. And I too hope they're working on it.
I was contemplating coding my own server at one point ^^
Now there's a challenge! 😄
Yes created a modpack for them all that they needed to have to even connect
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
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.
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?
No that's not default stuff. Is it your world name? Is that stuff directly in the IronGate folder or one or another sub-folders? Also, set your File Manager to also show file extentions. So that you know more about that kind of files they are.
Backups would be a pair of files with your world name and a time and date in the name. There's a .db and a .fwl file for the world pair which must be kept together.
I see the .fwl in the worlds_local folder but can't find any .db file
Sort them by Date Modified instead of Name.
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.
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:~$
I opted to remove the argument and got the install done. Curious though, what is the correct flag to install or remove the beta?
oy it installed the .17
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”
Ah thanks, the guide has beta none I will give that a try.
Let me know if that's wrong. So I can update my notes. 🙂
Well, you can go ahead and put a big red heart next to that note. Worked perfectly.
Glad to hear it! Thanks! 😄
Interesting. Put my client back on .19 and the Character I made on .17 is not showing. Guessing that may be a compatibility thing?
I'm not sure myself. But I think I've seen that before in here. So probably normal to need separate chars there.
Yea not to worried about it. Probably just stay on .17. We are not liking the reduced spawns and figured we'd go back on the regular track.
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
#mods-issues or #mods-discussion is still the best place.
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.
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.
ty. I was looking, googling, and i found servers like Valhalla, Alfheim, Tyrenheim, etc.. that is what im wondering, how does it work? If i wanna play with a buddy and we join a server like that, is it then like an mmo, or... just the two of us still or what? 🙂
Individual dedicated servers are for co-op play for a small number of players. Usually from 2 or 3 up to 10 players at once. Most servers advertised in the #1024264966712340510 channel here could have you and your buddy and an unknown number of other players on at the same time. And, of course, you can start your own server just for the 2 of you, if you want.
ye thats what we always did, i start some server and we play just the two of us.. bu i was wondering how do other tihngs work
thosse "big" servers...
They're called 'dedicated' servers. And they work fine. Separately from your game.
thank you 🙂
What does the server calculate when no player is connected?
Nothing.
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
I mean, it'll be still listening for connections.
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
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
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
It's hard to get good idle efficiency in Unity, unfortunately. At the moment, much of the server's cycles are waste.
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
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?
Are you generating a new world or importing one?
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.
so how do i write all this in the CMD?
app_update 896660
then -beta public +app_update
i want to start frest new world server
in the steamcmd I assume, so you get the proper dedicated server version
-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.
thank you for that explaination , very greatful !!
You're welcome! Let us know if you get it working
legend
i get soo many errors and warnings when i run the bat file, man i had this thing running perfectly for 2 years , now its an fn nightmare ( not blaming you , its just frustrating) now instead of getting "not compatible version" i get "failed to connect"....so ill guess ill be heading into my router to look over my port forwarding etc
Anything of note in the server log, @quartz mason?
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
I'm a builder looking for active dedicated server. Please invite me.
#1024264966712340510 is what you want
You can give admin powers to other players. You'll need their User IDs from the logs or as seen in the F2 dialog. See "Administrating the server and setting permissions" in the Valheim Dedicated Server Manual, which can be found in the installed files or in the pinned posts for this Discord channel.
I would put a note in #1024264966712340510
yes you can. but admin powers only gives the user the right to kick someone
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
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.
I would reach out to your current provider and see if they can help you troubleshoot your issue or at least provide you with a fresh server.
Hello guys i need help i am trying to join my dedicated server and every time it says CONNECTION FAILD any suggestions??
how do I get mods on a dedicated server? I've tried valheim+, but it just doesnt work tbh
Is your dedicated server running on a PC on your LAN? Are you using the -crossplay option?
Ask in the #mods-issues channel.
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?
Do you want admin or devcommands. Two different things.
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.
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)
You could have also landed on a more favorable Azure Playfab Party relay for your players after the reboot. An unfortunate side concern when using Valheim's crossplay.
Could be, I'll keep an eye on it and see if there is a pattern. Thanks!
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?
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?
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:
- 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)”.
- 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!
Yes, just follow the install instructions that come with BepInEx carefully and you should be good. You might want to check for online articles concerning possible special instructions for Valheim with pterodactyl but if you're already comfortable with that environment, you shouldn't have any problems.
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.
You'll have to go into specifics. Are you using a premium Unity build or are you using an x86_64 emulator? Is the server using crossplay or local/Steam connectivity? How are you connecting: LAN IP, Internet IP, crossplay join code?
The Am I host? check is normal and it will run as often as your server's save interval.
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)
Appreciate the response! The dedicated server was started on and is running from my PC, the copied/local world is on my PC as well. I didn’t notice any usage issues in task manager, kinda why I’m confused now tbh. No apparent reason for the difference in performance. I’ll check out some other sites and see if they have better luck.
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.
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).
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
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.
im trying to host a server on a webside but it says "failed to connect" https://geekstrom.de/valheim/check/ says the server is running
who's the hosting company, they should provide tech support if that's what you're paying for.
The first thing I would check is if the server version and the game version match.
Then I would check if the IP address, PORT and password are correct.
its firewall
i dont remember hot to make exception for valheim or smth like this
Add a new rule to the Firewall. For port range 2456-2457 UDP protocol, Allow In and Out for IPv4.
thx
it doesnt work 😢
(ignore name of the server)
Then, try making two new rules. One for the 2456 port and another one for the 2457 port. As above...
But Geekstrom can already see the server, unless I'm seeing that wrong.
yep idk what is happening
It's a client-side issue. So maybe VPN?
nope
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? 😄
yeah
maybe port forwarting on router idk
Can you connect with the Firewall temporarily turned off? I assumed that's what you meant when you said "it's the firewall". 🙂
i was able but now i cant
got kicked out after 1 min
You can check your Player.log to see if there's an error in there that explains why you got disconnected. The Player.log is next to your game's worlds folder.
And you did mean that you selected the server, put in the password and entered the world. And then got disconnected after 1 min., right?
yeah
gtg i will get back to it later
It could be a time-out error. Is the server using crossplay?
thx for help
openned ports in router, firewall i use good version , good ip and password and still "failed to connect"
@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:
- Did someone else try to connect to your server?
- Can you connect to other servers and do other internet activities as usual?
If you are using the right IP and putting in the password ok, then you are connecting. Yet you are getting the "Failed to Connect" error?
I still didn't get if it's a local server on your PC or somewhere else.
I think we may have a language problem. But I don't know how to fix that. 😟
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?
you could try putting steam into offline mode, but I don't know how that would affect valheim.
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?
I've been able to play games on the Steam Deck via offline mode
but that does limit what I can play
especialyl cuz I wanted to log into the server from my steam deck while out of town
I'm not sure on how servers work (nity-gritty detail wise) but I would imagine that if the server was 3rd party (not your PC) then they would have a copy of the game and wouldn't need you to be logged into steam to play. You could temporarily disable cloud save, manually save, and then change steam to offline.
SAVAROG and Jaga might have a better idea on the exact details.
When installing vh-dedicated server on linux, it is not required to log in to steam, an anonymous login is used. I have no clue how it looks like on windows if that's the os you're using.
I'm playing on win10 and I connect to a linux dedicated server.
Yeah, running the server on Windows
Try the official guide on fandom. Seems like there's difference between Steam-service and SteamCMD you need the SteamCMD method.
Ok!
yep
server is hosted on oracle its on linux
Is there admin command to destroy ward?
There is definitely forcedelete as a devcommand. But that would mean you would have to be on a modded server with those enabled.
Server owner can use devcommands I thought
If the server is started in-game the owner can use commands
Thanks that’s what I thought
join code is temporary?
Join Code is new every time the server is started.
oke
trying to move my world over to a dedicated server but having alot of problems if anyone could help?
Go ahead and tell us the problems, and let us know what operating system your game client is on, what OS your server is on and whether it's a locally-managed world or cloud-managed.
im trying to move my solo world over to my dedicated server and im puting my world file in what i assume is the correct place from what i see but it keeps loading other random worlds. other then seeing yt vids i know next to nothing about moving the world over cant find any for my problem thats also using my provider
Maybe you need to give the server name of your world file? That's how it works on a self-managed server with SteamCMD installation, but if you're paying for a managed server provider then we'll need to see a screenshot or more info in order to help you. Do you use SFTP to transfer files and are you sure it's a correct location - folder?
no idea what sftp is and like i said im only asuming its the right spot but im not 100% sure and this is the screenshot of the server files
ah know what i understand what you mean now and was able to figure it out thanks
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"
Which operating system are you using dedicated server on? What folder did you put the DB and metadata file in, and what is your server-starting command line? You can obfuscate/omit the password.
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
Thanks. And you put your desired Valhell.db and Valhell.fwl in %USERPROFILE%/AppData/LocalLow/IronGate/Valheim/worlds_local ?
I just did that
how do i restart a valhost server?
This worked
installed the server via SteamCMD and now everything works
thank you for your help!
You are welcome!
They should have a game panel for you to start/stop your server.
Can I force a dedicated server to use more ram instead of it being dynamic?
You can't from within the Valheim game. Your OS may allow you to do that for the Valheim process. I don't know.
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
yes, overall its a terrible setup, just host it at one place or rent a server
thank you. I wonder if I just try to put the program files in a cloud location, and change the server script directory to that cloud location, maybe it's possible to do it from my laptop and my desktop. Unsure if Steam can launch games if the directory is changed like that, but if the world files save to the cloud each time then it should work in theory
No, you put backups on the cloud, you dont run servers from cloud storage, as I said before host it on one place or rent a server
and how vetted/trustworthy is AxentHost in your opinion? I am not super serious on really making the server widely available for me and my friends, so just curious if this option is good
That unfortunately I can't answer, free hosts are generally pretty crap though
Can't you set up a dedicated server on your desktop at home and open ports on the router?
For the dedicated server you can use an 10y old pc with 8GB Ram, SSD and at least Dual-core cpu. Sever has very little job to do if it's vanilla, but if it's a modded server then You'd need a more powerful configuration.
that's my current setup but I am not leaving the pc on all day while I am at work. I wanted to be able to easily switch between the two so I can run the server from my work laptop while I am at work, and then from my desktop at home when I want to play
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
Isn't SteamCloud doing that job?
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.
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
^^ is why I need to transfer the local files back and forth. And because the files live locally, that's why the host pc needs to be running in order for this to happen, and the host pc needs to have the most recent local copy of those files on it in order to run the server correctly
So you need something like FileZilla to sync between the 2 directly or indirectly via cloud storage like gdrive for example.
yes and cloud storage should only be used for backup saves of worlds, not running the actual server from. I read about making a free oracle account + free tier server to run valheim from but idk if that is still a thing. Specs of the free version were decent for valheim considering the low resource usage
I'm not sure I understand completely what you want. So either:
- copy files (sync) every time to and from gdrive or similar
- get a server to host valheim - usually around 10-15 bux. I've never used the free ones I can't comment on that.
- 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.
in response to each numbered item:
- 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
- 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
- yes what I am currently doing, just from 1 PC
What wrong with simply taking the two world files back and forth with you on a flash drive? It's an easy quick copy/paste function when you're leaving one location and arriving at the other. An alternative to that would be to copy the two world files to your cloud storage drive (Google drive or MS OneDrive, both free) when going back and forth.
it's definitely an option. When I first did this with my buddy sending me the files, it didn't save properly and we were rolled back a bit so that is my only issue. Otherwise it's not difficult at all to do that, just tedious
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.
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.
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.
yeah Oracle sounded like a good free one but of course the only viable server config is an arm-based processor which seems complicated to get it to work outside of just setting up the Oracle server. It's really either a cheap option from apexhosting or the flash drive/onedrive tactic
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?
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.
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 ...
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.
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!
Have you copied both the .db and .fwl files accross?
Yes both of them.
It does sound like the Ubuntu server doesn't have a matched pair of the world files .fwl and .db to work with.
How can I match them?
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.
Im pretty sure they match, but let me check. I'm not very good with computer things.
The dates and times match.
It that's true, then the only thing that explains it is a corrupted .db file in the pair. In that case you'd need to restore the world from a backup which you'd have to do with the game's menu.
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?
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.
🙂
i already know the ping cmd
the ping cmd doesn't require you to have devcommands access.
just console without admin privilege or (/ping) in the chat works for that
If there is no way to turn it on/off then what could be the reason for some server showing it and server not showing it?
Some remote sites block pings. Others don't. You can't control that.
i see 👀
hello can anyone help or tell me if we can change the modifiers for our servers to normal
Two ways to do that. You can take the world file pair to a solo game and reset it in the solo game start up menus there and then run it, save it and copy it back to the server.
Or, if you have devcommands access, you can type in "setworldpreset default" at the console to do the reset that way.
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?
So you created a new test world and now there's no files for it to be found. Did you give the test time enough to do a world save? Normally, the game would do a save as long as you quit it gracefully. Does your start_headless_server.bat file have a "-savedir "...path\folder" to change the default save folder? Make sure your File Manager is set to show file extentions.
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?
No, it shouldn't behave differently. Your game should also save the world .db and .fwl files to the worlds or worlds_local folder depending on whether it's set to save locally or in the cloud.
I see, looks like somehow it was only cloud saved -- hitting "move to local" put it in worlds_local. Still is not in worlds...
I don't use the cloud option so I don't know if that puts the world files in that folder or a link to them in the cloud.
Is it possible to set up a local dedicated server to use cloud world saves?
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.
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
Is that a recent problem? Does it occur randomly and how often? Is it only when you're playing with friends?
It happens if I play solo on my dedicated world (and with others), or play online hosting with friends
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)
Your dedicated server is on another or the same PC as your game on your local LAN?
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
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
Servers have to use the crossplay option for Xbox users. You might need to ask the server hosts if the server has crossplay support before trying to join.
I am sure its enabled also i cant join any community server so its not something about the server
How are you trying to join the servers? Join Code? IP:port number? Clicking on them in the game start server lists? Some other method?
I tried both frlm the community tab and a join code for a dedicated server
Also tried non dedicated server none of them works
Always the same error
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.
Firewall exclusions? Ports open? Anti-Virus exclusions? (if you have it on both) XBox AND PC client gives the same error...or just one/other?
Maybe try setting up a dedi locally & connect from your client...get the same error?
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
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
and do my friends need to also have this mod installed? Or do admins just need it?
oh wait you said client, not server
Just whoever wants or needs to use it.
cool thank you
there is no anticheat on the server. Anyone can run mods and use the commands if they want.
*most of the commands
yes right I meant more like if I enable server mods like QoL ones then my friends need to install em on their end too to use em
There are server side mods yes. In those cases all clients normally need to have the mods
right I see. but the devcommands one is just client sided which is dope
But for the devcommands. Just run the mod needed on the client
and the nexus page for that mod needs bepinex, but the modding guide tutorial to set it up uses thunderstore. Which one do I use
I use r2modman. It's great, just look for the mod and download it, all dependencies come with it. Them hit start modded.
and r2 and thunderstore are essentially the same right?
Yep r2 uses thunderstore.
that was so quick and it works! thank you again
Anytime
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)
It should be using the name you give it in the start_headless_server.bat file. It's the -name "______" option there. Sometimes Steam takes a while to update the server name in it's listing. So maybe just wait a bit.
Your world files are stored here ....AppData\LocalLow\IronGate\Valheim\
yeah i found it
If you aren't using crossplay and the server's not public, the name metadata (i.e. from -name arg) won't be conveyed to the game players. In this situation, your best bet for vanity is to create an Internet-propagated domain name for this IP address and have your players connect to that instead.
That's good info, @final current, thanks. I forgot that's part of how the server's -public startup option works. 
I hope that some day there will be a way to convey server metadata when non-crossplay and non-public!
Yeah, there is a mod that lets you add your favorite servers to the game start up page already. Maybe they'll add something like that to the vanilla game, too.
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?
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.
It’s able to run Valheim itself, I’m planning on wiping it and switching it to Linux to run servers off it. I also have ddr3 ram sticks somewhere and can probably add an extra 8 gigabytes.
Depending on the distro of Linux you use, you'll need to add 3 or 4 add'l libraries to support the Valheim Server Tool. 🙂
I have run a server off Linux before, I do recall having to do that
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!
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.
Had to enable hidden files - I only see the worlds_local folder, has a bunch of dedicated_backup files...
That worlds_local folder may be enough. Copy that whole folder over and give it a try on the new server.
10-4. Thanks for your help!
All works. Seamless transition from Linux to Windows. Thanks again!
That's great! Have fun with it! 😄
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
If you're not using crossplay you'll need to set up your port forwards.
You did it for crossplay? Why?
I watched a video that said to port forward, opting for crossplay came after
I thought you had to port forward for both
No, just Steam.
well, it shouldn't be a problem
Can https://geekstrom.de/valheim/check/ see it?
what ip do I enter?
Your server IP.
which is that
I have no idea what your IP is.
okay well how do I figure out what it is
https://www.whatismyip.com/ maybe?
Check the IP address assigned to your device. Show my IP city, state, and country. What Is An IP Address? IPv4, IPv6, public IP explained.
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
Some home routers don't allow a 'loop back' connection. Meaning that you might have to use the server's internal IP address rather than it's external one, which is the one you gave to the geekstrom.de web site.
okay well it's strangely the opposite
in steam favorite game servers, it's detecting my server from the public ip, but not from the local one
however:
Where is your server located? On your game PC? On another PC on your home LAN? Or at a remote hosting site?
it's on a spare PC on my home LAN
Good. Then, you need to use it's internal IP address and port number to connect to it.
how
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.
I've tried different combinations of ports with all of those
none of them have worked before
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.
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
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.
Well I put that in both the steam server list and in-game and they aren't working
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.
What is the server's internal address that you're trying to use?
ipconfig says ipv4 address 192.168.1.242
I put 192.168.1.242:2456 into valheim on another pc
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.
yeah
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.
And yet the geekstrom site can. Odd...
I don't know what else to suggest. Sorry.
what do I do?
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
if i add my friend's world file to my server, how do i keep the map info and waypoints
I believe the map info is saved with your characters. So it should be there when you log on to the the same world as before even when it's in another server.
ok, so its the world file
istg host havoc is complicated
Only for a while at first.
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.
yeah at this point i have no clue what im doing
i dont know where to find that
and im following the tutorials that the website gives me and its still not working
It's in the same folder as the server tool.
i dont know where that is either
There's a copy linked in this channel.
im using host havoc, does that matter or no
Depends on what you're actually trying to do.
im trying to set up a dedicated server?
But hosted with Havoc?
i believe so
How do you not know?
i have no clue what im doing
But you know who you're renting the server from right?
Do they not have instructions?
they have like a help thing where you can look up articles but thats about it
Should be enough.
didnt help at all btw
Oh?
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 ?
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?
also: is there a complete list of parameter options for valheim_server.x86_64 ?
You will never be able to connect locally when using crossplay. With crossplay your connection gets routed through Microsoft playfab servers
@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.
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).
i do becaseu im not, they didnt
Ah, different platforms. That makes things more complicated.
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
That explains your point of view (steam is a specialized platform for game distribution, not a tech giant dabbling in a little of everything).
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"
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.
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.
a client should be able to find the same server
Hopefully i'll find out when my tactical-bro is ready to game.
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
Vulkan as a tech stack is newer and theoretically better, but yes, you're not alone with experiencing issues on Valheim's Vulkan shaders in Linux:
#linux message
It could be worth noting your card and GPU driver stack/version in #steam-bugs-discussion
hmm, thanks. I'll check in there later.
What were the others experiencing when you didn't use -crossplay? Assuming they aren't on the Xbox or Apple App Store version of Valheim, we may be able to help get you to a better place in discoverability/connectivity.
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
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.
yeah: 2456-2457, 27015, 27031-27036...and the other ?2 steam ports i cant see in my clipboard... all ports and protocols rechecked 6+ times
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
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
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.
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^^
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?
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
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... 😄
Maybe my portals have a cold... then it could almost help! hahaha
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?
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 😦
As a server admin, you actually can fly on dedicated servers (along with a lot of other administrative type things you can do) with the addition of one mod for your game (not needed on the server). If you want to pursue that, we can discuss it in the #mod issues channel.
I do wish I had a quick and easy solution for your portal issue but I don't. Sorry about that.
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 🙂
You're very welcome and maybe someone else in here will have some suggestions for you, too. 🙂
i hope so 😄 Have nice day, mate 🙂
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?]
If the server uses -crossplay, then you need to use the server's WAN ip address, or the Join Code it has, to connect. Check the server's start_headless_server.bat file for that.
I deleted -crossplay and join with [ipv4:port] . or i should to use -crossplay ?
Excellent. Glad you got it fixed! 🙂
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.
I can join the server in same LAN with another pc . but my friends can't join
In that case, suspect the server's Firewall, VPN or port forwarding. You can verify the external access by going to the geekstrom.de/valheim/check site and see if that site can find the server ok.
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!
thank you very much for help.
@onyx goblet https://educ.ator.io/troubleshooting/cgnat#diagnosing-cgnat has some hints on checking that, specifically
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?
Try restoring the world from a backup copy of the world. If the world got corrupted by the power outage, the backups should be good and you shouldn't loose too much progress.
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?
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... \
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.
I've used this mod for that without any problems. https://thunderstore.io/c/valheim/p/nwesterhausen/DiscordConnector/
Thanks so much!
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
Your server h/w specs above are more than adequate.
You may see stability issues at some point in the future. And, if so, they'll likely be caused by comm traffic issues between the server and the players. One player with an 'iffy' comm link can lag everyone.
Hopefully, you'll avoid that altogether. 🤞
thanks
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.
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 🙃
Good job finding that! Thanks for sharing it here. 🙂
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)
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. 🙂
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 🤔
The server is located on your home LAN? Is it using -crossplay?
If the warnings are 'Shader' related, you can ignore them.
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.
Oh shit I just realised my forward port stuff has reset
Ah, that would explain it. Well, except for the fact that -crossplay doesn't use port forwarding at all and just ignores it completely.
Oh god how do I do this again 😡
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.
How do I know which common service port do I use 😩
The default port is 2456. So you'd need to forward 2456 and 2457 unless you've changed the port number in your start_headless_server.bat file.
Yeah but I have to select a "Common Service Port", like DNS, HTTP or FTP
Use a 'Custom' definition name. You can call it valheimserver or whatever.
I'll try to get it working tonight
ok. hello. i have some issue with dedicated server
linux ubuntu 22.04
i have install fail2ban and ufw
server run in docker
some times server says about
Failed to send, suspend TX on playfab/A0117BEECEE2223 while trying to reconnect
And the server is down and all users (steam users to) has been disconnected.
what i need to do?
Today i try relocate server from RU to NL
maybe this help/
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.
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
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.
Sorry, i need use crossplay, because i have some users with XBOX version
Ok. And your server was working good for a while and then fails now and then? Or the server has never worked at all?
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
Ok. Good luck with it. If comm problems continue, consider using something like Cloudflare's Warp program (personal version is free). Or maybe "noip.com", again personal version is free. Those kind of programs can help with comm problems. Again, good luck! 🙏
thx
While playing games with our friends, their connection drops and they cannot enter the game. What is the reason ?
Where is the server located? Are you or your friends on Xbox or MS gamepass? How old is the server and when did the problem start?
There are 3 of us, two of us log in via Xbox , We installed the server 3 days ago
My other friend logs in via Steam.
Assuming that you are talking about a dedicated server on your home LAN, you can check the server log file to see if there's an error there that would explain it. If the server doesn't have a log file yet, you can use the -logfile "...path\Server.log" option in your start up .bat file for the server to create one. It will be overwritten each time the server starts up.
Can you get more then 10 slots?
Not without mods.
Any mention of this happening without mods?
No, it's a solo game with optional coop, we don't need more.
You might not but others might
No. As Derek said, "not without mods". That's just the way the game is designed.
ok its help me. but now i have some mobs with "god mode"
how i can fix it?
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.
Install it on your game should be enough.
objects ok ,~~ mobs not 😦~~
thank you very much
You're very welcome. 
Anyone have issues with gportal servers randomly disconnecting and losing progress since last save?
any suggestion of where do rent a server from?
Haven't seen any of that around here. Probably should put in a support ticket with GPortal and let them figure it out and fix it. The more info about it that you can give them will help.
Does GPortal have server logs that you can access? That might help explain the issue.
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.
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.
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.
Hi, my friend doesn't use a VPN on his computer, I'll tell him about the Firewall so we can try to fix the issue that way.
For the -crossplay that's strange, maybe I'm doing something wrong then when I try to remove it because it's stuck on "Unloading XXX unused Assets to reduce memory usage" and I have to press CTRL+C to shutdown the server
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.
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
It appears he can not connect to the server via the MS playfab network needed by -crossplay. There is no specific info there to say why he cannot connect.
So removing the -crossplay should help and thanks to that he could connect, that's it?
Hopefully, yes. 🙏
We'll try this, thank you for your help 😊
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?
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.
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.
Ok, thank you for the advice!
I cannot transfer the normal save files of the game to the server established with cmd.
[I've used gportal. They've been mostly stable. I think @knotty oracle said he also uses them.
You could also do a search in here for "gportal" and see what, if any, problems have come up for them.
The server I'm on uses GPortal so I can't speak to the admin side but it runs pretty smoothly from a playing experience.
Alright thanks I’ll check them out!
Go back over the install instructions to find the folder where the server files are kept.
Hello, is there a way for me to buff the trader on my dedicated server vanilla if possible and if not then modded?
Buff the trader?
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
How much RAM is that?
You can't buff the trader at all, mod or no mod.
Гб is short for "Гигабайты", gigabytes
So, 4GB of RAM. Which seems very borderline to me. The CPU looks to be pretty weak as well.
That's low for 5 players, yeah.
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.
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.
Moved my message to #valheim-help
ty
What exactly do you mean when you say go back to installation instructions ?
My save files are in worlds_local file
Can I transfer via these files ?
ok i grow up server to 8GB RAM and 4 CPU
If you still witness bad lag and you don't have Xbox or Apple App Store players, try disabling crossplay if it is on in order to allow direct connection.
i use now server without crossplay
Is dedicated servers at 218.19?
Sorry, I thought you were asking where the world save files go.
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.
Yes, 218.19 is the version number of the current release game.
I cant get the server to update higher than 2.17
Sorry meant 218.17
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.
The directory for world saves in steamCMD is stored in the same place as a steam downloaded server. It does create its own server directory though inside of the folder you put the steamCMD executable in.
Just to clear that up 🙂
Its linux based and should automatically update ill see if i can find some setting.
If you installed by yourself you need to edit the crontab
The process in my above posting here #dedicated-server message would be the same for Linux as it is for Windows hosts.
What do you mean by 'installed by yourself'? You mean installed from the Steam Client without SteamCMD? Where does the crontab come from? Is that part of SteamCMD? Is it part of a docker container installation? Why did you think he might have done that?
It's not clear to me if he is using a managed server, but it sounds more like he's fully manually installing it on linux. It uses SteamCMD method. In that case updates are not enabled by default, it has to be done with the linux scheduler aka cron.
But if he's using a managed hosting that's another story.
Should they update it for you, or you have to do it by yourself?
@jade sail
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... 🤷♂️
Im using Unraid and running in docker container using steamCMD
You probably should mention that when you ask questions about it. Or maybe I just missed that. Happens...
So there are two ways one is SteamCMD and the other Steam-service.
If you're using GUI or a desktop environment you may have either.
But if you don't have GUI but only command line then SteamCMD is the way.
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.
I used to have 3 profiles - modpacks in r2modman, one for players one for the admin and one for the server.
I do not use the server modpack locally, I just update it and use a sftp software to sync the plugins folder with the remote server. With 3 mouse clicks.
What container image are you using?
by ich777
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.
Yes I did at one time but I have taken the -beta off. But this makes sense why it is not updating. Maybe a config file is stuck with -beta.
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.
Hi I’m coming from 7d2d, is there a server manager like RAT. A server manager that will start the game, handle backups , etc
Have a look at thunderstore.io's server manager.
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.
i talk with hosting provider is too long
they says i need use some server mods version because vanilla version have some issues with "network protocol"
I can't really help you with 3rd party hosting sites. Sorry.
it's ok
i text here because maybe know how to solve this issue.
How many players and do you use mods?
How far are the people?
There are 3 good mods but if people have bad connection or are too far, nothing will help.
4 players without mod
one city located server (big data center)
Try these all of them together, each player and the server have to install.
Smoothbrain-Network
Smoothbrain-CombatOwner
ComfyMods-ReturnToSender
thx
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?
You can host a solo world from the main menu or rent/setup a dedicated server. There are no official servers, but many large servers are public and you could all play together that way also. Check https://discord.com/channels/391142601740517377/1024264966712340510 if you want to go that route.
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
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
It should show up if you've passed the -public argument and if you've chosen a password that meets some criteria.
Are you hoping to run it on one of your own computers or pay for a 3rd-party host?
i think i found it out now. but im runnning it on axenthost. You can let me know if there is anything better that is also free!
what is the best free valheim server hoster?'
non i rent a server and just host of ther
Your self
host havek wonts 40 a month
i pa aboot 10 and stole is corekt u ar the free ist hoset
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.
ok
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
You're ALL chipping in $10?
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
a lot of us use the dedicated server to store data and I used to host my website for when I was selling manufactured goods
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
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?
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 :/
That sounds like a neat setup. Great your friends are coordinated enough to pull it off
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.
I'll try these things, thanks for the tips. hopefully they have an optimization patch coming soon :/
it wont, its been this way for years, it would require the a rewrite of how the networking is in the game
Didn’t ashlands just come out?
yes, but my enemies and stuff run fine, so if you are having issues because your players have weak pcs and are taking over the chunk that wont change
We don’t have issues in any other areas unless we have like a really large group together in one place, and it also happens even when one of us is alone in the ashlands
Hi, how do i put my world file into squadnox? if even possible or would i need to find another server hoster.
Follow their instructions for uploading your world to their server. Put in a support ticket if you have to.
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
Showing up in Steam sometimes takes time. Did you get the world file pair, both .db and .fwl, over to the right worlds_local folder on the server?
yessir
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.
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
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.
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
Ask in #mods-issues , this channel is for plain unmodded self-hosted servers only.
based off this which one is 1.5x resources?
more
How would I manually save on a dedicated server
Nevermind, got it
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.
I'm not an unraid user, so someone is welcome to tell the better way. If you can find the server process' PID, sending the interrupt signal is the recommended way, e.g. kill -s SIGINT 25931
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
Cool, looks fine
thank you.
Thank you kind sir
how can i fix this?
Fix what? There are no errors.
the server runs, this appears, and it restarts
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.
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
ok. is there a way i can fix this?
Did you write this hosting infrastructure, or are you using someone else's?
i got it from somewhere
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.
im 99% sure i used this https://www.reddit.com/r/valheim/comments/1bijg8x/valheim_in_casaos/
That looks to be using lloesche's valheim-server-docker OCI image. You can find documentation for it here:
https://github.com/lloesche/valheim-server-docker/blob/main/README.md
do you know how i can fix it?
I don't. I'd take a look at the documented configuration linked above, especially the environment variables section.
I dont really know where to look. do you know someone else i can ask?
https://github.com/lloesche/valheim-server-docker/blob/main/README.md#environment-variables
See UPDATE_CRON, UPDATE_IF_IDLE, RESTART_CRON, RESTART_IF_IDLE. Likely one or more of those is responsible for the restart(s) you're witnessing.
is there aanother image that is better that i can move my world files to?
@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
dockerdirectory)
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.
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.......
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)
what is that?
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.
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
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.
oh i see. so if take away the cron values it wil stop?
If you read the doc I linked (https://github.com/lloesche/valheim-server-docker/blob/main/README.md#environment-variables):
disabled if set to an empty string
it worked! thank you very much for your help:) (im sorry if i diddnt understand alot and for bad english)
No problem. I'm glad you got it working!
I have a virtual machine server where I host all of my different game servers. I worked out the solution for my situation.
FWIW, I don’t condone apostasy
Why are you tagging random people?
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
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?
it's help to us. thank you
It can truly be either. If you're using crossplay, the relay involved can also contribute.
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?
There are 2 ways to install a dedicated server -
- Steam-service that requires you to log in.
- 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.
messed around with it a bit more, still no luck trying to joing off IP. I did realize the forwarded ports werent being allowed through windows firewall, just my router. so thats one problem gone. will try through steamcmd tomorrow
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.
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
There are 2 questions here, one is about Steam account and the other issue with ports and IP. I remember someone had a similar issue, and resolved it by installing the server by SteamCMD instead the Steam-service.
Did you get a message stating that your account is already active on another computer and you can't use it to play the game?
Try to follow the official Fandom guide for dedicated servers.
Are you trying to access it from the LAN or WAN? Your client pc has to exit the network and come back through the router like everyone else. Btw some routers have weird settings that block or filter traffic.
I think i't better if you figure out if server works locally first, then after that you'll open it to the outside network.
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
UDP is the right choice.
gotcha. ill start there tomorrow and see if that changes anything and will report back. appreciate the help!
You are welcome!
remember one port is for the game and the other for Steam query.
Fandom:
Step 3: Port Forwarding / Remote Access
Add an incoming rule to your Windows Firewall to allow UDP port (game port) 2456, (Steam query port) 2457.
im willing to bet that UDP is my issue then, 2456-2458 tcp/udp is opened on the firewall, but only tcp on router.
I think the Steam port is not necessary. It should work even if you only open the game port. But Steam wouldn't see your server in that case.
sounds like adding the UDP exception is my first step tomorrow then.
After you change your router's server port forwarding to UDP, you can use the geekstrom.de/valheim/check web site with your WAN (external) IP address and port to see if your server can be found externally.
Also, some home routers don't allow 'loopback' connections. So, if you're on the same LAN as the server, you might have to use the server's internal address:port to connect.
after 2 weeks
its not help to play normal 😦
and we have some giants items now
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
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.
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.
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
Join code only works on crossplay, you'll need the IP for Steam.
You also need to make sure port forwarding is set up right, with -crossplay it didn't need port forwarding to work
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.
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.
Devcommands on a server is a mod issue. You should take it to the #mods-issues channel.
Why is it a mod issue?
We're playing vanilla?
Because you need a mod to do it.
Oh, trust me. I've seen 'odd'. This doesn't even come close.
@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.
That's not true, you just admin yourself
That'll get you admin commands, but not dev commands.
Wait does that explain the problem I'm having?
Here
Can't you download the world files, change settings then upload to the server?
Yeah, you can do that, for sure. Or use the command line arguments when launching the server.
Maybe, i haven't tried that yet
The host i use obfuscates launch commands and hasn't updated to be able to add to it yet
Ouch, that's a bad host.
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
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
Alright, the IP you've entered is an external/Internet one? And when you say crossplay is OK you mean it is enabled?
It is an external IP, for a hosted server on docker
And yes, the crossplay its enabled
Does the docker container have libpulse installed?
I'll ask
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?
Yes, the only differences is that all of them are from Steam
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.
How can he verify this? My friend doesn't know certanly
You can have him give you the image tag being used and paste it here unless he rolled his own. When specifying the IP, consider including the port as well as in 256.78.32.77:2456
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.
if its running with -crosplay and others can connect then it has libpulse installed
He just told me his images is from lloesche
Great. Has libpulse then. He's using SERVER_ARGS=-crossplay? The hyphen is required.
You might try temporarily removing any VPN you're using and turn off your Windows FireWall temporarily, too. As a test.
No vpn is running on my pc
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!
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
Hah, has happened to me before. The bot hates the pound sign.
No success for now
He has to use the this parameter in any other place? or just adding it?
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
Yeah he add it through a GUI I think
earlier today reading through the server logs I saw a join code
does it changes over time? The join code
IT WORKS!
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.
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.
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
hopefully they can still join 😄
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.
When you say activate mods what do you exactly mean?
Can you confirm that Bepinex and the mods are properly installed and working on the server - you can check in the log file/files ?
I suspect that by "permissions to activate mods" on his server he really means being able to use world modifiers from the F5 console using the 'setkey' commands which would be gained by using the ServerDevcommands mod to activate commands on the server.
But, of course, with no input from him, it's impossible to tell. 🤷♂️
Incoming input from him
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.
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.
Can someone help me, how to create 24/7 server for free in Valheim?
get some hosting
make some times reboot and backup
and -crossplay
get some hosting isn't free tho 🤔
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 ...
descent video I found in short time 😄
no.
for free you need setup server in your side
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
you can host from your own PC
and connect to yourself
just use the www.whatismyip.com site to get your WAN ip
or tell people the crossplay code
Thanks brooo
But I can’t host from my PC, low fps and have no time
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
this information for you
https://valheim.fandom.com/wiki/Dedicated_servers
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.
How can i import my singleplayer save to self host dedicated server?
Copy the two world files (.db and .fwl) from the worlds_local folder on the solo game over to the other worlds_local folder on the server. Make sure to keep the pair of files together. If they become mismatched, it creates problems. If your worlds are saved to the cloud, change them to local first.
thanks!
Run a headless steam client with valheim server..youtube it..i have an old 2 core system setup runnin our server..only free option
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.
This is the mod I am trying to get installed. https://discord.com/channels/1107011744771084318/1107016477099446434
You would need BepInEx + Server_devcommands installed on the game client at the very least in order to be able to use the debugmode dev command as an admin of the server. You will not need Server_devcommands nor the BepInEx loader installed on the server for debugmode. If you run into trouble, I recommend moving the discussion to #mods-issues.
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
Are the Valheim game and dedicated server running on the same machine? Black screen could point to hardware issue, e.g. GPU overheating or damaged from prior overheating.
They are on the same machine, 32gb ram, temps look fine when it crashes around 70C-80C
Got enough PSU capacity to power a heavier load?
I would think
I can always try joining a server without booting the dedicated to see huh
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).
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.
I found it, no idea what im looking at
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.
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.
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.
Are you using Crossplay? If so, proximity to an Azure PlayFab Party Relay server would potentially be important. I think for Europe, there are Valheim-ready relays in Nederlands and in the Republic of Ireland.
What issues do you have that you'd want to improve?
It's not a FPS game to need extremely low latency.
Some issues can be solved by using mods if that's possible.
Adding mods is never going to lower lag.
If you mean ping to the server I agree.
If you mean game lag I disagree. Take for example CombatOwner mod and the networking mods.
On vanilla you're right, the networking mods are not necessary.
But on a modded server with a lot of traffic it becomes necessary to uncap the limit of 64kb/s that vanilla has.
No crossplay. Nice, so Nederlands might be a good alternative!
Intermittent lagg
looking for a fun server to play modded
Check out #1024264966712340510
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
Correct. And are your character's .fch files stored there as well?
Didnt even look for that tbh.. What it is for?
That's the file that stores everything about your character. His looks, skills, armor, weapons, inventory, etc.
I thought it was client side, no?
Yes, the character file is client side.
does the valheim game client support DNS SRV records?
I don't think Valheim server supports SRV records, but as long as you use the default port 2456, you should be good with just an A record, although I don't know of anyone who's tried it.
I tried some googling first and found this guide here: https://survivalservers.com/wiki/index.php?title=How_to_Set_a_Custom_Domain_to_Connect_to_a_Valheim_Server I guess it worked for the author of the guide by sheer luck then.
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.
are their any mods that are server side and work well for a dedicated server that wont block xbox players from joining?
will i able to get a copy of the world save from a server i played on? are there any way?
If you ask the server owner, sure.
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
Then there's not a lot you can do about it sadly.
You need to ask about mods in the mods channels. This channel is for vanilla dedicated servers.
got it, thank you for the reply
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.
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.
I think it's not enough to have the arm64 libpulse. Folks have found you need the x86_64 version of the glib main loop bindings of libpulse for emulation on libparty to work.
See the crossplay sections of https://gist.githubusercontent.com/husjon/c5225997eb9798d38db9f2fca98891ef/raw/setup_valheim_server.sh for an example of installing that from the Debian package
Thank you I'll try this!
Well, that didn't really work, it still says it failed to load that library
You can try a search in here for others that may have had the same problem you're having and found a solution.
That is what I'm trying
I know it's not much consolation but running Valheim servers on Raspberry Pi's does seem to be an uphill process. Good luck with it!
Thank you
I achieved an error upgrade
Error loading needed lib libSDL3.so.0
Warning: Cannot dlopen("libSDL3.so.0"/0x7fff09abfdea, 2)
Is that perhaps a permissions problem?
I'm running this as root so probably not
You'd think not but root sometimes 'can't find' the files it's looking for due to it's path. I've noticed that Linux users are often advised to not run apps as 'root' for several reasons including that.