Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ShopUi with PiggyCustomEnchants #197

Closed
Bruth78 opened this issue Feb 27, 2019 · 4 comments
Closed

ShopUi with PiggyCustomEnchants #197

Bruth78 opened this issue Feb 27, 2019 · 4 comments

Comments

@Bruth78
Copy link

Bruth78 commented Feb 27, 2019

Please make sure your issue complies with these guidelines:

    • Server Software must be the official PMMP w/o vanilla patching plugins (i.e. TeaSpoon)
    • Issue must have not been reported previously
    • Make sure you are on the latest version of PMMP & PiggyCustomEnchants
    • Have a detailed title, like "CustomEnchants::getName() must be..."
    • If possible, provide crashdumps/errors related to the issue.

General

I’m basically trying to add a Piggy Enchantment to a Kit.
I’m using the KitUI Plugin and whenever I select the kit, I get an internal server error.

Version:

  • PiggyCustomEnchants: 1.4.2
  • PMMP: 3.6.3

Steps to Reproduce the Issue

  1. [14:40:49] [Server thread/CRITICAL]: Error: "Class 'PiggyCustomEnchants\CustomEnchants\CustomEnchants' not found" (EXCEPTION) in "plugins/KitUI.phar/src/Infernus101/KitUI/Kit" at line 115
    [14:40:49] [Server thread/DEBUG]: #0 plugins/KitUI.phar/src/Infernus101/KitUI/Kit(63): Infernus101\KitUI\Kit->loadItem(integer 261, integer 0, integer 1, string DEFAULT, string Headhunter, string 1, string Volley, string 1)
    [14:40:49] [Server thread/DEBUG]: CustomEnchants::getName() must be compatible with pocketmine\item\enchantment\Enchantment::getName() #1 plugins/KitUI.phar/src/Infernus101/KitUI/UI/windows/KitInfo(87): Infernus101\KitUI\Kit->add(pocketmine\Player object)
    [14:40:49] [Server thread/DEBUG]: Todo & Suggestions #2 plugins/KitUI.phar/src/Infernus101/KitUI/UI/windows/KitInfo(97): Infernus101\KitUI\UI\windows\KitInfo->select(string true.)
    [14:40:49] [Server thread/DEBUG]: API? #3 plugins/KitUI.phar/src/Infernus101/KitUI/PlayerEvents(80): Infernus101\KitUI\UI\windows\KitInfo->handle(pocketmine\network\mcpe\protocol\ModalFormResponsePacket object)
    [14:40:49] [Server thread/DEBUG]: Is tesseract supported? #4 src/pocketmine/plugin/MethodEventExecutor(38): Infernus101\KitUI\PlayerEvents->onDataPacket(pocketmine\event\server\DataPacketReceiveEvent object)
    [14:40:49] [Server thread/DEBUG]: E Compile Error #5 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(Infernus101\KitUI\PlayerEvents object, pocketmine\event\server\DataPacketReceiveEvent object)
    [14:40:49] [Server thread/DEBUG]: Enchant colour? #6 src/pocketmine/event/Event(99): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\server\DataPacketReceiveEvent object)
    [14:40:49] [Server thread/DEBUG]: Some Bugs. #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(107): pocketmine\event\Event->call()
    [14:40:49] [Server thread/DEBUG]: How to use it #8 src/pocketmine/network/mcpe/protocol/BatchPacket(119): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\ModalFormResponsePacket object)
    [14:40:49] [Server thread/DEBUG]: Support for spoons? #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(108): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
    [14:40:49] [Server thread/DEBUG]: Custom Enchanted Book #10 src/pocketmine/Player(3111): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
    [14:40:49] [Server thread/DEBUG]: title is the topic. #11 src/pocketmine/network/mcpe/RakLibInterface(170): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
    [14:40:49] [Server thread/DEBUG]: Features? #12 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 87.151.202.99 54022, raklib\protocol\EncapsulatedPacket object, integer 0)
    [14:40:49] [Server thread/DEBUG]: Will this plugin support anything other then pmmp 1 day? #13 src/pocketmine/network/mcpe/RakLibInterface(110): raklib\server\ServerHandler->handlePacket()
    [14:40:49] [Server thread/DEBUG]: TEST SERVER - JOIN OR PIGGY WILL HAUNT YOU #14 src/pocketmine/network/mcpe/RakLibInterface(100): pocketmine\network\mcpe\RakLibInterface->process()
    [14:40:49] [Server thread/DEBUG]: everytime i download this pugin from pmmp i get a crashdump #15 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe{closure}()
    [14:40:49] [Server thread/DEBUG]: perms enhancemets #16 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
    [14:40:49] [Server thread/DEBUG]: Duplication #17 src/pocketmine/Server(2345): pocketmine\snooze\SleeperHandler->sleepUntil(double 1551278449.6395)
    [14:40:49] [Server thread/DEBUG]: Crashed #18 src/pocketmine/Server(2205): pocketmine\Server->tickProcessor()
    [14:40:49] [Server thread/DEBUG]: Concept not issue :P #19 src/pocketmine/Server(1784): pocketmine\Server->start()
    [14:40:49] [Server thread/DEBUG]: This plugin really helps! #20 src/pocketmine/PocketMine(250): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/container/, string /home/container/plugins/)
    [14:40:49] [Server thread/DEBUG]: Driller Enchant not working! #21 (1): require(string phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
    [14:40:49] [Server thread/INFO]: [StaffChat] Bruth78 disconnected
    [14:40:49] [Server thread/INFO]: Bruth78 left the game

Extra Information

Not really

@Bruth78
Copy link
Author

Bruth78 commented Feb 27, 2019

The update didn’t change anything about it.
Still won’t work and version 1.4.3

@antokiller
Copy link

Bruth78 you need add the id off the enchants whit the command /ce info the name off the enchant that give you a id and after you just need put the id in the kit

@Aericio
Copy link
Collaborator

Aericio commented Feb 28, 2019

[14:40:49] [Server thread/CRITICAL]: Error: "Class 'PiggyCustomEnchants\CustomEnchants\CustomEnchants' not found" (EXCEPTION) in "plugins/KitUI.phar/src/Infernus101/KitUI/Kit" at line 115

Outdated namespaces; we refactored it from PiggyCustomEnchants to DaPigGuy\PiggyCustomEnchants.

This was stated in README.md

@Aericio
Copy link
Collaborator

Aericio commented Feb 28, 2019

It seems like Infernus101 has already updated the namespaces in v1.3.2.

Update KitUI: https://github.com/Infernus101/KitUI

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

No branches or pull requests

3 participants