Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by kezmacgov · Jan 18, 2011 at 09:38 AM · serverdebugmasterserver

setting your own masterserver up

I have downloaded the latest masterserver from the unity website: http://unity3d.com/master-server/index.html.

However i don't really no what to do to get it running and working.

I am running it on a windows machine. Every bit of help i read makes it out to be very easy but i am just not getting it. Please can anyone help

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Justin Warner · Jan 18, 2011 at 07:53 PM 0
Share

Well, before you really get in to it, are you willing to pay 50+ dollars a month for a server to run it? Just asking because that's kind of the big factor... In my opinion at least.

avatar image kezmacgov · Feb 11, 2011 at 10:31 AM 0
Share

thanks for your responce thats taken care of already i'd be doing it from my work server. any help you can give will be appreciated

1 Reply

· Add your reply
  • Sort: 
avatar image
2

Answer by AnXgotta · Aug 05, 2012 at 01:34 AM

I know this post is old but hopefully this is helpful to someone...

Well I am in the process of setting mine up right now but I have made some progress that I am willing to share.

Since you are on windows you will need to build each part of the server that you downloaded and make the exe files.

I used MS Visual Studio 2010. You can get a free version of MS Visual Studio Express from Microsoft website. I read that you should use any version of the software 2003 and newer.

Extract each zip file into its own folder.

Within the extracted files for each you will see a VisualStudio folder.

In that folder is a visual studio solution file.

Open that in visual studio, insure you are making a release build, and build the solution.

In the visual studio file you will now see a new folder called "Release" ("Debug" if you built the solution in Debug mode), if you look in there, assuming the build worked, the exe file will be in there.

Just run that on the machine you want to be the master server and a command prompt window will pop up showing the server information and logging information.

You will do the above for all the files that you wish to have running, like the MasterServer, Facilitator, ConnectionTester, and proxy.

An example is that I have the MasterServer and Facilitator running now and I'm working on getting the connection tester going. I still use the Unity default ip and port for that in mine. I'm not sure if it matters if it connects to your server but I bet it does. The connection tester mentions that the server must have 4 ip addresses and mine only has one... I'm not sure what's going on so I'm currently looking for answers. I am also not sure if the proxy is necessary. I'm still researching that too.

Set up your custom master server in the code for you game.

 MasterServer.ipAddress = "xxx.xxx.xxx.xxx";
 MasterServer.port = #####;
 Network.natFacilitatorIP = ...
 Network.natFacilitatorPort = ...

I am currently trying to get the connection tester working on mine so I'm not sure about this part:

 Network.connectionTesterIP = ...
 Network.connectionTesterPort = ...

After all that is done, you should be able to connect to your new MasterServer.

Hopefully this is helpful and good luck!

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Fehr · Sep 27, 2012 at 03:03 AM 0
Share

Hey AnXgotta,

It sounds like you're at the same point as I am right now, Did you end up needing the proxy? How did you resolve the need for 4 ip addresses?

Thanks for any advice you can give.

avatar image AnXgotta · Sep 28, 2012 at 01:30 PM 0
Share

I am still using the $$anonymous$$asterServer and Facilitator only. I don't plan on using the proxy and I'm sorry but I haven't found any solutions yet regarding the 4 ip addresses. I'll let you know if I do!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

setting your own masterserver up 2 Answers

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

I see Servers in my Serverlist, which are not from my Game 1 Answer

Unity networking tutorial? 6 Answers

Networking - MasterServer [ Connect on Lan or Wan without Internet ] 3 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges