Page 1 of 1

[0.13.1] Rail signal causes desync when placed on tight spot

Posted: Wed Jun 29, 2016 8:51 pm
by Sauerkraut
Hello Factorio Staff and Moderators,

I was playing online with a friend without problems until we built our first train intersection, where a desync occurred. A few junctions later, we figured out the reason. Should be pretty easy to reproduce, however, in some rare cases and when rotating too much no desync occurred:

>be client on a server
>find a spot where a rail signal can attach to more then one rail:
Image
>select signal, hover over said spot, now rotate until it connects to the non-default rail
>place signal:
Image
[at this point client and host should see the signal connected to two different rails]
>deconstruct signal BAM desync:
Image
>after redownloading the map, the signal is now attached to the same rail as the host saw it:
Image

Greetings,
- Sauerkraut

EDIT: Desync report.

Re: [0.13.1] Rail signal causes desync when placed on tight spot

Posted: Wed Jun 29, 2016 9:49 pm
by Klonan
Thanks for the report,

This seems like a pretty clean cut case

Re: [0.13.1] Rail signal causes desync when placed on tight spot

Posted: Wed Jun 29, 2016 9:57 pm
by Rseding91
Indeed. I can see in the code what's wrong and I believe it should be fixed for 0.13.2.