Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-64522

Server show as "Old" in server list while starting



    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 14w31a, Minecraft 1.8-pre2, Minecraft 1.8.4, Minecraft 1.8.7, Minecraft 15w44b, Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 1.10.2, Minecraft 16w41a, Minecraft 16w42a, Minecraft 1.12.2, Minecraft 17w50a, Minecraft 1.13-pre7, Minecraft 1.13-pre8, Minecraft 1.13, Minecraft 18w31a, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w05a, Minecraft 19w11b, Minecraft 19w12b, Minecraft 19w13b, Minecraft 1.14, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 3, Minecraft 1.14.3 Pre-Release 4, 1.14.4, 1.15.1, 1.15.2, 20w07a
    • Fix Version/s: None
    • Confirmation Status:
    • Category:


      The bug

      When you start a server and while the server is starting open or update the server list in your client, "Old" is shown as the the status of the server (untranslated).

      How to reproduce

      1. Open the server list in your client
      2. Add a server with the ip localhost
      3. Start a server on your computer
      4. Refresh the server list of your client multiple times

      The reason

      The following is based on decompiled version of Minecraft 1.8 using MCP. All method and class names are the names used in the decompiled version.

      The reason why this happens is that the network connection is created before the values for the net.minecraft.network.ServerStatusResponse object of the server are set. If the client pings the server between this period of time, the returned net.minecraft.network.status.server.S00PacketServerInfo packet contains the net.minecraft.network.ServerStatusResponse object with no values set. The public void handleServerInfo(S00PacketServerInfo packetIn) method of the anonymous class based on the net.minecraft.network.status.INetHandlerStatusClient interface created in the net.minecraft.client.network.OldServerPinger class shows then "Old" ("Invalid protocol version" would probably fit better).
      Opening the network connection after the server thread was started might make more sense (but I am not sure about this one as I am not very familiar with network managing).


          Issue Links



              • Assignee:
                marcono1234 [Mod] Marcono1234
              • Votes:
                13 Vote for this issue
                6 Start watching this issue


                • Created:

                  Potential Duplicates