Skip to content

The bot crashes after connecting to the server #3693

@MilkyCoding

Description

@MilkyCoding

Error:

<anonymous_script>:1
{textures:{SKIN:{url:"http://textures.minecraft.net/texture/b67168621fdb0cf3f7e57cb5166d48e9e9c87d677494339f3b8feec8c3a36b"}}}
^

SyntaxError: Expected property name or '}' in JSON at position 1 (line 1 column 2)
at JSON.parse ()
at extractSkinInformation (C:\Users\MilkyCoding\Desktop\OreSage\ПИАР\MilkSpamBots\node_modules\mineflayer\lib\plugins\entities.js:944:28)
at Client.handlePlayerInfoLegacy (C:\Users\MilkyCoding\Desktop\OreSage\ПИАР\MilkSpamBots\node_modules\mineflayer\lib\plugins\entities.js:675:31)
at Client.emit (node:events:519:35)
at emitPacket (C:\Users\MilkyCoding\Desktop\OreSage\ПИАР\MilkSpamBots\node_modules\minecraft-protocol\src\client.js:84:12)
at FullPacketParser. (C:\Users\MilkyCoding\Desktop\OreSage\ПИАР\MilkSpamBots\node_modules\minecraft-protocol\src\client.js:113:9)
at FullPacketParser.emit (node:events:507:28)
at addChunk (C:\Users\MilkyCoding\Desktop\OreSage\ПИАР\MilkSpamBots\node_modules\readable-stream\lib\internal\streams\readable.js:323:12)
at readableAddChunk (C:\Users\MilkyCoding\Desktop\OreSage\ПИАР\MilkSpamBots\node_modules\readable-stream\lib\internal\streams\readable.js:300:9)
at Readable.push (C:\Users\MilkyCoding\Desktop\OreSage\ПИАР\MilkSpamBots\node_modules\readable-stream\lib\internal\streams\readable.js:246:10)

Node.js v24.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stage1just created by someone new to the project, we don't know yet if it deserves an implementation / a fpossible bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions