Valheim
This game needs better net code asap
I live in a household that 3 people love this game, but when 2 of us get on the game to play on the server we pay for monthly from a 3rd party site, it overloads our modem and boots us off and we lose internet for a couple minutes. it would be nice if this game could get better net code. our internet speed is 40 mbps so it should be able to handle the game just fine
< >
กำลังแสดง 16-30 จาก 46 ความเห็น
โพสต์ดั้งเดิมโดย He Who Has No Name:
โพสต์ดั้งเดิมโดย vinyblaster:

That doesn't sound right, if the server is in your internal network and you use its internal IP it shouldn't be happening. Yeah maybe you need to contact Steam, but all the data exchange shouldn't have to leave your network. Now I want to try it.

A lot of the behind-the-scenes multiplayer stuff they're using comes from SteamWorks, which requires a connection to the Steam central servers. It looks like Valheim uses SteamWorks for server browsing and matchmaking, so without those, clients can't talk to servers, even if both are on the same network.

Disappointing, but I can make an educated guess about enough of the mechanics behind the scenes to understand why. It's not something they're leaving out on purpose. Adding it would mean building from scratch and some of that functionality would be mutually exclusive, structurally and functionally, with their Steam features.
Valheim gives you the option to do both, but you can absolutely connect to other players on the LAN using the LAN IP without contacting the master server for an IP.
แก้ไขล่าสุดโดย 1337Dude; 5 ต.ค. 2022 @ 5: 12pm
โพสต์ดั้งเดิมโดย Hylox, Bane of Titans:
i have no idea how to do that, i also have a bud that plays with us via internet so lan wouldn't work
look up how to do "port forwarding" on your hub. It takes an incoming connection from teh Internet and forwards it to a specific machine on your local network. All your friend would need is your external IP and the port number they should connect to. After that from your friend's viewpoint its just connecting Valheim to anys server with an IP address and custom port.

To get your external IP check
https://whatismyipaddress.com/

Sorry I can't provide more detailed insctruction but not knowing your LAN configuration and hardware I'm limited. Its actually easier than it sounds but it will take a little effort to it set up the first time.

Good luck.
perhaps i need to be a bit more specific with my server, i have a server that I'm paying for from Logicservers https://logicservers.com/ but whaterver the case, it seems quite convoluted the problem i'm having
โพสต์ดั้งเดิมโดย 1337Dude:
โพสต์ดั้งเดิมโดย He Who Has No Name:

A lot of the behind-the-scenes multiplayer stuff they're using comes from SteamWorks, which requires a connection to the Steam central servers. It looks like Valheim uses SteamWorks for server browsing and matchmaking, so without those, clients can't talk to servers, even if both are on the same network.

Disappointing, but I can make an educated guess about enough of the mechanics behind the scenes to understand why. It's not something they're leaving out on purpose. Adding it would mean building from scratch and some of that functionality would be mutually exclusive, structurally and functionally, with their Steam features.
Valheim gives you the option to do both, but you can absolutely connect to other players on the LAN using the LAN IP without contacting the master server for an IP.

See if it still does that without a connection from your network to the outside world. If it does, that has changed since earlier this year.
โพสต์ดั้งเดิมโดย Yakumo_2020:
โพสต์ดั้งเดิมโดย Hylox, Bane of Titans:
i have no idea how to do that, i also have a bud that plays with us via internet so lan wouldn't work
look up how to do "port forwarding" on your hub. It takes an incoming connection from teh Internet and forwards it to a specific machine on your local network. All your friend would need is your external IP and the port number they should connect to. After that from your friend's viewpoint its just connecting Valheim to anys server with an IP address and custom port.

To get your external IP check
https://whatismyipaddress.com/

Sorry I can't provide more detailed insctruction but not knowing your LAN configuration and hardware I'm limited. Its actually easier than it sounds but it will take a little effort to it set up the first time.

Good luck.

every time I try to do this, it screws up my internet and nobody can connect... so maybe it just doesn't work with my modem
โพสต์ดั้งเดิมโดย Hylox, Bane of Titans:
perhaps i need to be a bit more specific with my server, i have a server that I'm paying for from Logicservers https://logicservers.com/ but whaterver the case, it seems quite convoluted the problem i'm having
Three people one house.... 40mb down 28 up correct?

split those by 3 not gonna be a server prob, it's going to be an internet speed problem. Becuase 28 mbps/3 plus degradation on the split at the router plus length of your cable, plus any bends produce speed loss/latency. so that can reduce speeds, and cause bottle necking.

As far the internet resets, could be your router overheating/modem overheating. Or too much packet loss causing a dns reset, or just a bad router.

Could also be your on a logic game server that has too many games running on one machine, as yours is not going to be the only one on that box.

Could also be a bad game server in general, i'd have logicservers look into it and do a trace on your servers performance. There's just way too many things it could be. Need to dig further then just thinking it's the game. If it was just the game everyone would be complaining, and from what i see they are not.

Because if it was the game having bad net code you would see it from a hella lot more people.
แก้ไขล่าสุดโดย Trulight911; 5 ต.ค. 2022 @ 6: 44pm
Simpleton here - can't you play multiplayer using a server thats stored in their cloud? Rather than paying for some server I mean.
โพสต์ดั้งเดิมโดย Trulight911:
... on the split at the router plus length of your cable, plus any bends produce speed loss/latency. so that can reduce speeds, and cause bottle necking...
Im not convinced its a wired network as yet .. OP??
โพสต์ดั้งเดิมโดย Trulight911:
Because if it was the game having bad net code you would see it from a hella lot more people.
I'd really advise you to check your metrics. This game does indeed feast on your bandwidth. Don't take my word for it; use the monitoring tool of your choice.

There are in fact many threads in this forum regarding such. Merely search "bandwidth."
we use wifi, and to lancelot's question doing the hosting feature from the game crashes the modem 100% of the time, and I think trulight might be on to something, it's probably a combination of the things he/she/them mentioned. I do know that valhiem is the only game that gives us this problem, playing other online games doesn't do this to our internet but I can't seem to get the one person interested in playing another online game like final fantasy xiv or destiny 2 or whatever. in any case, you all have brought up good feedback and I appreciate your comments. I'll have my Bud check on Logic servers to see if it's on their end
Look the simple check is when your internet shuts down just physically look at your modem and see if it is rebooting. If so it's a hardware issue. Hitting max capping your bandwidth should not reset your modem. I got low end service and max it all the time without issue.

Frankly that is the only thing that I can think of that would shut off your internet for a few mins.
แก้ไขล่าสุดโดย GunsForBucks; 5 ต.ค. 2022 @ 7: 27pm
โพสต์ดั้งเดิมโดย Hylox, Bane of Titans:
we use wifi, and to lancelot's question doing the hosting feature from the game crashes the modem 100% of the time, and I think trulight might be on to something, it's probably a combination of the things he/she/them mentioned. I do know that valhiem is the only game that gives us this problem, playing other online games doesn't do this to our internet but I can't seem to get the one person interested in playing another online game like final fantasy xiv or destiny 2 or whatever. in any case, you all have brought up good feedback and I appreciate your comments. I'll have my Bud check on Logic servers to see if it's on their end

Good to know, thanks for that info! Was about to download on second computer so my kiddo could play on the same server as I.
โพสต์ดั้งเดิมโดย Lancelot1775:
Good to know, thanks for that info! Was about to download on second computer so my kiddo could play on the same server as I.
I'd still go ahead with the download just in case. Not everyone experiences this problem, so you might be missing out on a good time with your kiddo if you just go by this thread alone. (And if there are problems, well, at least ya tried.)
โพสต์ดั้งเดิมโดย sarteck:
โพสต์ดั้งเดิมโดย Trulight911:
Because if it was the game having bad net code you would see it from a hella lot more people.
I'd really advise you to check your metrics. This game does indeed feast on your bandwidth. Don't take my word for it; use the monitoring tool of your choice.

There are in fact many threads in this forum regarding such. Merely search "bandwidth."
did a search there are 14 posts and that does not constitute a lot of people, plus your looking at it in totally the wrong way, even if valheim like some people say uses 1mbit of bandwidth or more, that's no more then any other games does, most posts i see people talking about running in conjuction with everything else, and in this case THREE of them running it on same connection, that's not a bad netcode problem for valheim, that's called oversaturating a line.
โพสต์ดั้งเดิมโดย Trulight911:
and in this case THREE of them running it on same connection, that's not a bad netcode problem for valheim, that's called oversaturating a line.
No, TWO of them running it on the same line, and in what world is 28 mbps up-speed nothing to sneeze at? Sorry, but that should be plenty.

I'm serious when I say check the metrics yourself. Compare it to other peer-to-peer games.

[EDIT] Also, I get 77 entries in my search, so I'm guessing maybe you're limiting it by subforum or some other filter.
แก้ไขล่าสุดโดย sarteck; 6 ต.ค. 2022 @ 9: 07am
< >
กำลังแสดง 16-30 จาก 46 ความเห็น
ต่อหน้า: 1530 50

วันที่โพสต์: 5 ต.ค. 2022 @ 2: 08pm
โพสต์: 46