Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Unity Multiplayer How to edit the MtachMaker or at least Add to it

Discussion in 'Multiplayer' started by LiOn0X0HeaRt, Jun 25, 2015.

  1. LiOn0X0HeaRt

    LiOn0X0HeaRt

    Joined:
    Jul 14, 2014
    Posts:
    38
    Hi
    i am new to networking i have been fighting with unity in the last two weeks trying to figure out
    the system.
    And finally i learned to sync properly (i hope) and everything is working as it should

    but i wan't the player to choose a name before entering the room
    i want to set the room players and map and all of that fancy stuff

    i don't want in depth details

    i just want to know where i start
    how i reach the code
    how i can make my own matchmaker based on unity's service

    since i started this project i was afraid of this moment
    please help me get over it
     
  2. LiOn0X0HeaRt

    LiOn0X0HeaRt

    Joined:
    Jul 14, 2014
    Posts:
    38
  3. HugoZandel

    HugoZandel

    Joined:
    Mar 11, 2014
    Posts:
    52
    I don't think they will release the source code of the matchmaker or relay server. However, in the networkmanager there's a string field with the matchmaker url. So maybe they'll explain how it's working. (Seems to be a simple WEB API)
     
  4. LiOn0X0HeaRt

    LiOn0X0HeaRt

    Joined:
    Jul 14, 2014
    Posts:
    38
    So you mean
    i can't make any room settings? or use the new ui?
     
  5. HugoZandel

    HugoZandel

    Joined:
    Mar 11, 2014
    Posts:
    52
    You can do whatever you want as long as you don't want to host your own matchmaker and/or relay server.

    You could add an InputField that stores the player name and then when you are connected to the server you pass it via a [Command]. (One solution, there's like 20 of them)

    You could still code something of your own but you'll run into trouble with ports not being opened.