I have setup several servers in -batchmode, and they regularly send information to a website by XMLRPC (IP, Port, Name, Scene…).
On the website Visitors are shown a Table of servers and can click Join to connect directly with the WebPlayer (via ExternalCall/SendMessage system).
But even though I post the public IP, the WebPlayer can’t connect to “IP:Port” (because servers use NAT).
AFAIK, if I post the GUID instead then the WebPlayer should be able to connect.
HOWEVER… I cannot find anything in the API to get the GUID of a local server.
In fact, the function MasterServer.RegisterHost(…) returns a VOID.
Can you please tell me if there is a (simple) way around this problem?
And if not, could you make the register function return the HostData of the newly registered server?
Thank you!
Moh.