I want to add in a room a spectator, but when I do joinRoom server side () I get this error:
Code: Select all
com.smartfoxserver.v2.exceptions.SFSJoinRoomException: Join Error - Room is full: 2-3, Zone: { Zone: Login } - Can't add User: ( User Name: 7, Id: 7, Priv: 0, Sess: 79.13.165.136:53024 )
at com.smartfoxserver.v2.api.SFSApi.joinRoom(SFSApi.java:1008)
at loginserver.MainMenuHandler.handleClientRequest(MainMenuHandler.java:905)
at com.smartfoxserver.v2.extensions.SFSExtension.handleClientRequest(SFSExtension.java:208)
at com.smartfoxserver.v2.controllers.v290.ExtensionReqController.processRequest(ExtensionReqController.java:174)
at com.smartfoxserver.v2.controllers.v290.ExtensionReqController$1.run(ExtensionReqController.java:68)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
I want it to run the whole server, how do I set the user type to the server-side spectator?