OK, not a major problem, but every time I load factorio it asks me for my username & password. Am I doing something wrong ?
Z
Prompts for username & password every time
Re: Prompts for username & password every time
Please check if Factorio can properly write file named player-data.json in write directory (in appdata or game folder depending on install).
It should store your token there by default.
It should store your token there by default.
Re: Prompts for username & password every time
Should be able to.. it can create save files etc, and I'm in the admin group on the laptop.orzelek wrote:Please check if Factorio can properly write file named player-data.json in write directory (in appdata or game folder depending on install).
It should store your token there by default.
Z
Re: Prompts for username & password every time
Delete the player-data.json file, that might help. Factorio will recreate it at the next launch.
Re: Prompts for username & password every time
Actually creating a blank file which then get overwritten next time seemed to fix the problem. Thanks for your help, would never have known which file to look for otherwise.daniel34 wrote:Delete the player-data.json file, that might help. Factorio will recreate it at the next launch.
Z
Re: Prompts for username & password every time
And suddenly it's started prompting every time again.. OK, it's not a major thing, but a bit annoying. I have checked the player_data.json file, and the username field is blank, but the "service-token" has a value.Zarnoo wrote:Actually creating a blank file which then get overwritten next time seemed to fix the problem. Thanks for your help, would never have known which file to look for otherwise.daniel34 wrote:Delete the player-data.json file, that might help. Factorio will recreate it at the next launch.
Z
Z
-
- Manual Inserter
- Posts: 1
- Joined: Mon Jun 19, 2017 5:52 am
- Contact:
Re: Prompts for username & password every time
Hello,
i have currently the same problem. I already deleted my player-data.json. But the problem still exists. The service-username and service-token is filled with my username and the correct token (i tested the token with the linux mod updater script). Is there anything what i can do or must i wait until it was fixed by the devs?
Greetings Bootscreen
i have currently the same problem. I already deleted my player-data.json. But the problem still exists. The service-username and service-token is filled with my username and the correct token (i tested the token with the linux mod updater script). Is there anything what i can do or must i wait until it was fixed by the devs?
Greetings Bootscreen
Re: Prompts for username & password every time
i had issues on my PC recently with the config file being uneditable. i ended up having to repair special permissions on the game path.
my install path is c:\games\factorio. (this is not a proper user space so the OS wants to lock it down and prevent writes)
we change that from an elevated command prompt by altering the folder permissions to specifically allow admins and myself.
This command resets the folder as trusted. the OS will treat it as a user space and not require elevation to use it.
ICACLS "c:\games\factorio" /setintegritylevel (OI)(CI)H /t
now we need to add ourselves to the folder explicitly as well. my user name is "hurk"
This command adds to any existing permissions i have, or else adds otherwise. it grants special, full permissions for my user account. so that my user, without any elevation allows full read/write. to the folder, all files, and all sub folders.
icacls "C:\games\factorio" /grant:r Hurk:(f) /t
my install path is c:\games\factorio. (this is not a proper user space so the OS wants to lock it down and prevent writes)
we change that from an elevated command prompt by altering the folder permissions to specifically allow admins and myself.
This command resets the folder as trusted. the OS will treat it as a user space and not require elevation to use it.
ICACLS "c:\games\factorio" /setintegritylevel (OI)(CI)H /t
now we need to add ourselves to the folder explicitly as well. my user name is "hurk"
This command adds to any existing permissions i have, or else adds otherwise. it grants special, full permissions for my user account. so that my user, without any elevation allows full read/write. to the folder, all files, and all sub folders.
icacls "C:\games\factorio" /grant:r Hurk:(f) /t