hosting a dedicated server

Post Reply
Vojtech Hladík
SCS Software
Posts: 177
Joined: 01 May 2021 14:30

Re: hosting a dedicated server

#41 Post by Vojtech Hladík » 09 Dec 2022 00:06

b2soft wrote: 08 Dec 2022 23:48 I've created a server token using https://steamcommunity.com/dev/managegameservers
trying to log on using server_logon_token: heremytoken
and I have this log:

Code: Select all

[MP] Server init
[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
CAppInfoCacheReadFromDiskThread took 2 milliseconds to initialize
Setting breakpad minidump AppID = 227300
[MP] LogOn to persistent server account.
*** ERROR *** : [MP] Error: Steam log on failed.
quit
What am I missing? any specific port to be forwarded (I have 100,101,27015,27016, both tcp/udp forwarded + allowed in iptables)
Have you created token for game appID or server appID (should be game).
Virtual ports (100,101) do not require forwarding
b2soft
Posts: 4
Joined: 08 Dec 2022 23:45

Re: hosting a dedicated server

#42 Post by b2soft » 09 Dec 2022 00:11

Vojtech Hladík wrote: 09 Dec 2022 00:06 Have you created token for game appID or server appID (should be game).
Virtual ports (100,101) do not require forwarding
Ah, sorry. I created it for server. Made for game, works. Thanks
Zarklord
Posts: 9
Joined: 03 Oct 2021 22:36

Re: hosting a dedicated server

#43 Post by Zarklord » 09 Dec 2022 00:21

Sk3leCreeper wrote: 08 Dec 2022 23:53 Nevermind, works now.
How did you make this work, my server has the same issue...
freedline
Posts: 57
Joined: 19 Oct 2021 21:54

Re: hosting a dedicated server

#44 Post by freedline » 09 Dec 2022 00:25

Vojtech Hladík
Thanks for your help too. It works if I start it in the Steam client.
Also please tell me how to run it without STEAM.
User avatar
MoiraPrime
Posts: 43
Joined: 18 Aug 2018 04:33
Location: Mississippi, USA
Contact:

Re: hosting a dedicated server

#45 Post by MoiraPrime » 09 Dec 2022 00:48

I got one working locally, but I was just wondering, what's the format for the moderator list option? I see in the docs it needs to be steam ids, but I'm not sure how they should be formatted or which version of SteamID it should be.

Should it be classic SteamID (Example: STEAM_0:1:51819663), SteamID3 ([U:1:103639327]), or SteamID64 (76561198063905055)?

Also how do you format multiple steamIDs for this option?
Sk3leCreeper
Posts: 33
Joined: 05 Mar 2021 15:46

Re: hosting a dedicated server

#46 Post by Sk3leCreeper » 09 Dec 2022 00:56

Zarklord wrote: 09 Dec 2022 00:21
Sk3leCreeper wrote: 08 Dec 2022 23:53 Nevermind, works now.
How did you make this work, my server has the same issue...
Make sure if you are using optional mods, check that box on the server filters. Also use a steam server logon token. Besides that, just make sure that the ports are tcp/udp protocol forwarded.
deltapopa34
Posts: 1
Joined: 09 Dec 2022 02:44

Re: hosting a dedicated server

#47 Post by deltapopa34 » 09 Dec 2022 02:46

Can someone please put together a step by step guide or how to create a dedicated server in steam as I have the games
User avatar
PGTransport
Posts: 117
Joined: 11 Feb 2021 00:05
Location: Australia
Contact:

Re: hosting a dedicated server

#48 Post by PGTransport » 09 Dec 2022 03:17

:cry: Getting this Dedicated Server up and running is just too Hard. Too many hoops you have to jump thru. I give up. Over and out.
Die with memories, not dreams.
Vojtech Hladík
SCS Software
Posts: 177
Joined: 01 May 2021 14:30

Re: hosting a dedicated server

#49 Post by Vojtech Hladík » 09 Dec 2022 08:49

freedline wrote: 09 Dec 2022 00:25 Vojtech Hladík
Thanks for your help too. It works if I start it in the Steam client.
Also please tell me how to run it without STEAM.
- Use https://developer.valvesoftware.com/wiki/SteamCMD to download.
- Run directly amtrucks_server.exe from where it was installed. (with additional parameters like -homedir if neede).
Vojtech Hladík
SCS Software
Posts: 177
Joined: 01 May 2021 14:30

Re: hosting a dedicated server

#50 Post by Vojtech Hladík » 09 Dec 2022 08:58

Vojtech Hladík wrote: 08 Dec 2022 22:19
Salguero51 wrote: 08 Dec 2022 21:33 So, I downloaded the dedicated server using SteamCMD in Ubuntu 22.10. When I tried to launch the server using the server_launch.sh, it failed. I checked the file content and showed the path for macOS version. I had to edit the file to correctly lauch the server. Both Euro and American dedicated server files.

Here is both original and my edited file:

Code: Select all

steam@truckserver:~/ets2server$ cat server_launch.sh server_launch.sh.bak 
#!/bin/sh
exec ./bin/linux_x64/eurotrucks2_server
#!/bin/sh
open "./Euro Truck Simulator 2 Dedicated Server.app/Contents/MacOS/eurotrucks2_server"
Has anyone else had this problem?
Thank for reporting.
For linux there should be

#! /bin/sh
LD_LIBRARY_PATH='$ORIGIN/../../linux64' ./eurotrucks2

It handles location of steamClient.so when client is not installed.
Proper linux server_launch.sh is located nexto game binary
Post Reply

Return to “General discussion about the game”

Who is online

Users browsing this forum: Brothergun and 10 guests