BoxOfDevs / CommandShop

Players have to pay items or money to use specific commands! A PocketMine plugin.
Other
31 stars 10 forks source link

Internal error #16

Closed IonicSyz1823 closed 5 years ago

IonicSyz1823 commented 5 years ago

Brief description

Steps to reproduce

  1. ...when u do /cshop sign and tap sign
  2. ...
  3. ...

Expected result

Actual result

Server Information

CrashDumps/Errors

16.08 20:35:05 [Server] Server thread/CRITICAL ErrorException: "Object of class BoxOfDevs\CommandShop\CShopCommand\CShopCommand could not be converted to string" (EXCEPTION) in "plugins/CommandShop_dev-115.phar/src/BoxOfDevs/CommandShop/CommandShop" at line 109
16.08 20:35:05 [Server] Server thread/DEBUG #0 (): pocketmine\utils\Utils::errorExceptionHandler(integer 4096, string[96] Object of class BoxOfDevs\CommandShop\CShopCommand\CShopCommand could not be con, string[128] phar:///plugins/CommandShop_dev-11, integer 109, array[2])
16.08 20:35:05 [Server] Server thread/DEBUG #1 plugins/CommandShop_dev-115.phar/src/BoxOfDevs/CommandShop/CommandShop(109): str_ireplace(array[1], array[1], string[77] {prefix}Tap the sign again to confirm that you want to buy the command {cmd}!)
16.08 20:35:05 [Server] Server thread/DEBUG #2 plugins/CommandShop_dev-115.phar/src/BoxOfDevs/CommandShop/CShopListener(82): BoxOfDevs\CommandShop\CommandShop->getMessage(string[77] {prefix}Tap the sign again to confirm that you want to buy the command {cmd}!, array[1])
16.08 20:35:05 [Server] Server thread/DEBUG #3 src/pocketmine/plugin/MethodEventExecutor(38): BoxOfDevs\CommandShop\CShopListener->onSignTouch(object pocketmine\event\player\PlayerInteractEvent)
16.08 20:35:05 [Server] Server thread/DEBUG #4 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(object BoxOfDevs\CommandShop\CShopListener, object pocketmine\event\player\PlayerInteractEvent)
16.08 20:35:05 [Server] Server thread/DEBUG #5 src/pocketmine/event/Event(99): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerInteractEvent)
16.08 20:35:05 [Server] Server thread/DEBUG #6 src/pocketmine/level/Level(1914): pocketmine\event\Event->call()
16.08 20:35:05 [Server] Server thread/DEBUG #7 src/pocketmine/Player(2417): pocketmine\level\Level->useItemOn(object pocketmine\math\Vector3, object pocketmine\item\ItemBlock, integer 4, object pocketmine\math\Vector3, object pocketmine\Player, boolean 1)
16.08 20:35:05 [Server] Server thread/DEBUG #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(150): pocketmine\Player->handleInventoryTransaction(object CortexPE\network\InventoryTransactionPacket)
16.08 20:35:05 [Server] Server thread/DEBUG #9 src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket(158): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleInventoryTransaction(object CortexPE\network\InventoryTransactionPacket)
16.08 20:35:05 [Server] Server thread/DEBUG #10 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
16.08 20:35:05 [Server] Server thread/DEBUG #11 src/pocketmine/network/mcpe/protocol/BatchPacket(123): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object CortexPE\network\InventoryTransactionPacket)
16.08 20:35:05 [Server] Server thread/DEBUG #12 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
16.08 20:35:05 [Server] Server thread/DEBUG #13 src/pocketmine/Player(3126): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
16.08 20:35:05 [Server] Server thread/DEBUG #14 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
16.08 20:35:05 [Server] Server thread/DEBUG #15 vendor/pocketmine/raklib/src/server/ServerHandler(99):
HimbeersaftLP commented 5 years ago

There is a reason this message gets displayed when you turn your server on: This is a highly unstable development version not meant for general use, please switch to a stable version unless you know what you are doing! Just use the master branch, the rewrite is far from finished.

HimbeersaftLP commented 5 years ago

If you actually do want to help testing the rewrite: Thank you for your contribution and consider joining our Discord server: https://discord.gg/g39aNQe