-
Notifications
You must be signed in to change notification settings - Fork 58
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
Revert "Attempt to release ByteBufs." #258
Conversation
This breaks Draconic Evolution and potentially any other mod that relies on PacketCustom.java.
It may be worth trying to implement this in a different way, but for now, leaving out the line of code makes DE work again. I don't know enough about this mod to help otherwise! |
'makes DE work again' explain, does it crash? whats wrong? |
It causes clients connecting to a single-player world hosted locally to become disconnected upon receiving a packet based on PacketCustom. |
Please provide logs. |
Alrighty. Don't have access to my computer currently, but I will get them first thing in the morning. |
In this test case, I was using an Energy Core from Draconic Evolution to test CCL. The client is disconnected upon receiving the packet, and the server throws the same error many times:
It was hard to trace down, but I finally managed to find this one line of code. Removing it fixed the problem, and I don't know how to redesign the code to release the packet safely, as I don't know much about networking. |
Is there anyway I could implement this before the next update? Its making it hard to play a LAN game with my friends. |
Just downgrade to the previous version. If you have a mod that depends on the latest version, you can compile it locally from my fork. Just remember to change the build number to something high like '9999', both so you know it's unofficial and so mods see it as a higher version than the one they're looking for. |
Have never done a custom compile before for a mod like this. Unfortunately the modpack I am using requires the newest version so I guess I am waiting for now. Thanks for the help. |
New build will be pushed to curse immediately. |
This breaks Draconic Evolution and potentially any other mod that relies on PacketCustom.java.