Whenever a user is disconnected from the server, the server automatically throws the user out of the room that he has joined. I am not able to understand what's the issue. Please find the code below and suggest proper solution.
Sample code for room create :-
CreateRoomSettings crs = new CreateRoomSettings();
crs.setName(roomName);
crs.setMaxUsers(cgpm.getMaxPlayer());
crs.setGame(true);
crs.setAutoRemoveMode(SFSRoomRemoveMode.NEVER_REMOVE);
Room room = getApi().createRoom(getParentExtension().getParentZone(), crs, null);
getApi().getResponseAPI().notifyRoomAdded(room);
Sample code for join room :-
getApi().joinRoom(user, room);
getApi().getResponseAPI().notifyJoinRoomSuccess(user, room);
getApi().getResponseAPI().notifyUserEnterRoom(user, room);
User automatically removed from the room as soon as he is disconnected from the server
-
- Posts: 1
- Joined: 18 Aug 2017, 04:31
Re: User automatically removed from the room as soon as he is disconnected from the server
Hi,
you already sent us an email with the same request.
There is no need to double post
you already sent us an email with the same request.
There is no need to double post
Who is online
Users browsing this forum: No registered users and 77 guests