Search found 19 matches

by rahulvyas
21 Apr 2011, 12:27
Forum: iPhone Objective-C API
Topic: How to get User list in zone without joining room
Replies: 0
Views: 4102

How to get User list in zone without joining room

Hello All,

I want to check if a user with playerId 1 is exist in a room then I would like to show that room to users otherwise I do not want to show room list. Is it possible using any zone configuration?
by rahulvyas
15 Apr 2011, 05:23
Forum: iPhone Objective-C API
Topic: Not getting response roomVarUpdate while can send chat msg
Replies: 0
Views: 3658

Not getting response roomVarUpdate while can send chat msg

Hello All,

I have created a game and it runs smoothly. But if I leave idle the game for 2 min. the game room is unable to get response of updated roomVars while I can send chat message.Need help urgent
by rahulvyas
01 Mar 2011, 03:15
Forum: .Net / Unity3D API
Topic: Connection lost Automatically after login into a room
Replies: 10
Views: 12075

I m using wifi. I would like to know that what the customLogin property for in a zone? Here is a little flow for you all to understand. I have a web service in dot net. There is i have a method named createRoom. So from iPhone side I request from web service to create a room for the name I have sent...
by rahulvyas
01 Mar 2011, 01:33
Forum: iPhone Objective-C API
Topic: I need a getUserVariables example for the iPhone client
Replies: 4
Views: 6833

What do you want to create? A Game or something else? You can do it like this way Suppose you are creating a card game. And you need to pass turn each time a player plays his card. So you can do this. First Update a room variable named turnToThrow like 1,2,3 for each player the id will be different ...
by rahulvyas
28 Feb 2011, 07:18
Forum: .Net / Unity3D API
Topic: Connection lost Automatically after login into a room
Replies: 10
Views: 12075

Yes, I am getting the same problem every time but only when I run the game on web server while on local system it's working fine.
by rahulvyas
28 Feb 2011, 05:13
Forum: iPhone Objective-C API
Topic: Does SFS Automatic reconnects in iPhone?
Replies: 0
Views: 3570

Does SFS Automatic reconnects in iPhone?

Hello All,


I want to know that if SFS Disconnects anyhow will it automatically reconnected?

I am unable to understand why it doesn't reconnect though i've already set autoConnect to yes

Code: Select all

[self.smartFox loadConfig:@"config" autoConnect:YES];
by rahulvyas
28 Feb 2011, 05:03
Forum: iPhone Objective-C API
Topic: I need a getUserVariables example for the iPhone client
Replies: 4
Views: 6833

here you can get it like this INFSmartFoxUser *user = //get user form somewhere as per your requirement [user getVariable:@"Key"]; Here key = The Key you have used when updating user variable Here in my case I'm updating it like this NSDictionary *params = [NSDictionary dictionaryWithObjec...
by rahulvyas
25 Feb 2011, 13:25
Forum: iPhone Objective-C API
Topic: unable to send and receieve object in iPhone API
Replies: 0
Views: 3531

unable to send and receieve object in iPhone API

Hello All, I am using SFS iPhone API to create a card game. I am getting a strange problem that is sometimes I am unable to get object. Don't know why this happens. But The code works perfect when I run from a local machine. But if I upload code on a web server then sometimes it doesn't work. Is the...
by rahulvyas
25 Feb 2011, 12:36
Forum: iPhone Objective-C API
Topic: getting strange error in SFS iPhone API
Replies: 2
Views: 5148

Thanks you very much sasoh
by rahulvyas
25 Feb 2011, 10:46
Forum: .Net / Unity3D API
Topic: Connection lost Automatically after login into a room
Replies: 10
Views: 12075

We are not facing room creation error problem. we are facing connection lost problem. By the way we have installed sfs Pro demo on linux machine. Does SFS support linux machine?
by rahulvyas
25 Feb 2011, 07:50
Forum: iPhone Objective-C API
Topic: not receiving onUserVariablesUpdate
Replies: 3
Views: 5721

you will receieve the notification if you have implemented onUserVariablesUpdate method. And if you have set user variables correctly. Here is an example of mine - (void)setAdditionalDetailsForSFSUser:(NSDictionary*)object roomID:(NSInteger)roomID { [self.smartFox setUse...
by rahulvyas
25 Feb 2011, 03:16
Forum: .Net / Unity3D API
Topic: Connection lost Automatically after login into a room
Replies: 10
Views: 12075

Could you please tell me which file I need to check for server log? because there are a lot of files in the logs folder. I had checked smartfox_log_0.txt file also wrapper_20110224.log file I am pasting contents of both here may be you can help us. Contents of smartfox_log_0.txt 2011/02/24 20:34:40....
by rahulvyas
24 Feb 2011, 15:59
Forum: .Net / Unity3D API
Topic: Connection lost Automatically after login into a room
Replies: 10
Views: 12075

answer

Hello Thomus, Here is what I'm doing. I have created a web service in C# and a game in iPhone. I then call to web service to create a room on sfs server and the web service creates a room. joins the room and then return me room id so that i can join that room in iphone side. Basically i'm creating a...
by rahulvyas
24 Feb 2011, 14:26
Forum: .Net / Unity3D API
Topic: Connection lost Automatically after login into a room
Replies: 10
Views: 12075

Connection lost Automatically after login into a room

Hello All, I am a newbie in smartfoxserver. I am creating an game using SFS C# API. I'm getting one strange issue is sometimes my connection get lost automatically. I am using SFS Pro v 1.6.6 and license type is License Type -> PRO INFO | jvm 1 | 2011/02/24 10:23:01 | License Owner -> --== Free Demo...
by rahulvyas
09 Feb 2011, 04:04
Forum: iPhone Objective-C API
Topic: How do I turn off all the logging on the iphone client?
Replies: 1
Views: 5007

Answer for your query

There is a variable named _debug in INFSmartFoxiPhoneClient.h Create a property of that variable like this @property (assign) BOOL debug; @synthesize debug in .m file and where you start your connection modify the code to disable debugging Here is the code snippet of mine. //Connects to Smart Fox Se...

Go to advanced search