I used the following code on my factorio client while I was connected to my factorio server. My client has admin permissions.
The client and server has no mods installed.
Code: Select all
/c count = 0 for k,v in pairs(game.players) do if (v.connected) then count = count + 1 end end game.write_file("./", "", false, count)
Code: Select all
/c
count = 0
for k,v in pairs(game.players) do
if (v.connected) then
count = count + 1
end
end
game.write_file("./", "", false, count)
Desync after pressing enter.
What did you expect to happen instead?
The game creates a file on the client/server or throws a error that files can't be written to client/server.
Write down the steps to reproduce the bug if you know them.
Execute the above code and the desync happens.
Does it happen always, once, or sometimes?
Happens always.
Download desync report
http://bcserv.eu/downloads/desync-report.zip