not receiving onUserVariablesUpdate
Posted: 25 Feb 2011, 01:36
Can you tell me what I'm doing wrong?
I'm setting variables for my user.
But it does not fire onUserVariablesUpdate.
Am I setting the variables wrong?
Would the event fire on the same client that I am setting on, or do I have to test it with two clients?
BTW, all rooms have been set up with the config file on the server.
Many thanks
I'm setting variables for my user.
Code: Select all
NSString *test = @"blah";
NSDictionary *dict = [NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:test,nil]
forKeys:[NSArray arrayWithObjects:@"score",nil]];
[self.smartFox setUserVariables:dict roomId:self.smartFox.activeRoomId];Am I setting the variables wrong?
Would the event fire on the same client that I am setting on, or do I have to test it with two clients?
BTW, all rooms have been set up with the config file on the server.
Many thanks