Page 1 of 1

[0.16.28] [Updated] You are not an admin in a local game

Posted: Wed Mar 07, 2018 8:23 pm
by paules
Hi there,

I have an old game, which I started with 0.13, maybe 0.14. I converted it to 0.15 with version 0.15.40-0. When I now open the game in 0.16.28 I get the message 'You are not an admin' on certain actions in mods. When I execute /admins it shows an empty list. If I try to reproduce the problem with a new game in 0.16, my name shows up in the /admins command and the mods work.

Any help is appreciated

Paul

Re: You are not an admin in a local game

Posted: Wed Mar 07, 2018 8:46 pm
by impetus maximus
did you save this while playing multiplayer on someone else's game?

Re: You are not an admin in a local game

Posted: Thu Mar 08, 2018 8:17 am
by paules
No I didn't, I have never played this game in multiplayer. And I have other old saves that have exactly the same issue

Re: You are not an admin in a local game

Posted: Thu Mar 08, 2018 8:37 am
by paules
I have been able to reproduce this issue with a clean game, no mods.

I created a new game in Factorio 0.12.35. Updated factorio and opened it in Factorio 0.15.40 and hit save. Updated factorio once more and opened the save. The admins list is empty where if I create a new game in factorio 0.16.28 I am in the admin list.

If I install the ion cannon mod for example (and cheat, research all and enable cheat mode), and try to use it I get the message 'You are not an admin'. Doing the same in a new game created directly in factorio 0.16.28 results in beautiful explosions when using the ion cannon.

Re: [0.16.28] You are not an admin in a local game

Posted: Thu Mar 08, 2018 11:22 am
by chrisgbk
As a workaround you can load the map in the dedicated server, add yourself as admin from the console, which always has admin rights, and save.

Re: [0.16.28] You are not an admin in a local game

Posted: Thu Mar 08, 2018 12:57 pm
by paules
Although not trivial to perform, I can confirm this workaround works.

[edit]
Although I show up in the admins list the ion cannon mod still gives me the same message, that I am not admin. Something in the game state is not yet correct. I also ran /permissions reset without any result.

Re: [0.16.28] You are not an admin in a local game

Posted: Fri Mar 16, 2018 3:39 pm
by blueblue
As another potential workaround you could try to convert the save to a scenario and load the scenario. I didnt test this and it might mess with any mods that you used on the .12 save but it could be worth a try.

Re: [0.16.28] You are not an admin in a local game

Posted: Sat Mar 17, 2018 11:11 pm
by Rseding91
Ok, I've changed it so when loading a multiplayer map in single player it auto-promotes you to an admin for the next version of 0.16.

Re: [0.16.28] You are not an admin in a local game

Posted: Tue Mar 20, 2018 4:18 pm
by paules
Thanks for the quick change. I just tested it with 0.16.32 but the issue was not resolved.

The save games added to this thread have never been played in multiplayer modus and when I load the save game and type '/promote <user>' I get 'Can't run command (promote) - you're not an admin'.

Re: [0.16.28] You are not an admin in a local game

Posted: Tue Mar 20, 2018 9:13 pm
by Rseding91
paules wrote:Thanks for the quick change. I just tested it with 0.16.32 but the issue was not resolved.

The save games added to this thread have never been played in multiplayer modus and when I load the save game and type '/promote <user>' I get 'Can't run command (promote) - you're not an admin'.
Load the save in multiplayer mode once, save it, then load it in single player again and it will promote you.

Re: [0.16.28] [Updated] You are not an admin in a local game

Posted: Wed Mar 21, 2018 7:40 am
by paules
I will try this but I want to state that this issue occurs with any game created in an old version of factorio loaded into 0.16.

Re: [0.16.28] [Updated] You are not an admin in a local game

Posted: Wed Mar 21, 2018 7:45 am
by paules
I did the following:
Main menu -> Play -> Multiplayer -> Host saved game -> Selected my save and hit play

I let the game run a minute before saving the game under a new name.
Next I loaded the game:
Main menu -> Play -> Load game -> Selected my new save game hit load

In my new game I opened the console and entered:
/promote paules
And I again got 'Can't run ... you are not an admin

All this was done in Factorio 0.16.32 on MacOS 10.13.3. I can try the same procedure on a Windows 10 machine if there's a chance it will work on that OS.