Search Unity

Make a Player Entering any room in Unet Lobby

Discussion in 'UNet' started by nadir500, Apr 25, 2017.

  1. nadir500

    nadir500

    Joined:
    Oct 2, 2016
    Posts:
    4
    hello,
    i am having a problem in making a multiplayer game mmo-like style and i was wondering if anyone knows how to make a player enter any room in any time using Unet with lobby manager because what I've noticed that if player already playing in a room and i dropped another player to it then there will be a some sort of connection problem in the game and thus the player needs to create his own room which is pain :3 .
    p.s: i am new to the multiplayer things and i need help with this :3
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    The Unity Multiplayer Lobby isn't intended for MMO games, and I doubt you will be able to make it work for what I think you're trying to do.
     
  3. nadir500

    nadir500

    Joined:
    Oct 2, 2016
    Posts:
    4
    then what is the solution you can propose to me for making mmo rooms?
     
  4. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    Well, generally an MMO will be an authoritative server model, not the player hosted model that Unity Multiplayer uses. That issue alone would have me dropping the Unity Multiplayer relay and lobby services and instead code my own room system using a dedicated server.

    PUN has a room system that seems more flexible than Unity Multiplayer's, which you might be able to make work for you, but it still doesn't seem ideal.
     
  5. nadir500

    nadir500

    Joined:
    Oct 2, 2016
    Posts:
    4
    ok i'll try my best with it :D