[0.14.21] Desync related to luaplayer.build_from_cursor()

This subforum contains all the issues which we already resolved.
Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

[0.14.21] Desync related to luaplayer.build_from_cursor()

Post by Nexela »

The below mod will desync if the on_built_event is raised by build_from_cursor()

After installing the mod just right click somewhere on the map.
See comments in hot key event
Raising the custom event from the command line or
Commenting out the build_from_cursor() line and uncommenting any of the game.raise event lines will not cause desyncs
on_built_entity
custom_event
hot_key
/c game.raise_event(remote.call("autorun", "get_id"), {player_index=game.player.index, position={x=5,y=0}})
Attachments
autorun_0.0.2.zip
(51.36 KiB) Downloaded 45 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 16000
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.14.21] Desync related to luaplayer.build_from_cursor()

Post by Rseding91 »

Ah yes, build_from_cursor should not be there. It was added for making the trailer but it's not MP safe.

I'll be removing it for 0.15.
If you want to get ahold of me I'm almost always on Discord.
Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

Re: [0.14.21] Desync related to luaplayer.build_from_cursor()

Post by Nexela »

Well booo, Looks like I will have to rethink how to handle this :)
Post Reply

Return to “Resolved Problems and Bugs”