hosting a dedicated server

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

Re: hosting a dedicated server

#11 Post by Vojtech Hladík » 08 Dec 2022 18:47

In game home folder, there should be server.log.txt (at the same location there should be those generated files).
Please send me private message with this file (or its content).
freedline
Posts: 57
Joined: 19 Oct 2021 21:54

Re: hosting a dedicated server

#12 Post by freedline » 08 Dec 2022 19:15

freedline wrote: 08 Dec 2022 18:40
Vojtech Hladík wrote: 08 Dec 2022 18:25

There is server_readme.txt :). (In steamapps\common\American Truck Simulator Dedicated Server\server_readme.txt)

Anyway you are missing game configuration (map, dlc list, mod list). This can be exported from your game (to mirror your setup).

In config.cfg enable set g_console.
When game is running press `~` to open console and run `export_server_packages` or `export_server_packages destination file` command. server_packages.sii will be generated in the game home folder. It is necessary for map to be loaded when this command is called.
:)
Thanks.
Files created.
The error is the same...
Not "starting" correctly?!?
No "server_config.sii".
How is it created?
(See? Another post?...)
Sorry.I do not understand.
Would it be that complicated to start the server?
freedline
Posts: 57
Joined: 19 Oct 2021 21:54

Re: hosting a dedicated server

#13 Post by freedline » 08 Dec 2022 19:19

server.log.txt Unfortunately, it is not in the game folder.
Only the server package dat...sii
Vojtech Hladík
SCS Software
Posts: 177
Joined: 01 May 2021 14:30

Re: hosting a dedicated server

#14 Post by Vojtech Hladík » 08 Dec 2022 19:23

freedline wrote: 08 Dec 2022 19:19 server.log.txt Unfortunately, it is not in the game folder.
Only the server package dat...sii
Mac/Linux/Windows?
freedline
Posts: 57
Joined: 19 Oct 2021 21:54

Re: hosting a dedicated server

#15 Post by freedline » 08 Dec 2022 19:24

Vojtech Hladík wrote: 08 Dec 2022 19:23
freedline wrote: 08 Dec 2022 19:19 server.log.txt Unfortunately, it is not in the game folder.
Only the server package dat...sii
Mac/Linux/Windows?
Windows 10
ralph_l084
Posts: 139
Joined: 07 May 2019 18:43

Re: hosting a dedicated server

#16 Post by ralph_l084 » 08 Dec 2022 19:24

Thanks I got it working, but how do you add moderators in the server_config it says 0 now?
Vojtech Hladík
SCS Software
Posts: 177
Joined: 01 May 2021 14:30

Re: hosting a dedicated server

#17 Post by Vojtech Hladík » 08 Dec 2022 19:28

ralph_l084 wrote: 08 Dec 2022 19:24 Thanks I got it working, but how do you add moderators in the server_config it says 0 now?
moderator_list: 1
moderator_list[0]: 123456789

where 123456789 is moderator steam id
Vojtech Hladík
SCS Software
Posts: 177
Joined: 01 May 2021 14:30

Re: hosting a dedicated server

#18 Post by Vojtech Hladík » 08 Dec 2022 19:38

freedline wrote: 08 Dec 2022 19:24
Vojtech Hladík wrote: 08 Dec 2022 19:23

Mac/Linux/Windows?
Windows 10
c:\Users\XXX\Documents\Euro Truck Simulator 2\ (Or American) should be the location where server_packages.sii were generated. At same location there should game.log (log from normal game) and server.log (log from server, same thing you can see in console while server is running). If you have ever hosted any session from game, in your profile folder you should be able to find last_session_config.sii. That is the same config (so you can copy it and rename).
User avatar
supersobes
Global moderator
Posts: 13714
Joined: 07 Dec 2016 21:53
Location: Northern Virginia, USA
Contact:

Re: hosting a dedicated server

#19 Post by supersobes » 08 Dec 2022 19:43

I use the -homedir Steam parameter to redirect my game's home file directory to a different location other than the Documents folder. It seems that the dedicated server does not follow that as it created a new American Truck Simulator directory in Documents. Is there a way to get the dedicated server to see the home directory location that was set using -homedir?
freedline
Posts: 57
Joined: 19 Oct 2021 21:54

Re: hosting a dedicated server

#20 Post by freedline » 08 Dec 2022 19:49

Vojtech Hladík wrote: 08 Dec 2022 19:38
freedline wrote: 08 Dec 2022 19:24

Windows 10
c:\Users\XXX\Documents\Euro Truck Simulator 2\ (Or American) should be the location where server_packages.sii were generated. At same location there should game.log (log from normal game) and server.log (log from server, same thing you can see in console while server is running). If you have ever hosted any session from game, in your profile folder you should be able to find last_session_config.sii. That is the same config (so you can copy it and rename).
Thank you.
The game.log is there, the server.log is not.
Am I doing something wrong?...
Uppppp
The "homedir" redirect is there for me too.
Is that the problem then?
(comment by supersobes)
Post Reply

Return to “General discussion about the game”

Who is online

Users browsing this forum: oldmanclippy, Onagerlinn, sneg1784 and 12 guests