Hi guys,
I am now using realtime for Photon-iOS-Sdk_v4-1-0-4 now.
I've got difficulties in rejoining room for a player who has been disconnected from Photon because of timeout.
When I was using
--- LoadBalancingClient.opJoinRoom(getLastRoomName(),-1);
to rejoin the room which I have saved the room name and is able to get back by getLastRoomName(). I have an error 32748 which prevent me from rejoining the game.
line: 668 - OperationResponse - operationCode: 226, returnCode: 32748 (User does not exist in this game) ( debugReturn L:79)
[ServerDebug general 07-04-2016 16:40:33:04] Photon: 2016-04-07 16:40:33,058134 ERROR Client.cpp onOperationResponse()
line: 773 - opJoinRoom failed with errorcode 32748: User does not exist in this game. Client is therefore returning to masterserver! ( debugReturn L:79)
[ServerErr 07-04-2016 16:40:33:04] opJoinRoom() failed: User does not exist in this game [RoomName] ( joinRoomReturn L:515)
I have set the room option as follow as well:
ExitGames::LoadBalancing::RoomOptions option =
ExitGames::LoadBalancing::RoomOptions(
true,
true,
(nByte)2,
customRoomProperties,
roomFilterlist,
"",
ExitGames::LoadBalancing::LobbyType::DEFAULT,
300000, //PlayerTTL
0); //EmptyRoomTTL
Please help and suggest me ways to get it through. Thanks
I am now using realtime for Photon-iOS-Sdk_v4-1-0-4 now.
I've got difficulties in rejoining room for a player who has been disconnected from Photon because of timeout.
When I was using
--- LoadBalancingClient.opJoinRoom(getLastRoomName(),-1);
to rejoin the room which I have saved the room name and is able to get back by getLastRoomName(). I have an error 32748 which prevent me from rejoining the game.
line: 668 - OperationResponse - operationCode: 226, returnCode: 32748 (User does not exist in this game) ( debugReturn L:79)
[ServerDebug general 07-04-2016 16:40:33:04] Photon: 2016-04-07 16:40:33,058134 ERROR Client.cpp onOperationResponse()
line: 773 - opJoinRoom failed with errorcode 32748: User does not exist in this game. Client is therefore returning to masterserver! ( debugReturn L:79)
[ServerErr 07-04-2016 16:40:33:04] opJoinRoom() failed: User does not exist in this game [RoomName] ( joinRoomReturn L:515)
I have set the room option as follow as well:
ExitGames::LoadBalancing::RoomOptions option =
ExitGames::LoadBalancing::RoomOptions(
true,
true,
(nByte)2,
customRoomProperties,
roomFilterlist,
"",
ExitGames::LoadBalancing::LobbyType::DEFAULT,
300000, //PlayerTTL
0); //EmptyRoomTTL
Please help and suggest me ways to get it through. Thanks