- Home /
Question by
Deel · Aug 06, 2013 at 07:12 PM ·
multiplayerservermasterserverport
I see Servers in my Serverlist, which are not from my Game
Hello, i see servers in my list, which are not from me / my Game. Has anyone an idea, how i can fix that? I've already changed the port, but it didnt work.
My code, where, my game searchs for open games
if(GUI.Button (new Rect(0,40,200,40),"Refresh"))
{
MasterServer.RequestHostList(gameMode);
}
Serverstarting
public void StartServer(string servername, string serverpassword, int maxusers)
{
MatchName = servername;
MatchPassword = serverpassword;
MatchMaxUsers = maxusers;
Network.InitializeServer(MatchMaxUsers,2550,false);
MasterServer.RegisterHost("DeathMatch",MatchName,"");
//Network.InitializeSecurity();
}
Greetings
Comment
Best Answer
Answer by Bunny83 · Aug 06, 2013 at 07:15 PM
Well, I would say "Deathmatch" isn't really a unique game identifier, don't you think?
You need to use your own game identifier. The master server is used be hundreds of games and only the game identifiers tells them apart
Your answer
Follow this Question
Related Questions
Unity networking tutorial? 6 Answers
Master Server Explanation? 0 Answers
What is master server in unity is it okay to use it in my multiplayer?? 1 Answer
master server and server in one computer 0 Answers