Search found 6 matches

by aw2xcd
22 Oct 2009, 09:47
Forum: iPhone Objective-C API
Topic: sendXtMessage usage
Replies: 2
Views: 8042

Fix for the darn thing chopping off the first letter of the returned string I still can't access the returned array. The server code looks like this: var res = []; // The list of params res[0] = "st"; res[1] = "12345";//time to start game in miliseconds _server.sendResponse(...
by aw2xcd
22 Oct 2009, 09:40
Forum: iPhone Objective-C API
Topic: iPhone bugs
Replies: 20
Views: 49788

more iphone api bugs

INSmartFoxiPhoneClient.m function strReceived() line 333 should be changed from: [handler handleMessage:[msgStr substringWithRange:NSMakeRange(1, [msgStr length]-1)] type:(NSString *)INFSMARTFOXCLIENT_XTMSG_TYPE_STR delegate:_delegate]; to [handler handleMessage:[msgStr substringWith...
by aw2xcd
21 Oct 2009, 03:25
Forum: iPhone Objective-C API
Topic: sendXtMessage usage
Replies: 2
Views: 8042

sendXtMessage usage

Hi Guys, Not sure if this is a bug or if I'm using this wrong. Anyways, when I use //This function basically returns start time object. [smartFox sendXtMessage:@"timeEx" cmd:@"gst" paramObj:nil type: @"xml" roomId:1]; I get a server error, however if I use it with type:...
by aw2xcd
30 Sep 2009, 15:27
Forum: iPhone Objective-C API
Topic: - (void)onLogin don't get called after login
Replies: 9
Views: 21109

- (void)onLogin don't get called after login

INFSmartFoxExtHandler:handleMessage msgObj:<msg t='xt'><body action='xtRes' r='-1'><![CDATA[<dataObj><var n='_cmd' t='s'>OK</var></dataObj>]]></body></msg> I get this back when I run login but onLogin don't get called. Any ideas?
by aw2xcd
30 Sep 2009, 15:12
Forum: iPhone Objective-C API
Topic: iphone onRandomKey()
Replies: 1
Views: 6333

figured it out finally, the sfs extention was returning md5 in lower case and my cocoa md5 function was returning upper case; - (void) onRandomKey:(INFSmartFoxSFSEvent *)evt { NSString *md5ma_pass = [[self md5ma:@"pass1"] lowercaseString ]; NSString *key = [[NSString a...
by aw2xcd
28 Sep 2009, 18:28
Forum: iPhone Objective-C API
Topic: iphone onRandomKey()
Replies: 1
Views: 6333

iphone onRandomKey()

Hi Guys, I'm not quite sure if I'm reading the random key properly, because I'm using the right user name and password but still can't login. - (void) onRandomKey:(INFSmartFoxSFSEvent *)evt { NSString *md5ma_pass = [self md5ma:@"1"]; //NSString *key = [[NSString alloc]...

Go to advanced search