Location of display, what in shows and how it shows it are configurable from within game, see configuration spoiler for details.
Mod can be removed at any time and it will not left any orphan gui elements.
Nova wrote:Does that work with 0.11.6?
I think yes, factorio 0.11.6 only are big changes in multiplayer.Nova wrote:Does that work with 0.11.6?
It's running fine with 0.11.6 for me, after modifying the folder name.Nova wrote:Does that work with 0.11.6?
well the obvious issue is that game.player can not be used in MP with more than 1 player, you have to use the game.players table (and either a loop or a playerindex from player-related events, other than onputitem). game.players is also available in single player (just it'll never have more than one player) so there doesn't need to be separate code for each either.Frostea wrote:Ack, I don't have a second system to test multiplayer functionality. Can you post the error? Might be able to dig out something that works.
Code: Select all
function printToAll(msg)
for _, player in ipairs(game.players) do
player.print(msg)
end
end