Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starting a server clears the GamePassword field #49

Closed
AlienXAXS opened this issue May 25, 2017 · 7 comments
Closed

Starting a server clears the GamePassword field #49

AlienXAXS opened this issue May 25, 2017 · 7 comments

Comments

@AlienXAXS
Copy link

Steps To Reproduce:

  1. Set the Game Password in the Config section
  2. Start the game server
  3. Notice that the Game Password no longer exists.
@stuudmuffin
Copy link
Member

Checking

@stuudmuffin
Copy link
Member

I feel this may be a Factorio bug. The web control is saving the config file properly, but the server appears to be deleting it. Even tried manually changing via ssh. It is possible they have changed how server passwords work. Checking change logs.

@stuudmuffin
Copy link
Member

Submitted bug report https://forums.factorio.com/viewtopic.php?f=7&t=48534

@AlienXAXS
Copy link
Author

Weirdly it does not happen on my CentOS box... will check my Ubuntu box to just double check the findings.

@AlienXAXS
Copy link
Author

I have modified the settings file, added a game password.

Ran:
'/usr/share/factorio/0.15.13/bin/x64/factorio --start-server-load-latest --port 34291 -c /var/www/factorio/server1/config/config.ini --server-setting /var/www/factorio/server1/server-settings.json'

Closed the server, game password still exists...

@zackman0010
Copy link
Contributor

I remember this happening to me a while back. I thought I was just doing something wrong at the time.

@stuudmuffin
Copy link
Member

Found the issue. I hadn't used a password in so long or I might have cause it sooner. We used to only have two server settings on the web gui, name, and password. both were checked and updated at server launch. The password was blank by default. After moving the password change to a dedicated page, the old code was still in place to attempt to set the password on server star.

I have removed this, and now server password works as it should.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants