DaPigGuy / PiggyCustomEnchants

An open source custom enchantment plugin for PocketMine-MP
https://piggydocs.aericio.net/PiggyCustomEnchants.html
Apache License 2.0
103 stars 118 forks source link

Internal Server Error #254

Closed ChaotiqueSlime closed 4 years ago

ChaotiqueSlime commented 4 years ago

Please make sure your issue complies with these guidelines:

General

Version:

Steps to Reproduce the Issue

  1. so i imported plugin in plugins folder restarted server and when i went to do /ce enchant vampire 1 it said Internal Server Error

Extra Information

[09:20:24] [Server thread/DEBUG]: #0 plugins/PiggyCustomEnchants.phar/src/DaPigGuy/PiggyCustomEnchants/CustomEnchants/CustomEnchants(31): pocketmine\item\enchantment\Enchantment::getEnchantment(integer 111)

[09:20:24] [Server thread/DEBUG]: #1 plugins/PiggyCustomEnchants.phar/src/DaPigGuy/PiggyCustomEnchants/Main(498): DaPigGuy\PiggyCustomEnchants\CustomEnchants\CustomEnchants::getEnchantmentByName(string[7] vampire)

[09:20:24] [Server thread/DEBUG]: #2 plugins/PiggyCustomEnchants.phar/src/DaPigGuy/PiggyCustomEnchants/Commands/CustomEnchantCommand(343): DaPigGuy\PiggyCustomEnchants\Main->addEnchantment(object pocketmine\item\Sword, array[1], array[1], boolean 1, object pocketmine\Player)

[09:20:24] [Server thread/DEBUG]: #3 plugins/PiggyCustomEnchants.phar/src/DaPigGuy/PiggyCustomEnchants/Commands/CustomEnchantCommand(82): DaPigGuy\PiggyCustomEnchants\Commands\CustomEnchantCommand->enchant(object pocketmine\Player, string[7] vampire, integer 1, object pocketmine\Player)

[09:20:24] [Server thread/DEBUG]: #4 src/pocketmine/command/SimpleCommandMap(248): DaPigGuy\PiggyCustomEnchants\Commands\CustomEnchantCommand->execute(object pocketmine\Player, string[2] ce, array[2])

[09:20:24] [Server thread/DEBUG]: #5 src/pocketmine/Server(1806): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\Player, string[18] ce enchant vampire)

[09:20:24] [Server thread/DEBUG]: #6 src/pocketmine/Player(2199): pocketmine\Server->dispatchCommand(object pocketmine\Player, string[18] ce enchant vampire)

[09:20:24] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(131): pocketmine\Player->chat(string[20] ./ce enchant vampire)

[09:20:24] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/TextPacket(123): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleText(object pocketmine\network\mcpe\protocol\TextPacket)

[09:20:24] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\TextPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)

[09:20:24] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/protocol/BatchPacket(127): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\TextPacket)

[09:20:24] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(110): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)

[09:20:24] [Server thread/DEBUG]: #12 src/pocketmine/Player(3094): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)

[09:20:24] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)

[09:20:24] [Server thread/DEBUG]: #14 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[19] 174.31.173.90 52733, object raklib\protocol\EncapsulatedPacket, integer 0)

[09:20:24] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()

[09:20:24] [Server thread/DEBUG]: #16 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()

[09:20:24] [Server thread/DEBUG]: #17 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}()

[09:20:24] [Server thread/DEBUG]: #18 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()

[09:20:24] [Server thread/DEBUG]: #19 src/pocketmine/Server(2145): pocketmine\snooze\SleeperHandler->sleepUntil(double 1581326424.367)

[09:20:24] [Server thread/DEBUG]: #20 src/pocketmine/Server(1989): pocketmine\Server->tickProcessor()

[09:20:24] [Server thread/DEBUG]: #21 src/pocketmine/Server(1583): pocketmine\Server->start()

[09:20:24] [Server thread/DEBUG]: #22 src/pocketmine/PocketMine(274): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[15] /home/gs-40958/, string[23] /home/gs-40958/plugins/)

[09:20:24] [Server thread/DEBUG]: #23 src/pocketmine/PocketMine(297): pocketmine\server()

[09:20:24] [Server thread/INFO]: Chaotique left the game

Aericio commented 4 years ago

Template is not filled out & you didn't give us the actual error, all you gave us was the trace.

ChaotiqueSlime commented 4 years ago

It didnt log any errors in error log for server.pro

On Mon, Feb 10, 2020, 1:29 AM Aericio notifications@github.com wrote:

Template is not filled out & you didn't give us the actual error, all you gave us was the trace.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/DaPigGuy/PiggyCustomEnchants/issues/254?email_source=notifications&email_token=AOQOAFA65FVXE57HL2LG47TRCEM65A5CNFSM4KSKOSLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELHZZ5A#issuecomment-584031476, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOQOAFHZFD2JQSBBYV3M2XDRCEM65ANCNFSM4KSKOSLA .

DaPigGuy commented 4 years ago

You are using PiggyCE 1.0.0

iZeaoGamer commented 4 years ago

(deleted)