Followup to Earlier Connection Loss Question

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

dforma
Posts: 5
Joined: 14 Jul 2019, 17:54

Followup to Earlier Connection Loss Question

Postby dforma » 21 Jul 2019, 22:27

With respect to the question I asked earlier, here are my Unity and SFS versions and the server log. Unity 2019.3.0a6 & SmartFoxServer 2.13.6

When I am placed in the room, I load my alternate scene with GameController added to the top object.

Following the next ProcessEvents, I can no longer access ‘sfs,’ whereas in Tris, the connection is still accessible.

The logs show I am somehow kicked out of the room, which is perhaps normal when loading a new scene. Perhaps I should just be trying to re-establish the earlier port connection, but have not seen that in the examples.
Thanks

20 Jul 2019 | 23:58:54,265 | INFO | Thread-4 | entities.managers.SFSExtensionManager | | Reloading extension: { Ext: Chess-JS, Type: JAVASCRIPT, Lev: ZONE, { Zone: BasicExamples }, {} }
20 Jul 2019 | 23:58:54,452 | INFO | Thread-4 | Extensions | | {Chess-JS}: TrisJS Extension init (version 1.0.0)
20 Jul 2019 | 23:58:54,474 | INFO | Thread-4 | Extensions | | {Chess-JS}: TrisJS Extension destroy (version 1.0.0)
20 Jul 2019 | 23:59:13,654 | INFO | qtp988364819-44 | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 17, Type: WEBSOCKET, Logged: No, IP: 127.0.0.1 } on Server port: 8080 <---> 50944
20 Jul 2019 | 23:59:13,722 | INFO | SFSWorker:Sys:3 | v2.api.SFSApi | | User login: { Zone: BasicExamples }, ( User Name: dg, Id: 14, Priv: 0, Sess: 127.0.0.1:50944 ) , Type: Unity / .Net
20 Jul 2019 | 23:59:13,843 | INFO | SFSWorker:Sys:4 | v2.api.SFSApi | | Room joined: [ Room: The Lobby, Id: 0, Group: default, isGame: false ], { Zone: BasicExamples }, ( User Name: dg, Id: 14, Priv: 0, Sess: 127.0.0.1:50944 ) , asSpect: false
20 Jul 2019 | 23:59:15,432 | INFO | SFSWorker:Sys:2 | Extensions | | {Chess-JS}: TrisJS Extension init (version 1.0.0)
20 Jul 2019 | 23:59:15,445 | INFO | SFSWorker:Sys:2 | entities.managers.SFSRoomManager | | Room created: { Zone: BasicExamples }, [ Room: dg's game, Id: 14, Group: games, isGame: true ], type = SFSRoom
20 Jul 2019 | 23:59:15,446 | INFO | SFSWorker:Sys:2 | v2.api.SFSApi | | Room joined: [ Room: dg's game, Id: 14, Group: games, isGame: true ], { Zone: BasicExamples }, ( User Name: dg, Id: 14, Priv: 0, Sess: 127.0.0.1:50944 ) , asSpect: false
20 Jul 2019 | 23:59:15,460 | INFO | SFSWorker:Ext:2 | Extensions | | {Chess-JS}: OnUsrDiscon
20 Jul 2019 | 23:59:15,462 | INFO | SFSWorker:Ext:2 | Extensions | | {Chess-JS}: UsrDiscon_JustLeft
20 Jul 2019 | 23:59:15,463 | INFO | SFSWorker:Ext:2 | Extensions | | {Chess-JS}: OnUsrDiscon
20 Jul 2019 | 23:59:15,464 | INFO | SFSWorker:Ext:2 | Extensions | | {Chess-JS}: UsrDiscon_JustLeft
User avatar
Lapo
Site Admin
Posts: 21699
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Followup to Earlier Connection Loss Question

Postby Lapo » 22 Jul 2019, 07:56

I have already replied to your first post. Let's keep the conversation in one place.

Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 35 guests