Regarding Deploying a GameServer add

Options
pcstar
edited March 2013 in Photon Server
Hi,
I tried to deploy the Gameserver as masterser ver, gameserver1, gameserver2. I made gameserver3 to add mastersever,
but there it did not work(Unable to Create Room for gameserver3) I did only this to connect gameserver3 to masterserver.
How can I deal with this situation? Please help me regarding this matter.
Thank you. Below is the setting:

- gameserver3 config -

"Photon.LoadBalancing.dll.config"
[code2=xml]<Photon.LoadBalancing.GameServer.GameServerSettings>
<!-- Set to the IP Address of the Photon instance where your Master application is running. -->
<setting name="MasterIPAddress" serializeAs="String">
<value>10.10.10.10</value>
</setting>

<!-- Leave empty and the the IP address will be looked up dynamically at runtime. -->
<setting name="PublicIPAddress" serializeAs="String">
<value>127.0.0.1</value>
</setting>

<!-- Client-to-Gameserver TCP connections. Needs to match the TCPListener in PhotonServer.config -->
<setting name="GamingTcpPort" serializeAs="String">
<value>4533</value>
</setting>

<!-- Client-to-Gameserver UDP connections. Needs to match the UDPListener in PhotonServer.config -->
<setting name="GamingUdpPort" serializeAs="String">
<value>5058</value>
</setting>

<!-- Client-to-Gameserver WebSocket connections. Needs to match the WebSocketListener in PhotonServer.config -->
<setting name="GamingWebSocketPort" serializeAs="String">
<value>9093</value>
</setting>[/code2]

"PhotonControl.exe.config"
[code2=xml]<setting name="GameServerConfigPaths" serializeAs="String">
<value>..\Loadbalancing\GameServer3\bin\Photon.LoadBalancing.dll.config</value>
</setting>[/code2]

Comments

  • Why are you adding a new setting? why can't you add the GameServer 3's setting to the other ones?

    [code2=xml]<setting name="GameServerConfigPaths" serializeAs="String">
    <value>
    ..\Loadbalancing\GameServer1\bin\Photon.LoadBalancing.dll.config;
    ..\Loadbalancing\GameServer2\bin\Photon.LoadBalancing.dll.config;
    ..\Loadbalancing\GameServer3\bin\Photon.LoadBalancing.dll.config
    </value>
    </setting>[/code2]