-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[🐞]: mod_version_check_packet
breaks Velocity proxy support
#592
Comments
U need to update your EveryComp to the latest version, v2.6.72 & Moonlight Lib to v2.12.14. |
Hm what? Integer min value where? That packet works and thus must be valid for vanilla so I don't see how it could be our issue.
|
Any news on this issue? |
the int here is message id: see https://wiki.vg/Protocol#Login_Plugin_Request while int.min value is a valid value for it, it shouldnt occur in normal gameplay (as the docs say it should be unique vs all other messages). int.min value was previously treated as a sentinel value for parsing error in velocity, and is fixed as of build 416, released ~20 days ago i think the correct way of doing it is with the loginIndexGetter and loginIndexSetter on SimpleChannel.MessageBuilder, but there is very little docs |
I still dont know where this -1 would be in my code. |
Closing this since no replying. you can re-open if you still get the same issue as above. |
Before Continuing:
Disable all of your mods and enable them 1-2 mods each time to isolate the culprit
Version
1.20.1
Loader
Forge
EveryCompat Version
everycomp-1.20-2.6.66
Moonlight Lib Version
moonlight-1.20-2.12.6-forge
Issue with mods
Velocity 3.0.0
This is not another mod, but a minecraft server proxy.
Issue Detail
When the
mod_version_check_packet
setting is enabled, this mod sends a packet to the server to query the correct versions. This packet contains theInteger.MIN_VALUE
which causes the proxy to disconnect the client.The following section of code causes the client to disconnect
WoodGood/forge/src/main/java/net/mehvahdjukaar/every_compat/forge/EveryCompatForge.java
Lines 169 to 176 in e71d856
More information can be found in the following ticket: PaperMC/Velocity#1370
OPTIONAL: Latest.log | Crash-report Attachment
The following log comes from the Velocity proxy, not the mod.
OPTIONAL: To Produce
The text was updated successfully, but these errors were encountered: