[modified post to make it more clear]If you Want to use the Starlink Kit with an Amazon Lobby Server:
1: register here, it is free
http://aws.amazon.com/fr/free/2: open the port for tnet in the amazon server management section
3: send your tnet server to the amazon server( I did it using dropbox, and disabling all security)
4: run it it should display an external IP for the lobby
In the scene:
5: add your amazon server IP
_Network Manager
TCP Lobby : changed the ip to my amazon server ( I am correct its not the UDP one ? udp shoud be left blank for lan ?)
then I click on internet: Server list: Searching... not yet finished
it seems that the internet panel is not finished in the kit.
@ ArenMook, is it possible to make an update to the package and add the possibility to do same like in the LAN section:
Create a chanel( add our channel to the internet lobby server ) or click on a chanel to join( request chanel list on our internet lobby server ip)so we just have to put the IP of our server and ..activate the internet collider.
it would be awesome if you could use the same menu from the LAN window to select internet lobby channel or create game here
maybe this could work:
On
"Window Internet" add the component
"UICreateServer" to make it behave like the
"Window LAN" component
then we need to duplicate the component required from
"Window LAN":
-Button - Start
-the label inside the button that will change start/stop value
-the server name UIImput
just do control + D, move them into "Window Internet" panel and assign the public field variable with them.
then It almost work ! the server register in the Lan lobby.
But i believe there is something to change here:
UICreateServer.cs
void OnButtonClick (GameObject go)
{
if (!TNServerInstance.isActive)
{
TNServerInstance.serverName = string.IsNullOrEmpty(serverName.value) ? "LAN Server" : serverName.value;
TNServerInstance.Start(5127, 0, null, 5129);
UpdateButtonText();
}
else
{
TNServerInstance.Stop();
UpdateButtonText();
}
}
void OnNameChange ()
{
TNServerInstance.serverName = string.IsNullOrEmpty(UIInput.current.value) ? "LAN Server" : UIInput.current.value;
}
void UpdateButtonText ()
{
buttonText.text = Localization.Localize(TNServerInstance.isActive ? "Stop" : "Start");
}
}
this currently only work for LAN
now i changed it to
void OnButtonClick (GameObject go)
{
if (!TNServerInstance.isActive)
{
TNServerInstance.serverName = string.IsNullOrEmpty(serverName.value) ? "LAN Server" : serverName.value;
if(!internet)
{
TNServerInstance.Start(5127, 0, null, 5129);
}
else{
TNServerInstance.Start (5129,5129,null,TNServerInstance.Type.Tcp,TNet.Tools.ResolveEndPoint (lobbyServ,5129));
}
UpdateButtonText();
then my amazon lobby server flood this line when i create a server every 7 seconds:
<ip>:<some port> has connected
<ip>:<some port>has timed out
<ip>:<some port> has disconnected