Hi there,
I've just upgraded to photon 4.1.3 with c++ SDK. The rejoining room feature in the previous version 4.0.1 worked well with my project but this feature in 4.1.3 version doesn't work. I try to test this feature with LoadBalancingDemo but it also doesn't work.
To test rejoining room feature in LoadBalancingDemo I made some changes as following:
File: RoomOption.h (change default playerTtl and emptyRoomTtl)
File: NetworkLogic.cpp (remove false to turn on rejoin feature)
Here is the return error:
Help me please. My project is in production with SDK 4.1.3, I need a quick update for it.
I've just upgraded to photon 4.1.3 with c++ SDK. The rejoining room feature in the previous version 4.0.1 worked well with my project but this feature in 4.1.3 version doesn't work. I try to test this feature with LoadBalancingDemo but it also doesn't work.
To test rejoining room feature in LoadBalancingDemo I made some changes as following:
File: RoomOption.h (change default playerTtl and emptyRoomTtl)
RoomOptions(bool isVisible=true, bool isOpen=true, nByte maxPlayers=0, const Common::Hashtable& customRoomProperties=Common::Hashtable(), const Common::JVector<Common::JString>& propsListedInLobby=Common::JVector<Common::JString>(), const Common::JString& lobbyName=Common::JString(), nByte lobbyType=LobbyType::DEFAULT, int playerTtl=60000, int emptyRoomTtl=60000);
File: NetworkLogic.cpp (remove false to turn on rejoin feature)
if(mLastJoinedRoom.length())
{
mpOutputListener->writeLine(ExitGames::Common::JString(L"rejoining ") + mLastJoinedRoom + " with actorNr = " + mLastPlayerNr + "...");
mLoadBalancingClient.opJoinRoom(mLastJoinedRoom, mLastPlayerNr);
}
Here is the return error:
ERROR NetworkLogic.cpp joinRoomReturn() line: 361 - Game does not exists
Help me please. My project is in production with SDK 4.1.3, I need a quick update for it.