[0.16.5] desync

Place to get help with not working mods / modding interface.
Post Reply
User avatar
Nexarius
Filter Inserter
Filter Inserter
Posts: 271
Joined: Sat May 09, 2015 7:34 pm
Contact:

[0.16.5] desync

Post by Nexarius »

I'm not using any mods.
I was disconnected from the server and when I tried to reconnect I got this. (second reconnect worked)
Image
desync-report-2017-12-18_14-38-42.zip

Twinsen
Factorio Staff
Factorio Staff
Posts: 1330
Joined: Tue Sep 23, 2014 7:10 am
Contact:

Re: [0.16.5] desync

Post by Twinsen »

The desynced part is custom-gui elements related to the Message of the day added by the server script.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13202
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.16.5] desync

Post by Rseding91 »

As Twinsen said the script you're using is causing the desync. It's not written correctly in that it's storing mutable data outside the global table which means it's not saved and restored when someone joins the server.

I'm going to move this to modding help.
If you want to get ahold of me I'm almost always on Discord.

User avatar
Nexarius
Filter Inserter
Filter Inserter
Posts: 271
Joined: Sat May 09, 2015 7:34 pm
Contact:

Re: [0.16.5] desync

Post by Nexarius »

It's not my server and not my script so I can't do anything.

User avatar
distortions864
Fast Inserter
Fast Inserter
Posts: 108
Joined: Thu Apr 20, 2017 12:56 am
Contact:

Re: [0.16.5] desync

Post by distortions864 »

I'll take a look at it tonight.
I think that was code I used from someone else.

(Server owner)

Post Reply

Return to “Modding help”