Page MenuHomeSchine - Phabricator

Starmade | Settings reset when starting a dedicated server
Closed, FinishedPublic

Description

The settings often don't save. Requiring me to go through the graphics settings and re-set resolution, fps limit etc.

Details

Task Type
Bug
Testing Results
Affected Gamemode(s)
Serverside
Reproducible
Yes
Last tested (version)
0.199.143
Category
Engine
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
Intel
Video Card Model
Intel Iris Pro
User/Reporter/Contact
Username on Registry
Sethroph
Steps to reproduce
  1. start game and change the settings to change the settings.cfg
  2. end game and save the settings.cfg
  3. start a dedicated server
  4. compare the settings.cfg now - the server start did reset them to default
Tester information (Internal use only)

putting on release blocker because this can infuriate player unaware of the problem.

Serverconfig (server.cfg)
<replace this line with the file content>
Clientconfig (settings.cfg)
<replace this line with the file content>

Event Timeline

SmilingDemon shifted this object from the S1 Public space to the S3 Starmade space.Jul 16 2016, 6:13 PM
SmilingDemon changed the visibility from "Custom Policy" to "Public (No Login Required)".
SmilingDemon changed the edit policy from "Task Author" to "Starmade (Project)".
SmilingDemon claimed this task.
SmilingDemon triaged this task as Normal priority.

-Feedback-

not a general issue

please get us a Log.txt.0 file of a game session
and what OS are you using?
are you using the new Beta Launcher ?

Sethroph added a comment.EditedJul 16 2016, 6:54 PM

I'm using El Capitan and the log is below:

please just delete that log insert and drag and drop the whole file into the posting ... do not copy paste the content

Croquelune added a comment.EditedJul 17 2016, 8:39 AM

It's happen to me with 100% chance each time I use the starter.exe (old launcher) for launch "dedicated server" and then open another starter.exe for launching the game. While in game all my settings and keyboard shortcut are reset. So it's both settings.cfg and keyboard.cfg which are impacted. I'll bring the log next time I'll launch my private MP.

Valck added a subscriber: Valck.EditedJul 17 2016, 3:45 PM

That's to be expected, as both the server process and the client do write the config files, even if nothing has changed. Whoever goes last, wins.
As a workaround, have two installations, one for the server, one for the client.

As a suggestion for a possible solution, the server should keep its settings in the respective world directories; that would also allow several universes with different settings. Ideally that should include the blueprints and custom config xml files as well.

In T1689#65957, @Valck wrote:

That's to be expected, as both the server process and the client do write the config files, even if nothing has changed. Whoever goes last, wins.
As a workaround, have two installations, one for the server, one for the client.
As a suggestion for a possible solution, the server should keep its settings in the respective world directories; that would also allow several universes with different settings. Ideally that should include the blueprints and custom config xml files as well.

Don't think it was expected since it never occured before in versions pre 0.198~.
I could launch 2 time the same starter without any config problems.

Actually I work around by launching the "Dedicated server" (==> reset all configs), so copy-paste back-up .cfg in files again and start "Start play" phase. It solve the problem without have 2 installations for the same server. But it still annoying to have to do that now while it wasn't required before.

-Validated-
-Confirmed-

@Sethroph .. your logfile is from a server start. so i do assume its the same effect as Croquelune described, where the dedicated server start wipes the settings.cfg back to default. i too cant remember that that was ever the case.

SmilingDemon edited Tester information (Internal use only). (Show Details)
SmilingDemon changed Affected Gamemode(s) from Single and Multi to Serverside.
SmilingDemon changed Reproducible from uncertain to Yes.
SmilingDemon changed Last tested (version) from 0.198.477 to 0.198.479a.
SmilingDemon changed Category from Launcher to Engine.
SmilingDemon changed the task status from Open to In Queue (Game).
SmilingDemon raised the priority of this task from Normal to Release Blocker.
Restricted Application edited projects, added Game Development; removed Issue Navigation. · View Herald TranscriptJul 17 2016, 9:49 PM
Restricted Application added a subscriber: AndyP. · View Herald Transcript
SmilingDemon changed Last tested (version) from 0.198.479a to 0.199.125 (DEV).Jul 30 2016, 4:29 PM
lancake renamed this task from Settings Don't Save to Settings reset when starting a dedicated server.Aug 9 2016, 5:53 PM
schema added a subscriber: schema.Aug 10 2016, 4:25 PM
schema changed the task status from In Queue (Game) to Resolved.

Reproduced settings.cfg reset (server indeed wrote to it). Wasn't able to reproduce keyboard.cfg however, and double checked that the server is in fact not reading or writing that.

Restricted Application edited projects, added Quality Assurance; removed Game Development. · View Herald TranscriptAug 10 2016, 4:25 PM
lancake added a subscriber: lancake.
lancake closed this task as Closed.

-QA Testing-

Back when I checked this issue, I only had it happen to settings.cfg and my keyboard.cfg was just fine. It's easy to notice if that ever resets since I'm using an azerty layout.

Either way, settings are fine now.

Restricted Application removed a project: Quality Assurance. · View Herald TranscriptAug 11 2016, 1:50 PM
Restricted Application removed a subscriber: AndyP. · View Herald Transcript
lancake changed Last tested (version) from 0.199.125 (DEV) to 0.199.143.Aug 11 2016, 1:50 PM
Restricted Application added a project: Engine. · View Herald TranscriptMar 10 2017, 6:10 PM