Search found 59 matches

by zzc11414
15 Jun 2013, 14:03
Forum: SFS2X Questions
Topic: Performance problem When I use "findUsers(zone.getUserList"
Replies: 3
Views: 5663

Re: Performance problem When I use "findUsers(zone.getUserLi

Hi, I don't think this should use much memory. Maybe it can get intensive on the CPU for a short period of time, if there's very high concurrency. Are you actually getting performance problems or are you asking if it can cause problems? Quite frankly I doubt that you will run 100K users in a single...
by zzc11414
14 Jun 2013, 14:51
Forum: SFS2X Questions
Topic: Performance problem When I use "findUsers(zone.getUserList"
Replies: 3
Views: 5663

Performance problem When I use "findUsers(zone.getUserList"

I want to search a user in the zone,So I use the statement: "List<User> matchingUsers = sfsApi.findUsers(zone.getUserList(), exp, 50); " But I don't know if the performance will be affected. Because the userList in a zone can be high ,eg. 100000.which can consume high memory. When this sta...
by zzc11414
21 Feb 2013, 10:42
Forum: SFS2X Questions
Topic: server side:connection lost ,but client is still connected
Replies: 1
Views: 3566

server side:connection lost ,but client is still connected

Sometime I find the strange thing.The connection is lost which is showed in the server side.But the client side is still connected.(smartFox.isconnected is true).After about dozens of minutes later.The client received the connection lost event. My server version:2.6 client version:unity 1.0.7 1,the...
by zzc11414
19 Feb 2013, 10:12
Forum: SFS2X Questions
Topic: admin tool:zone configuration error
Replies: 5
Views: 7020

Re: admin tool:zone configuration error

Lapo wrote:So has this been going on since you have installed the server?
If so I would propose to try a fresh reinstallation


After upgrade to 2.6 ,it's ok.

It only happened today.it never happened before.
by zzc11414
19 Feb 2013, 09:59
Forum: SFS2X Questions
Topic: admin tool:zone configuration error
Replies: 5
Views: 7020

Re: admin tool:zone configuration error

Normally this shouldn't happen. Have you just recently updated the server with a patch? If so please make sure to clear your browser's cache so that it will load the new AdminTool. If you didn't upgrade, have you modified the server's config by hand? We usually recommend not to do so because you mi...
by zzc11414
19 Feb 2013, 06:52
Forum: SFS2X Questions
Topic: admin tool:zone configuration error
Replies: 5
Views: 7020

admin tool:zone configuration error

After login admin tool,click zone configuration.There will be errors below, How to fix it?Now I can't use zone configuration,My sfs server version is 2.5 14:34:04,060 ERROR [com.smartfoxserver.v2.controllers.ExtensionController-1] controllers.ExtensionController - java.lang.NullPointerException: :::...
by zzc11414
05 Feb 2013, 03:51
Forum: SFS2X C# API
Topic: smartfox.IsConnected is true after OnConnectionLost
Replies: 15
Views: 21119

Re: smartfox.IsConnected is true after OnConnectionLost

I want to produce your problem,and compare with mine
by zzc11414
04 Feb 2013, 15:47
Forum: SFS2X C# API
Topic: smartfox.IsConnected is true after OnConnectionLost
Replies: 15
Views: 21119

Re: smartfox.IsConnected is true after OnConnectionLost

I've made a few posts on this issue, but it seems a tough bug to fix. Or at least to keep fixed, as it was working correctly in client API 1.0.3! So that is what I keep using, luckily I have no great need for the newer versions. Note that with 1.0.3 the CONNECTION_LOST event gets fired twice, so it...
by zzc11414
02 Feb 2013, 18:05
Forum: SFS2X C# API
Topic: smartfox.IsConnected is true after OnConnectionLost
Replies: 15
Views: 21119

Re: smartfox.IsConnected is true after OnConnectionLost

Hello, What is the SFS Unity C# Client Api version you're using? Please make sure you're using the latest 1.0.6 You can get it from: http://www.smartfoxserver.com/download/sfs2x#p=updates It's very strange that the newest Unity C# Client Api version(perhaps version1.0.6, I checked that dll create t...
by zzc11414
02 Feb 2013, 08:13
Forum: SFS2X C# API
Topic: smartfox.IsConnected is true after OnConnectionLost
Replies: 15
Views: 21119

smartfox.IsConnected is true after OnConnectionLost

In my application,I will judge the current connection status. in the function OnConnectionLost,I give a debug smartfox.IsConnected ,It is true! and After the connection is lost(server log display disconnect,and client log also give information that OnConnectionLost is executed). So After the connect...
by zzc11414
31 Jan 2013, 10:29
Forum: SFS2X Questions
Topic: Server startup problems and patch problems
Replies: 1
Views: 4144

Server startup problems and patch problems

When I install sfs server linux 64 edition on cent os: 1 steps lead to errors: 1,I download the sfs server and the patch 2.5. 2,I decompress the sfs server tar package. and decompress the patch 2.5 3,run ./sfs2x.sh to startup the server But there is errors:VM error I found that the error is caused b...
by zzc11414
30 Jan 2013, 13:45
Forum: SFS2X C# API
Topic: a connetion attempt is already in progress
Replies: 3
Views: 11050

Re: a connetion attempt is already in progress

You should explain the problem in greater detail 1) The Server version in use 2) Which API platform you're using and what API version 3) A step by step description of how to reproduce the issue Thanks 1,server version: The sfs2x server,the newest version 2.5 2, client api:unity c# version: 1.0.6 Re...
by zzc11414
30 Jan 2013, 04:43
Forum: SFS2X C# API
Topic: a connetion attempt is already in progress
Replies: 3
Views: 11050

a connetion attempt is already in progress

Some times,If I the network is unavailable,and the phone's wifi status(not work) even have not changed.So the client connect to sfs server. There will be connection error. Even if the network is availbable after several minutes.When I connect to sfs server. There is error too.the debug message is: d...
by zzc11414
26 Jan 2013, 15:56
Forum: SFS2X Questions
Topic: how to realize automatic reconnection?
Replies: 4
Views: 6075

Re: how to realize automatic reconnection?

Use the built-in automatic reconnection, called HRC. http://docs2x.smartfoxserver.com/DevelopmentBasics/connection-phase You misunderstand my meaning.I want to reconnect to server after the connect is lost because of :1,the user idle time is exceeded;2,user click the disconnect manually. and the us...
by zzc11414
26 Jan 2013, 13:10
Forum: SFS2X Questions
Topic: how to realize automatic reconnection?
Replies: 4
Views: 6075

how to realize automatic reconnection?

In my scenery,Even if the connection is lost.I will reconnect to server by program automatically when user click some button to send data or command to server. But I don't know the best way. I had use smartfox.isconnected to judge the current connection status.But the result is not always correct.so...

Go to advanced search