SFS methods implicitly invoked?
Posted: 28 Oct 2011, 07:15
Hi Everyone,
Are the following SFS2x methods implicitly invoked?
Were these triggered by some other methods? [Could not find more details on this however.]
Below are the warnings we're referring to:
#checked the docs and the only remaining possible reason why this was fired was that the new name might be already in use [but before creating a new room, we checked first if it exists - through getRoomByName()]
#no call to changeRoomCapacity() was made
#no call to changeRoomPassword() was made
What are the possible reasons for these? Any thoughts?
Thanks.
Are the following SFS2x methods implicitly invoked?
- changeRoomPassword
changeRoomCapacity
changeRoomName
Were these triggered by some other methods? [Could not find more details on this however.]
Below are the warnings we're referring to:
#checked the docs and the only remaining possible reason why this was fired was that the new name might be already in use [but before creating a new room, we checked first if it exists - through getRoomByName()]
Code: Select all
com.smartfoxserver.v2.exceptions.SFSRoomException: Room name change not permitted. Room: [ Room: The Lobby, Id: 1, Group: default, isGame: false ], User: ( User Name: XXXXXXXXXX, Id: 221, Priv: 0, Sess: XXXXXXXXX )
com.smartfoxserver.v2.api.SFSApi.changeRoomName(SFSApi.java:1411)
Code: Select all
com.smartfoxserver.v2.exceptions.SFSRoomException: Attempt to change capacity in a Room that doesn't support it. [ Room: The Lobby, Id: 1, Group: default, isGame: false ], ( User Name: XXXXXXXXX, Id: 288, Priv: 0, Sess: XXXXXXXXXXX )
com.smartfoxserver.v2.api.SFSApi.changeRoomCapacity(SFSApi.java:1556)
Code: Select all
com.smartfoxserver.v2.exceptions.SFSRoomException: Room password change not permitted. Room: [ Room: The Lobby, Id: 1, Group: default, isGame: false ], User: ( User Name: XXXXXXXXX, Id: 395, Priv: 0, Sess: XXXXXXXXXXX)What are the possible reasons for these? Any thoughts?
Thanks.