Giter VIP home page Giter VIP logo

owo-velocity-plugin's People

Contributors

basiqueevangelist avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

owo-velocity-plugin's Issues

ReplayMod issue

Plugin is incompatible with ReplayMod. Just telling "Server sent an invalid packet"
image

[1.18.2] AoF5 & OwO (ArrayIndexOutOfBoundsException)

Issue

I am trying to connect to an All of Fabric 5 v1.3.1 (1.18.2 Minecraft) server from a Velocity proxy (with legacy forwarding, using FabricProxy and CrossStitch). OwO is installed on both the server and proxy side. Whenever I try to connect I get an ArrayIndexOutOfBounds exception, and upon investigation I determined this plugin to be the issue.

Solution(?)

I fixed this issue myself by changing OwoHandshakeHandler#onPreLogin(PreLoginEvent event) from:

conn.sendLoginPluginMessage(OwoVelocityPlugin.HANDSHAKE_ID, new byte[0], responseBody -> {

To:

conn.sendLoginPluginMessage(OwoVelocityPlugin.HANDSHAKE_ID, new byte[Short.MAX_VALUE / 4], responseBody -> {

After changing this and recompiling, my connection can now be established. I did not make this a PR, as I honestly have no idea the ramifications of doing it this way (how it would affect other MC versions, etc.), but this is how I fixed that issue in this specific case.

Re-compile against Java 17

A friendly reminder regarding the issue raised in Discord
Current owo-velocity-plugin is compiled sgainst J18, so this needs a new release

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.