wisp-forest / owo-velocity-plugin Goto Github PK
View Code? Open in Web Editor NEWVelocity plugin for oωo handshake support
License: Other
Velocity plugin for oωo handshake support
License: Other
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.
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.
A friendly reminder regarding the issue raised in Discord
Current owo-velocity-plugin is compiled sgainst J18, so this needs a new release
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.