Tasharen Entertainment Forum
Support => TNet 3 Support => Topic started by: Noi14 on January 30, 2014, 04:57:10 AM
-
Hello,
I'm using TNet for an app in unity. So now I want to put my Tnetserver on my dedicated server in order to do multiplayer version of the game. When I put my TnetServer online I don't understan how to prevennt other apps to connect in that server. I want to prevent that anyone can connect to it. Maybe I think I need authentication in order to connect.
-
Give it a unique version number in TNet.Player. That would be the easiest thing to do. If the client's and server's version numbers don't match, TNet aborts the connection right away.
-
Thank for your fast reply.
Is there a tutorial for this?
I'm new with unity and TNet and I don't understand how to do
-
Just open TNPlayer.cs and modify the version number. You'll need to recompile the server afterwards.