LeverylTeam / Leveryl

An Advanced & Feature Rich Server Software for MC:PE 1.1.x
GNU Lesser General Public License v3.0
44 stars 23 forks source link

Crafting #115

Closed CortexPE closed 7 years ago

CortexPE commented 7 years ago

Issue description

Crafting is broken

Steps to reproduce the issue

  1. Go in-game
  2. Place a crafting Table
  3. Craft something

OS and versions

Plugins

No plugins

Crashdump, backtrace or other files

Error:

08:01:25 [DEBUG] Packet pocketmine\network\mcpe\protocol\BatchPacket 0xfe78da933663609aefb12e71eb8f3b258fdcbdec38de2a9e6760e4e26000026645160600be320918
08:01:25 [CRITICAL] ErrorException: "Undefined offset: 0" (EXCEPTION) in "/src/pocketmine/Player" at line 3701
08:01:25 [DEBUG] #0 /src/pocketmine/Player(3701): pocketmine\{closure}(integer 8, string Undefined offset: 0, string C:\Users\CortexPE\Desktop\Leveryl\src\pocketmine\Player.php, integer 3701, array Array())
08:01:25 [DEBUG] #1 /src/pocketmine/network/mcpe/protocol/CraftingEventPacket(90): pocketmine\Player->handleCraftingEvent(pocketmine\network\mcpe\protocol\CraftingEventPacket object)
08:01:25 [DEBUG] #2 /src/pocketmine/Player(4139): pocketmine\network\mcpe\protocol\CraftingEventPacket->handle(pocketmine\Player object)
08:01:25 [DEBUG] #3 /src/pocketmine/network/mcpe/protocol/BatchPacket(115): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\CraftingEventPacket object)
08:01:25 [DEBUG] #4 /src/pocketmine/Player(4139): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\Player object)
08:01:25 [DEBUG] #5 /src/pocketmine/network/mcpe/RakLibInterface(148): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
08:01:25 [DEBUG] #6 /src/raklib/server/ServerHandler(103): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 192.168.1.7:56198, raklib\protocol\EncapsulatedPacket object, integer 0)
08:01:25 [DEBUG] #7 /src/pocketmine/network/mcpe/RakLibInterface(83): raklib\server\ServerHandler->handlePacket()
08:01:25 [DEBUG] #8 /src/pocketmine/network/Network(185): pocketmine\network\mcpe\RakLibInterface->process()
08:01:25 [DEBUG] #9 /src/pocketmine/Server(2660): pocketmine\network\Network->processInterfaces()
08:01:25 [DEBUG] #10 /src/pocketmine/Server(2420): pocketmine\Server->tick()
08:01:25 [DEBUG] #11 /src/pocketmine/Server(2296): pocketmine\Server->tickProcessor()
08:01:25 [DEBUG] #12 /src/pocketmine/Server(1832): pocketmine\Server->start()
08:01:25 [DEBUG] #13 /src/pocketmine/PocketMine(510): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string C:\Users\CortexPE\Desktop\Leveryl\, string C:\Users\CortexPE\Desktop\Leveryl\, string C:\Users\CortexPE\Desktop\Leveryl\plugins\)
08:01:25 [NOTICE] Blocked 192.168.1.7 for 5 seconds

bump-bump @NycuRO @daniktheboss

ghost commented 7 years ago

@CortexPE Packets is broken man.. I'm says that.

You need fork all code from pocketmine and add features where is listened, again.

CortexPE commented 7 years ago

We don't have to... Just need to fix it on our own.

ghost commented 7 years ago

-_-

CortexPE commented 7 years ago

xd

Pizzahaet commented 7 years ago

Lol