1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. GTA Network forum is now in archive mode.

To be investigated OnPlayerDisconnect not executing properly

Discussion in 'To be investigated' started by Booth, Dec 30, 2016.

  1. Booth

    Booth Member

    Messages:
    25
    Likes Received:
    8
    Joined:
    Dec 23, 2016
    Normally when the player disconnects using the UI disconnect button provided by GTAN, the server will execute OnPlayerDisconnect immediately.

    But I just noticed that when I disconnected from the server via the quit button in the menu, the server did not acknowledge the player had disconnected until about a minute after they had disconnected.

    The reason that was returned as the parameter to OnPlayerDisconnect read Time out (see screenshot)
    [​IMG]
     
  2. MissMelissa

    MissMelissa New Member

    Messages:
    0
    Likes Received:
    0
    Joined:
    Dec 26, 2016
    Actually, this was not the case for me just now:

    Code:
    [03:29:20] [profiles] Saving profile for "MissMelissa"
    [03:29:20] Player disconnected: MissMelissa (MissMelissa) [192.168.0.131]
     
  3. Booth

    Booth Member

    Messages:
    25
    Likes Received:
    8
    Joined:
    Dec 23, 2016
    I'll run a couple of tests today to verify whether it was just a one-off.
     
  4. Adam

    Adam Staff Member Administrator Webmaster Developer

    Messages:
    275
    Likes Received:
    146
    Joined:
    Apr 3, 2016
  5. Booth

    Booth Member

    Messages:
    25
    Likes Received:
    8
    Joined:
    Dec 23, 2016
    My apologises Adam, I forgot to reply.

    I figure that the issue occurs when you close GTA from the taskbar or with ALT-F4.

    If you quit from the menu, it works fine.
    If you quit from taskbar, it takes about 30 - 40 seconds to recognise you have DCed.

    Hope this helps.
     

Share This Page