Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Alphavladim

Pages: [1]
1
TNet 3 Support / Re: UDP Lobby problems and some questions.
« on: October 10, 2014, 07:36:30 AM »
Thank you for your answers! I made an auth server using Tnet, by implementing custom packets.

Regarding answer #2:

Reading forums further, found out that using channels i can use a password to protect channel and get player number on that channel.
But can i limit player available spots for a channel ?

Some other questions:
Can i find out if a server is full ?
How can i get server list and adresses from lobby server ?
Also, what approach would you take in this case ?

Thanks again and i hope i didn't bother you with my questions!

2
TNet 3 Support / Re: Looping add server
« 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.

3
TNet 3 Support / Re: UDP Lobby problems and some questions.
« on: October 08, 2014, 02:24:47 PM »
Thanks. But how about my other questions ?
Thanks in advance !

4
TNet 3 Support / UDP Lobby problems and some questions.
« on: October 08, 2014, 05:47:13 AM »
First of all, i am a newcomer to TNet and pretty noob when it comes to networking.

I also have a script that creates a server in Start() function.
Also, in a game object, TNManager, TNUdpLobbyClient. Everything works fine, except of this :

  1. Local IPs: 1
  2.   1: 192.168.1.103 (Primary)
  3.  
  4. UPnP discovery failed. TNet won't be able to open ports automatically.
  5. Gateway IP:  None found
  6. External IP: 86.127.41.93
  7.  
  8. UDP Lobby Server started on port 5129
  9. Write 'stop' followed by ENTER to stop the server instance.
  10.  
  11. 86.127.41.93:61950 added a server (192.168.1.103:5127, 86.127.41.93:5127)
  12. 86.127.41.93:61950 added a server (192.168.1.103:5127, 86.127.41.93:5127)
  13. 86.127.41.93:61950 added a server (192.168.1.103:5127, 86.127.41.93:5127)
  14. 86.127.41.93:61950 added a server (192.168.1.103:5127, 86.127.41.93:5127)
  15. 86.127.41.93:61950 added a server (192.168.1.103:5127, 86.127.41.93:5127)
  16. 86.127.41.93:61950 added a server (192.168.1.103:5127, 86.127.41.93:5127)
  17. 86.127.41.93:61950 added a server (192.168.1.103:5127, 86.127.41.93:5127)
  18. 86.127.41.93:61950 added a server (192.168.1.103:5127, 86.127.41.93:5127)
  19.  

Why are so many "ip added server" ? Lobby server is running on UDP, so Gameserver does.

I have some questions :
1. What is the difference between servers and channels ?
2. I want to make a simple multiplayer game, where people can create their "own" room.
    What should i do ? Let the player open a new server or open a new channel ?
3. What is the difference between udp lobby server and tcp one?
4. I want to make a login server. Where should i start ? What files should i look into ?
Sorry for the last question, i am pretty noob when it comes to networking :).

Thanks!

Pages: [1]