MasterServer Questions, Log Files, Config, Documentation

Hi,

After I downloaded, the newest available Unity3D MasterServer version (Game Development Software: Build a Multiplayer Game | Unity), I had to notice, that this is a very old build of the server. Is there a newer version available?

Anyways, I compiled the server with the Viusal Studio 2008 C++ compiler and noticed, that the server doesn’t create log files. I set the bool useLogFile = true; variable to true. Also on Linux (Debian 6 64 - bit) there is the same problem.
Where do I find these log file?

Has the MasterServer a configuration file or is everything hardcoded? Because I can’t find one. Otherwise I have to code that, shouldn’t be that time wasting.

Is there a good documentation about the MasterServer. A Documentation where it is precicely documentated, how the server exactly works, and where I have to modify it for my own uses?

Thank you.

realm_1

so what you are asking for is how to setup Master Server for your project, no prob, heres 2 links for you.

here
and here

Here

And here

Updated Links, these are the correct ones

No, I’m not asking for a “Tutorial designed for my specific desires”, I’m asking for a documentation of the Master Server, where is at least, in a overview described how the server works, meaning where I can find which variable and for what the mean functions are.

This documentation only should help me understanding the server without going through the code line by line to understand the server. I need this because I want to modify the server for my own needs.

I downloaded there the server and think, that their documentation is not detailed enough.
But thank you.

sry i dont play with external source code applications, but theres a ton of YouTube videos showing how to setup your own MasterServer. and yet do you need MasterServer functions and classes that can be worked inside or outside of unity?

Fixed Linked Again

no problem. I know how to set up the server, this is not the problem, although it is only compiling and running. What I want to do is modifing the server that:

  1. not every thing is hardcoded eg. port, ip, max connections (servers), … (although creating configuration files is not a problem, the problem is to find every hardcoded variable, where a documentation would come in)
  2. implement or expand other features, like account management (website (register), masterserver (authenticate))

and other stuff. This means I want my own masterserver, additionally because of uneeded dependencies from third party companies. And it’s kind of fun to make my own stuff.

additionally I may write the real gameserver also outside of Unity3D, maybe in C++ too, and use the Unity3D API, if they are available (didn’t looked for this yet). If I do this I’m more flexible and the gameserver would better work together with the masterserver.
So at the optimal end the only real Unity3D application would be the Client, because of the named reasons and performance reasons.

k got it, so ure looking for documemtion on source of RakNet MasterServer, and since source isnt UnityScript, but rather a raw Java or C, or whatever other, you are then recommended to go on check out StackOverflow.com, off course unity forum is game specified, while stackoverflow is general coding, meaning that they there can help with whatever you’re trying to do outside of unity3d. and if trying to write and application, but not a game, youre not going to find anything here close to unity, since looking for documentation on how to write a MasterServer, thats the same thing writing your own application you wont will need more original programming sources, because game programming is specified, when original programming is general and covers all fields. I got no idea if i got offtopic way too much, but yeah StackOverflow is a better place when comes to outside of Unity3d coding, and hey i just got 14, so im also just starting up my networking programming, done the rest of java, just networking is left :slight_smile:

exactly, but specified for the unity3d masterserver not their general server. I didn’t thought about checking stackoverflow out yet but this could be a good start.

Thank you.

you have a good if you are just 14 and already doing stuff like this.

hmm but since you can use (as far as I know) the common .NET library in Unity3D, I may rogram my own MasterServer. At least the server just has to manage accounts and servers. I could easly use sockets.

Thanks, and using .NET yes it can give you a whole new functionality, but you can then also create your own class and functions to get users more abilities, i think your MasterServer should definetly include player texture change, and or player name chage over the game and/or over a game website - like Minecraft, if you are familiar

The purpose of the masterserver is to list games. Nothing more.
The facilitator provides the NAT functionality.
It’s only usefull with Unity’s networking.
I don’t see any reason why you would use it when you create your own server or use some of the existing server solutions.
It’s useless since you can build all the functionaly into the server and you won’t need the nat facilitator anymore.

But if you wan’t to modify the code, read this page:
MasterServerBuild

I know. But I just want for now to implement the feature in the server that it reads its parameters from a config file and for that it would be helpful to have a documentation, where it is documented where all its parameters are hardcoded.

later I may program my own server. I think for the for the user authentication and stuff with the account like kills deads achivements and so on I program then my own server. But if I do this I thought I could combinde the masterserver and the account server or implement a account server into the unity3d masterserver. what do you think about this idea?

Also it would be nice if anyone could tell me where the log file from the masterserver is or why it doesn’t create one.

but theres a ton of YouTube videos showing how to setup your own MasterServer.

I know how to set up the server, this is not a problem, I’m not a beginner. I said, I would appreciate if there would be a documentation where it is documented where they set up all the hardcoded variable in their MasterServer C++ source code, so I don’t have to search them to create a configuration file.

I think this can help you.
http://forum.unity3d.com/threads/146774-Tutorial-Hosting-your-own-masterserver