Universal ViaVersion 1.4.1

Allow newer versions to connect, why lose players while waiting after a Minecraft update?

  1. Mylescomputer

    Supporter

    Mylescomputer submitted a new resource:

    ViaVersion - Connect to a 1.8 server via a 1.9 client

    Read more about this resource...
     
    • Like Like x 5
    • Useful Useful x 3
    • Winner Winner x 2
    • Funny Funny x 1
  2. 29.02 14:09:06 [Disconnect] User Username has disconnected, reason: Internal Exception: java.io.IOException: Error while write(...): Broken pipe
     
    • Agree Agree x 2
  3. Mylescomputer

    Supporter

    Currently working on fixing a sign issue, is this a clean world? what is the output of /version?
     
  4. It wasn't a clean world, I appreciate your prompt response. I wiped the world and it works just fine, is there any quick solution to the signs? Are you aware of the problem with signs? Possibly I can have my team work to troubleshoot. Would really appreciate if this works with existing worlds.

    Thanks again!


    This server is running CraftBukkit version git-Spigot-e4d4710-e1ebe52 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT)
    You are running the latest version
     
  5. Mylescomputer

    Supporter

  6. Mylescomputer

    Supporter

    Updated it!
     
    • Informative Informative x 1
  7. Thanks for the patch, I still cannot use an existing world. Same error.

    Player-Side: Internal Exception: io.netty.handler.codec.DecoderException: com.google.gson.JsonSyntaxException: com.google.gston.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 2

    Console Side: 29.02 14:46:42 [Disconnect] User Username has disconnected, reason: Internal Exception: java.io.IOException: Error while write(...): Broken pipe
     
  8. Viaversion does not load

    server version: CraftBukkit version git-Spigot-db6de12-18fbb24 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT)

    logs:
    Code (Text):
    [20:41:44]
    [20:48:55] [Server thread/INFO]: [ViaVersion] Enabling ViaVersion v0.1
    [20:48:55] [Server thread/INFO]: ViaVersion enabled, injecting. (Allows 1.8 to be accessed via 1.9)
    [20:48:55] [Server thread/INFO]: Unable to inject handlers, are you on 1.8?
    [20:48:55] [Server thread/WARN]: java.lang.NoSuchFieldException: childHandler
    [20:48:55] [Server thread/WARN]:     at java.lang.Class.getDeclaredField(Class.java:2070)
    [20:48:55] [Server thread/WARN]:     at us.myles.ViaVersion.ReflectionUtil.get(ReflectionUtil.java:31)
    [20:48:55] [Server thread/WARN]:     at us.myles.ViaVersion.Core.injectPacketHandler(Core.java:45)
    [20:48:55] [Server thread/WARN]:     at us.myles.ViaVersion.Core.onEnable(Core.java:25)
    [20:48:55] [Server thread/WARN]:     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321)
    [20:48:55] [Server thread/WARN]:     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340)
    [20:48:55] [Server thread/WARN]:     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)
    [20:48:55] [Server thread/WARN]:     at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:357)
    [20:48:55] [Server thread/WARN]:     at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:317)
    [20:48:55] [Server thread/WARN]:     at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:414)
    [20:48:55] [Server thread/WARN]:     at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:378)
    [20:48:55] [Server thread/WARN]:     at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:333)
    [20:48:55] [Server thread/WARN]:     at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:263)
    [20:48:55] [Server thread/WARN]:     at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525)
    [20:48:55] [Server thread/WARN]:     at java.lang.Thread.run(Thread.java:745)
     
     
  9. Mylescomputer

    Supporter

    Are you using late-bind? if so turn it off :)
    Edit: late-bind now works (if you're coming from the future!)
     
    #9 Mylescomputer, Feb 29, 2016
    Last edited: Jun 6, 2016
  10. I don't use late-bind, i think it is related to my plugins because on new fresh 1.8 server with no plugin it work fine
     
  11. Mylescomputer

    Supporter

    Are you using something like protocol lib?
     
  12. Yes here is my plugins list: upload_2016-2-29_21-8-53.png
     
  13. Mylescomputer

    Supporter

    I'd assume it's not compatible with Protocol Lib, I'll look into making it compatible soon.
    Edit: ProtocolLib now works (if you're coming from the future!)
     
    #13 Mylescomputer, Feb 29, 2016
    Last edited: Jun 6, 2016
    • Funny Funny x 1
  14. That happens due to ProtocolLib. I had to remove it from my server for the time being. After doing so, it worked, but unfortunately I got another error which is the same as the one that's posted here: https://github.com/MylesIsCool/ViaVersion/issues/2#issuecomment-190327588
     
  15. Plugins

    ViaVersion, NeedsUpdate, Essentials, Vault, EssentialsChat, GroupManager, ProtocolLib, LibsDisguises, PlotSquared

    /Version

    This server is running CraftBukkit version git-Spigot-e4d4710-e1ebe52 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT)
    Checking version, please wait...
    You are running the latest version


    Console Error

    [14:16:32 INFO]: [ViaVersion] Enabling ViaVersion v0.2
    [14:16:32 INFO]: ViaVersion enabled, injecting. (Allows 1.8 to be accessed via 1.9)
    [14:16:32 INFO]: Unable to inject handlers, are you on 1.8?
    [14:16:32 WARN]: java.lang.NoSuchFieldException: childHandler
    [14:16:32 WARN]: at java.lang.Class.getDeclaredField(Unknown Source)
    [14:16:32 WARN]: at us.myles.ViaVersion.ReflectionUtil.get(ReflectionUtil.java:31)
    [14:16:32 WARN]: at us.myles.ViaVersion.Core.injectPacketHandler(Core.java:45)
    [14:16:32 WARN]: at us.myles.ViaVersion.Core.onEnable(Core.java:25)
    [14:16:32 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321)
    [14:16:32 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340)
    [14:16:32 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)
    [14:16:32 WARN]: at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:357)
    [14:16:32 WARN]: at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:317)
    [14:16:32 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:414)
    [14:16:32 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:378)
    [14:16:32 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:333)
    [14:16:32 WARN]: at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:263)
    [14:16:32 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525)
    [14:16:32 WARN]: at java.lang.Thread.run(Unknown Source)
     
  16. Mylescomputer

    Supporter

    Version of the plugin you're using? Are you on 0.2? Also plugin list + output of /version (any useful info is nice)
     
  17. Mylescomputer

    Supporter

    Please do not use ProtocolLib for now, we'll work on patching this ASAP so it works with it.
    Edit: ProtocolLib now works (if you're coming from the future!)
     
    #19 Mylescomputer, Feb 29, 2016
    Last edited: Jun 6, 2016
  18. Awesome. I'm having the same issue and error as him. I do have ProtocolLib installed as well.
     

Share This Page