Skip to content
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

Mixin transformation of ServerLoginNetworkAddon fails with Fabric API 0.58.5 #13

Closed
3 tasks done
AViewFromTheTop opened this issue Aug 3, 2022 · 8 comments
Closed
3 tasks done
Labels
bug Something isn't working

Comments

@AViewFromTheTop
Copy link

Describe the bug
With Raknetify and Fabric API 0.58.5, it's impossible to join servers and singleplayer worlds.

To Reproduce
Steps to reproduce the behavior:

  1. Try to join a server or singleplayer world.
  2. Unable to join, log says that Raknet's Mixin for Fabric API's ServerLoginNetworkAddon failed.

Expected behavior
You'd be able to join singleplayer and multiplayer worlds normally.

Screenshots
2022-08-03_06 47 19

Runtime info (please complete the following information):

  • Windows 10
  • 1.19.1
  • Raknetify Fabric 0.1.0 Alpha 5.4

Crash reports / logs
03.08 10:47:58 [Server] Netty Epoll Server IO #2/INFO [STDERR]: java.lang.RuntimeException: Mixin transformation of net.fabricmc.fabric.impl.networking.server.ServerLoginNetworkAddon failed

Other mods
Fabric Api 0.58.5

Checklist

  • I am using the official version of the mod.
  • I tried the latest development version but the issue persists.
  • I searched for similar open issues and could not find an existing bug report on this.
@AViewFromTheTop AViewFromTheTop added the bug Something isn't working label Aug 3, 2022
@ishland
Copy link
Contributor

ishland commented Aug 3, 2022

This is not a valid logs. Please paste full logs.

@ishland ishland added the question Further information is requested label Aug 3, 2022
@AViewFromTheTop
Copy link
Author

AViewFromTheTop commented Aug 3, 2022

This is not a valid logs. Please paste full logs.

2022-08-03-3.log
Says something about the Mixin already being redirected by Fabric API itself.

@ishland
Copy link
Contributor

ishland commented Aug 3, 2022

Try adding -Draknetify.debug=true to your server jvm flags and reproduce this again.

@AViewFromTheTop
Copy link
Author

Try adding -Draknetify.debug=true to your server jvm flags and reproduce this again.

Just tried, I don't think the output is any different. I ran it on a singeplayer world this time since Apex doesn't let me modify server arguments, but I still get the same error nonetheless.
latest.log

@ishland
Copy link
Contributor

ishland commented Aug 3, 2022

I don't think you have actually added the flag correctly. Also the version shown in the startup log is 0.1.0+alpha.5.2 rather than 0.1.0+alpha.5.4.

@AViewFromTheTop
Copy link
Author

I don't think you have actually added the flag correctly. Also the version shown in the startup log is 0.1.0+alpha.5.2 rather than 0.1.0+alpha.5.4.

I'm using a5.4 and the log doesn't mention otherwise. My jvm flags look like this, though I'll try it again:
-Draknetify.debug=true -Xmx4G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M

@ishland
Copy link
Contributor

ishland commented Aug 3, 2022

Your log did mention it is 0.1.0+alpha.5.2
image

@AViewFromTheTop
Copy link
Author

AViewFromTheTop commented Aug 3, 2022

Your log did mention it is 0.1.0+alpha.5.2 image

The newer log doesn't, and I get the same issue. Here's another log, I think the debug flag worked this time.
latest.log

@ishland ishland removed the question Further information is requested label Aug 3, 2022
@ishland ishland closed this as completed in 4f4f067 Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants