desync in multiplayer when attempting to print tables

Bugs that are actually features.
Simcra
Long Handed Inserter
Long Handed Inserter
Posts: 76
Joined: Wed Apr 06, 2016 6:05 am
Contact:

desync in multiplayer when attempting to print tables

Post by Simcra »

using the following command, or any command that returns a table inside of the print function causes a desync in multiplayer.
/c game.get_player("Simcra").print(tostring(game.get_player("Simcra").position))
Rseding91
Factorio Staff
Factorio Staff
Posts: 15900
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: desync in multiplayer when attempting to print tables

Post by Rseding91 »

You're printing the address of the table which isn't unique - just don't do that and you'll be good to go :)
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Not a bug”