PrismarineJS / flying-squid

Create Minecraft servers with a powerful, stable, and high level JavaScript API.

Home Page:https://prismarinejs.github.io/flying-squid/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chunk size is 183 but only 1 was read

uwuv3 opened this issue · comments

commented

Full error

Chunk size is 183 but only 1 was read ; partial packet : {"name":25}; buffer :19b4017b227472616e736c617465223a22646973636f6e6e6563742e67656e65726963526561736f6e222c2277697468223a5b22496e7465726e616c20457863657074696f6e3a20696f2e6e657474792e68616e646c65722e636f6465632e4465636f646572457863657074696f6e3a2054686520726563656976656420737472696e67206c656e677468206973206c6f6e676572207468616e206d6178696d756d20616c6c6f77656420283235203e20313629225d7d

Bot code;

      const id = cryptoRandomString({ length: 3 });
      const b = await createBot({
        host: ip,
        username: config.botName /*uptrical*/ + "_" + id,
      });

      b.on("kicked", () => {
          b.end();
          return interaction.editReply({
            content: "",
            embeds: [
              errorEmbed("Sunucuya giremiyorum").setFields([
                {
                  name: "Olası sebepler",
                  value:
                    "- Sunucu kapalı\n- Sunucu whitelistte\n- Sunucu maximum oyunucu taşıyor\n- Sunucu orjinal hesap istiyor",
                },
              ]),
            ],
            ephemeral: true,
          });
      });
      b.on("login", () => {
        return interaction.editReply({
          content:
            "# Başarılı bir şekilde girdi\nEğer atılırsa/sunucu kapatılırsa tekrar form göndermek zorundasın\n> Eğer bunu istemiyorsan premium alabilirsin.",
          ephemeral: true,
          components: [
            new ActionRowBuilder().addComponents(
              new ButtonBuilder()
                .setCustomId("infoPre")
                .setLabel("Premium bilgi")
                .setStyle(ButtonStyle.Primary)
            ),
          ],
        });
      });
      b.on("error", (error) => {
          b.end();
          return interaction.editReply({
            content: "",
            embeds: [
              errorEmbed("Sunucuya giremiyorum").setFields([
                {
                  name: "Olası sebepler",
                  value:
                    "- Sunucu kapalı\n- Sunucu whitelistte\n- Sunucu maximum oyunucu taşıyor\n- Sunucu orjinal hesap istiyor",
                },
                {
                  name: "Hata",
                  value: `${error}`,
                },
              ]),
            ],
            components: [ads.compoment],
            ephemeral: true,
          });
      });

Is this related to Mineflayer or flying squid? You opened this in the flying squid repository.

commented

Is this related to Mineflayer or flying squid? You opened this in the flying squid repository.

Sorry