-
-
Notifications
You must be signed in to change notification settings - Fork 918
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
Data buffer not correct size. #666
Comments
Do you have the code of the plugin that create that 7x7 pickaxe ?
This is a completely non vanilla feature and as such we probably have to
adapt a few things to make it work.
…On Mon, May 21, 2018, 21:21 Devin ***@***.***> wrote:
I'm not too sure how to proceed with my bot. The core mechanic of it is to
mine down to bedrock using a special pick. When I give it a regular pickaxe
it works perfect, but when I give it a 7x7 pickaxe, which mines a 7x7
radius around the block you break, I get "Data buffer not correct size".
I've tried surrounding the code in a try catch but that doesn't seem to
work either.
https://gyazo.com/67543bd41d3c38e253d35822a19cb85d
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#666>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/ACPN_pfmTU96b2TVQiGUUtOlSOomCsDjks5t0xPLgaJpZM4UHfLi>
.
|
Also try to enable debug mode with DEBUG=minecraft-protocol node bot.js and
report back the packets just before the crash.
…On Mon, May 21, 2018, 21:27 Romain Beaumont ***@***.***> wrote:
Do you have the code of the plugin that create that 7x7 pickaxe ?
This is a completely non vanilla feature and as such we probably have to
adapt a few things to make it work.
On Mon, May 21, 2018, 21:21 Devin ***@***.***> wrote:
> I'm not too sure how to proceed with my bot. The core mechanic of it is
> to mine down to bedrock using a special pick. When I give it a regular
> pickaxe it works perfect, but when I give it a 7x7 pickaxe, which mines a
> 7x7 radius around the block you break, I get "Data buffer not correct
> size". I've tried surrounding the code in a try catch but that doesn't seem
> to work either.
>
> https://gyazo.com/67543bd41d3c38e253d35822a19cb85d
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#666>, or mute the
> thread
> <https://github.com/notifications/unsubscribe-auth/ACPN_pfmTU96b2TVQiGUUtOlSOomCsDjks5t0xPLgaJpZM4UHfLi>
> .
>
|
The plugin is this plugin, https://www.spigotmc.org/resources/shockwavetools-massivecore-uuid.43854/ |
Ah thanks. I think I know why it happens. The server sends a |
Yeah it def doesn't handle it https://github.com/PrismarineJS/prismarine-chunk/blob/master/src/pc/1.9/chunk.js#L316 vanilla always send groundUp: true I guess we need to add that feature in prismarine-chunk so that your server can work. http://wiki.vg/Chunk_Format#Ground-up_continuous that's the description of that property. |
opened an issue for it there PrismarineJS/prismarine-chunk#43 |
I'm not too sure how to proceed with my bot. The core mechanic of it is to mine down to bedrock using a special pick. When I give it a regular pickaxe it works perfect, but when I give it a 7x7 pickaxe, which mines a 7x7 radius around the block you break, I get "Data buffer not correct size". I've tried surrounding the code in a try catch but that doesn't seem to work either.
https://gyazo.com/67543bd41d3c38e253d35822a19cb85d
The text was updated successfully, but these errors were encountered: