Posted May 30, 201510 yr I'm trying to send information to the server about location information from casting a spell client side. I'm getting the entity the player is looking at, casting the spell on that target, then telling the server to do the same. The only problem is that when the server (dedicated) receives the packet, I get a String exceeds maximum string size 22 > 20. However I am not sending any Strings. Here's my packet handler and message code on github: https://github.com/Himself12794/powersAPI/blob/master/src/main/java/com/himself12794/powersapi/network/CastSpellInstantServer.java and here's the SpellInstant class: https://github.com/Himself12794/powersAPI/blob/master/src/main/java/com/himself12794/powersapi/spell/SpellInstant.java I only get this error on a dedicated server, otherwise it works as it should. Perhaps I'm sending the packet incorrectly? With all due respect, sir: I do, what I do, the way I do it. ~ MacGyver
May 30, 201510 yr Author Your channel is too long, it can only be 20 chars max. You set it here: https://goo.gl/f99Fc3 I just noticed that as well. Shrunk it and it worked. Thanks! With all due respect, sir: I do, what I do, the way I do it. ~ MacGyver
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.