by pantinor » 22 Jan 2012, 22:38
oh, it is just a class inside the parent class. (myclass$innerclass)
public class myextension {
class myrequesthandler {
xxx
}
}
I am not using that anymore.
The problem i have now is using the extension request on an extension for a room.
I am getting this below:
com.smartfoxserver.v2.exceptions.SFSExtensionException: User cannot invoke Room extension if he's not joined in that Room. ( User Name: aasdsa, Id: 0, Priv: 0, Sess: 127.0.0.1:53697 ) , [ Room: The Lobby, Id: 1, Group: default, isGame: true ]
Should i put the extension on the zone level instead of the room level, and then check the settings on the rooms at that level?
I am trying to forbid entry to joining the room by doing a lookup on a room variable if it is true or not. I saw the previous post which mentioned i need to use the extension request instead of the join room event handler because that one fired after they are already joined in the room.
thanks.