Thanks for pointing this out, but that was my intention (code is ready btw, need more testing thought).Tobi wrote:BrainDamage pointed out that for this to work Spring probably would have to send the generated script.txt over the network.
This will be enabled for every game (because every game will have a setupscript then).Tobi wrote:This would give opportunity to also do this for normal games, except for the few variables that must differ per player.
Player number with optional name (and a warning when its not set) sound reasonable. Player number have to be the one shown in the lobby, reordering will happen at the server's (engine) side.Tobi wrote:The advantage is that then lobbies don't need to sync 100%, since what the host lobby thinks the settings are, will get used. Lobby clients that only joined battle wouldn't need to write more in script then HostIP, HostPort, and MyPlayerNum (or name, for more robustness wrt player/team/allyteam reordering?)