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
Bad packet #36
Comments
The latest versions of ProtocolLib do not work with 1.7.x and under. Try build 10: http://ci.shadowvolt.com/job/ProtocolLib/10/ |
This was happening through 1.7.2 - 1.7.10 is the code on our end look right at least? We got a lot of different stack traces Civcraft/AttrHider#2 |
The code appears fine, although it looks to be an issue with the environment (wrong version/version mismatch with Spigot and ProtocolLib) |
Huh weird. We use orebfuscator too and that never seems to have an issue.
|
Is this still an issue? |
Yes.
|
I can show you how to make it occur if you want?
|
Ok sure |
So just download this http://build.civcraft.co:8080/job/AttrHider-master/ and bascily enchant some armor and click it on and off. Have enchanted weapons out. You also need to do this around players, the more players the more likely it will occur. |
I did that and wasn't able to reproduce this. Looking back over the stacks, it appears that ProtocolLib isn't actually involved. The only time it appears in the stack is when it passes the packet on. Those errors do generally appear with modded servers / clients, is your server modded by any chance? |
No its a normal server. We just use spigot. What did you do and for how
|
I put on fully enchanted armor with a fully enchanted sword and a few people around. I took it off and put it back on a few times. Are you sure this is actually caused by AttrHider and ProtocolLib? |
Yes, I'll make a video for you later tonight.
|
Sorry about the late response here is the video and it shows you what error the client gets. Also the console just logs nullpointexception. |
Usually the client and/or server will produce some kind of error or crash. For servers, make sure |
Nothing appeared for either. |
I think the issue is with blocking health (line 86). In the video, it looks like you get disconnected after the player takes a good bit of damage. Try removing and/or modifying that section and see if it helps. |
Removing it didn't help. From some logging it seems like it's actually the equipment stuff on line 52. Also do these stacks help at all. |
Does removing the equipment stuff help? |
I don't recall. I do believe the issue is being caused bu this line but it shouldnt matter. Any ideas? |
Someone else on the Spigot forums had an issue similar to this. Does this error still occur without ProtocolLib? |
This error does not occur without protical lib as it will not function without it. |
Is this still an issue in 3.6.5, 3.7.0, or 4.0.0? |
Oh my bad, yea seems to be fixed.
|
http://pastebin.com/Nz40Z1uz Getting that error, even though it says 1_72 this is still happening on newest versions of protical lib. Relevant code is here: https://github.com/Civcraft/AttrHider/blob/master/src/com/civpvp/attrhider/AttrHider.java . Is it something we are doing wrong or protical lib?
The text was updated successfully, but these errors were encountered: