Pocketmine-mp: Unhandled MobArmorEquipmentPacket ?

Created on 5 Apr 2017  路  16Comments  路  Source: pmmp/PocketMine-MP

Issue description

When i set an armor to a player, i have this message who is spamming the console(debug mode)

Steps to reproduce the issue

  1. ... Join the server, equip an armor
  2. ... Check the console in debug mode

OS and versions

  • PocketMine-MP: last api3\network commit
  • PHP: 7.0.2
  • Server OS: Debian
  • Game version: PE/Win10 (the two)

Crashdump, backtrace or other files

  • ... [06:30:11] [Server thread/DEBUG]: Unhandled pocketmine\network\mcpe\protocol\MobArmorEquipmentPacket received from Misteboss1
Client Protocol Fixed

Most helpful comment

Let's put it this way. There is an absolute ton of network debugging material on that branch now, so anything that PocketMine doesn't expect is going to spit out debug spam. That means most things, since PocketMine does a wide variety of things wrong. That issue is likely a desktop player pressed Q to drop an item, but PocketMine doesn't understand that yet.

All 16 comments

Somehing pretty similar here:

[13:27:21] [Server thread/DEBUG]: Tried to equip Item Dye (351:3)x15 tags:0x0a03007461670a0700646973706c61790804004e616d650900c2a763c2a76c7265640000 but have Item Air (0:0)x0 in target slot
[13:27:21] [Server thread/DEBUG]: Unhandled pocketmine\network\mcpe\protocol\MobEquipmentPacket received from Steve

This happens when i drop only 1 item from a stack in the classic UI (named, or not, this doesn't matter.)

Yes but for me it's not with the ClassicUI @ParadiseYes

Yeah, same for other packets such as PlayerFallPacket. Because dktapps hasn't added a way to handle them in Player::class yet. Wait until dktapps gets a new PC :p or create a PR if you know how to implement those.

This packet is currently not used by the PocketMine-MP core. However, the spam is a different question. Do you happen to be wearing any enchanted armour?

Yep it was an enchanted armor

The enchanted armor spam issue is a client bug, reported as https://bugs.mojang.com/browse/MCPE-20508

Same for PlayerFallPacket (unhandled) @dktapps

This packet is currently not used by the PocketMine-MP core.

ok no problem

Um, MobEquipmentPacket too..?

[07:38:33] [Server thread/DEBUG]: Tried to equip Item Unknown (384:0)x1 tags:0x0a00000302005850190000000a0700646973706c61790904004c6f726508010000003300c2a772c2a76456616c756520c2a76632352058500ac2a764456e6368616e74657220c2a7664d757173697452617979616e584f0804004e616d652e00c2a772c2a76cc2a761457870657269656e636520426f74746c6520c2a772c2a73728526967687420436c69636b290000 but have Item Air (0:0)x0 in target slot
[07:38:33] [Server thread/DEBUG]: Unhandled pocketmine\network\mcpe\protocol\MobEquipmentPacket received from MuqsitRayyanXO

Let's put it this way. There is an absolute ton of network debugging material on that branch now, so anything that PocketMine doesn't expect is going to spit out debug spam. That means most things, since PocketMine does a wide variety of things wrong. That issue is likely a desktop player pressed Q to drop an item, but PocketMine doesn't understand that yet.

It looks like the player tried to equip a spawn egg?

@jasonwynn10 384 is bottle o' enchanting, not spawn egg.

That issue is likely a desktop player pressed Q to drop an item

It doesn't appear so. I modified pmmp drop code to allow dropping 1 item, and regardless of that change this event doesn't happen as likely as when a player moves items in their inventory or "throw" an item/ eat an item.
Accepting what the client sends seems to reduce the inventory bugging quite a bit too

Closing this since it's a client issue. Incidentally this appears to be fixed in 1.2.

Hey, sorry to bump an old thread, but...

I was trying to diagnose this error and stumbled upon this. I haven't gotten the MobArmorEquipmentPacket error, but I got theMobEquipmentPacket as it tries to equip air but there's Item ___ in target slot. As you said, @dktapps, it's a client issue, but I'd just like to let you know.

[Server thread/DEBUG]: Unhandled MobEquipmentPacket received from TheRoyalBlock: 0x1f00000100ff0600
[Server thread/DEBUG]: Tried to equip Item Air (0:0)x0 but have Item TNT (46:0)x1 in target slot
Was this page helpful?
0 / 5 - 0 ratings

Related issues

KAGsundaram picture KAGsundaram  路  43Comments

MisteFr picture MisteFr  路  29Comments

MisteFr picture MisteFr  路  19Comments

L3ice picture L3ice  路  21Comments

VCraftMCPE picture VCraftMCPE  路  20Comments