Search found 24 matches

by nekokiller
26 Mar 2013, 11:08
Forum: SFS2X Questions
Topic: kick off already sign on user
Replies: 8
Views: 1950

Re: kick off already sign on user

HI, Lapo: I wrote some code to inform the former user the disconnection reason is 'kick' , when another user login with the same account: UserLoginHandler: System.out.println("current user ip: " + session.getFullIpAddress()); String login_name = (String) event.getParameter(SFSEventParam.LO...
by nekokiller
26 Mar 2013, 10:54
Forum: SFS2X Questions
Topic: kick off already sign on user
Replies: 8
Views: 1950

Re: kick off already sign on user

This is not very clear. If you allow users in your system to connect from different places why would you suspect that, when this is done, it is an hacking attempt? I think a variable is missing here. For example you can read my email from multiple locations, right? The email server does not suppose...
by nekokiller
26 Mar 2013, 09:24
Forum: SFS2X Questions
Topic: kick off already sign on user
Replies: 8
Views: 1950

Re: kick off already sign on user

Yes, the reason unknown is due to the fact that there's no time to send a "reason" notification while the other client is waiting to enter the system, therefore the former user will not receive any reasons for the disconnection. Since it's the same client that is logging in from a differe...
by nekokiller
26 Mar 2013, 06:52
Forum: SFS2X Questions
Topic: kick off already sign on user
Replies: 8
Views: 1950

Re: kick off already sign on user

Hi, Lapo:

I have turn on the 'Force logout' option, and it works fine.
But the user who be kicked off, got the reason is 'unknown' when connection lost event .
How can I change the reason string when user be force logout by smartfox server?
by nekokiller
18 Mar 2013, 02:03
Forum: SFS2X C# API
Topic: NullReferenceException when connect
Replies: 3
Views: 2525

NullReferenceException when connect

Hi~ Lapo: I got a NullReferenceException when smart fox do connect(). We want to simulate wifi disconnection because of some unknown problem. Test 1: step1: unplug the network line. ( simulation about wifi network disconnecting ) step2: do Connect(), this will get two warnings: TCPSocketLayer: Conne...
by nekokiller
15 Mar 2013, 01:25
Forum: SFS2X C# API
Topic: [SOLVED]IsConnecting flag is true forever
Replies: 8
Views: 3098

Re: IsConnecting flag is true forever [v1.1.0]

Lapo wrote:IsConnecting is False as well.
I am testing with the Lobby example that we provide, calling SmartFox.Disconnect() to close the connection.


Oh, Sorry, I found a mistake in my testing code.
There is no problem with v1.1.0.
Thanks.
by nekokiller
14 Mar 2013, 12:39
Forum: SFS2X C# API
Topic: [SOLVED]IsConnecting flag is true forever
Replies: 8
Views: 3098

Re: IsConnecting flag is true forever [v1.1.0]

ok, let me double check again.
by nekokiller
14 Mar 2013, 11:15
Forum: SFS2X C# API
Topic: [SOLVED]IsConnecting flag is true forever
Replies: 8
Views: 3098

Re: IsConnecting flag is true forever [v1.1.0]

Would you mind double checking that you are really using version 1.1.0? Because I don't see anything out of order. I get the disconnection event, with reason = manual and the IsConnected returns False as expected. Tested under Unity 3.5.7f6 Oh, sure, I have print the version number of smart fox in ...
by nekokiller
14 Mar 2013, 10:37
Forum: SFS2X C# API
Topic: About tcpNoDelay issue
Replies: 6
Views: 3128

Re: About tcpNoDelay issue

OK~ I got it.
Thank you so much. :)
by nekokiller
14 Mar 2013, 10:23
Forum: SFS2X C# API
Topic: [SOLVED]IsConnecting flag is true forever
Replies: 8
Views: 3098

Re: IsConnecting flag is true forever [v1.1.0]

ok

1) Socket
2) Manual
by nekokiller
14 Mar 2013, 09:32
Forum: SFS2X C# API
Topic: [SOLVED]IsConnecting flag is true forever
Replies: 8
Views: 3098

[SOLVED]IsConnecting flag is true forever

Hi, Lapo: I just download the SFS2X_API_CSharp_v1.1.0 and compare with v1.0.9. There is a new strange problem: the IsConnecting flag will be true forever after first time connection success. Even if we do disconnect(), after connection lost , the IsConnecting is still be true. eh, I think this may b...
by nekokiller
13 Mar 2013, 23:36
Forum: SFS2X C# API
Topic: About tcpNoDelay issue
Replies: 6
Views: 3128

Re: About tcpNoDelay issue

Yes, That's my question, too. What is the advantage , is it really help to reduce the response time of extension reqeust? ( Because our project is a real time game ) To figure out this question, we need to do some experiment about TCP_NO_DELAY option . Do some testing with turning on the TCP_NO_DELA...
by nekokiller
13 Mar 2013, 01:14
Forum: SFS2X C# API
Topic: About tcpNoDelay issue
Replies: 6
Views: 3128

Re: About tcpNoDelay issue

Thank you, but I'm not sure what you mean.

Do you mean tcp no delay options on client side is already turn on ?

We want to make sure the tcp no delay option is really turn ON on the client side.

Because our customer doubt us have not turn it on. They want me to show or prove it is turn on.
by nekokiller
12 Mar 2013, 04:23
Forum: SFS2X C# API
Topic: About tcpNoDelay issue
Replies: 6
Views: 3128

About tcpNoDelay issue

Hi~ I want to ask something about tcpNoDelay issue. I have read some posts about tcpNoDelay issue in this forums. I know that we can set the tcpNoDelay option to be true in core.xml. My question is, is that option only affact the packets server send to client ? or affact both client and server side ...
by nekokiller
08 Mar 2013, 01:35
Forum: SFS2X C# API
Topic: smartfox.IsConnected is true after OnConnectionLost
Replies: 15
Views: 6522

Re: smartfox.IsConnected is true after OnConnectionLost

Well~ great !
I just download the latest release, and run testing..
Everything works fine..Connection lost reason is correct.
After be kicked , redo connect() is always get success now.
There is no problem.

Go to advanced search