Search found 1 match

by Oiltanker
Wed Oct 26, 2016 1:20 pm
Forum: Multiplayer
Topic: Multiplayer desyncs
Replies: 0
Views: 625

Multiplayer desyncs

I found a way (crapy one) to implement the server-client logic to factorio using global table:

global.player_index = 0

local get_player_index = function()
global.player_index = global.player_index + 1
return global.player_index
end

and you need to execute this code for all (new) players ...

Go to advanced search