Dedicated Server -c Config File

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
rygrass
Engineer
Engineer
Posts: 2
Joined: 21 Apr 2017 14:42

Dedicated Server -c Config File

Post by rygrass »

Hi

Seems after updating to 1.8.0 I am having issues with loading config files on a Dedicated Server

Current Setup as follows with the following files

C:\Users\Administrator\Documents\OpenTTD

Openttd.cfg https://pastebin.com/EJp5JLHv
openttd2.cfg https://pastebin.com/2g4rFVXh


C:\Program Files\OpenTTD

With two shortcuts Created

openttd.exe
"C:\Program Files\OpenTTD\openttd.exe" -D
"C:\Program Files\OpenTTD\openttd.exe" -D -c openttd2

Let's call openttd Server one and Openttd2 Server two

If I load Server one seems to load the config file with no issues that I have created

If I load Server Two it loads some other config file ( Nothing related to the one I have created and the server gets called "unnamed server" loads 256 X 256 map size etc.... )

The current setup I had was working fine in 1.7.2 but seems after upgrading something has changed am I missing something?
agentw4b
Traffic Manager
Traffic Manager
Posts: 216
Joined: 14 Apr 2017 15:51
Location: Czech Republic

Re: Dedicated Server -c Config File

Post by agentw4b »

rygrass wrote:Hi

Seems after updating to 1.8.0 I am having issues with loading config files on a Dedicated Server

Current Setup as follows with the following files

C:\Users\Administrator\Documents\OpenTTD

Openttd.cfg https://pastebin.com/EJp5JLHv
openttd2.cfg https://pastebin.com/2g4rFVXh


C:\Program Files\OpenTTD

With two shortcuts Created

openttd.exe
"C:\Program Files\OpenTTD\openttd.exe" -D
"C:\Program Files\OpenTTD\openttd.exe" -D -c openttd2

Let's call openttd Server one and Openttd2 Server two

If I load Server one seems to load the config file with no issues that I have created

If I load Server Two it loads some other config file ( Nothing related to the one I have created and the server gets called "unnamed server" loads 256 X 256 map size etc.... )

The current setup I had was working fine in 1.7.2 but seems after upgrading something has changed am I missing something?

I do not know how it is in OS Windows, but in OS Ubuntu I run multiple openttd instances under several user accounts.
Each user account has a different version of openttd.cfg in its home directory and uses other directories.
If it's a network game, it's still necessary to set up other network ports in each version of openttd.cfg.
Owner and admin of servers with names "Experimental games" .
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
rygrass
Engineer
Engineer
Posts: 2
Joined: 21 Apr 2017 14:42

Re: Dedicated Server -c Config File

Post by rygrass »

not sure what has happen but it seems something has changed in 1.8.0?

Moved the config files into the main Dir C:\Program Files\OpenTTD

Now i am able to load more than one dedicated server.
agentw4b
Traffic Manager
Traffic Manager
Posts: 216
Joined: 14 Apr 2017 15:51
Location: Czech Republic

Re: Dedicated Server -c Config File

Post by agentw4b »

rygrass wrote:not sure what has happen but it seems something has changed in 1.8.0?

Moved the config files into the main Dir C:\Program Files\OpenTTD

Now i am able to load more than one dedicated server.
I have still configuration files openttd.cfg in C:\Users\User\Documents\Openttd
Owner and admin of servers with names "Experimental games" .
My heightmaps: Flat Earth Map and United nations logo
My scenarios: Game Fallout 1,2,3 Map scenario
My gamescripts: City Founder GS
Eddi
Tycoon
Tycoon
Posts: 8271
Joined: 17 Jan 2007 00:14

Re: Dedicated Server -c Config File

Post by Eddi »

have you tried setting the working directory to where openttd2.cfg is stored?
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: No registered users and 12 guests