Page 1 of 1

Can't catch user disconnection

Posted: 21 Jul 2014, 18:09
by miv
I'm trying to catch USER_DISCONECTED event on server but nothing happens. I see in logs:

Code: Select all

21 Jul 2014 | 17:15:00,426 | INFO  | SFSWorker:Sys:3 | v2.api.SFSApi |     | User disconnected: { Zone: TestZone }, ( User Name: test, Id: 11, Priv: 0, Sess: 6.6.6.6:58539 ) , SessionLen: 10144, Type: Unity

And accompanying Session removed log record, but my

Code: Select all

        addEventHandler(SFSEventType.USER_DISCONNECT , DisconnectEventHandler.class);


in my Zone extension receives nothing.

Thenk you.

Re: Can't catch user disconnection

Posted: 21 Jul 2014, 20:16
by rjgtav
--- Moved to the correct forum section ---

Re: Can't catch user disconnection

Posted: 22 Jul 2014, 07:19
by miv
I'm sorry, problem has been resolved. It works as expected.

Re: Can't catch user disconnection

Posted: 22 Jul 2014, 10:15
by rjgtav
Can you tell us what was the issue?
It may help someone else in the future :wink: