Lobby Chat

Options
I am trying to figure out a way for users to chat in the main lobby. I want this so users can decide which room to join with others. Is there a way to do this with Photon Cloud + Unity?

What research I have done has yielded no results, and I am most likely not searching correctly. What I have found, that I think would match my needs is this:
PhotonNetwork.networkingPeer.OpRaiseEvent((byte)ChatEventCode.Message, chatEvent, true, ??);

It appears I can only use it in a room though, which won't work for me.

Comments

  • dreamora
    Options
    To enable chat in lobby, you would need to host your own LoadBalancing instance or get a private cloud with said code from your own LoadBalancing instance.
    The one thats online does not allow it.

    The reason is simple: The purpose of the master server (on which lobby is), is to balance out the load between the game servers, without being taxed to death. To make this possible, it is limited to finding games to join.

    The simple solution for your case would likely be to get the free IRC addon from the Unity Asset store and handle the chat completely outside for example
  • Interesting idea.. I will check it out