Page 1 of 1

Desync when running specific /c command

Posted: Sat Aug 12, 2017 3:39 pm
by BenSeidel
HI,
don't know if it's a "bug", but running this command causes everyone to desync (much to my amusement)

/c for c in game.player.surface.get_chunks() do game.player.print(tostring(c)) end

Re: Desync when running specific /c command

Posted: Sat Aug 12, 2017 5:25 pm
by Rseding91
Thanks for the report however you're printing the address of tables - which isn't deterministic.

Don't do that if you don't want it to desync :P

Re: Desync when running specific /c command

Posted: Sat Aug 12, 2017 5:29 pm
by impetus maximus
are clients able to do this on a server to grief others? :?

Re: Desync when running specific /c command

Posted: Sat Aug 12, 2017 5:32 pm
by Klonan
impetus maximus wrote:are clients able to do this on a server to grief others? :?
Commands are generally not enabled for non-admins in servers

If they are, they are basically welcoming any griefing or cheating

Re: Desync when running specific /c command

Posted: Sat Aug 12, 2017 6:05 pm
by impetus maximus
Klonan wrote:
impetus maximus wrote:are clients able to do this on a server to grief others? :?
Commands are generally not enabled for non-admins in servers

If they are, they are basically welcoming any griefing or cheating
cool. thanks :)