Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
1
Question by MrLucid72 · Nov 10, 2016 at 08:13 AM · multiplayerlobbymatchmaking

[Multiplayer] Why do matchmaking docs hint it 100% "creates" a server rather than also join? I am a bit confused

If matchmaking, thinking "League of Legends" style, shouldn't it first search for a suitable server, THEN host if none are available?

I am very confused by this post made by a Unity rep - since he wasn't seen since last Feb, I thought I'd ask here since I don't expect an answer from that thread. I asked:


"Through the Matchmaker by clicking Create after entering a name"

If you are matchmaking, why would you need a name? Also "Create" sounds more like you are exclusively hosting a server rather than potentially joining an existing server through other matchmakers, too. Am I misunderstanding how Matchmaking works?

"List Servers" (if the match was created with Matchmaker)"

This is also confusing - I'm more thinking about League of Legends matchmaking - why would matchmaking create a server list? Wouldn't there be a greater chance, while matchmaking, to JOIN a server (rather than create one)?

Thanks @UnityGuillaume


Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by UnityGuillaume · Nov 10, 2016 at 10:23 AM

Ok, quick clarification :

Matchmaking in the API is a bit of a misnomer, because it actually merge both server listing and matchmaking under that same name.

The sample is a very basic one that only use the server listing one : you create a match, which get registered into Unity Multiplayer service server, so that other can query that server for currently existing matchs and get a list of those. Unity server then take care of linking the two computers.

Now, you can't have a one solution fit all for matchmaking, as it is highly dependent to your game (you need a way to give a "skill score" to your player depending on how well they do in your game, which in turn depend to what your game is about). Unity use the Elo rating system (https://en.wikipedia.org/wiki/Elo_rating_system)

The way to do a "League of Legend" matchmaking system would then be :

  • compute a Elo score for your players (no idea how to, kill/death ratio, number of game won etc..)

  • When that player click on "Find match"

    • use the eloScore parameter into the matchmaker ListServer function

    • check the eloRating of the highest matchs (the closest match), now
      • if that rating is close enough to the player's rating, make him join the match

      • if the rating is too far OR there is no match return, create a match throught CreateMatch, given the player elo score as the server elo score

Comment
Add comment · Show 1 · 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 MrLucid72 · Nov 14, 2016 at 03:25 PM 0
Share

Thanks @UnityGuillaume --

To elaborate a bit further, I made a new Unity Answers post. Feel up to taking a look for follow-up questions regarding the flow of a non-Elo matchmaker?

http://answers.unity3d.com/questions/1271635/multiplayer-lobbystagingmatchmaking-flow-quickstar.html

Cheers :)

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

[Multiplayer] Lobby/Staging/Matchmaking flow: Quickstart using NetworkLobbyManager? 2 Answers

Should the NetworkManager component reside within the same gameObj as LobbyManager? NetMan+NetMgr? Best Start MM practice? 0 Answers

MatchMaker sometimes can't see created games 0 Answers

[Multiplayer] OnMatchList() isn't firing after ListMatches() when using NetworkLobbyManager 0 Answers

Multiplayer Room? 2 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