Jump to content

Valheim (V+ support and custom scripts)


Dennis

Recommended Posts

  • 2 weeks later...

As far as I know, that's not something you can tweak from the command line. You can create a custom script that will update the server before each start, but that's going to cause startup times to be really slow.

Link to comment
Share on other sites

  • 4 weeks later...
4 hours ago, Vicente said:

I have several IPs configured on my machines, is it possible to configure the IP for the Valheim servers? 

I have the problem that the server uses all the IPs of the machine.

No, it maps to all IPs for right now. I'm unable to offer a Dedicated IP addon because of this.

Link to comment
Share on other sites

  • 3 weeks later...

Does anyone else have a problem with the Join URL?
steam://connect/$[Service.IpHostname]:$[Service.QueryPort]/$[Service.PrivatePassword]

1. The $[Service.PrivatePassword] variable does not work. It literally uses the text $[Service.PrivatePassword] in the URL.
2. The query and game port are different. Steam can query the game server, but then the game fails to join since the join port is different. Changing this around in the URL doesn't help either, as steam can't query the server and won't allow you to join.
Seems like a bug/developer oversight in the game: https://www.reddit.com/r/valheim/comments/m1s021/steam_uri_connect_link_for_valheim_server/

Edited by gijs007
Link to comment
Share on other sites

  • 2 months later...

I cannot seem to get my dedicated servers to be seen on the outside world. All works well in my internal network, when using my external IP Address it takes the shortest path which is internal. It all shows up in the Gamer Server browser of Valheim. Yet externally nothing works. I have triple checked my router and the panel that the ports match.. nothing I can see that could be causing this. Any suggestions would be greatly appreciated. 

Link to comment
Share on other sites

5 minutes ago, Dennis said:

Are you sure that both the game port and the query port has been forwarded?

Yes I do, I added all three ports seperatly to my router. 5678,5679 and 5680

I have the ports in the config
image.png.9dd49efdc229feb658f91710ad96ae1e.png

And my startup command is

valheim_server.exe -nographics -batchmode -port 5678 -name "Misfit Gamers - Amped" -world "Dedicated" -password "***" -public 1 -savedir E:\TCAFiles\Users\admin\10\

And my windows firewall is off but I still added the line in the firewall for Any Any connection for the exe
image.thumb.png.6146a59cb99f5781e947a4c322dbcc7b.png

I have about 20 other game servers running without an issue through TCAdmin, so I am little confused why it is not allowing external access.

 

image.png.720a13e91608a5f9ba5ead2ecfca9006.pngimage.png.e3432b312e37301a15d5412a59b84026.png

Link to comment
Share on other sites

https://geekstrom.de/valheim/check/

Is what I was using to stop nagging my one friend. I have also tried looking at it my phone tethered to rule out my home network is not stealing the connection and routing back to myself instead of using a true external connection. 

 

Oh and I put my friends valheim server he has working through AMP, it comes up as working. 

Link to comment
Share on other sites

I will check the logs to see if the services are running, I am able to connect via the lan but will check

Here are my rules I added for a Virtual Server in my router. Local Server firewall, which is off but I added the rule anyways was any any (so anything can talk to it)
image.png.0ece20238dec66008f97b5cd7589d64d.png

 


[2021-08-03 13:46:19] Log session started
[2021-08-03 13:46:19] [0,0] SetSteamID( [A:1:0:0] )
[2021-08-03 13:46:19] CCMInterface::OnNetworkDeviceStateChange -- Saw device up, connecting to Steam
[2021-08-03 13:46:19] CCMInterface::OnNetworkDeviceStateChange -- Saw device up, connecting to Steam
[2021-08-03 13:46:19] CCMInterface::OnNetworkDeviceStateChange -- Saw device up, connecting to Steam
[2021-08-03 13:46:19] CCMInterface::OnNetworkDeviceStateChange -- Saw device up, connecting to Steam
[2021-08-03 13:46:19] CCMInterface::OnNetworkDeviceStateChange -- Saw device up, connecting to Steam
[2021-08-03 13:46:19] CCMInterface::OnNetworkDeviceStateChange -- Saw device up, connecting to Steam
[2021-08-03 13:46:19] [0,0] Server says 50% of connections should be websockets, we rolled 36 - using WebSockets as default.
[2021-08-03 13:46:19] [0,0] PingWebSocketCM() (cm1-ord1.cm.steampowered.com:27037) starting...
[2021-08-03 13:46:19] [0,0] PingWebSocketCM() (cm2-ord1.cm.steampowered.com:27031) starting...
[2021-08-03 13:46:19] [0,0] PingWebSocketCM() (cm6-lax1.cm.steampowered.com:27034) starting...
[2021-08-03 13:46:19] [0,0] PingWebSocketCM() (cm6-lax1.cm.steampowered.com:27037) starting...
[2021-08-03 13:46:19] IPv6 HTTP connectivity test (ipv6check-http.steamcontent.com / 0.0.0.0:80 (0.0.0.0:80)) - TIMEOUT
[2021-08-03 13:46:19] IPv6 UDP connectivity test (ipv6check-udp.steamcontent.com) - FAILED, no addresses resolved
[2021-08-03 13:46:19] [0,0] PingWebSocketCM() (cm1-ord1.cm.steampowered.com:27037) results: 40.8173ms + load 23.0000
[2021-08-03 13:46:19] [0,0] PingWebSocketCM() stopping early for good host (cm1-ord1.cm.steampowered.com:27037)
[2021-08-03 13:46:19] [0,0] PingWebSocketCM() (cm2-ord1.cm.steampowered.com:27031) results: 40.1261ms + load 24.0000
[2021-08-03 13:46:20] [0,0] PingWebSocketCM() (cm6-lax1.cm.steampowered.com:27037) results: 96.2239ms + load 17.0000
[2021-08-03 13:46:20] [0,0] PingWebSocketCM() (cm6-lax1.cm.steampowered.com:27034) results: 95.5517ms + load 15.0000
[2021-08-03 13:46:20] [1,3] Connect() starting connection (eNetQOSLevelMedium, cm1-ord1.cm.steampowered.com:27037, WebSocket)
[2021-08-03 13:46:20] [1,3] ConnectionCompleted() (162.254.193.102:27037, WebSocket)
[2021-08-03 13:46:20] [1,3] RecvMsgClientLogOnResponse() : [A:1:3639195649:18130] 'OK'

 

[2021-08-03 13:09:40] Loaded store 'install' from 'E:\TCAFiles\Users\admin\10\config\config.vdf' successfully
[2021-08-03 13:09:41] Failed to read store 'userlocal' from 'E:\TCAFiles\Users\admin\10\config\localconfig.vdf.tmp'
[2021-08-03 13:09:42] Flushed store 'install' to 'E:\TCAFiles\Users\admin\10\config\config.vdf'


[2021-08-03 13:19:46] Loaded store 'install' from 'E:\TCAFiles\Users\admin\10\config\config.vdf' successfully
[2021-08-03 13:19:47] Failed to read store 'userlocal' from 'E:\TCAFiles\Users\admin\10\config\localconfig.vdf.tmp'
[2021-08-03 13:19:48] Flushed store 'install' to 'E:\TCAFiles\Users\admin\10\config\config.vdf'


[2021-08-03 13:46:19] Loaded store 'install' from 'E:\TCAFiles\Users\admin\10\config\config.vdf' successfully
[2021-08-03 13:46:20] Flushed store 'install' to 'E:\TCAFiles\Users\admin\10\config\config.vdf'
[2021-08-03 13:46:20] Failed to read store 'userlocal' from 'E:\TCAFiles\Users\admin\10\config\localconfig.vdf.tmp'

[2021-08-03 13:46:19] Loaded 1 apps from install folder "E:\TCAFiles\Users\admin\10\steamapps\appmanifest_*.acf".
 


[2021-07-24 10:50:55] [AppID 892970] CAPIJobStoreUserStats::BInit() - no stats found, aborting


[2021-08-03 12:33:03] [AppID 892970] CAPIJobStoreUserStats::BInit() - no stats found, aborting

Link to comment
Share on other sites

The only thing I can think of is that you've made the portforward for the incorrect local IP. Make sure that they're also opened as incoming ports.

Also, check that your Windows firewall is disabled for public, private and domain.

Link to comment
Share on other sites

Just now, Dennis said:

The only thing I can think of is that you've made the portforward for the incorrect local IP. Make sure that they're also opened as incoming ports.

Also, check that your Windows firewall is disabled for public, private and domain.

image.png.311bf6922866c7f7f99ce1ab7b0c9f5a.png

I will look around some more and see but it is all pretty much open, well I sure it was.

Link to comment
Share on other sites

6 hours ago, Ebarker said:

image.png.311bf6922866c7f7f99ce1ab7b0c9f5a.png

I will look around some more and see but it is all pretty much open, well I sure it was.

I am not certain what is going on, but I took a barebones server placed it on another server, not a TCAdmin one, and used the same ports and it works. I do notice I am running the beta of TCAdmin and I wonder if something is going on. Maybe?

I run a netstat -an and I see no ports being opened for this server. Something is very odd.

 

Link to comment
Share on other sites

TCAdmin will not interfere with traffic. TCAdmin will simply just start it how you tell it to.

You still have the option to start the service manually outside of TCAdmin - but I can almost guarantee that it won't work either 😅
It's worth a try, though, and you might come closer to a solution.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Who's Online   0 Members, 0 Anonymous, 98 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use