Results 1 to 7 of 7

Thread: Disconnected to main menu.

  1. #1
    Refugee
    Join Date
    Nov 2019
    Posts
    2
    Rep Power
    0

    Exclamation Disconnected to main menu.

    Problem: If Litenetlib is not disabled (hosted by nitrado.net) I am disconnected and returned to the main menu. This occurs every time I log in within 90 seconds. I can connect fine if we disable Litenetlib and remove steamnetworking from the disabled protocols. Using steamnetworking however produces a well documented lag issue.

    Client log: https://pastebin.com/YxKFFBX1 (below is a snippet before disconnect)

    2019-11-07T19:49:04 76.431 INF GMSG: Player 'Bramse' joined the game
    2019-11-07T19:49:32 104.790 INF Time: 1.44m FPS: 45.20 Heap: 2309.1MB Max: 2309.1MB Chunks: 225 CGO: 182 Ply: 1 Zom: 0 Ent: 2 (3) Items: 0 CO: 1 RSS: 4733.5MB
    2019-11-07T19:50:02 134.778 INF Time: 1.94m FPS: 48.81 Heap: 2404.8MB Max: 2404.8MB Chunks: 225 CGO: 180 Ply: 1 Zom: 0 Ent: 2 (3) Items: 0 CO: 1 RSS: 4740.8MB
    2019-11-07T19:50:09 141.568 INF NET: LiteNetLib: Connection closed: RemoteConnectionClose
    2019-11-07T19:50:09 141.568 INF [NET] DisconnectedFromServer: RemoteConnectionClose
    2019-11-07T19:50:09 141.570 INF Exited thread NCS_Reader_0
    2019-11-07T19:50:09 141.570 INF Exited thread NCS_Reader_1
    2019-11-07T19:50:09 141.570 INF Exited thread NCS_Writer_0
    2019-11-07T19:50:09 141.570 INF Exited thread NCS_Writer_1
    2019-11-07T19:50:09 141.578 INF SaveAndCleanupWorld
    2019-11-07T19:50:09 141.580 INF [Steamworks.NET] Stopping server
    2019-11-07T19:50:09 141.580 INF [Steamworks.NET] Exiting Lobby
    2019-11-07T19:50:09 141.604 INF World.Unload
    2019-11-07T19:50:09 141.708 INF World.Cleanup
    2019-11-07T19:50:09 141.710 INF Exited thread ChunkRegeneration
    2019-11-07T19:50:09 141.717 INF Exited thread ChunkCalc
    2019-11-07T19:50:09 141.735 INF Persistent GamePrefs saved

    Other players also experience the lag issue with steamnetworking protocol enabled (on my server at least) but I am the only one being consistently disconnected after 30-90 seconds while using Litenetlib protocol.

    A fix that gets either protocol working would be fine.

    Serverconfig.xml - https://pastebin.com/NY7uUzPQ (passwords have been redacted to XXXXX)

    I have viewed other threads and I have tried the following;

    Disabling IPV6 (on my modem and local machine)

    Disabling my firewall

    Changing protocol (if I disable both steamnetworking AND litenetlib I cannot connect at all, disabling steamnetworking but not litenetlib produces the disconnects to main menu, and disabling litenetlib but not steamnetworking results in MASSIVE lag spikes)

    disabling eac (I never used it to begin with)

    uninstalling and reinstalling the client

    I am hardwired via ethernet into my modem using cat6


    System specs; i5 4690 3.5ghz quadcore, 16gb DDR3, Geforce GTX 1050 Ti. Windows 10 pro 64 bit.

    I would really appreciate some help here as basically in order to play the game at all I have to suffer through tremendous lag or play single player.

  2. #2
    Community Moderator SylenThunder's Avatar
    Join Date
    Oct 2014
    Location
    SE Michigan, out in the sticks.
    Posts
    8,703
    Rep Power
    1
    Removing LiteNetLib has an impact on increasing network latency, and degrading server performance.

    Sure it temp fixes your login issue, but overall is bad for everyone else.

    Did you try it with no disabled protocols?

  3. #3
    Colony Founder Jugginator's Avatar
    Join Date
    Mar 2017
    Location
    Texas
    Posts
    1,258
    Rep Power
    1
    I'm by far a video game server expert, but maybe see if you're behind on .net framework updates? 4.7.1 is the current, check Windows update to see.

  4. #4
    Zombie Hunter Beelzybub's Avatar
    Join Date
    Dec 2015
    Posts
    467
    Rep Power
    1
    Quote Originally Posted by Jugginator View Post
    I'm by far a video game server expert, but maybe see if you're behind on .net framework updates? 4.7.1 is the current, check Windows update to see.
    .net 4.8 has been out since April.

  5. #5
    Scavenger
    Join Date
    Nov 2017
    Posts
    34
    Rep Power
    0
    Quote Originally Posted by bramse View Post
    A fix that gets either protocol working would be fine.
    If you ever find a solution then do please let me know. We have exactly the same issue with the second computer on the same LAN. If LiteNetLib is enabled, frequent "Time Out" drops to the main menu but with SteamNetworking enabled, no disconnects at all. There is the occasional lag spike but as it's LAN, it's never too long and much, much better than frequent crashes to the menu.

  6. #6
    Refugee
    Join Date
    Nov 2019
    Posts
    2
    Rep Power
    0
    Yes, with no disabled protocols I am disconnected by litenetlib, basically disabling steamnetworking has no effect (as far as I can tell, because I'm not sure if the lag is present because I am disconnected so quickly).

    Further down someone suggested updating my .net framework so I will try that next and post an update.

  7. #7
    Colony Founder Jugginator's Avatar
    Join Date
    Mar 2017
    Location
    Texas
    Posts
    1,258
    Rep Power
    1
    Quote Originally Posted by Beelzybub View Post
    .net 4.8 has been out since April.
    I forgot lol. I was a little tipsy last night at the time

    Another note, running firewalls / AV while getting this issue?
    Last edited by Jugginator; 1 Week Ago at 05:35 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •