Hi there,
First: mods, I hope this is the right forum, as I did not see a Q&A forum for mods.
I am working on an extension to civ. I do not want to say too much about it right now as it is in a pretty early stage and its just seeing if i can pull it off.
Now what I need is the following: in multiplayer i need to have one computer, could be the host, generate a unique ID (say a GUID) and that ID should be available to other human players in the game.
I have tried looking into the setCustomMapInfo() method but it does not seem to entirely do the trick (As far as i can see: it just returns an index and it expects the computer on the other end to have the exact same map)
What would be the best way to go about this? Is there something like a unique game ID for each generated multiplayer game I can access? That would be ideal.
First: mods, I hope this is the right forum, as I did not see a Q&A forum for mods.
I am working on an extension to civ. I do not want to say too much about it right now as it is in a pretty early stage and its just seeing if i can pull it off.
Now what I need is the following: in multiplayer i need to have one computer, could be the host, generate a unique ID (say a GUID) and that ID should be available to other human players in the game.
I have tried looking into the setCustomMapInfo() method but it does not seem to entirely do the trick (As far as i can see: it just returns an index and it expects the computer on the other end to have the exact same map)
What would be the best way to go about this? Is there something like a unique game ID for each generated multiplayer game I can access? That would be ideal.