where can I find document or example for Distributed-Photon-server?

Options
please help me

Answers

  • April
    Options
    sorry I want Distributed
  • chvetsov
    Options
    well, to start distributed you need update your configs:
    mandatory:
    - in LoadBalancing.dll.config you have to set new master ip (MasterIPAddress) and public Ip for GS (PublicIPAddress)

    non-mandatory
    - in PhotonServer.config you have to remove master application and related listeners.

    best,
    ilya
  • April
    Options
    thanks,can you show me an example for PhotonServer.config ,which is include 1 master server and 2 game servers。
    and another question,if I want setup 2 game servers,do they use the same DLL?
  • chvetsov
    Options
    hi, @April

    in order to use two game servers in one config you have to have two copies of GS in two different folders
    that is because LoadBalancing.dll.config can contain only settings for one server, when you need two. This is also the reason why just PhotonServer.cofing will not be enough. Btw, you can create it your self, just make sure that two servers use different ports. please try it your self, if you fail, I will create one

    bets,
    ilya
  • April
    Options
    thanks,I will try it