Author Topic: Looping add server  (Read 1847 times)

ibaanb

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 0
  • Posts: 17
    • View Profile
Looping add server
« on: October 09, 2014, 03:11:51 AM »
I use this code

  1. TNServerInstance.Start (int tcpPort, int udpPort, string fileName, Type type, IPEndPoint remoteLobby).
  2.  

and I get this in server console image in attachment.

And if this problem occur because UDPLobby so how to open TCPlobby?
« Last Edit: October 09, 2014, 04:53:48 AM by ibaanb »

Alphavladim

  • Newbie
  • *
  • Thank You
  • -Given: 3
  • -Receive: 2
  • Posts: 4
    • View Profile
Re: Looping add server
« Reply #1 on: October 09, 2014, 07:11:21 AM »
See this : http://www.tasharen.com/forum/index.php?topic=11386.msg53013#msg53013 .
I had the same question. Is because you use UDP, not TCP.

To open TCP Server :
  1.         TNServerInstance.serverName = "My Server";
  2.         TNServerInstance.Start(5127, 0, null, TNServerInstance.Type.Tcp,
  3.             Tools.ResolveEndPoint("your.lobbyServer.com:5129"));

To open TCP Lobby :
  1. TNServer.exe -name "Lobby Server" -tcpLobby 5129
Open cmd, cd /pathtoserver.exe then paste the code above.