when I joined the room,there are two player in room

2017-10-13 02:01:51,809 [327] DEBUG Photon.LoadBalancing.MasterServer.GameServer.IncomingGameServerPeer - HandleUpdateGameState
2017-10-13 02:01:51,810 [327] DEBUG Photon.LoadBalancing.MasterServer.Lobby.GameListBase - PlayerCount updated:newValue=2, oldPlayerCount=1, plyaerCount=2
2017-10-13 02:01:51,810 [327] DEBUG Photon.LoadBalancing.MasterServer.Lobby.GameState - User joined on game server: gameId=82094, userId=f04e9bbd-774c-402c-806a-edc92f51c88b
2017-10-13 02:01:51,810 [327] DEBUG Photon.LoadBalancing.MasterServer.Lobby.GameState - User not found in joining list: gameId=82094, userId=f04e9bbd-774c-402c-806a-edc92f51c88b
2017-10-13 02:01:51,811 [327] DEBUG Photon.LoadBalancing.MasterServer.Lobby.GameListBase - PlayerCount updated:newValue=2, oldPlayerCount=2, plyaerCount=2
2017-10-13 02:01:51,811 [327] DEBUG Photon.LoadBalancing.MasterServer.Lobby.GameListBase - UpdateGameState: id=82094, peers=1, max=3, open=True, visible=False, peersJoining=1, inactive=0, ispersistent=False
2017-10-13 02:01:51,811 [330] DEBUG Photon.LoadBalancing.MasterServer.PlayerCache - Player state changed: pid=f04e9bbd-774c-402c-806a-edc92f51c88b, master=True, gid=82094
2017-10-13 02:01:58,978 [331] DEBUG Photon.LoadBalancing.MasterServer.Lobby.GameListBase - Checked join timeouts: before=1, after=1
2017-10-13 02:02:06,481 [335] DEBUG Photon.LoadBalancing.MasterServer.Lobby.GameListBase - PlayerCount updated:newValue=1, oldPlayerCount=2, plyaerCount=1
2017-10-13 02:02:06,481 [335] DEBUG Photon.LoadBalancing.MasterServer.Lobby.GameListBase - Checked join timeouts: before=1, after=0
2017-10-13 02:02:06,481 [26] DEBUG Photon.LoadBalancing.MasterServer.PlayerCache - Player removed: pid=100716, master=False, gid=

Hi all , who met this kind of problem
when I joined the room,there are two players in room.
PlayerCount updated:newValue=2, oldPlayerCount=2, plyaerCount=2

Comments

  • and creategame very slow or lag
  • hi, @coco

    this just internal state of counter. as you may see at the end of your log you see PlayerCount == 1. it happens like this because there is moment when we count both one who is joining on master and one who is joining on GS. then we update state and one from master does not exist anymore.

    very slow and laggy it could be because of many reason. for instance DEBUG logging. you should check what is going on on your machine

    best,
    ilya
Sign In or Register to comment.