Open Emibergo02 opened 1 month ago
bot.supportFeature('resourcePackUsesUUID') was the problem it returns false but should be true actually . i fixed the issue by using minecraft-protocol instead of acceptResourcePack()
bot._client.write('resource_pack_receive', {
uuid: uuid,
result: 0
})
Can you open a PR to fix?
Can you open a PR to fix it, please?
I don't know how to fix that :(
right now I'm using ViaBackwards with mineflayer 4.17.0
because 4.18.0+
acceptResourcepacks() doesn't work at all
The feature should be active for 1.20.3+ - https://github.com/PrismarineJS/minecraft-data/blob/master/data/pc/common/features.json#L361
Can you update your deps with npm update
and check if the issue persists? We can't support old versions, you need to reproduce on latest of all deps.
Still unusable until you pull https://github.com/PrismarineJS/node-minecraft-protocol/commit/ccab9fb39681f3ebe0d264e2a3f833aa3c5a1ac7 into mineflayer... Can't give you more information if I can't print disconnect messages...
Versions
Detailed description of a problem
seems to be related to the packet_resource_pack_receive and the method bot.acceptResourcePack(); AND I think this is the cause https://github.com/PrismarineJS/minecraft-data/blob/c658e8be5c2ce1b4e0478bbfc9f96c3b832fcbce/data/pc/1.20.3/protocol.json#L1951 The packet is not as it was supposed to be here https://wiki.vg/Protocol#Add_Resource_Pack_.28play.29
What did you try yet?
Check the client's protocol version on the server (it is correct 1.20.3 because 1.20.3 and 1.20.4 have the same protocol checking the bot version (1.20.4 as defined in createBot) I checked
bot.supportFeature('resourcePackUsesUUID')
It is false but it should be true I thinkYour current code
Expected behavior
send a successfully loaded packet to the server