Vanilla still does send the payload with the size VarInt prefix. However this seems to be a vanilla thing, so let's compromise - we'll read everything and if we need to process vanilla-based message, we'll remove the length.
Vanilla still does send the payload with the size VarInt prefix. However this seems to be a vanilla thing, so let's compromise - we'll read everything and if we need to process vanilla-based message, we'll remove the length.
I did play with it for a while, the GUI seemed nonresponsive, but then on the other hand, the client didn't send any plugin message at all, so I don't know what to make of this.
Give it a try, I've already pushed the change that reads Vanilla plugin messages with VarInt length and the rest without.
I did play with it for a while, the GUI seemed nonresponsive, but then on the other hand, the client didn't send any plugin message at all, so I don't know what to make of this.
Give it a try, I've already pushed the change that reads Vanilla plugin messages with VarInt length and the rest without.
The plugin messages that are tested you (MC|ItemName, MC|Brand) are only one string prefixed with a var int length. This works because Mojang changed the strings to varint strings. But other plugin messages (like MC|Beacon) won't work!
The plugin messages that are tested you (MC|ItemName, MC|Brand) are only one string prefixed with a var int length. This works because Mojang changed the strings to varint strings. But other plugin messages (like MC|Beacon) won't work!
This comment has been minimized.
madmaxoftSep 28, 2014
MemberWhaaat? Why did you do this? I had fixed it and it was working this way. Now it's not working again. The plugin messages DO contain the data length.
madmaxoft repliedSep 28, 2014
Whaaat? Why did you do this? I had fixed it and it was working this way. Now it's not working again. The plugin messages DO contain the data length.
This comment has been minimized.
HowanerSep 28, 2014
Contributornope.
Howaner repliedSep 28, 2014
nope.
This comment has been minimized.
HowanerSep 28, 2014
ContributorOnly the strings are prefixed with a varint. This will destroy other plugin messages (like bungeecord)
Howaner repliedSep 28, 2014
Only the strings are prefixed with a varint. This will destroy other plugin messages (like bungeecord)
This comment has been minimized.
madmaxoftSep 28, 2014
MemberNo, vanilla sends the data lengths.
madmaxoft repliedSep 28, 2014
No, vanilla sends the data lengths.
This comment has been minimized.
HowanerSep 28, 2014
ContributorNope. Mojang changed only the strings in the plugin messages to a var int string.
But if you want to send other data, this won't work!
Howaner repliedSep 28, 2014
Nope. Mojang changed only the strings in the plugin messages to a var int string.
But if you want to send other data, this won't work!
This comment has been minimized.
madmaxoftSep 28, 2014
MemberVanilla still does send the payload with the size VarInt prefix. However this seems to be a vanilla thing, so let's compromise - we'll read everything and if we need to process vanilla-based message, we'll remove the length.
madmaxoft repliedSep 28, 2014
Vanilla still does send the payload with the size VarInt prefix. However this seems to be a vanilla thing, so let's compromise - we'll read everything and if we need to process vanilla-based message, we'll remove the length.
This comment has been minimized.
HowanerSep 28, 2014
ContributorWorks the beacon ui with this changes?
Howaner repliedSep 28, 2014
Works the beacon ui with this changes?
This comment has been minimized.
madmaxoftSep 28, 2014
MemberI have no idea how the beacon UI works, it doesn't seem to work at all, but then, it doesn't send any plugin messages either.
madmaxoft repliedSep 28, 2014
I have no idea how the beacon UI works, it doesn't seem to work at all, but then, it doesn't send any plugin messages either.
This comment has been minimized.
HowanerSep 28, 2014
Contributorbuild a little pyramide, place a beacon on it, place a diamond in the beacon slot, select a effect and click to finish
Howaner repliedSep 28, 2014
build a little pyramide, place a beacon on it, place a diamond in the beacon slot, select a effect and click to finish
This comment has been minimized.
madmaxoftSep 29, 2014
MemberI did play with it for a while, the GUI seemed nonresponsive, but then on the other hand, the client didn't send any plugin message at all, so I don't know what to make of this.
Give it a try, I've already pushed the change that reads Vanilla plugin messages with VarInt length and the rest without.
madmaxoft repliedSep 29, 2014
I did play with it for a while, the GUI seemed nonresponsive, but then on the other hand, the client didn't send any plugin message at all, so I don't know what to make of this.
Give it a try, I've already pushed the change that reads Vanilla plugin messages with VarInt length and the rest without.
This comment has been minimized.
HowanerSep 29, 2014
ContributorThe gui doesn't work because the plugin message haven't a length var int!
This happends if you try to activate the beacon:
The plugin messages that are tested you (MC|ItemName, MC|Brand) are only one string prefixed with a var int length. This works because Mojang changed the strings to varint strings. But other plugin messages (like MC|Beacon) won't work!
Howaner repliedSep 29, 2014
The gui doesn't work because the plugin message haven't a length var int!
This happends if you try to activate the beacon:
The plugin messages that are tested you (MC|ItemName, MC|Brand) are only one string prefixed with a var int length. This works because Mojang changed the strings to varint strings. But other plugin messages (like MC|Beacon) won't work!