Search found 68 matches
- 18 Aug 2011, 18:49
- Forum: SFS2X C# API
- Topic: Server Reconnection Issues
- Replies: 2
- Views: 6348
- 18 Aug 2011, 18:39
- Forum: SFS2X C# API
- Topic: Clearing user variable
- Replies: 8
- Views: 13032
- 08 Aug 2011, 06:19
- Forum: SFS2X C# API
- Topic: Auto reconnection mechanism problem
- Replies: 14
- Views: 33278
- 05 Aug 2011, 09:38
- Forum: SFS2X C# API
- Topic: Auto reconnection mechanism problem
- Replies: 14
- Views: 33278
I use it only for tests. I thought that this function shall be used for the SFS reconnection mechanism tests. As you can see it kills the connection and it is even reestablished, but then API does not behave properly. So, how should I test this mechanism? My second question is how many times SFS att...
- 02 Aug 2011, 07:14
- Forum: SFS2X C# API
- Topic: Auto reconnection mechanism problem
- Replies: 14
- Views: 33278
Here are some logs from my console. As you can see I put some logs before I am sending any data to server. I also display SFS client property IsConnected each time. Then I use KillConnection() method, and after that you can see OnConnectionRetry and OnConnectionResume. For a while SFS is not connect...
- 29 Jul 2011, 04:45
- Forum: SFS2X C# API
- Topic: Auto reconnection mechanism problem
- Replies: 14
- Views: 33278
- 28 Jul 2011, 18:52
- Forum: SFS2X C# API
- Topic: Auto reconnection mechanism problem
- Replies: 14
- Views: 33278
I test reconnection with smartFoxClient.KillConnection(); method. I don't set anything to null. When I kill the connection, I see connection retry and resume event. However, after that I see errors in console which say that smartFoxClient is set to null, so in fact connection was not reestablished p...
- 28 Jul 2011, 05:10
- Forum: SFS2X C# API
- Topic: Auto reconnection mechanism problem
- Replies: 14
- Views: 33278
Auto reconnection mechanism problem
I'm trying to implement reconnection mechanism and in theory it looks to be very simple. I set User Reconnection Timeframe in admin panel to 5s. In my code I have: smartFoxClient.AddEventListener(SFSEvent.CONNECTION_RETRY, OnConnectionRetry); smartFoxClient.AddEventListener(SFSEvent.CONN...
- 28 Jul 2011, 04:21
- Forum: SFS2X Questions
- Topic: Lost Connection and Reconnection
- Replies: 3
- Views: 7513
- 24 Jul 2011, 15:10
- Forum: SFS2X C# API
- Topic: How to hold character selection pref in SFS2X
- Replies: 2
- Views: 5833
Of course you can use SFS user variables if you want to share these settings between users, but probably you are looking for something like this:
http://unity3d.com/support/documentatio ... Prefs.html
I use this for the same thing as you and it works great.
http://unity3d.com/support/documentatio ... Prefs.html
I use this for the same thing as you and it works great.
- 19 Jul 2011, 05:25
- Forum: SFS2X C# API
- Topic: Clearing user variable
- Replies: 8
- Views: 13032
- 13 Jul 2011, 06:35
- Forum: SFS2X Questions
- Topic: smartfox stops accepting connections/requests
- Replies: 15
- Views: 51316
Problem may concern database. Maybe we had the same issue. Check this topic.
viewtopic.php?t=11076&highlight=
As far as I know in SFS database examples database connections are not closed. When their number reach limit queries are rejected.
viewtopic.php?t=11076&highlight=
As far as I know in SFS database examples database connections are not closed. When their number reach limit queries are rejected.
- 12 Jul 2011, 07:19
- Forum: SFS2X Questions
- Topic: How can I send message from server to all users?
- Replies: 10
- Views: 18298
- 04 Jul 2011, 12:50
- Forum: SFS2X Questions
- Topic: How can I send message from server to all users?
- Replies: 10
- Views: 18298
- 04 Jul 2011, 09:13
- Forum: SFS2X Questions
- Topic: How can I send message from server to all users?
- Replies: 10
- Views: 18298
I don't have problem with recipients. The problem is that I don't have a sender. I want to send message directly from the server. However, for the function which I mentioned I have to specify the sender... Can you post some code which you exactly use to send such messages from the server to the clie...