- Home /
Hamachi and Unity?
Hello everybody, I am creating my mmorpg and its coming along pretty well, but I don't like using the Unity MasterServer, so does anyone know how to link up Unity with LogmeinHamachi? Thanks.
Answer by Razacx · Oct 15, 2012 at 08:00 PM
You don't need to bind your hamachi ip to the server.
Doing this:
Network.InitializeServer(32, 25000, false); will create a server on port 25000 that doesn't use nat punchtrough and allows a maximum amount of 32 connections.
After you've done this you can simply enter your hamachi ip and the port(25000) into your client to connect to the server:
Network.Connect("hamachi ip here", 25000);
Those are the basics, I suggest you look trough this: http://docs.unity3d.com/Documentation/ScriptReference/Network.html for learning some more about networking.
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Remote access of Unity Asset Server? 3 Answers
Port not opening? 3 Answers
Unity + Smart Fox Server 2x 2 Answers
Question about AI in MMORPG 1 Answer