Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

anvil bug #187

Closed
junxiesky opened this issue Sep 26, 2019 · 4 comments
Closed

anvil bug #187

junxiesky opened this issue Sep 26, 2019 · 4 comments

Comments

@junxiesky
Copy link

junxiesky commented Sep 26, 2019

Issue description

  • Expected result: The dyed hat can be changed to a backpack
  • Actual result: The dyed hat can not be put into the backpack after changing its name

Steps to reproduce the issue

  1. Prepare a green hat
  2. Put in anvil
  3. Make a name change
  4. To retrieve the backpack
  5. The renaming was successful, but the player was kicked off the server

OS and versions

  • PocketMine-MP: 3.9.5-dev296(297Unable to use)
  • PHP: 7.2.22
  • Server OS: Ubuntu18.04
  • Game version: Win10/BE

server logs:
15:45:51 <Server thread/Critical> InvalidArgumentException: "Value -1 is outside the range 0 - 24791" (EXCEPTION) in "src/pocketmine/entity/Attribute" at line 202 15:45:51 <Server thread/Debug> #0 src/pocketmine/entity/Human(508): pocketmine\entity\Attribute->setValue(double -1) 15:45:51 <Server thread/Debug> #1 src/pocketmine/entity/Human(350): pocketmine\entity\Human->setXpAndProgress(integer -1, NULL ) 15:45:51 <Server thread/Debug> #2 src/pocketmine/entity/Human(363): pocketmine\entity\Human->setXpLevel(integer -1) 15:45:51 <Server thread/Debug> #3 src/pocketmine/inventory/AnvilInventory(239): pocketmine\entity\Human->addXpLevels(integer -1) 15:45:51 <Server thread/Debug> #4 src/pocketmine/network/mcpe/protocol/types/NetworkInventoryAction(274): pocketmine\inventory\AnvilInventory->onResult(object pocketmine\Player, object pocketmine\item\LeatherCap) 15:45:51 <Server thread/Debug> #5 src/pocketmine/Player(2452): pocketmine\network\mcpe\protocol\types\NetworkInventoryAction->createInventoryAction(object pocketmine\Player) 15:45:51 <Server thread/Debug> #6 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(157): pocketmine\Player->handleInventoryTransaction(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket) 15:45:51 <Server thread/Debug> #7 src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket(158): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleInventoryTransaction(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket) 15:45:51 <Server thread/Debug> #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(117): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) 15:45:51 <Server thread/Debug> #9 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\InventoryTransactionPacket) 15:45:51 <Server thread/Debug> #10 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(117): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter) 15:45:51 <Server thread/Debug> #11 src/pocketmine/Player(3368): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) 15:45:51 <Server thread/Debug> #12 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket) 15:45:51 <Server thread/Debug> #13 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[20] 47.244.201.156 38426, object raklib\protocol\EncapsulatedPacket, integer 0) 15:45:51 <Server thread/Debug> #14 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket() 15:45:51 <Server thread/Debug> #15 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process() 15:45:51 <Server thread/Debug> #16 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}() 15:45:51 <Server thread/Debug> #17 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications() 15:45:51 <Server thread/Debug> #18 src/pocketmine/Server(2458): pocketmine\snooze\SleeperHandler->sleepUntil(double 1569483951.067) 15:45:51 <Server thread/Debug> #19 src/pocketmine/Server(2318): pocketmine\Server->tickProcessor() 15:45:51 <Server thread/Debug> #20 src/pocketmine/Server(1891): pocketmine\Server->start() 15:45:51 <Server thread/Debug> #21 src/pocketmine/PocketMine(275): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[10] /root/sky/, string[18] /root/sky/plugins/) 15:45:51 <Server thread/Debug> #22 src/pocketmine/PocketMine(299): pocketmine\server() 15:45:51 <Server thread/Debug> #23 (1): require_once(string[54] phar:///root/sky/pm.phar/src/pocketmine/PocketMine.php) 15:45:51 <Server thread/Info> junxiesky 离开了空之纪元 15:45:51 <Server thread/Info> junxiesky[/47.244.201.156:38426] 退出了游戏,原因 :Internal server error 15:45:51 <RakLibServer thread/Notice> Blocked 47.244.201.156 for 5 seconds

@phoshp
Copy link
Member

phoshp commented Sep 26, 2019

can you send video?

@junxiesky
Copy link
Author

ok this is video:@EmreTr1
video.mp4.zip

@junxiesky
Copy link
Author

Anvil and a lot of BUG

@junxiesky
Copy link
Author

advil bug#2.mp4.zip

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants