As far as I've noticed, unless one explicitly clears the offline players (with game.remove_offline_players()), the player indices are consistent and saved with the map. Certainly, multiplayer games that I've saved and run locally have always maintained the exact same set of players in the exact same slots both during local play and when running the games as multi-player again.orzelek wrote:Player index might not work well for you.
If I understand correctly it's game dependent - so different person connecting to same multiplayer game could get settings of someone else that was in same slot earlier.
It's a bit of a guess - I'm not sure if that's exactly how player index works.
That said, I haven't tested with more than three players on a world -- it might potentially break down at some large number of players. I wouldn't expect it to, though.
In the case where remove_offline_players() was called and someone takes a previously-existing player's settings, that should still be fine, but it may be a good idea to provide a remote call to allow admins of servers running EvoGUI to clear out player settings altogether so they can be rebuilt.