I want to build my own server,i have downloaded the MasterServer.exe and ConnTester.exe,and download
networking sample,How to start? I konw I have to run MasterServer.exe and ConnTester.exe on my server machine.
But I don’t konw which file i have to change?how to setup the networking sample?Shoud i have to make some change for MasterServer or ConnTester?
I realy need help.Thank you very much.Sorry my English.
The master server and con tester do not allow you to host a dedicated Unity game server if that is your intend.
They only allow you to host a master server for NAT Punchthrough and listing of currently available games.
Just put the master server on a machine of your choice and run it.
then when connecting to the masterserver in your script code, put your master server machine IP and port in, not the default one (which goes to Unity techs masterserver)
if you don’t use the direct connect guis you only need to change the later. But you also must change the IP there. It is not changed anywhere (default points to unity techs masterserver), which is why you don’t see it mentioned in the source.
but the script reference on masterserver will show you the possible fields
the masterserver class hardcoded default is unity techs own masterserver.
Please check the MasterServer class documentation in the scripting documentations to see how to point it to a different URL
My mates and i want to create a server(preferably using c++) that can comunicate with unity clients and run on linux. Is there a way to build a dedicated Unity game server, apart from the client?
If you use an alternative networking or directly UDP / TCP sockets, surely
but not through the unity networking at least without some work on the reverse engineering end to find out the specific consts used in raknet 3.0
EDIT: i’m not sure if i understood it correctly. So, if i use another networking or tcp/udp sockets, it’s possible. But if i want to use unity network, i have to do some reverse engineering. right?