Search found 48 matches

by Ardito
09 Oct 2019, 17:42
Forum: SFS2X Questions
Topic: NullReference session
Replies: 8
Views: 3634

Re: NullReference session

You are right. The room is destroyed when a user is disconnected

Thank's for help me :D
by Ardito
09 Oct 2019, 11:45
Forum: SFS2X Questions
Topic: NullReference session
Replies: 8
Views: 3634

Re: NullReference session

One thing is logging out and another is disconnecting. Which one is it? disconnecting Yes this problem can be replicated. I found the error to come from this script: public class PlayerSelectSlot extends BaseClientRequestHandler { @Override public void handleClientRequest(User user, ISFSObject para...
by Ardito
08 Oct 2019, 10:37
Forum: SFS2X Questions
Topic: NullReference session
Replies: 8
Views: 3634

Re: NullReference session

This happens when a user logs out, but before it disconnects everything works.

What could be the problem?
by Ardito
07 Oct 2019, 16:36
Forum: SFS2X Questions
Topic: NullReference session
Replies: 8
Views: 3634

Re: NullReference session

Of course My code: package loginserver; import com.smartfoxserver.v2.entities.User; import com.smartfoxserver.v2.entities.data.ISFSObject; import com.smartfoxserver.v2.entities.data.SFSArray; import com.smartfoxserver.v2.entities.data.SFSObject; import com.smartfoxserver.v2.extensions.BaseClientRequ...
by Ardito
07 Oct 2019, 14:02
Forum: SFS2X Questions
Topic: NullReference session
Replies: 8
Views: 3634

NullReference session

Hi, In my project, when a user loggin, I set all the user variables inside a Session variable, so that they are accessible from any part of the Server code: session.setProperty ("user_var", userVar); While the user plays in a 1 vs 1 game, if he accidentally disconnects, or loses the connec...
by Ardito
04 Oct 2019, 18:26
Forum: SFS2X Questions
Topic: Report Bug
Replies: 17
Views: 261

Re: Report Bug

I tried the Unity Example projects, and it actually works fine, but then what could be the problem in my project?
by Ardito
03 Oct 2019, 17:44
Forum: SFS2X C# API
Topic: Error on Unity examples pack
Replies: 3
Views: 419

Re: Error on Unity examples pack

Perfect
by Ardito
02 Oct 2019, 11:32
Forum: SFS2X C# API
Topic: Error on Unity examples pack
Replies: 3
Views: 419

Error on Unity examples pack

Hi, I tried the SFS2x examples with Unity 2019.2.6f1 (64-bit), and I get this: Debug: Rebuilding Library because the asset database could not be found! Warning: Assets\ConnectorAssets\Scripts\Connector.cs(31,14): warning CS0414: The field 'Connector.defaultWsPort' is assigned but its value is never ...
by Ardito
28 Sep 2019, 18:03
Forum: SFS2X Questions
Topic: Report Bug
Replies: 17
Views: 261

Re: Report Bug

did some tests: Socket addresses Type: TCP Session maximum idle time: 10 User maximum idle time: 30 Overridden user maximum idle time: 30 WORK Socket addresses Type: TCP Session maximum idle time: 10 User maximum idle time: 60 Overridden user maximum idle time: 60 WORK Socket addresses Type: TCP Ses...
by Ardito
28 Sep 2019, 09:02
Forum: SFS2X Questions
Topic: Report Bug
Replies: 17
Views: 261

Re: Report Bug

I don't understand it, sometimes it works, and sometimes it doesn't work
by Ardito
28 Sep 2019, 08:42
Forum: SFS2X Questions
Topic: Report Bug
Replies: 17
Views: 261

Re: Report Bug

Again, the client does not receive the inactivity disconnection.
by Ardito
27 Sep 2019, 18:46
Forum: SFS2X Questions
Topic: Report Bug
Replies: 17
Views: 261

Re: Report Bug

Yes, in my game after a user becomes inactive, I take him to the Login screen.
by Ardito
27 Sep 2019, 12:02
Forum: SFS2X Questions
Topic: Report Bug
Replies: 17
Views: 261

Re: Report Bug

Yes I am testing on the net, the steps I do are these: 1) I log in through any user 2) I wait for the 300 seconds to expire I tried again and now it works, but when I log in again, I get this error: 14:08:12,109 INFO [SocketReader] sessions.DefaultSessionManager - Session created: { Id: 12, Type: DE...
by Ardito
26 Sep 2019, 17:37
Forum: SFS2X Questions
Topic: Report Bug
Replies: 17
Views: 261

Re: Report Bug

My build target is iOS and Android
by Ardito
26 Sep 2019, 10:03
Forum: SFS2X Questions
Topic: Report Bug
Replies: 17
Views: 261

Re: Report Bug

Lapo wrote:What platform are you building for?
Unity Editor

Lapo wrote:Can you describe how you're doing the test?
I start Unity Editor, I log in, and I wait

Lapo wrote:Is the test always reproducible?
Yes

Go to advanced search