#dedicated-server

1 messages Β· Page 7 of 1

opal saddle
#

One thing that could be wrong that there's another executable=... line in some of the other configuration files.There should be four (or five depending on how you count them, but anything in the others will override _default.cfg), so check that common.cfg has no executable (nor secrets-common or secrets-server, but all these should only contain comments. Oh btw. it would be good practice to put your password and other sensitive information in the *-secrets.cfg -files, but everything goes).

Once the server is up, check your process listing. The script should be there ... and indeed the log file.

ruby tusk
#

It doesn't start, no.

opal saddle
#

Also, vhserver dt will show the whole command line, which should include the script name now. If it doesn't, somethin is wrong with lgsm config

ruby tusk
#

It crashes while starting up

opal saddle
#

What's in the log file?

ruby tusk
#

just this

opal saddle
#

So this is not a configuration issue then. I beleive best place to discuss is mods-issues... paste the whole log file in some pastebin and link here (much easier to read ans search, screenshots really suck for text content)

ruby tusk
#

all the other configs seem fine

opal saddle
#

The log tells as BepInEx has been configured correctly. The sensible step would be to remove BepInEx (comment the executableline, if that doesn't work, start with a fresh serverfiles with not BepInEx to be sure) and see if it works. If it does, it's a BepInEx issue and it's best to continue in #mods-issues in that case.

#

(this channel is for un-modded servers, btw.)

#

Hmm I tried searching with the error The WorldGenerator instance was null - and one thing that came up was a too short password. 7 characters might not be enough. Try at minimum 8 (it is known the server will fail with a bad password, such as too short, but it does not give any sensible error for it. Def an improvement could be made by devs here)

opal saddle
ruby tusk
#

Sorry had to go afk a bit, I'll check later ty tho!

ruby tusk
#

I tried installing steamcmd, seems like it's a steamcmd issue for both tbh, I can't get it to communicate with my server 😦

frozen zephyr
#

You have issues with port you told it to use CreateBoundSocket: ::bind couldn't find an open port between 2457 and 2457

frozen zephyr
#

It can't run if it can't listen on the port you told it to

strong jackal
#

Hey guys, is there a way to build a pvp valheim server with clan?

knotty oracle
#

I'm sure there are some mods if you really need to make force PVP into a non PVP game.

strong jackal
#

Will search for

frank cargo
#

Howdy all, I have a Gportal server, and I've given everyone the right IP and Port to connect, but it keeps telling them that they cannot connect with that information. I am going to follow up with them but just curious if anyone else has ever had this issue. Thank you in advance, Skol!

idle mulch
#

Looking for some help from someone else using a Nitrado server. I am trying to use world modifiers. I have change the FWL file, and uploaded the new one to the SaveData directory. But it isn't working. From what I can tell, a new default FWL file overwrites it. Is there anything I can do?

knotty oracle
#

Why are you messing with the files just to add world modifiers?

idle mulch
#

Because there's no other way of doing ot.

#

As far as I know

knotty oracle
#

Just add the modifiers to your bat files.

ashen valve
#

Does anyone know how to start a dedicated server to the build before Ashlands? Not the game via steam, the actual server?

proven niche
idle mulch
ashen valve
#

nevermind i see it

proven niche
fervent swan
#

I'm trying to run a vanilla Valheim server, and I have port forwarded, one of my friends can join, but the others cannot. I know its vague but does anyone have any ideas? I can elaborate more if there are questions

proven niche
#

Are you using crossplay to support Xbox and PC gamepass users? How is your friend with the problem trying to connect? How is your friend without the problem connecting? Join Code? Server's WAN IP and port number? Finding the server in the games start up server lists? Are both friends outside your LAN?

echo halo
#

did we ever figure out the server version being 218.16 and client 218.15 fix? I've updated and reloaded everything and its still the same shit. and if I set Valheim to public test - Mods don't work

covert jewel
#

Anyone got a (working) HOW-TO for using mods via LGSM (Docker)?? Lots of conflicting info out there.

proven niche
covert jewel
#

Some servers are easier to utilize vs. LGSM than others (7D2D/PZ)

knotty oracle
echo halo
#

yeah I noticed that - but all I did was run a standard server update and now its borked my whole server. why would the server version on the steamdb be 218.16 but release client be 218.15. I'm not trying to run ptb - I'm just trying to run the standard release

knotty oracle
#

218.16 is the PTB version.

echo halo
#

I understand that

knotty oracle
#

Then leave the PTB and you'll be fine...

echo halo
#

but if I do a app_update for 896660 for the server it updates the server to 218.16

#

I'm Not in ptb in any way shape or form

knotty oracle
#

I mean, you literally are if you have 218.16.

echo halo
#

I'm just doing a standard steamcmd install for a dedicated server - 896660

#

and it shows the installed version as 218.16. I didn't opt for beta

knotty oracle
#

Ok, well you know better than me so good luck.

echo halo
#

Thanks for the very unhelpful conversation Derek

knotty oracle
#

Well, I tried to help you, but you denied everything I said.

frozen zephyr
#

add -beta public after app_update 896660 part

echo halo
#

I'll give that a try thank you

#

@frozen zephyr that worked thanks so much. I had -branch public but that didn't work for some reason

proven niche
#

And now I like my non-SteamCMD server startups just a little bit more... πŸ˜„

elfin sleet
#

I'm using box64 to host a server on my raspberry pi but it keeps hanging silently. there isn't any warning either. It's just up one second then you walk away and the next second it's gone

mint nacelle
#

Hello! Does anyone know how to set the no build cost on a dedicated server? Thanks!

fervent swan
sinful portal
opal saddle
# proven niche I don't know much about docker and less about LGSM but I'm seriously just wonder...

Docker (I use podman) for security. Depends on your paranoia level, but I'm not that comfortable running binary blobs (mods) made by "some guy" on bare metal. Also, if you have some non-supported distro, you'll have a certain, tested environment in the container. Containers (quadlets) make integrating the server into systemd a lot simpler. Exporting volumes etc. easier for transferring the server (and only the server created/saved) data, to whatever system which can run the container easy.

LGSM is a collection of scripts to facilitate logging, updating the server, updating, configuring (easier), running it in tmux etc.... it's a tool to keep things organized.

I should note these are not mutually exclusive to do things by hand (i.e. installing mods works exactly like without lgsm). There is a learning curve, but once you know how to use them, they will make things easier in the long run, if you, say, run many game servers. Running multiple (differen game) servers will multiply the benefits.

But they are not at all mandatory, or even semi-so. Denpends a lot on the situation, so YMMV.

proven niche
shell crystal
#

we are playing on a dedicated server .. every time we logout .. and no one is on server .. when we login we have some building degradation problems ... some tiles of building are on 1% some buildings suffer total degradation ... is this from the dedicated server host or game issue?

proven niche
jovial hill
#

Hello i have recently started playing the game for the first time with some others. I noticed that players can create characters, cheat stuff in a local world and than take their characters on our server. Is there anyway to prevent that? Also is there a way to get logs of what characters joined the server so that i can see if and who did that?

proven niche
jovial hill
#

thx πŸ™‚

fervent swan
#

I followed the PCgamer server setup

idle sail
#

hey guys, im in desperate need for help with my valheim server (hosted on G-Portal). is there anyone that could lend me a hand ?

#

problem is i cant log in as admin. ive put my Steam ID in the textfile and on the server UI thing, double checked and i should be admin there.
now when i open the console and type in devcommand, it gives me a warning but i cant use any commands like spawn wood 30, i also dont have a star next to my name

knotty oracle
#

Devcommands are not admin commands.

idle sail
#

i also used the command sleep and it didnt skip to the next night. however, i was able to kick myself

mint nacelle
#

Anyone know how to enable no build cost via command on Xbox?

idle sail
#

so i dont have a star next to my name, so im not sure if im even logged in as admin, but the kick command on myself worked

mint nacelle
fervent swan
#

I got no clue then, I'm pretty inexperienced with this stuff lol

proven niche
proven niche
knotty oracle
#

Dev commands on dedicated servers? Nope, not without mods.

proven niche
mint nacelle
#

Appreciate all the help, using devcommands work

echo canyon
#

my friend is running a dedicated server and he started it with fire hazard on but now we want to turn it off, is there a command for that?

elfin sleet
#

is it possible to host multiple servers on the same hardware

frozen zephyr
#

that depends on how good your hardware is

elfin sleet
#

I have an i5 6600k on my server

knotty oracle
elfin sleet
proven niche
golden gate
#

Anyone have any tips for the locally hosted server? I set up my port forwarding and stationary IP for the host computer, and i can find the server through localhost, but I can't add the server on my other computer on a different network

tidal violet
#

Hello, there is now any resolve to fix d-sync while 5+ people playing on server?

opal saddle
golden gate
#

I got her sorted, thank you for the reply.

opal saddle
#

Nice!

opal saddle
#

(there are workaround which sometimes can work to at least a slight degree)

trim locust
#

Question for people, I run my own dedicated server, and when i connect to it (try to) it will usually come up with failed to connect like 5 times before been able to connect and enter password (sometimes it might only be one fail or sometimes I connect right away), and before the obvious answers come in, yes the servers online and I see it on the server list and all that, the servers next to my knee, so it’s close, I have 2 mates that play on my server and they connect first go no problems

#

Keeping in mind that when I try to connect there are people on the server already playing most the time, and once I get in I never have an issue staying on

opal saddle
#

Hmmm I can think of two reasons:

  • you have another process using the same port (unlikely, unless you are running several Valheim servers, and would not explain if other players can connect without issues).
  • IPv4/IPv6 routing issue. The server might have both IPs. Valheim might choose randomly which IP address it uses, and the other one fails, while the other one doesn't. Your friends might be only using IPv4. To check for this: manually connect to the right IP (v4 address). Check the IPv6 address of the server, if it has any. Try to connect to it, too. If the former works but the latter doesn't -> your IPv6 address (routing) is not working correctly.

There may be other reasons, too.

#

I've also noticed if you have zone-based router, you will not be able to connect from the LAN with the external IP (it's by design / security of a zone-based setup, of course depending on the router config). But somehow (even in such cases) connecting via the server list does work, despite I can not connect if I enter the external IP manually (as expected).

If the server is right next to you, I presume it is in the same LAN? You could try to use the LAN IP just in case. If it works, you know (approx) that the error is with DNS/routing somehow (if using hostnames). But I can not say with this information what would be the culprit.

#

I've also noticed that servers might be slow to be "fully available". Even after being listed, it might take ~2 minutes for them to accept connections. But if other are already playing, this is not the case.

orchid wigeon
#

is there an easy way to tell the server process to save the game, ideally in a blocking way? such that I can tell the server to save before I take a backup of the world?

#

some kind of management API

opal saddle
orchid wigeon
#

with my minecraft server I had a script that would tell the server to save, then create an off-site backup, then print the result in-game via the server console

opal saddle
#

Triggering a save would certainly be a useful feature!

orchid wigeon
#

it woul then say ingame something like "world snapshot created, ID: <backup hash>"

#

from my backup task to the server console

opal saddle
orchid wigeon
#

sadge

opal saddle
#

I'd just stop the server, take the snapshot, restart with a script.

...

You could also make a feature request at the support page.

orchid wigeon
#

I have auto-backup turned on for valheim, and just back-up the whole saves folder every 30 mins off-site, which seems okay for now

#

I don't want to pause the server every 15-30 min

opal saddle
trim locust
#

Yea it saves every 30 mins

opal saddle
#

Also notice that the server takes it's own backups, but if you want to do that manually, you can disable them.

trim locust
#

Thanks for the responses before, I’ll look into those

orchid wigeon
trim locust
#

A year ago I ran my own server (the exact same way as I have now) but I was with a diferent internet provider and I never had this failed to connect issue

opal saddle
#

(I suppose you can disable them - the manual is not clear, but -backups 0 would make sense)

orchid wigeon
#

my backup tool (restic) does deduplication and compression, the repo size is miniscule anyways

#

especially compared to minecraft lol

opal saddle
# trim locust A year ago I ran my own server (the exact same way as I have now) but I was with...

Yeah, well IPv6 can be a bit complicated to setup ... or maybe it's just that we're familiar with IPv4 =). [OT] I've run into issues that the default GW (my router gave via DHCP) didn't work for IPv6, but did work for IPv4. But I didn't notice until I tried network boot, since my OS configuration worked around the issue somehow[/OT].

Usually (not always) ISP's will give you a prefix and routers (if IPv6 is enabled) will give public IPv6 addresess to any devices in your LAN, if you enable the feature. But this can be different, depending on your ISP, router, and router settings.

orchid wigeon
#

ERROR: Shader UI/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)

#

when I start my server I get a bunch of these. why would the server try to process shaders? (the server has no GPU)

#

also quite a few of these: src/common/net.cpp (2188) : Assertion Failed: Unable to set default socket options, error 22

#

(the server works tho). Those might be because i'm on a weird platform (FreeBSD 14.1 linux compatibility layer), its using glibc 2.35

frozen zephyr
hybrid pebble
#

Does anyone know what argument to use to get normal combat difficulty on dedicated server? The manual doesn't list any and "normal" doesn't seem to do the trick

#

I have set it to hard previously but want to get back to normal

#

and now I seem to be stuck with it

opal saddle
#

Try default. Also, contact support about bad documentation. If enough people contact Irongate about it, they might do something to the official Server Manual.

hybrid pebble
#

cheers, I will try that

#

default doesn't have the desired results either

#

on second thought, perhaps no modifier at all does the trick

frozen zephyr
#

setworldpreset default command should set them all back to default

#

@hybrid pebble there is also this from some old patch notes Added -resetmodifiers startup parameter to dedicated servers

hybrid pebble
#

hmm interesting

#

I am a bit worried about nuking all the other modifiers tho

#

I suppose I will do a dedicated backup to try this

frozen zephyr
# hybrid pebble I am a bit worried about nuking all the other modifiers tho

they got all this also Several more console commands are now available for admins: setworldpreset, resetworldkeys, setworldmodifier, players, setkey, removekey, resetkeys, listkeys (displays list on dedicated server), sleep, skiptime, restartparty and genloc (takes time - may cause disconnects). dont know if can use one of them to just reset the one

hybrid pebble
#

I tried that previously, but I'm doubtful whether it worked

#

I wonder if I made an error with the adminlist

#

-resetmodifiers overrides any modifiers specified through "-modifiers" in the startup file

#

hmm modifiers specified in the startup file don't work reliably at all

#

I will do some more digging before I write a ticket

proven niche
hybrid pebble
#

listkeys didn't work for me at all the last time I tried it unfortunately

#

are modifiers included in that command as well? I assumed it only showed keys related to events (eg bosses and mobs killed)

languid island
#

Does anyone know a good server host for xbox/gamepass users that will make the game's performance better? Me and my friend are constantly lagging. I'm on gamepass pc and he's on xbox series X.

idle sail
#

anyone know how i can turn on player based raids? doing the command as admin wont work

hybrid pebble
#

Client Hardware performance can be an issue as well. I had major issues with lag when I used a 12 year old PC to log into a dedicated server

frozen zephyr
#

That not going to help all that much either, connection still has to go through the playfab servers

regal heron
#

What should i look for, in terms of server hardware? For example, I know some games benefit heavily from single core performance

frozen zephyr
#

I would say all games are single core heavy

#

Some use other cores to do something's but normally most of the workload is on a single core

sinful portal
#

person with a terrible connection/computer can lag the area if they are the person who loaded it first

sharp obsidian
#

Doing some reading in here, am I unable to spawn items on my own dedicated server with cheats enabled?

knotty oracle
hybrid pebble
#

Clear it up with the server owner before hand though and bear in mind that you need to be on the servers admin list to make use of the mod

heady cipher
#

Hi. I'm playing Valheim for the first time since launch with some mates.
It feels like there's a lot of more server lag than there used to be. Boats are particularly bad; basically unusable.
Are there any common fixes/things to check?

kind zealot
#

Howdy folks! I posted this on reddit too but I don't seem to be able to direct connect to a local server anymore. When I last played I recall there being like a Join by IP button, and I'd be able to connect. Now if I enter the IP address of the computer behind me in the favorites, it just won't connect. It registers with community servers and I can use the join code, but then I have to basically leave my house to go out to the internet, then back in to get to a computer 6 feet behind me.

kind zealot
proven niche
# heady cipher Hi. I'm playing Valheim for the first time since launch with some mates. It feel...

Are you using a remotely hosted server or the in-game server or have you set up a dedicated server on another PC or on your game PC?

If you have a dedicated server on your LAN, and you're using -crossplay and don't need it, remove it and then make sure your server's ports are forwarded correctly in your home router.

If you can identify that the lag is caused by one or another specific player's comm link to the server, then you can recommend to them that they use Cloudflare's Warp app on their PC. It's free for home use and has had excellent results when the comm link's a problem.

heady cipher
summer mulch
# hybrid pebble There is a mod that offers a solution to this, in case you are interested https...

ive been trying to use this mod to test raids on my dedicated server. I've changed settings to scale raids to player progression vs mapwide but even with dev commands, debugmode and all that i still get 'randomevent' is not valid in the current context
tried testing this in both vanilla and modded sessions and modded sessions to no result. worked fine in singleplayer for testing, but cant on my server. yes my steam is linked for permissions on my host console. maybe im missing something super obvious, but for now im stumped. is there something i have to enable in that mod that I may have overlooked?

proven niche
summer mulch
#

Is this possibly still an option when renting a server? My machine isnt the hosting hardware.

tender hornet
#

do i need to unzip mods in BepInEx/plugins on dedicated server?

proven niche
proven niche
summer mulch
#

Setkey playerevents. Ok I've not tried that yet. Thanks!

tender hornet
tired moon
#

Does anyone had the issue that on a dedicated server, on occasion, items from your inventory just vanish?
Happened a few times here on my dedicated server amongst friends.

tired moon
#

Not sure, people just log out and later come back in and items are gone from their inventory

#

Axes, resources, you name it

frozen zephyr
#

if missing from there character inventory that has nothing to do with the dedicated server

tired moon
#

Ah okΓ© just wanted to make sure it was or wasn't but yea that its the case. The items that go missing are always in the players inventory

frozen zephyr
#

characters are stored on client

tired moon
#

Ah nvm, the items were on item stands

#

So yea it is server related then

raven pollen
#

hey could anyone help me fix a crash when i try and launch a server for my brother and i? (both on steam, both crashes on launch)

proven niche
# tired moon Ah nvm, the items were on item stands

It's hard to tell from your post whether the items were found in item stands and therefore nvm? Or they were on item stands and not in inventories and then went missing from the item stands and you still have a problem?

proven niche
raven pollen
proven niche
raven pollen
proven niche
tired moon
# proven niche It's hard to tell from your post whether the items were found in item stands and...

Let me start over:

We have 6 users on a dedicated docker valheim server. Randomly, items in our base, hung on the walls (item stands) or chests, just disappear.

We also had one cross play user who lost a few items on their personal inventory (character inventory). But apparently that is a client issue.

The other players had their tools on the wall and next time they logged in, the tools were gone.

We also had a desync yesterday where we put a stack of silver in the furnace but nothing happened. The furnace was still empty and the stack was just gone.

regal heron
#

Can you revert a boss having been defeated, like remove its effects and whatnot, and regenerate that part of the world?

signal shuttle
#

is this bad?

glass wharf
#

I'm parsing the server logs and sending info to Discord. I've got:
Player login/out
Bad password entered -> not logging in
Player death

Are there any other things that can be derived from the logs? Is there a way to request logging be added for in game events?

proven niche
# tired moon Let me start over: We have 6 users on a dedicated docker valheim server. Random...

I've never heard of this happening before in a vanilla environment. I would suggest that, if you aren't already doing so, you have the players use the game's ward to prevent other players from entering their buildings.

Have you noticed any other odd things lately? Like d'sync issues such as rubber banding or chests randomly refusing to open, etc.? It would be a good idea to restart the server and review it's logs carefully to see if there's anything odd going on in the log. Reviewing player's game logs could be helpful as well.

proven niche
proven niche
signal shuttle
#

names just need to match in the test file?

proven niche
proven niche
signal shuttle
#

how do i set world settings on dedicated server

proven niche
# signal shuttle how do i set world settings on dedicated server

There are 3 possibilities. Using F5 console commands, if you have devcommands available. Putting -modifier options in the server's start_headless_server.bat file. And, takng the world's files to solo game, configuring it there, and taking it back to the server.

signal shuttle
#

how do i get admin to use devcommands to set it

proven niche
#

Your Steam64 ID needs to be added to the server's adminlist.txt file. And you need to install a mod (ServerDevcommands) on your game.

signal shuttle
#

if i want do do it in the start headless server what i should type there to change the modifiers

#

is there a list somewhere?

proven niche
signal shuttle
#

thanks!

signal shuttle
#

why does it happen after a reset

#

steam overwritten the config file?

#

oh my god i stopped it by steam not by the ctrl +

#

im so dumb man, thank god we didnt have much progress

next forge
#

On a dedicated server, is the world time still passing if no players are logged in to the world?

#

Eg. would tame pigs eat their food and multiply their numbers if no players are logged in?

proven niche
proven niche
next forge
next forge
tired moon
# proven niche I've never heard of this happening before in a vanilla environment. I would sug...

I haven't seen anything odd and the group we are in are very trustworthy. I'm thinking about rebooting it daily just to be sure.

We do have a lot of desync issues lately. And the server contains pc and console players. So it's been a struggle around the base lately.

Kilns and furnaces take resources but nothing happens and the resources just disappear like you're throwing it into a blackhole. Chests that are opened much later and sometimes structures can't be destroyed. Anyway to optimize the server to fix potential desync issues?

proven niche
# tired moon I haven't seen anything odd and the group we are in are very trustworthy. I'm th...

It all depends on what's causing the sync problem. For instance, does it only happen in certain areas? Or only with the same one or two players in your area? Even, does the time of RL day matter? And are there one or two players located far away from the server's location? Does everyone experience the sync the same and at the same time?

When the sync problem occurs, can you ask the players to check the F2 info window for their individual ping times, etc.? See if you can get screenshots of their F2 info to compare.

And, search for 'network' in this channel and see if any of the posts that come up might be helpful to you. You're not the first to report the kind of issues you're having.

echo birch
#

free build on dedicated servers

#

can nyou free build on dedicated servers

proven niche
echo birch
#

ok o7

proven niche
valid axle
#

Is there a way to look up who killed a specific boss. We're using a G-portal server.

#

We kill bosses on a schedule to manage how hard the raids are. Someone went ahead and killed the next boss. We're trying to figure out who did it but I have no idea if that's even possible. It's not the end of the world but ... still.

proven niche
valid axle
#

Interesting.

valid axle
proven niche
valid axle
#

Got it. Ty.

proven niche
# valid axle Got it. Ty.

Another option might be to move the world's files to solo game, make the change there and then move the world back to the server. But, again I don't know if or how you could do that with GPortal.

valid axle
#

Eh.

#

We decided to allow ppl to kill that boss now (bonemass) but if we weren't trying to - then I'd be more willing to go through with that.

#

It's just unfortunate ppl don't know how to follow the rules.

#

We just started and were only allowing ppl to freely kill boss 1 and 2.

proven niche
valid axle
#

That's the only reason why some ppl are annoyed.

proven niche
valid axle
#

We only have about 20. And only 1-5 are on at any given time I think.

#

A lot of casuals. But the world is active.

#

No griefing so far, other than 1 stolen boat (we think) and somoene killed the 3rd boss.

signal shuttle
#

is it possible to make an admin not show on the player list to check if someone isnt cheating? ( like for example some xrays in burial chambers etc.) i know about freecam but i want to not show on the list to be the most sure

analog basin
#

hello all. we haven't logged into our dedicated server since June 4, today we logged in and everything is gone, as if the world had been completely reset. The backup files from May 30 also are the same. Anyone seen this happen before?

proven niche
signal shuttle
#

thanks

#

ngl dedicated server compared to the normal world hosting is amazing

#

so many posibilities

modest summit
#

I just built my own server today

proven niche
modest summit
empty radish
#

ey guys a question. My friend canΒ΄t login in my dedicated server, but yesterday he can. Today too, but I restart server and modify a rule and have this error. Only My friend canΒ΄t login.

modest summit
#

are the ports exposed? or is he accidentally blacklisted?

#

Does anyone want to play in my server?

grand mason
#

Heya! Uh I'm doing ./steamcmd.sh +login anonymous +force_install_dir /mnt/server +app_update 896660 validate +quit but the game is not actually installing properly today, it was working fine yesterday

#

it creates a docker directory

blazing lodge
#

They seem to be aware of this and are working on it

grand mason
#

but valehim_server_Data, valheim_server.86_64 and UnityPlayer.so are missing

celest pasture
#

something happened and now my server operating out of a docker container is having issues starting up. Some failed update?

radiant sky
#

Yeah update just got pushed and my server got shafted as well

grand mason
blazing lodge
#

I hope they will let us know here πŸ˜„

bleak beacon
main dirge
#

my host is G-Portal, all Valheim servers are down because of problems with the update 😦

iron hare
#

Anyone know if theyve mentioned anything about being aware of or working on this issue?

granite hearth
#

our G portal server is also ded

ebon smelt
#

what a bad time too try rent a server ....

#

legit just tried 3 providers then saw this

rancid helm
#

can confirm also happening to me. I run my own docker container on a personal machine

#

also seemed to be because of a lack of executables downloading, as Pikachu reported

blazing lodge
void fractal
#

With the recent release on Mac (arm?) does that mean the game can run natively on a rPi too (not through an emulator)?

blazing lodge
#

seems like they pushed the update

iron hare
#

issue fixed guys

#

mines back up now

tame falcon
#

Wiieee thanks team! ❀️

stray yew
#

@iron hare Flargen you have a Server from G-Portal? what region, if i may ask.

rancid helm
#

you may have to restart your container (if using docker) so that it gets out of the "limbo" it is in, but it does work for me now

bleak beacon
#

Rebooting my dathost one .. maybe I should look at G-Portal

#

IT WORKS πŸ˜„

frozen zephyr
steady warren
#

I still can’t connect to my dedicated server though apparently update fixing the issue was released. It looks like mods were affected by the updated ? Anyone has similar issues?

opal saddle
trim locust
#

What’s this about?

lament shuttle
#

Mhm, since the update, my dedicated Server isn't working anymore. Every time I connect I get the above error message.

No update available
* Local build: 14662813
* Remote build: 14662813
* Branch: public
https://steamdb.info/app/896660/

The server is on the latest build.

trim locust
#

My server showing it’s online but on my actual PC I can’t get onto the server page

lament shuttle
trim locust
#

yea my dos promt shows its running too

frozen zephyr
#

I'm at work so can't test to see if mine is working

lament shuttle
#

From the valheim player.log it seems like the server doesn't respond due to wrong format of IPv6 address.
So might be a client side bug, the port is forwarded and open.

06/10/2024 14:34:23: PlayFab lobby matching search filter 'string_key10 eq '[2a01:4f8:221:1d6::2]:2456' and string_key2 eq 'True'': Got back zero lobbies
06/10/2024 14:34:24: Added server with name shuro.de:2456 to server list
[...]
06/10/2024 14:34:30: Connecting to server with Steam-backend 2a01:4f8:221:1d6::2:2456
06/10/2024 14:34:30: Starting to connect to [2a01:4f8:221:1d6::2:2456]:0
Am I Host? False
[...]
06/10/2024 14:34:40: Got problem 5003:Timed out attempting to connect
[...]
06/10/2024 14:34:41: Lost connection to server:ErrorConnectFailed

https://ismygameserver.online/valve/shuro.de:2456

#

After further investigating, it seems to be related to IPv6. With IPv4, i can access my server.

lament shuttle
frozen zephyr
lament shuttle
#

It did until patchday today.

#

Either that or my friends and I got reallllly lucky in the ipv4/ipv6 DNS-entry-roulette for over a month.

knotty oracle
#

It's never supported IPV6.

lament shuttle
#

Unity supports IPv6, so why shouldn't valheim.
And at least on this discord, there is no Developer talk about IPv6 being not supported.

regal heron
#

How can i stop charred warriors from spawning? Somone spedran progression using a maxed out character, and defeated the last boss. Now everyone on the server has to deal with them spawning every now and then, whilst having iron/bronze gear

knotty oracle
regal heron
lament shuttle
#

If you have access to the start parameters of your dedicated server, add -setkey playerevents

#

it might be also possible temporary via admin chat commands, but I don't know the command from the getgo.

lament shuttle
# knotty oracle

πŸ€·β€β™‚οΈ It worked until today, thats the only thing I can say.

frozen zephyr
lament shuttle
#

Then it is still a client problem, since it resolves the domain wrong. Since my server domain has both A and AAAA entries.

trim locust
lament shuttle
# trim locust What does dns entry roulette mean?

If a domain has both a A (ipv4) and AAAA (ipv6) entry and you try to resolve the domain, it might return one or another back. It kind of depents, but I don't want to go into detail here since it doesn't matter rly.

fringe sonnet
#

Does anybody else have a problem loggin in their dedicated server ?

rancid helm
#

There was an update early this morning, so your dedicated server may need updated.

#

Also the update itself had an issue, so if you had some auto-update script (like many docker containers do) you will need to manually restart them

twilit kayak
#

hey guys i got a problem here , i created a dedicated server a while ago and for me it is working good but if my friend wants to connect it doesnt work it even not shows server's name and everytime game says "failed to connect" can you give me an advice abt this? and i cna see the server's name , my friend in opposite

twilit kayak
crystal nest
twilit kayak
#

running at home

crystal nest
twilit kayak
#

i got ethernet

#

in my router settings i only opened ports 2456-2458

#

so you think that i should try 9876 and 9877 ?

crystal nest
#

ah thats different than mine, yeah give em a shot

twilit kayak
#

okay apreciate this

#

udp and ucp both?

crystal nest
#

i did both

#

shit i am in the wrong game discord bro

#

hang on

#

you had the right ones for valheim

twilit kayak
#

yeah it was strange for me

crystal nest
#

i thought i was in VRising lol

twilit kayak
#

hahahaha

crystal nest
#

but yeah my valheim one was a bit tricky too, wouldn't list for some so i just looked up my public IP address and had them join direct connect so they could favorite it

twilit kayak
#

because of u i now checked my port forwards and it looks like i port forwarded only tcp now i changed to combined (TCP/UDP)

crystal nest
#

ah that may do it honestly

twilit kayak
#

by public adress you mean my static ipv4?

crystal nest
#

go google like cmyip and one of those links will show you your public IP

twilit kayak
#

yep i know but i need ipv4 or ipv6 adress?

crystal nest
#

4

twilit kayak
#

so i think now it will work because of this tcp port that was only one and there wasnt udp one . Thanks for help man

crystal nest
#

sure thing

twilit kayak
#

are you american?

crystal nest
#

just spent all day saturday setting up a server with multiple games so I just went through all of this. yeah midwest

twilit kayak
#

i am watching riverdale now in english version w polish subtitling and they speak the same as you write so i guessed ny this

#

thanks for all see you soon

crystal nest
#

take care!

left mica
#

How come the no build cost option doesn’t actually work?

outer goblet
burnt roost
#

what is the keyvalue for "Fire Hazards" in the start_headless_server.bat? -setkey playerevents enables "Player based raids", but what is the -setkey to enable Fire Hazards in the start_headless_server.bat (the key isn't included in the dedicated server documentation - hasn't been updated)

outer goblet
errant breach
#

Hi all, Was happily playing valheim for a while sharing with friends. Stopped paying for Gamepass and got it on Steam. started a game and then got gamepass again. I deleted the one from Steam and am happily playing again but I can no longer be joined by my friends. When I give them the join code it says " Cannot resolve join code" Any suggestions Its bumming me out

outer goblet
errant breach
#

Yes thank you I am doing that. I've tried numerous times.

outer goblet
# errant breach Yes thank you I am doing that. I've tried numerous times.

I guess some questions to ask are: Are you launching the world as a standalone dedicated server or from your game client? Are you selecting the "Community Server" option to publicly list the server? If yes, can your friends find your server in the list and join that way? Can you join their world using their join code? Are you running the game on a PC or an Xbox?

orchid wigeon
#

weird problem: I run a dedicated server. since today, only one friend can connect, me and 3 others can't. the one that can lives in austria, we all live in germany. when I start a VPN to austria I can connect too :x

#

is this some steam weridness? I have crossplay off

#

I did update the server, and we updated our games.

outer goblet
zealous umbra
#

If you use DNSpy to fix the desync and the game updates do you have to do the fix again?

orchid wigeon
#

they can connect to other services on that server just fine tho, it runs a few web services too

#

I don't even see them trying to connect in the server console

outer goblet
# orchid wigeon no, we can't

What is the error message you are seeing on your clients and on the dedicated server?...yeah. It may be something to do with your internet not routing it to the server correctly.

orchid wigeon
outer goblet
orchid wigeon
#

ah ye, we get "Faile dto connect"

outer goblet
orchid wigeon
#

I host it on a dedicated server I rent

#

weirdly, other stuff on that server works fine

outer goblet
# orchid wigeon I host it on a dedicated server I rent

Yeah, then your best bet is to talk to their support to figure out why it isn't connecting. From what you've posted it seems like Valheim is working fine, just that your computer isn't connecting to the remote server at the same port/IP address as your client expects. It could be because of internet routing (VPN allowing it to connect may suggest that it's something with your ISP), a mismatch port call, either the server or client blocking traffic on that specific port, firewall issues, etc..

outer goblet
# orchid wigeon I host it on a dedicated server I rent

Perhaps one more thing to troubleshoot that it isn't Valheim is try to connect to your friends directly client to client. If that is the case, you can always copy the world file to your local computer and have one of your friends host it till the remote server issues are resolved.

orchid wigeon
#

nooo I found the problem: it seems something in the server update broke IPv6

#

if I connect using ipv4 it works

outer goblet
#

I didn't realize the Valheim supported IPv6 natively. I was under the impression it only supported IPv4 and you needed something to translate between the two. Perhaps other IPv6 users can comment?

orchid wigeon
#

we connect to the server using a domain, which has both ipv4 and ipv6 records set up

#

in the version up to yesterday ipv6 worked fine

outer goblet
#

Good to know, thanks for the update. Hopefully they fix or revert the IPv6 code soon.

orchid wigeon
#

can anyone check this? connect to their valheim server using ipv6?

#

if its just a problem with my server? but I can access other stuff on that server via ipv6 just fine

blissful canyon
#

Hi! Our NItrado server laggs like hell when we're all in the same zone. I adjusted sendQueueSize in assembly_valheim multiple times now and the server just keeps resetting the value/getting another file. Any ideas?

trim locust
orchid wigeon
elfin sleet
#

Has anyone else tried running valheim on box64 with the ashlands update

#

It was working with mistlands update but it's silently breaking now

spring vapor
#

For some reason when someone leaves my server, the entire server lags

#

not on join though, anyone way to clean up the DB file, or rectify that

cobalt sable
#

Hi guys is it possible to change settings if i have a dedicated server up and running already?

lament shuttle
trim locust
bitter whale
#

How many people could be apart of a dedicated server?

elfin sleet
#

As many as you'd like. Whether or not it runs well is up to the hardware it runs on.

languid charm
#

Hey I could use a bit of help, I set up a dedicated server on google cloud using https://hub.docker.com/r/lloesche/valheim-server

It seems to work great, and is discoverable in the server browser on pc, except it's not accessible on xbox. I've tried the -crossplay flag, but it doesn't seem to work. Any help would be super appreciated.

trim locust
#

Why is the game telling me to log in with play fab

orchid wigeon
trim locust
#

I restarted the server and that somehow just cleared it up

#

I just still had my usual failed to connect issue but found a way around that

orchid wigeon
#

ye, as a workaround for now I have created another subdomain that only resolves in ipv4

trim locust
#

Yea I thought I’d try useing my vpn and connect to Australia (my own country) and tried that and every time got on first time

#

But it still has me stuffed on why it was doing it in the first place, maybe something to do with my IP adress is the same as the servers, I don’t know, so I’ll just use my VPN

errant breach
grave geyser
#

Anyone sever i can join and go play right now as am bored playing amone

#

Alone

lilac wren
#

is setkey enemydamage increase their dmg or receive dmg

mild geyser
#

Anyone having issues joing dedi server since Mac update?

lament shuttle
# orchid wigeon ye, as a workaround for now I have created another subdomain that only resolves ...

their latest patch fixed that playfab tries to resolve ipv6. It now only resolves IPv4, it seems.

06/11/2024 16:45:12: PlayFab lobby matching search filter 'string_key10 eq '188.40.58.24:2456' and string_key2 eq 'True'': Got back zero lobbies
06/11/2024 16:45:14: PlayFab lobby matching search filter 'string_key10 eq '188.40.58.24:2456' and string_key2 eq 'True'': Got back zero lobbies
06/11/2024 16:45:20: Added server with name shuro.de:2456 to server list
orchid wigeon
proven niche
orchid wigeon
#

did the client maybe keep retrying bevore yesterday, until it tried ipv4? and now it just fails when the client tries ipv6?

#

also, if the game doesn't support ipv6, why would it use the AAAA record?

grave geyser
#

Are u playing alone

orchid wigeon
#

no, I play on my own server, with some friends of mine

grave geyser
#

Can i join you

#

I am medium skill player crafted by odin

orchid wigeon
#

sorry, no

#

maybe try the #1024264966712340510 channel, this channels is more about technical details of hosting a server

proven niche
orchid wigeon
#

well it did until yesterday, the domain has both ipv4 and ipv6

strong jackal
#

Hey guys, so, i know if i use the permittedlist file, only players that ive allowed to play on my server will be able to join. But theres a way to only allow ONE character to be used on the server and not allow players to bring characters out of the server, but without any mods?

knotty oracle
#

No, you'll need mods for that.

simple dust
#

I am looking for a server owner to switch me and take over the server , he has to bare cost of 9 EURO monthly, I can't run it anymore I have many projects from work.
the server name "Runeridge" rank3 on battlmetric and got active player-base everyday.

sinful portal
strong jackal
orchid wigeon
sinful portal
strong jackal
#

Yeah, ill have to remove the mod or ill lose those players due that. Thats why i was trying to find something that only allow one character per player. But anyways, lets see what happen

sinful portal
#

might be a way to disable server characters from syncing if the server has no mod

strong jackal
#

I will check that

civic wedge
#

hello everyone I would like to know if there is a solution, if a friend of mine creates a server, I can only play if he plays, how can it be done so that I can play in the server without him being in the game?

proud drum
civic wedge
#

Could you tell me how to do that? @proud drum

sinful portal
#

server needs to be updated?

#

are you running mods like valheim +?

pearl raven
#

Im trying to add my steam id to the adminlist.txt file, but it still says that I am unauthorized. The file is in the dedicated server directory. Any ideas?

#

I had no issues until I reinstalled windows on the server pc, and when i reinstalled VDS, the admin file was gone. I tried copy/pasting from my backup and restarting the servers to no avail.

proven niche
stuck patio
#

(Crossposting for visibility)

Hi all, we are experiencing stutters/microfreezes on a new valheim server hosted from the docker container

I am hosting a Valheim server for me and a few friends. Here are the specs: Server:

Unmodded Valheim server docker container
Ubuntu 22.04 LTS
i5 1235u / 64GB of RAM
100/10 MBit/s Download/Upload
Max users ~5
Files are hosted on an NVMe drive
Server is listed as non-public and crossplay is disabled (Default on the docker container)
Users join via a URL (valheim.mydomain.com) which points to a SRV record

What we noticed on a new world is that the game stutters (as in briefly freezes when panning the camera or moving around or attacking), and our guess is that it is due to the server. The number of players does not seem to affect this issue (I experienced it with just me on the server and it is on my local network).

I am not sure why exactly this is happening as (I think) the server is not underpowered for this task. HTOP reports that about 4gb of ram is used and CPU usage is at ~60%. There are not many other programs running on the server other than my DNS and a few web apps which are idle. Does anyone have any ideas on how to fix this issue? Is there a way to dedicate more resources to the docker container? My current best guess is the upload speed is too slow.

lament shuttle
frozen zephyr
stuck patio
frozen zephyr
#

Mine is on a 1gb nic though

stuck patio
#

My nic is also 1gb, however my ISP does not have a good upload speed

frozen zephyr
stuck patio
frozen zephyr
stuck patio
#

Thanks

sinful portal
sullen beacon
#

Hey guys, has anyone had luck using Bananaservers and adding mods to BepInEx?

stark gorge
#

how do i update my old world file to be able to bring it with me to the current version

#

im new to this server stuff so im pretty stupid i

#

dont really wanna start over bc my friends and i have done a lot on this world

wooden mountain
#

may i forward ports other than 2456 - 2458 if I specify say port 2459 in my start_server.sh script?

#

for instance then I would assume I forward ports 2459 - 2461. Would this still function?

#

(note not using crossplay either)

round sleet
#

That should work in theory, yes. If you can connect to your server from an in-network client on that port then those are the ports you'll need to forward.

inland hare
#

Hi, do i need to restart my dedi server everytime i add someone to the whitelist? Or is it automatic they can join once i edit and save the whitelist?

stuck patio
#

Hi, I have added my steam ID to the adminlist .txt but it says I am not an admin

#

in the dev console

proven niche
stone ruin
#

I am the admin on a dedicated server I rented. As far as I know, I need to have BepInEx installed to make most admin commands work. My question is, can I install BepInEx on a server without ruining our world/save? Will it effect anything?

amber briar
amber briar
grand gust
#

I have a problem where I can't see my brother, but we are connected to the same server

#

none of uss are visible if we press f2 or on the map

proven niche
grand gust
#

Its the same server.. I changed , from -public 0 to public 1 and restarted server, now we see eachother again(that shouldn't have fixed it). I'm gonna see if he can see what I've put down while we couldnt see eachother.

grand gust
#

apparently I never put it down.

#

I don't know what happened, but it seems fixed..

#

by a restart

#

btw anyone have a definitive answer to why the server sometimes uses the wrong savefile

#

and how to fix

proven niche
# grand gust apparently I never put it down.

You seem to have a really really strange server. It would be interesting to know how it was created? And where? And when? What OS is it running on? Is docker or SteamCMD or LinuxGSM involved?

grand gust
#

it's a normal steamcmd

#

its run locally

bitter whale
#

whats the best place to go to to add server mods including the map extension mod?

bitter whale
#

does it work with ashland? @proven niche

proven niche
bitter whale
proven niche
bitter whale
sinful portal
#

Worst case it wont load

stone ruin
sinful portal
grand gust
#

yeah, I have, on windows it's "C:....."

#

-savedir "*Cdrive location"

#

I don't think it will cause huge errors... Ill just copy gamefile everytime it works to make sure it doesn't do something weird..

ember epoch
#

Does anyone know if the Dedicated Server will come to Mac? I can start a server in-game and Steam will let me download the server it but it won't run it (The only option is uninstall). I currently have my dedicated server running on my mac-mini using crossover but I would love if it was native.

proven niche
vague bone
vague bone
lament shuttle
vague bone
#

Thanks! Yeah you're right, it was client side. Glad it got sorted for you!

hot sky
#

I am having issues with hosting a dedicated server without crossplay, I keep DCing from playfab with friends but we are all on steam so I don't need it. I can only connect locally though without crossplay enabled. I have the ports opened just fine but can not connect from an external IP anyone have this issue before?

#

according to some website checker i do have the ports opened

#

also the server does show up on the community page if i do public 1, but it will give me a failed to connect error

#

i have tried both my modded game and a vanilla server

frozen zephyr
hot sky
#

I tested with a VPN and no lan access would that still affect connecting externally?

frozen zephyr
#

It shouldn't, but your better off having a friend try and connect to it from outside your lan

hot sky
#

ok i will try that

frozen zephyr
#

How long ago did you switch it from crossplay to steam

hot sky
#

i tried to last night

#

cuz we kept getting sync issues with the playfab thing

#

tried installing a new instance of server with steamcmd just to run it pure vanilla too and nothing

#

its just strange it shows up on the community browser

frozen zephyr
#

Might have to change the port number, sometimes when switching from crossplay to steam clients still try to use crossplay to connect

hot sky
#

oh yeah?

#

ugh still nothing, very frustrating lol i've hosted plenty of servers and never had an issue like this πŸ™ƒ

proven niche
# hot sky its just strange it shows up on the community browser

If you haven't already done so, try disabling the server's Firewall and VPN as a test for problems there. I suspect the remote site you used to verify the server's accessibility probably only checks on one of the server's ports. So make sure both ports are correctly forwarded in your router and opened in the server's Firewall and not also used by any other app on the server's PC.

hot sky
#

yeah I have done all that 😦 I spent like 3-4 hrs last night trying to connect to this thing lmao

#

ports are forwarded fine, it even shows up on the list i just cant get anyone to connect

proven niche
hot sky
#

yeah both get a failed

proven niche
#

And your router is forwarding IPv4 UDP protocol?

hot sky
proven niche
#

You sure you don't have some funky ISP multi router CGNAT setup or port blocking or whatever? You've already tried other ports, yes?

hot sky
#

I believe my ISP has CGNAT but i am paying specifically for a static IP

#

yes I used other ports same issue, but I am able to host like factorio/zomboid servers just fine?

#

just strange valheim is saying no

proven niche
#

They may only be forwarding TCP and not UDP, for example.

hot sky
#

ohhhhhhh fun

#

seems like factorio uses udp and that works ugh

#

no idea guess we might just have to live with the playfab jank

proven niche
#

There may be internet services that help you get around CGNAT problems, too. I haven't investigated that. I'm thinking something like Cloudflare's Warp application. It's free for personal use, by the way.

hot sky
#

I shouldn't be having cgnat issues im pretty sure that was the whole point of paying them for the satic IP but idk ahaha

proven niche
#

Yeah, but you just paid for the address not changing. Not for it being setup cleanly and problem free. CGNAT sucks in so many ways.

hot sky
#

just don't understand why like factorio works fine but not heim lol

proven niche
#

Dunno... Could easily be different ports configured differently at your ISP's routers.

hot sky
#

πŸ™ƒ

proven niche
# hot sky πŸ™ƒ

You might want to do a google search for something like "how to bypass CGNAT" and see if anything in the search results might help in your situation. At least it's interesting reading.

hot sky
#

yeah ill look into just using hamachi or something

#

was just trying to avoid that its hard enough already to get 4-5 men in their 30s to play a game let alone make an account and stuff for another random app lol

proven niche
frozen zephyr
hot sky
#

everything i read about my ISP says i should be able to forward ports with my static ip but idk

#

it's also strange it shows up on the community browser

#

but fails to connect

proven niche
hot sky
#

i checked both ports on the site and it says they are both open

proven niche
hot sky
#

just the browser/adding it manually in valheim

#

i did test steam server browser myself tho

frozen zephyr
#

They do a a2s query on the steam query port

proven niche
hot sky
#

ya sent it

proven niche
# hot sky i did test steam server browser myself tho

A couple guys on Reddit with the same connection error msg said they fixed it by changing -public 1 to -public 0.

It removes it from the Steam in game server listing but allowed player connections with the WAN IP address and port number.

hot sky
#

I tried that and from what I can tell it just acts like crossplay is enabled 😦

#

oh wait

#

yeah i tried public 0 and 1

#

it still wont let u connect direct IP, i was looking on reddit for like 3 hrs last night before i decided to ask here

#

cuz i also saw people say try -crossplay 0 but thats just fake news

knotty oracle
#

It's either -crossplay or not, there's no value to attach to it.

hot sky
#

yeah theres a lot of posts on reddit tho saying -crossplay 0 is a thing for some reason

knotty oracle
#

Eh, that's Reddit for you.

wooden mountain
#

Is there any means to fix desync lag outside mods?

proven niche
wooden mountain
#

I echo a similar problem to the person you responded to the link with. Games been pretty smooth but ashlands has huge desync lag for me, which I'm guessing is due to the sheer number of enemies on the field and things happening all at once?

proven niche
wooden mountain
#

Yeah, perhaps its so much so, its getting bottle necked by the default send/recv limits

proven niche
#

Don't forget to archive a backup copy of your world file pair before you do anything significant.

wooden mountain
#

Guides from 2021 πŸ’€ fingers crossed it still works 🀞. Though I read the .dll gets overwritten on server start.. so idk if this will do anything.

proven niche
wooden mountain
#

yes that would make more sense to me

proven niche
wooden mountain
#

It worked hooray!

#

No more Dial-up speed connections haha

gritty pecan
#

This might already be addressed somewhere, but there's so much information, I'm not sure where to start:

I made a dedicated server on my server PC. My brother and I can ping the server and see there are 0/10 players, but cannot connect. I've forwarded 2456-2458, and set the port to 2457 in the file. I input the password for the open beta on steam on both my server and my main PC. I just built this server, and this is the second server I've ever tried to set up, so I'm definitely still a novice, but the fact that we can both see the server makes me feel like I'm close to figuring it out. I'm just out of ideas at this point. Any suggestions?

wooden mountain
gritty pecan
#

That's the one

#

I'll try it now, thanks

wooden mountain
#

np, it should be good after that! πŸ‘

gritty pecan
#

Thanks!

#

Failed to connect 😦

#

I was missing C++

#

It works now!

bitter whale
#

is there any mods I can setup without a trojan

cobalt merlin
#

Hi, does anyone have any problems updating the server? Or is the problem only with my server?

hot sky
proven niche
errant breach
#

Hi all, Was happily playing valheim for a while sharing with friends. Stopped paying for Gamepass and got it on Steam. started a game and then got gamepass again. I deleted the one from Steam and am happily playing again but I can no longer be joined by my friends. When I give them the join code it says " Cannot resolve join code" Any suggestions Its bumming me out. I am playing fine by myself. I have tried giving them the join code and starting a community server and still nothing. T]

proven niche
errant breach
orchid wigeon
#

about backing up the world: is the .db the server uses usually consistent? or does it only make sense to back that up while the server is off?

#

right now my script backs up the folder with the saves every 30 mins

proven niche
sharp tapir
#

What is the best recommended host, what is the best priced and most reliable one? And can host any mods

proven niche
hearty locust
bitter whale
#

hello, how do I set up a max of 30 for a dedicated because rn I'm capped out at 10 players and its suppose to fit 30?

frozen zephyr
#

10 is max supported players

sharp tapir
#

How can I turn on no build cost using commands?

proven niche
silver oracle
#

Hey peeps, is it possible to find your world seed easily?

orchid wigeon
opal saddle
#

It is possible in principle you were taking a snapshot right at the same time as Valheim is saving, and could get a corrupted file in the snapshot that way. But Valheim will juggle it's own backups... see the server documentation pdf, it's in the server folder and pinned here

#

If you make your own snapshot, you might want to disable Valheim server's own backups. Or, set it to one and just back up that one (or use a snapshotting fs like zfs).

I mean, more backups made by the server make no sense if you make your own. But having one will work around the rare, a bit theoretical corruption caused by mid-save backup.

high drum
#

Hi guys, I'm running a locally hosted LGSM Valheim server on Ubuntu 24.04 server. Until wednesday, everything was working fine, but I'm trying to start my server today, and I can't. Whenever I launch the vhserver start command, it can't seem to find the remote build and than doesn't start the server when I check with the vhserver details command. Any solution for this issue? Already tried the vhserver validate, update-lgsm and force-update commands, apt update and apt upgrade as well without success

#

Here's the output of the vhserver start command :
~/vhserver start
[ OK ] Updating vhserver: Checking for update: SteamCMD

Update available

[ START ] Updating vhserver: SteamCMD
Branch: public
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
Redirecting stderr to '/home/skeyrah/.local/share/Steam/logs/stderr.txt'
Logging directory: '/home/skeyrah/.local/share/Steam/logs'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1718305764
-- type 'quit' to exit --
Loading Steam API...OK

Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Success! App '896660' already up to date.
Complete! Updating vhserver: SteamCMD

orchid wigeon
opal saddle
#

That's LinuxGSM output, not the server output. This is not LinuxGSM support (although many hosts use it), but everything seems fine (according to LinuxGSM).

orchid wigeon
#

also, valheim saves are tiny

opal saddle
#

Look at the actual server log.

opal saddle
#

Snapshottin fs'es are pretty intelligent, they will not waste any more space. They will only "hold on" to files which Valheim would have deleted (but not those which are duplicates but only renamed). Over time, they could add up.

high drum
#

I'm kinda new to Linux, any idea on which log I should check?

opal saddle
#

LinuxGSM saves it's own logs from the process, and the server saves it's own logs somewhere in ~/.config/unit/Irongate, IIRC, but the latter could change depending on how you've configured LinuxGSM. Youi could check with vhserver dt if the server is running and then vhserver c . Or you could straight up start it with vhserver c when it isn't running.

#

The logs are somewhere in the linuxgsm directory hierarchy (iirc linuxgsm/logs)

lilac eagle
#

Not sure if here or the servers-and-lfg channel is more appropriate but I'm looking for reviews/opinions on server hosts. Currently using G-Portal hosted in Texas and friends and I have experienced daily server crashes and are also losing items when placing in chests/smelters/containers etc. if it aligns with a lag spike of sorts where client side updates that the item was transfer but server side doesn't register the deposit. Want to change hosts.

proven niche
fallen gust
#

Does any one know how to help lag when there is 10 players on a server

proven niche
# fallen gust Does any one know how to help lag when there is 10 players on a server

There are many causes for lag with 10 players. High instance count. Poor comm link of one or more players. Weak, or busy with other apps, player PC's. Extreme terrain modifications. High paritcle counts with flames, etc. And out of date or broken mods on the server or one or another of the player's PCs. So how to fix it depends on your particular situation and what's causing it.

fallen gust
#

The world is fairly new
Most of everyone has fairly decent pcs
Definitely high instance count sometimes it reaches 10k
Even before any terraforming it started to happen
I am not 100% on everyone’s connection but most of everyone has decent connection and only 1 is from a far away land

#

I’m actually trying one desync thing that was placed on one of the channels hoping that helps some

wild gorge
#

What is "Worldgenerator instance=null?"

#

I am at wits end with that error

#

oh so now it shows me up

#

But let me join

proven niche
proven niche
#

AzumattAntiCheat and ServerCharacters, although those are both mods and we shouldn't discuss mods in this channel. Although, we can in the #mods-discussion channel.

wide cipher
jagged light
#

@languid crest How did you get an Oracle server? it's always out of capacity and their support is useless

chrome valley
#

Does anyone know why I might be kicking out a server to my users after 5 minutes on a dedicated host?

timber crane
#

Is there a solution to crossplay toggle preventing steam users from connecting?

chrome valley
proven niche
slim elbow
#

just had a question about localhost on a dedicated server, what do i need to do for connecting locally to a online server im hosing myself? im hoping itll reduce lag for everyone else if im not hosting wirelessly and also joining wirelessly.

proven niche
slim elbow
#

I'm hosting on the PC I'm running the game with, when I use localhost:port with port being the same one we connect wirelessly with it fails to connect.

proven niche
#

Check your log file to see what the error is.

slim elbow
#

My first thought when localhost itself didn't work was localhost:port but it didn't. I tried again to make sure I wasn't just doing it wrong. Where wopuld i find that log? Game or server files?

#

I can say nothing happens in the server window when i try to join.

proven niche
#

%AppData%\LocalLow\IronGate\Valheim folder for playerlog.

slim elbow
#

ok im in player log

proven niche
#

The problem is likely near the end of the log.

slim elbow
#

i do see "Am I Host? False" in the log

proven niche
#

That's because you're not listed in it's adminlist.txt file.

#

Nothing to do with connecting to the server.

slim elbow
#

gotcha, i should be in that too but it hasn't been working for some reason.

proven niche
#

Is your game or server using any mods? Were you connecting ok to the server up until just now? Is the server using crossplay or not?

slim elbow
#

No mods, I connect perfectly fine online and my friends can also, I was just trying to figure out why I can't connect locally.

proven niche
#

Crossplay or not?

slim elbow
#

I used to when we played a few years ago, but since we started playing in the past two weeks my localhost hasnt worked at all despite the same ip working from before. No crossplay, all of us using steam.

proven niche
#

Does the server's start_headless_server.bat have -crossplay in it?

slim elbow
#

yes it does

proven niche
#

Remove the -crossplay. Make sure your server's ports are forwarded in your router. There will be no more Join Code so you'll use localhost:port and everyone else will use your WAN ip:port or find the server in the server listing at the game's start up screen.

#

It would be best if your PC was using ethernet cable rather than Wifi due to the speed difference.

slim elbow
#

Removed -crossplay and im launching server now so i can test it and make sure my friends can still join fine. I use both ethernet and wireless simultaneously.

proven niche
#

You may actually connect better with just the ethernet.

#

You can set your server's process to High with your task manager, too. That might also help.

slim elbow
#

Cool, localhost works now, and my friends tested their connection which seems to have improoved generally.

#

would i need to set it to high in task manager every time i launch?

proven niche
slim elbow
#

I'll keep it in mind. Thank you.

proven niche
#

Try and keep your PC's other apps/tasks to a minumun when the server's running. Do manual Virus Scans, for example.

slim elbow
#

I am a little curious about Adminlist also. I have tried adding myself and friends to admin list but i must be doing something wrong. I know i did it before by adding our steam id into the adminlist.txt but that dose not seem to work currently.

proven niche
slim elbow
#

Yeah i have it as 17 numbers, didn't seem to do anything for either of us. I was checking back through the server manual to see if i missed something.

proven niche
#

The adminlist.txt file is alongside the server's worlds_local folder in the same folder.

slim elbow
#

yeah i have it open currently
// List admin players ID ONE per line



#

ill try the steam_# and see if that works.

proven niche
#

And you're sure it's in the right folder? You haven't stuck it in with your config folder or anything?

frozen zephyr
#

just the steamid number should work, and the admin list dont give you access to devcomands on a server it only lets you use admin commands (kick/ban and some others)

slim elbow
#

its in \AppData\LocalLow\IronGate\Valheim
worlds, worlds_local, adminlist, bannedlist etc

proven niche
slim elbow
#

yeah i have no need for dev commands, i dont really even need admin commands it was more a safety precaution. I can save the game if i need to in game. I was just trying to figure out what i was doing wrong in case i need them in the future.

slim elbow
proven niche
#

You probably already know you can get the Steam_ IDs from your game's F2 window when you and the player(s) are on the server.

slim elbow
#

Yeah, it should slo be listed in the server right?
"06/16/2024 01:36:38: Sending message to save player profiles"
X,Y,Z

proven niche
#

It is but the server also has another internal ID for players, although I'm not sure it's as long as the 17 numeric that Steam uses. Best to get it from the F2 window to be sure.

slim elbow
#

Ill check to be sure, there may be some discrepancy. The ones it lists in the server following that message are exactly 17 long, but they might not be the same, that could be where my issue is.

opal saddle
#

My friend just joined to our server with a new character, and the server immediately reported him as died. Is this some known bug? Weird anyways...

fringe geode
#

Morning all,

I would like to run a small server for myself, my son and his friends.

I would like to run a server with some small mods on them, things like:

Seasonality
Multicraft
Show Container Contents
And a few other QOL mods

Can anyone recommend a provider that will allow me to upload the mods to the server, so that each user doesn't have to install the mods? If that is possible?

meager raft
# fringe geode Morning all, I would like to run a small server for myself, my son and his frie...

It's possible for some mods, but not all of them.
There are "server side" and "client side" mods.
Server side: you can just put them on the server, and they'll work fine for everyone. These tend to be things like increasing monster spawn rates, or dungeon sizes.
Client side: every player needs to download them onto their personal machine. These are generally the more "fun" mods, like extra swords and ships, magic spells, and even a lot of the QOL stuff, like multi-user chests.

The ones you've listed there include client side mods, so no, you won't be able to only put them on the server, regardless of who you host with.
It's very easy to add mods though, if you use something like Thunderstore to do it.

Really, what you need to look for is a server hoster that gives you full file access so you can easily put mods on the server!

opal saddle
# fringe geode Morning all, I would like to run a small server for myself, my son and his frie...

Really, what you need to look for is a server hoster that gives you full file access so you can easily put mods on the server!
I haven't used any 3rd party hosted servers, but what I've seen at a glimpse, some allow to add any mods trough a GUI. As for recommendations, you need to do your own research. This also heavily depends on where you live (around the world), there are few hosts which have server physically everywehere around the world, and the physical location (ping) is important. All communication in Valheim goes client->server->(chunk master) client, so it's really a two-way trip.

Also, see channel description. This channel is mainly for self-hosted servers, we can not give 3rd party host recommendations. For mods, ask in #mods-discussion

#

Crossplay will increase lag if anything. TBH I believe it will only add connection issues, after connecting the communication will not be relayed trough playfab servers any longer??? (AFAIK!)

This game has very client-side heavy multiplayer implementation, the 10 player limit is there for a reason. You could increase the limit with mods, but there will be even more lag (do a search, this issue is a very common one, or you could ask in #mods-discussion for more information; modding is a bit OT here)

#

No, there has always been a 10 player limit (even if there wasn't, it would not have been practical. The network code and lag was worse before H&H update).

#

TBH, I suppose if the players are very far apart (not in the same chunk) then in principle more than 10 players could be possible. I haven't tested.

rocky vortex
#

Anyone using gportal know how to enable no build cost?

#

I toggle it and not sure what else I should do

proven niche
rocky vortex
#

What does that do?

proven niche
#

What does the NoBuildCost key do?

rocky vortex
#

Yes. What does setkey do

#

I looked at the dedicated server manual (found it in the gportal documentation) but no mention of setkey

#
Valheim Wiki

Global keys are used to track progress in game worlds. Boss keys determine which events and spawns are active. defeated_bonemass β€” Set when killing Bonemass defeated_gdking β€” Set when killing The...

#

LIke is there a file where this gets written to?

proven niche
#

Keys are stored in one of the worlds two files.

rocky vortex
#

and then to turn it off, I would just do removekey NoBuildCost?

proven niche
#

I don't know if that works. Try it on a test world first and see.

rocky vortex
#

Alright, thanks for your help

#

Confirmed that worked. Thank you!!!

proven niche
#

That's good info. Thanks for sharing that here. πŸ™‚

rocky vortex
#

Np. Also one thing to note, if you plan to toggle, use save to force a world save to retain the setting of removekey NoCostBuild. I noticed it was still on after I reconnected and I think it's because I hadn't caught a save interval

#

forcing a save and reconnecting seemed to ensure it stayed off

orchid wigeon
#

we have some trouble with performance, especially with big raids near our large base

#

the server I run the game on is fairly potent (8 cores, 16gb ram), 10G internet link

orchid wigeon
#

I run my server on a somewhat special platform, and I get these errors regularly (like every 10-20 seconds): mono_thread_internal_set_priority: pthread_setschedparam failed, error: "Operation not permitted" (1)

does that happen on regular linuxes too, or is it something to do with my snowflake setup (freeBSD with linuxlator)

young gate
proven niche
orchid wigeon
#

I thought this would fit here, as its mostly about server peformance

#

we did install it + better networking, and so far it seems like it works better

orchid wigeon
#

but it works without this

proven niche
orchid wigeon
mystic tulip
#

hi is anyone around?

#

my issue is this

#

when i update with steamcmd

#

it says its updated

frozen zephyr
#

add-beta public to you steam command before +exit

knotty oracle
#

Hang on, how on Earth are you on 216.9?

mystic tulip
mystic tulip
#

i think i set it up a year ago, the homies want to continue playing it

knotty oracle
#

You'll need to update it else there's not a client out there that can play it. that's pre Hildir's Request.

mystic tulip
#

attempt to update

#

maybe this version is too old to update or something, ill test this now

frozen zephyr
mystic tulip
#

how (i have no clue to how to use steamcmd)

frozen zephyr
#

why you running the command as root

mystic tulip
#

doesnt run as not root

#

actualy maybe thats my issue

frozen zephyr
#

sudo makes it run as root

mystic tulip
#

yeah ik that

#

oh wait

#

i think my file permissions are fucked

frozen zephyr
#

prob if your installing as root and trying to run the server as steam

mystic tulip
#

my whole steam directory is not under the ownership of my steam user

frozen zephyr
#

and not using force install dir who knows where its even installing it to

mystic tulip
#

i think that indeed was my issue

frozen zephyr
#

running it as root prob made it install to a diffenrt location

mystic tulip
#

yes

#

it all makes sense now, ty soo much for pointing out the obvious

atomic hedge
#

how am i supposed to make a dedicated server?
is it free?
if not how much?
is it a 1 time payment or is it repetitive?

knotty oracle
#

If you run it yourself it just costs your electric bill, if you pay for a third party host it'll cost you a monthly fee.

proven niche
#

The electricity required is about the same as a 25 watt light bulb.

sinful portal
#

Not necessarily, since an entire computer doesn't run on 25 watts factoring fans, drives, cpu, if you have a gpu, ram

sinful portal
proven niche
sinful portal
thorn scarab
#

Anyone ever seen this before:

#

I keep getting black screened on death or loggining out and have to restart from last save.

proven niche
thorn scarab
thorn scarab
#

Ended up being a problem with smoothbrains smartskills.

rancid gazelle
#

Hey, we have displayBepinExInfo installed on our dedicated server but we can't change the config on certain mods like CLLC. First time using the in-game mod config modifier so I dont know if we need to do something specific, any tips ?

opal saddle
earnest vector
#

Question:
Can someone help me on how to get the PBT on my Dedicated Server? Few months ago it worked by adding a few environment variables, but can't get it to work anymore. (Using Container Manager on Synology)

meager raft
# atomic hedge how am i supposed to make a dedicated server? is it free? if not how much? is it...

You can run a dedicated server off a home computer.
But the whole point of a dedicated server is that its available 24/7, so you'd need to leave your computer humming away all night, and never restarting.
You could buy a second home computer, but thats expensive (much more than the 25watt electric bill mentioned)

If you use a host company, it should be set up for you, without needing any technical knowledge.
It'll probably cost between $10 and $20 a month. Much cheaper than buying a second $1000 computer, unless you're going to host a 5+ years playthrough, which is unlikely.

Choose a host company that has a location near-ish to you. As long as its on the same continent, it'll be ok, it doesnt need to be in your town.
If you want to experiment with mods, its good to have a host that gives you full file access.
When it comes to hardware spec, if they don't tell you what you're getting, you're probably not getting as much as you'd like.

If you want low price, try someone like Nitrado
||https://server.nitrado.net/en-GB/offers/valheim||
If you want high quality, look at Rampart
||https://rampart.games/game-servers/valheim||

hybrid pebble
#

Any less than that will be challenging to achieve

toxic knoll
#

Hello why would onemap be laggy in movement and blurry and another map works fine? is there a way to fix the one map?

queen flicker
#

does anyone know of crop/farming bugs on dedicated servers where, say, 300 crops ripening at the same time may yield like 200?

alpine sable
#

Hey guys, just installed a vanilla dedicated server. When im changing the launch file and remove -crossplay and add -public 1 server stops to load properly. It simply crashed. Been following this guide. https://valheim.fandom.com/wiki/Dedicated_servers#Step_2:_Setting_up_a_Valheim_Dedicated_Server Any ideas? Its hosted on a Ubuntu Server btw.

This is my server launch file:

#!/bin/sh 
export templdpath=$LD_LIBRARY_PATH 
export LD_LIBRARY_PATH=./linux64:$LD_LIBRARY_PATH  
export SteamAppID=892970

echo "Starting server PRESS CTRL-C to exit"  
./valheim_server.x86_64 -name "SuperCoolName" -port 2456 -nographics -batchmode -world "SuperCoolNameOfWorld" -password "SuperSecretPassword" -public 1  
export LD_LIBRARY_PATH=$templdpath
toxic knoll
#

Hello why would onemap be laggy in movement and blurry and another map works fine? is there a way to fix the one map?

frozen zephyr
hearty locust
alpine sable
sinful portal
alpine sable
# sinful portal `./valheim_server.x86_64 -name "SuperCoolName" -port 2456 -nographics -batchmode...

I actually do get this:

=================================================================
    Native Crash Reporting
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Didnt see that first.

#

What am I missing

sinful portal
#

What distro are you using

alpine sable
#

ubuntu

sinful portal
#

If you don't know how to use Linux use a docker image or Windows

alpine sable
#

Never seen this and been hosting valheim server(s) since dedicated servers really released

#

Yeah should probably use docker here

opal saddle
#

Based on a quick glance.... it does seem like it really does crash (always look at the log file when making a problem report)....

However, my point is, ir should not crash, not even with malformed command line, which does not seem to be the case here. It could be a HW problem. Does the computer work if you stress test it?

Usin a docker image does not fix broken HW (and makes the setup more complicated to install, maintain and troubleshoot for a newbie), nor does using windows.

alpine sable
#

I never had this problem really, we was about to update the server to latest update and this happend from nowhere.

alpine sable
#

Fresh install

sinful portal
#

Yes I saw that and I also saw you just said update to latest, if you are updating the server it's not a fresh install

alpine sable
#

"we was about to update", I did ofcourse test with a fresh install aswell.

#

But as you said this is not a dedicated server issue, its my server in general.

#

I look into what SIGSEGV really means

sinful portal
#

Logs should report above what module is causing issues, I would think some library is outdated or not working, but that's your Linux install issue, hence why I said use docker

alpine sable
#

Is it safe to send full log here?

opal saddle
# alpine sable Is it safe to send full log here?

Safe in I'm not aware of any rules on the channel not to, but better use some pastebin and link there. Safe as in not containing personal information (such as IP addresses) or passwords, check the log file, I'm not sure (it probably doesn't contain any sensitive information)

#

What Ubuntu version are you on? Is the installation fully upgraded? Do you use it for anything else, and if, what use cases? Have you been messing around on the file system outside a package manager?

It really should not crash, but the full log file could indeed be useful.

orchid wigeon
#

usually those stem from bugs in the software itself, like pointer freeing problems

#

-nographics -batchmode I have never seen

alpine sable
orchid wigeon
#

memory

#

its typically nothing you can fix

#

but, try to remove the nographics / batchmode options

#

idk where you got those from

orchid wigeon
alpine sable
#

Ill try ofc!

orchid wigeon
#

and that one uses only ./valheim_server.x86_64 -name "My server" -port 2456 -world "Dedicated" -password "secret" -crossplay

orchid wigeon
#

and the -nographics and -batchmode are not listed there

#

I personally start mine like this:

./valheim_server.x86_64 -name "My server" -port 2456 -world "Valheim" -password "our-pw-i-removed-here" -public 0 -name "youRFate's Server" -savedir "/home/gameserver/valheim/saves" -preset Normal -modifier Combat hard -modifier DeathPenalty veryeasy -modifier Portals hard -setkey Fire -setkey NoBossPortals

#

but that is with some other stuff, like a different saves dir, and custom difficulty, but I also use no crossplay

alpine sable
#

Honestly i didnt get the error now. Do this feel like permission problem somewhere? Now i even tried as root.

06/19/2024 13:37:20: Get create world ValheimTestTest
06/19/2024 13:37:20:  creating
Caught fatal signal - signo:11 code:1 errno:0 addr:0x38
Obtained 48 stack frames.
#0  0x007f32bebd5730 in funlockfile
#1  0x007f32c0c0bd3d in _dl_rtld_di_serinfo
#2  0x007f32c0c131ae in _dl_find_dso_for_object
#3  0x007f32beb378cf in _dl_catch_exception
#4  0x007f32c0c12bca in _dl_find_dso_for_object
#5  0x007f32be9ff256 in (Unknown)
#6  0x007f32beb378cf in _dl_catch_exception
#7  0x007f32beb3795f in _dl_catch_error
#8  0x007f32be9ff995 in dlerror
#9  0x007f32be9ff2e6 in dlopen
#10 0x007f32b8c5bb34 in mono_runtime_resource_set_callback
#11 0x007f32b8c3fa3e in mono_loader_save_bundled_library
#12 0x007f32b8c3f212 in mono_lookup_pinvoke_call
#13 0x007f32b8c3f607 in mono_lookup_pinvoke_call
#14 0x007f32b8a54053 in mono_jit_set_domain
#15 0x007f32b8ad260f in mono_install_ftnptr_eh_callback
#16 0x007f32b8ad2078 in mono_install_ftnptr_eh_callback
#17 0x00000040cff396 in (Unknown)
#18 0x00000040e8d5d3 in System.Net.NetworkInformation.CommonUnixIPGlobalProperties:get_HostName ()
#19 0x00000040e8c8db in Utils:GenerateUID ()
#20 0x00000040e8c84f in World:.ctor (string,string)
#21 0x00000040e7aa5b in World:GetCreateWorld (string,FileHelpers/FileSource)
#22 0x00000040e79d0b in FejdStartup:ParseServerArguments ()
#23 0x00000040e78d83 in FejdStartup:Awake ()
#24 0x00000040d7dba5 in (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
#25 0x007f32b8a58338 in mono_get_runtime_build_info
#26 0x007f32b8bf7453 in mono_runtime_invoke
#27 0x007f32b8bf739d in mono_runtime_invoke
#28 0x007f32bfac1162 in (Unknown)
#29 0x007f32bfaae752 in (Unknown)
#30 0x007f32bfaae651 in (Unknown)
#31 0x007f32bfb06177 in (Unknown)
#32 0x007f32bfaa1f98 in (Unknown)
#33 0x007f32bfaa240d in (Unknown)
#34 0x007f32bfaa1ef1 in (Unknown)
#35 0x007f32bfb1fd97 in (Unknown)
#36 0x007f32bf8e417f in (Unknown)
#37 0x007f32bf8e3d6a in (Unknown)
#38 0x007f32bf8e4c47 in (Unknown)
#39 0x007f32bf8e580a in (Unknown)
#40 0x007f32bf8c7b37 in (Unknown)
#41 0x007f32bf8c7af1 in (Unknown)
#42 0x007f32bf8c7df8 in (Unknown)
#43 0x007f32bfb2d1d7 in PlayerMain(int, char**)
#44 0x007f32bea2709b in __libc_start_main
#45 0x0055942aa2d029 in (Unknown)
./test.sh: line 12:  7060 Segmentation fault      ./valheim_server.x86_64 -name "test" -port 2456 -world "ValheimTestTest" -password "test" -public 0
orchid wigeon
alpine sable
#

I used this now ./valheim_server.x86_64 -name "test" -port 2456 -world "ValheimTestTest" -password "test" -public 0

orchid wigeon
#

and, if you can help it, don't run the server as root

alpine sable
#

I know but did just want to try

orchid wigeon
#

genreally never run any service with open ports as root

#

think sshd is the only one running as root on my machine

alpine sable
#

And these are the dependencies

libatomic1 is already the newest version (8.3.0-6).
libpulse-dev is already the newest version (12.2-4+deb10u1).
libpulse0 is already the newest version (12.2-4+deb10u1).

I have no idea where to troubleshoot really

frozen zephyr
frozen zephyr
frozen zephyr
alpine sable
#

kidding me...

#

Ok that was it

#

removed em and it works

frozen zephyr
#

Password needs to be 5 char or more, it tells you that in the start_server.sh

#

And can't be same as server name

alpine sable
#

Yeah but it never got there tho, i removed the dependencies i posted here and it run + the new password ofc

frozen zephyr
#

There error in the log could be better though

#

It gives a warning about password then crashes at world gen so most people miss the thing about it being the password πŸ˜‚

#

They really should make it crash at the password check and not keep going then crash on world gen

orchid wigeon
orchid wigeon
frozen zephyr
#

Yesterday was a update to the PTB

orchid wigeon
#

I read the changes in that somewhere on reddit

frozen zephyr
formal quiver
#

I need help please - and Im a codeing noob so this is really challenging for me -
I got an AMP license key so that I could host a server for my 4 friends and I to play, but setting up the server is proving problematic.
Is it possible to move an already-played game over to a dedicated server?

Also, I seem to be having port issues - in AMP, it keeps saying the game port is not listening. I am so lost and confused

proven niche
#

To move an already played world to your server, copy/paste it's two world files (.db and .fwl) from your game to your server's worlds_local folder. Keep the file pair together.

Check your server's port as listed in the start_headless_server.bat file (for Windows OS) and make sure that's the same port Amp is looking at.

wooden mountain
#

Im lost. How would removing a dependency fix a SIGSEGV? Aren't they needed for the game to function?

rapid vapor
#

how do I update to latest release, not latest public test

#

I want 0.218.15, but it keeps downloading 0.218.17

updater.bat :
:start G:\Valheim\Servers\steamcmd.exe +login anonymous +force_install_dir G:\Valheim\Servers\steamapps\common\Valheim_0.218.15 +app_update 896660 yesimadebackups validate +exit :juststart

frozen zephyr
#

G:\Valheim\Servers\steamcmd.exe +login anonymous +force_install_dir G:\Valheim\Servers\steamapps\common\Valheim_0.218.15 +app_update 896660 -beta public +exit

rapid vapor
#

thanks, the -beta flag was throwing me off

gilded lintel
sinful portal
#

could also be whoever is the chunk host has a terrible pc

gilded lintel
#

chunk host is the first person to load into an area, right?

gilded lintel
#

ty :>

polar saffron
#

Hi, would like some help if anyone can, I have been running a server on rocky linux successfully for a while now and have had a request to enable crossplay.

I added the -crossplay to the start script, however it doesn't seem to work.

I am staring at the server console, and it seems like it will not connect with 'begin PlayFab create and join network for server ' being seen over and over agin

#

is there an extra port or some extra networking required?

proven niche
polar saffron
#

anyone know thw average wait time?

proven niche
polar saffron
#

this is running in linux

#

natively

proven niche
polar saffron
#

yea those linux modules do not work in rocky - red hat, but i did check the red hat versions and all seems ok

#

ok, so where am I supposed to put the windows exe?

proven niche
polar saffron
#

yea, everything still works fine for steam, can connect and play good, always have, even using a hardened .service, but this MS crossplay doen't seem to want to work

#

well it's been over 20 minutes

#

seems snafu to me

proven niche
#

I'd give it an hour and then try different ports for the server. And give that another hour.

polar saffron
#

lol, really

#

ok, didn't know it took that long

proven niche
#

The crossplay and playfab network can be very frustrating sometimes. Most times. But it also works well when it feels like it.

polar saffron
#

and as an aside, I am confuddled as why playfab needs pulse of all things

#

even switched the server to use pulse instead of pipewire explicitly for this

proven niche
polar saffron
#

ok, for streaming voice

proven niche
polar saffron
#

australia, server name is 'wewilldie'

#

i have a feeling this is a dependency issue somehow

proven niche
#

If you can find out where the nearest MS playfab servers are, maybe you can try Cloudflare's Warp app. It's free for personal use.

polar saffron
#

although i would expect some informational output in the console/log

proven niche
#

If it were dependencies I'd expect actual error msgs. Instead of repeated generic failures to connect.

polar saffron
#

yea same

#
06/20/2024 15:12:52: Console: [Info   : Unity Log] 06/20/2024 15:12:52: PlayFab reconnect server 'wewilldie'

06/20/2024 15:12:52: PlayFab reconnect server 'wewilldie'
06/20/2024 15:12:52: Console: [Info   : Unity Log] 06/20/2024 15:12:52: Server 'wewilldie' begin PlayFab create and join network for server 

06/20/2024 15:14:52: PlayFab reconnect server 'wewilldie'
06/20/2024 15:14:52: Console: [Info   : Unity Log] 06/20/2024 15:14:52: Server 'wewilldie' begin PlayFab create and join network for server 

06/20/2024 15:14:52: Server 'wewilldie' begin PlayFab create and join network for server ```
proven niche
polar saffron
#

well not with much mucking about on the server installing a capture, a verbose server output would be handy if one exists?

#

if no port forwarding needs to change then i dunno,

#

i could see no info on ports or networking required for playfab, might look at the ms docs

proven niche
#

AFAIK, crossplay totally ignores port forwarding. Apparently, still uses ports, nonetheless.

sour canyon
#

Will I do any damage to my game/world if I downgrade from PTB to stable?

#

I accidentally upgraded my dedicated server to the latest ptb

polar saffron
proven niche
sour canyon
#

?

proven niche
polar saffron
#

ie to see if they are the same code

#

but really a dev should answer that

#

@Jaga it does say the implementation is up to the devs

#

'''Game servers are allocated through service-to-service calls through the PlayFab server API. The connection information required for client connectivity is passed through these services and clients, which typically use TCP or UDP sockets to drive a direct connection to the game server. Typically, game servers will listen on well-known UDP and TCP ports selected by the game developer.'''

proven niche
polar saffron
#

one thing I know, don't interrupt coffee time

proven niche
#

Might be Swedish, too. Not sure.

polar saffron
#

yea, i did type in viking time in google but yielded no help

proven niche
#

I think that part about "Typically, game servers will listen on well-known UDP and TCP ports selected by the game developer." probably only applies to MMORPGs with huge game server(s) in one or another location. Not 10 player co-op viking survival games scattered around the world and meant for you and a couple of your close friends or family members.

polar saffron
#

yea, lower down is does go into more detail, but still, if you are in a well secured home network you sorta need to know

polar saffron
#

ok, so do I need to download those 3 packages listed at pkgs.org as an rpm and intall manually

#

I have these installed, which i think should work
pulseaudio-libs-15.0-2.el9.x86_64
pulseaudio-libs-devel-15.0-2.el9.x86_64
libatomic-11.4.1-3.el9.x86_64

#

and when I add -crossplay no one can connect through steam

#

and crossplay does not connect

polar badge
#

@polar saffron im running this docker image with -crossplay https://hub.docker.com/r/cm2network/valheim/ if you want to try
a few months ago I asked the maintainer to add libatomic1 libpulse0 libpulse-dev and after that crossplay has worked fine

polar saffron
#

I'm on rocky 9.4, which is sorta the new centos

#

or red hat based

polar badge
#

can still run docker i guess?

polar saffron
#

yea maybe, but is whole different thing, maybe docker images or certain distros will only work, but surely there is a red hat alternative

#

annnd i have no idea if the devs look in here

#

might be that i have to install those packages manually too, I just do not know

polar badge
#

From the manual

polar saffron
#

yep, read that and the links, and one of them is wrong but easy to figure out

#

different distros name things differently as well

polar badge
#

Sorry thats all I have to contribute, no experience with redhat πŸ€·β€β™‚οΈ

#

If it helps, these are the specific versions used by the docker image above:

libatomic1=12.2.0-14
libpulse0=16.1+dfsg1-2+b1
libpulse-dev=16.1+dfsg1-2+b1
vapid galleon
# polar saffron yep, read that and the links, and one of them is wrong but easy to figure out

I'm a total Linux noob but when I was going through different distros trying to determine which one I wanted to run instead of my Windows OS I ran into your same crossplay issue. Some notes I have (if they will help at all) are the following:
On Fedora:
sudo dnf install libatomic
sudo dnf install pulseaudio-libs-devel
Debian:
dpkg --add-architecture i386
apt-get install lib32gcc-s1
Ubuntu:
dpkg --add-architecture i386
sudo add-apt-repository multiverse;
apt install -y libpulse0 libpulse-dev libatomic1 libc6

cursive temple
#

Does anyone remember the steam URL that you could pass an IP to as GET parameter and it would return all running steam game servers on that IP?

#

I got a weird problem with my dedicated server and I'm not sure if the client even reaches the server

polar badge
dusky coyote
#

Hi, I'm running a gportal server for some friends and I'm confused as to what exactly this option affects. It doesn't seem to change anything else as there are separate options for combat/portals/death etc. Would it change up spawn rates at all?

polar badge
#

Preset would probably just change the other modifiers, its not a modifier itself

#

Setting a preset will overwrite any other previous modifiers.
Valid values are: Normal, Casual, Easy, Hard, Hardcore, Immersive, Hammer

dusky coyote
#

Ok I thought that was the case. It was just kind of confusing in the gportal interface since it didn't actually switch up the rest of the options as I toggled through them

polar badge
#

I was wrong, kinda. Found the description in the server manual

#

Ive never used the gportal, but unless you can set the modifiers the something like "Not selected" the Preset should have no effect...

dusky coyote
#

That makes sense, thanks!

frozen zephyr
proven niche
#

Think of the presets as a collection of individual modifiers set all at once.

Then, if you set one or more individual modifiers after a preset, it only changes individual modifiers that were set by the preset.

But if you set an individual modifier or two first and then a preset afterwards, the preset resets your modifier(s).

polar badge
errant breach
#

Hey im in the Server 0.218.17. and I can't join the game with my friends in the steam version of 0.218.15. (n-27) how can I resolve this and join their game and vice versa. Ideally migrate my version to the one ending 015

proven niche
errant breach
#

im on gamepass. Sorry i didn't make that clear.

frozen zephyr
errant breach
frozen zephyr
#

Not sure I only play on steam

proven niche
frosty summit
#

Move spawn location
How can we move spawn location and have it show on the map? We tried "location starttemple" but the old spawn is still showing up on the map. Also the 1st boss stone points to the default place and not where we placed the altar.

knotty oracle
#

You can move your spawn location by sleeping in a new bed.

frosty summit
#

we're talking about the start location for the server, the one with the boss stones .....

knotty oracle
#

You can't change that.

opal saddle
toxic knoll
#

Hello why would onemap be laggy in movement and blurry and another map works fine? is there a way to fix the one map?

amber briar
knotty oracle
#

Not since 2021 really.

toxic knoll
#

ok

#

what can I look at between the 2 maps to determind what might be the cause

proven niche
# toxic knoll ok

Does the laggy, blurry world act that way all the time and all over the entire world? When did that problem start? Are you using any mods at all? Is one world older and more built up than the other? Are you visiting both worlds with your solo game or on a server? If server, is it the same server?

Try to answer all these questions. Not just one or two.

toxic knoll
#

same server I just switch between worlds: login to server and ctrl c one .bat file and start the other .bat file - the older one is the .bat that is runing laggy - No mods what so ever - a month ago - it is only happening at the home base when I go away from the base the lag slowly goes away. when I go through a portal no lag on the other side.

proven niche
# toxic knoll same server I just switch between worlds: login to server and ctrl c one .bat f...

Does the lag happen at your base when you're alone on the server or only with other players? Did the base's lag start all at once or slowly get worse over time? Is it a dedicated server or the server you start with the game startup screen? If dedicated, where is it located at your home or a remote site? When you are at your laggy base what is the instance count shown in your F2 window? Do you have a lot of fires/torches, etc at your base? Are there lots of trees and/or stones near your base or is it pretty much cleared out around it? Is your base in the Meadows or Mountain or what area? Do you have lots of tamed animals at your base?

pure warren
#

hey guys, its possible to make a dedicated server with valheim buyed from the microsoft store/ Xbox pc app?

winter scroll
#

Hey, need some help with setting up my dedicated server if possible.

#

i got the server set up, i did the port forwarding on my router and firewall but my friends cant seem to connect.

#

im unsure which IP i need to put in the 'internet ip adress' section here aswell which might be why it only works for me(?)

torpid coral
#

Hey there, we have a small issue that's relatively long-running and we're unsure if it's a networking/platform/hardware/setup issue or just the nature of the multiplayer code.

Scenario:

A server with two players on it, when we get close together one player will start to have a slight delay on actions impacting the world i.e, sound of the axe hitting the tree, and then a small delay before that action is registered for that player.

Environment setup:

OS: Ubuntu 24.04 - Virtual machine (non-dockerised)
Hardware: 4 vCPU, 8GB RAM, No swap, SSD

Typical usage (avg): 

CPU: 48%
Mem load: 2GB

Client network conditions

Both clients operate over seperate wired networks in different parts of Europe.

Client A avg. ping: 25ms
Client B avg. ping: 30ms

The delay will only ever affect one player at a time.

polar saffron
#

Actually that ram amount may be on a win server

torpid coral
polar saffron
#

mine uses 11g

#

that is with no players

torpid coral
polar saffron
#

damn, was looking at wrong game, disregard, mine is the same

torpid coral
#

I was going to say, 10GB did seem slightly excessive for the world πŸ˜…

proven niche
torpid coral
#

It's a problem we've always had although I've just reprovisioned it from scratch tonight and it's still present;

Below you can see Client B when experiencing the issue has very high ZDO pool values compared to the client not experiencing the problem, I'm not familiar with what the ZDO numbers are indicative of or the expected levels

Client B (25ms client) when experiencing the issue

ZDO Active: 9633
ZDO Pool: 9633 / 810463 / 820096
Instances: 6142
Sent: 2.5
Recv: 4.7
CLI que: 3

Client A (30ms client) when not experiencing the issue

ZDO Active: 7274
ZDO Pool: 7274 / 86 / 7360
Instances: 6136
Sent 9.2
Recv: 4.7
CLI que: 9
proven niche
#

Client A is local to the server?

torpid coral
#

Nope, if anything Client A is geographically further away from the VM host :)

proven niche
#

It looks like Client B may have a network traffic issue in spite of the low ping number. The instance count is nicely low for both clients. Does the Client B PC have anything unusual going on along with the game that could affect the comm traffic to/from the server? Such as a VPN or any other apps running along with the game?

torpid coral
#

The problem goes away for them (Client B) the second I leave the server (Client A).

When I rejoin, Client A then gets the issue as if the priority/ownership changed