3.0.27.1684 to 3.2.5.2031

Options
rokawar
rokawar ✭✭
edited February 2013 in Photon Server
Hello everybody,

This morning i have setup the server sdk 3.2.5.2031 like my first setup on the 3.0.27.1684 for check if the CountOfPlayers work now on the Loadbalancing and i get one error when i start it:

3.2.5.2031:
3080: 10:19:31.885 - Outbound ENet: MaxInboundMessageSize: 512000
3080: 10:19:31.885 - Outbound ENet: MaxOutboundMessageSize: 512000
3080: 10:19:31.891 - CService::OnException() - Exception: CCLRMetaHost::CreateMetaHost() - Not implemented
3080: 10:19:31.891 - Server shutting down...

So i have restart the 3.0.27.1684 and this one work:
2580: 10:45:22.371 - Outbound ENet: MaxInboundMessageSize: 512000
2580: 10:45:22.371 - Outbound ENet: MaxOutboundMessageSize: 512000
2580: 10:45:22.387 - About to load runtime: PhotonHostRuntime.PhotonDomainManager from PhotonHostRuntime, Culture=neutral, PublicKeyToken=02C301B61B060C4D
2580: 10:45:22.387 - CLRBaseDirectory set to "C:\Photon\Photon\Photon\ExitGames-Photon-Server-SDK_v3-0-37-3631 (1)\deploy"
2580: 10:45:22.387 - Optimising event broadcast for 20 or more peers
2580: 10:45:22.387 - About to load CLR - versions available:
2580: 10:45:22.387 - v2.0.50727

If someone have the solution or can help me :lol:

Thank

Comments

  • rokawar
    Options
    Well the .Net framework 4.0 have fixed that.
  • rokawar
    Options
    but PhotonNetwork.countOfPlayers = 0 again so not fixed.

    PhotonNetwork.countOfPlayersInRooms = 0 again so not fixed.

    PhotonNetwork.countOfPlayersOnMaster = 0 again so not fixed.

    only PhotonNetwork.countOfRooms work.
  • Ouch... it is fixed, but we had a confusion here about the default settings - so the application stats need to be enabled explicitly in the Photon.LoadBalancing.dll.config:

    In the "deploy" folder, go to the folders for Game1 and Game2 and add this to the Photon.LoadBalancing.GameServer.GameServerSettings:
    <setting name="AppStatsPublishInterval" serializeAs="String">
      <value>1000</value>
     </setting>
    

    And for the "Master" application, add this to the Photon.LoadBalancing.MasterServer.MasterServerSettings section:
    <setting name="AppStatsPublishInterval" serializeAs="String">
      <value>5000</value>
     </setting>
    

    We'll release a new Photon Server SDK 3.2 where the application stats are enabled per default - probably tomorrow. Sorry for the confusion and thanks for reporting!
  • rokawar
    Options
    Work perfect.

    Thank for the information.