[0.17.62] Desync Report Character variation

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
User avatar
Muppet9010
Filter Inserter
Filter Inserter
Posts: 278
Joined: Sat Dec 09, 2017 6:01 pm
Contact:

[0.17.62] Desync Report Character variation

Post by Muppet9010 »

When I look at a desync report I've noticed that for a non broken mod there is variation in the reference and desynced script.dat files. It looks to be a serialisation variation that I don't recall ever noticing in older Factorio versions (early 0.17 or maybe 0.16).
Not sure if it matters but the server is linux and the client is windows. Although I'd assume the serialisation is done entirely client side.

Its a table of tables (burners of burner_details) and in reference there is no key for the burners table, but in desync there is a key given.

reference (mp-save-02) has:

Code: Select all

mod-Burner-Leechÿ1™ do local _={burners={{entity={magic="802384732948701238470123",type=0x0p+0,entitytarget=0xd.6p+4},position={y=-0x3.68p+4,x=-0x3.88p+4},force={magic="802384732948701238470123",type=0x5p+0,forceid=0x1p+0},surface={magic="802384732948701238470123",type=0x1.9p+4,surfaceindex=0x1p+0}}}
desync has:

Code: Select all

mod-Burner-Leechÿu¶ do local _={burners={[0x1p+0]={entity={magic="802384732948701238470123",type=0x0p+0,entitytarget=0xd.6p+4},position={y=-0x3.68p+4,x=-0x3.88p+4},force={magic="802384732948701238470123",type=0x5p+0,forceid=0x1p+0},surface={magic="802384732948701238470123",type=0x1.9p+4,surfaceindex=0x1p+0}}}
in "desync" the extra serialisation is: {burners={[0x1p+0]={
Last edited by Muppet9010 on Mon Aug 05, 2019 10:06 pm, edited 1 time in total.

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.17.62] Desync Report Character variation

Post by Klonan »

Is there a question you are looking to be answered?

Also when checking for a desync, only the contents of `level-heuristic` is compared,
It is best to search for any root cause by checking the diff of level heuristic first

User avatar
Muppet9010
Filter Inserter
Filter Inserter
Posts: 278
Joined: Sat Dec 09, 2017 6:01 pm
Contact:

Re: [0.17.62] Desync Report Character variation

Post by Muppet9010 »

is the variation in serialisation expected/accepted or is it a bug?

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

Re: [0.17.62] Desync Report Character variation

Post by Rseding91 »

The script variations are almost always triggered by variations in the game logic. They never trigger the desync system so it's always in level-heuristic as Klonan says.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Technical Help”