1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

MCMMO

Discussion in 'Help' started by Winchester, Aug 6, 2018.

  1. Winchester

    Winchester Baby Zombie

    Messages:
    133

    I'm trying to use the mcmmo plugin, but I'm getting this error, I believe this is the fault of not saving the progress of the player, can anyone help me?



    [Server thread/CRITICAL]: Não foi possível passar o evento 'pocketmine\event\player\PlayerQuitEvent' para 'mcMMO v1': Call to undefined method pocketmine\Server::getScheduler() em muqsit\mcmmo\EventListener
    [19:02:07] [Server thread/CRITICAL]: Error: "Call to undefined method pocketmine\Server::getScheduler()" (EXCEPTION) in "mcMMO-master/src/muqsit/mcmmo/database/FlatFileDatabase" at line 59
    [19:02:07] [Server thread/DEBUG]: #0 mcMMO-master/src/muqsit/mcmmo/database/FlatFileDatabase(55): muqsit\mcmmo\database\FlatFileDatabase->writeToFile(string C:\Black Hat Society\plugins\mcMMO/profiles\winchester.yml, string ---.ability_use: true.skill_tree:. 1:. xp: 0. level: 0. ability_expire: 0. ability_cooldown_expire: 0.....)
    [19:02:07] [Server thread/DEBUG]: #1 mcMMO-master/src/muqsit/mcmmo/database/Database(138): muqsit\mcmmo\database\FlatFileDatabase->saveToDatabase(string winchester, array Array())
    [19:02:07] [Server thread/DEBUG]: #2 mcMMO-master/src/muqsit/mcmmo/EventListener(31): muqsit\mcmmo\database\Database->save(pocketmine\Player object, boolean 1)
    [19:02:07] [Server thread/DEBUG]: #3 src/pocketmine/plugin/MethodEventExecutor(38): muqsit\mcmmo\EventListener->onPlayerQuit(pocketmine\event\player\PlayerQuitEvent object)
    [19:02:07] [Server thread/DEBUG]: #4 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(muqsit\mcmmo\EventListener object, pocketmine\event\player\PlayerQuitEvent object)
    [19:02:07] [Server thread/DEBUG]: #5 src/pocketmine/plugin/PluginManager(749): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\player\PlayerQuitEvent object)
    [19:02:07] [Server thread/DEBUG]: #6 src/pocketmine/Player(3359): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\player\PlayerQuitEvent object)
    [19:02:07] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/RakLibInterface(116): pocketmine\Player->close(pocketmine\lang\TranslationContainer object, string timeout)
    [19:02:07] [Server thread/DEBUG]: #8 vendor/pocketmine/raklib/src/server/ServerHandler(130): pocketmine\network\mcpe\RakLibInterface->closeSession(string 192.168.15.10 58885, string timeout)
    [19:02:07] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/RakLibInterface(103): raklib\server\ServerHandler->handlePacket()
    [19:02:07] [Server thread/DEBUG]: #10 src/pocketmine/network/Network(94): pocketmine\network\mcpe\RakLibInterface->process()
    [19:02:07] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(80): pocketmine\network\Network->processInterface(pocketmine\network\mcpe\RakLibInterface object)
    [19:02:07] [Server thread/DEBUG]: #12 vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
    [19:02:07] [Server thread/DEBUG]: #13 vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
    [19:02:07] [Server thread/DEBUG]: #14 src/pocketmine/Server(2257): pocketmine\snooze\SleeperHandler->sleepUntil(double 1533592927.7347)
    [19:02:07] [Server thread/DEBUG]: #15 src/pocketmine/Server(2132): pocketmine\Server->tickProcessor()
    [19:02:07] [Server thread/DEBUG]: #16 src/pocketmine/Server(1713): pocketmine\Server->start()
    [19:02:07] [Server thread/DEBUG]: #17 src/pocketmine/PocketMine(237): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string C:\Black Hat Society\, string C:\Black Hat Society\plugins\)
    [19:02:07] [Server thread/DEBUG]: #18 C:/Black Hat Society/PocketMine-MP.phar(1): require(string phar://C:/Black Hat Society/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
     
  2. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    The plugin hasn't been updated in a while, and it's still in development. Go open an issue on GitHub for support from the developer.
     
    Muqsit likes this.
  3. Winchester

    Winchester Baby Zombie

    Messages:
    133
    [QUOTE = "corytortoise, post: 55452, member: 68"] O plugin não foi atualizado há algum tempo e ainda está em desenvolvimento. Vá abrir um problema no GitHub para obter suporte do desenvolvedor. [/ QUOTE]


    the developer abandoned the project for lack of time, I am trying to solve the problem to use on my server,
     
  4. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    Okay. The problem is that the plugin is using a deprecated method of scheduling tasks. Just replace getServer()->getScheduler() in FlatFileDatabase to just getScheduler().
     
  5. Winchester

    Winchester Baby Zombie

    Messages:
    133


    I'm sorry friend but I did not find (getServer () -> getScheduler ()) in the file quoted
     
  6. Winchester

    Winchester Baby Zombie

    Messages:
    133
    [Server thread/CRITICAL]: Não foi possível passar o evento 'pocketmine\event\player\PlayerInteractEvent' para 'mcMMO v1': Undefined variable: pid em muqsit\mcmmo\EventListener
    [23:02:28] [Server thread/CRITICAL]: ErrorException: "Undefined variable: pid" (EXCEPTION) in "mcMMO-master/src/muqsit/mcmmo/EventListener" at line 41
    [23:02:28] [Server thread/DEBUG]: #0 mcMMO-master/src/muqsit/mcmmo/EventListener(41): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string Undefined variable: pid, string C:\Black Hat Society\plugins\mcMMO-master\src\muqsit\mcmmo\EventListener.php, integer 41, array Array())
    [23:02:28] [Server thread/DEBUG]: #1 src/pocketmine/plugin/MethodEventExecutor(38): muqsit\mcmmo\EventListener->onPlayerInteract(pocketmine\event\player\PlayerInteractEvent object)
    [23:02:28] [Server thread/DEBUG]: #2 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(muqsit\mcmmo\EventListener object, pocketmine\event\player\PlayerInteractEvent object)
    [23:02:28] [Server thread/DEBUG]: #3 src/pocketmine/plugin/PluginManager(749): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\player\PlayerInteractEvent object)
    [23:02:28] [Server thread/DEBUG]: #4 src/pocketmine/Player(2446): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\player\PlayerInteractEvent object)
    [23:02:28] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(132): pocketmine\Player->handleInventoryTransaction(pocketmine\network\mcpe\protocol\InventoryTransactionPacket object)
    [23:02:28] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket(155): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleInventoryTransaction(pocketmine\network\mcpe\protocol\InventoryTransactionPacket object)
    [23:02:28] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
    [23:02:28] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/BatchPacket(114): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\InventoryTransactionPacket object)
    [23:02:28] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
    [23:02:28] [Server thread/DEBUG]: #10 src/pocketmine/Player(3033): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
    [23:02:28] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(158): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
    [23:02:28] [Server thread/DEBUG]: #12 vendor/pocketmine/raklib/src/server/ServerHandler(98): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 192.168.15.10 58885, raklib\protocol\EncapsulatedPacket object, integer 0)
    [23:02:28] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(103): raklib\server\ServerHandler->handlePacket()
    [23:02:28] [Server thread/DEBUG]: #14 src/pocketmine/network/Network(94): pocketmine\network\mcpe\RakLibInterface->process()
    [23:02:28] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/RakLibInterface(80): pocketmine\network\Network->processInterface(pocketmine\network\mcpe\RakLibInterface object)
    [23:02:28] [Server thread/DEBUG]: #16 vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
    [23:02:28] [Server thread/DEBUG]: #17 vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
    [23:02:28] [Server thread/DEBUG]: #18 src/pocketmine/Server(2257): pocketmine\snooze\SleeperHandler->sleepUntil(double 1533607348.769)
    [23:02:28] [Server thread/DEBUG]: #19 src/pocketmine/Server(2132): pocketmine\Server->tickProcessor()
    [23:02:28] [Server thread/DEBUG]: #20 src/pocketmine/Server(1713): pocketmine\Server->start()
    [23:02:28] [Server thread/DEBUG]: #21 src/pocketmine/PocketMine(237): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string C:\Black Hat Society\, string C:\Black Hat Society\plugins\)
    [23:02:28] [Server thread/DEBUG]: #22 C:/Black Hat Society/PocketMine-MP.phar(1): require(string phar://C:/Black Hat Society/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
     
  7. Winchester

    Winchester Baby Zombie

    Messages:
    133
    apparently the error is in this line of the EventListener file.

    if ($ this-> last_interactions [$ pid]! == $ player-> ticksLived) {
     
  8. iRainDrop

    iRainDrop Creeper

    Messages:
    5
    I am pretty sure that this part: [$ pid!] is not a thing in the new pmmp api, idk what the new thing is as I am only new to developing but that is what the issue says.
     
  9. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    Look at the rest of the code... he forgot this just before that line :
    Code:
    $pid = $player->getId();
     
  10. Winchester

    Winchester Baby Zombie

    Messages:
    133
    [QUOTE = "Awzaw, post: 55473, membro: 10"] Veja o resto do código ... ele esqueceu isso logo antes da linha:
    [CÓDIGO] $ pid = $ player-> getId (); [/ CÓDIGO] [/ QUOTE]



    This is the complete code, I could not find the error.

    <? php
    namespace muqsit \ mcmmo;

    use pocketmine \ event \ Listener;
    use pocketmine \ event \ player \ PlayerInteractEvent;
    use pocketmine \ event \ player \ PlayerLoginEvent;
    use pocketmine \ event \ player \ PlayerQuitEvent;
    use pocketmine \ item \ Tool;
    use pocketmine \ utils \ TextFormat;

    classe EventListener implementa Listener {

    / ** @var Loader * /
    $ plugin privado;

    / ** @var int [] * /
    private $ last_interactions = [];

    função pública __construct (Loader $ plugin) {
    $ this-> plugin = $ plugin;
    }

    função pública onPlayerLogin (PlayerLoginEvent $ event): void {
    $ player = $ event-> getPlayer ();
    $ this-> plugin-> getDatabase () -> load ($ player);
    $ this-> last_interactions [$ player-> getId ()] = 0;
    }

    função pública onPlayerQuit (PlayerQuitEvent $ event): void {
    $ player = $ event-> getPlayer ();
    $ this-> plugin-> getDatabase () -> save ($ player, true);
    unset ($ this-> last_interactions [$ player-> getId ()]);
    }

    função pública onPlayerInteract (PlayerInteractEvent $ event): void {
    $ action = $ event-> getAction ();
    if ($ action === PlayerInteractEvent :: RIGHT_CLICK_BLOCK || $ action === PlayerInteractEvent :: RIGHT_CLICK_AIR) {
    $ item = $ event-> getItem ();
    if ($ item instanceof Tool) {
    $ player = $ event-> getPlayer ();
    if ($ this-> last_interactions [$ pid]! == $ player-> ticksLived) {
    $ this-> last_interactions [$ pid] = $ player-> ticksLived;
    $ skill_manager = $ this-> plugin-> getSkillManager ($ player);
    if ($ skill_manager-> canUseAbilities ()) {
    $ skill = $ skill_manager-> getSkillByItem ($ item);
    if ($ skill! == null) {
    $ player-> sendMessage ($ skill_manager-> activateAbility ($ skill-> getId ())? TextFormat :: VERDE. "**". strtoupper ($ skill-> getAbilityName ()). TextFormat :: VERDE. "ATIVADO * * ":
    TextFormat :: RED. "Você está cansado de usar essa habilidade novamente." TextFormat :: YELLOW. "(". $ skill-> getAbilityCooldownExpire (). "s)"
    );
    }
    }
    }
    }
    }
    }
    }
     
  11. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    In the formatting bar for posts there's a little + that allows you to add blocks of code with correct formatting. Please use it.

    Just insert the line I posted before using $pid in PlayerInteractEvent, and after $player is defined, otherwise $pid will be undefined. Alternatively you could replace each occurrence of $pid in that function with $player->getId().
     
    Last edited: Aug 7, 2018
    Muqsit, Winchester and corytortoise like this.
  12. Winchester

    Winchester Baby Zombie

    Messages:
    133

    sorry to bother but I could not do this, I'm not a programmer so I understand little, but I'm trying hard to understand, I'll send the formatted code correctly
    PHP:
    <?php
    namespace muqsit\mcmmo;

    use 
    pocketmine\event\Listener;
    use 
    pocketmine\event\player\PlayerInteractEvent;
    use 
    pocketmine\event\player\PlayerLoginEvent;
    use 
    pocketmine\event\player\PlayerQuitEvent;
    use 
    pocketmine\item\Tool;
    use 
    pocketmine\utils\TextFormat;

    class 
    EventListener implements Listener{

        
    /** @var Loader */
        
    private $plugin;

        
    /** @var int[] */
        
    private $last_interactions = [];

        public function 
    __construct(Loader $plugin){
            
    $this->plugin $plugin;
        }

        public function 
    onPlayerLogin(PlayerLoginEvent $event) : void{
            
    $player $event->getPlayer();
            
    $this->plugin->getDatabase()->load($player);
            
    $this->last_interactions[$player->getId()] = 0;
        }

        public function 
    onPlayerQuit(PlayerQuitEvent $event) : void{
            
    $player $event->getPlayer();
            
    $this->plugin->getDatabase()->save($playertrue);
            unset(
    $this->last_interactions[$player->getId()]);
        }

        public function 
    onPlayerInteract(PlayerInteractEvent $event) : void{
            
    $action $event->getAction();
            if(
    $action === PlayerInteractEvent::RIGHT_CLICK_BLOCK || $action === PlayerInteractEvent::RIGHT_CLICK_AIR){
                
    $item $event->getItem();
                if(
    $item instanceof Tool){
                    
    $player $event->getPlayer();
                    
    $pid $player->getId();
                    if(
    $this->last_interactions[$pid] !== $player->ticksLived){
                        
    $this->last_interactions[$pid] = $player->ticksLived;
                        
    $skill_manager $this->plugin->getSkillManager($player);
                        if(
    $skill_manager->canUseAbilities()){
                            
    $skill $skill_manager->getSkillByItem($item);
                            if(
    $skill !== null){
                                
    $player->sendMessage($skill_manager->activateAbility($skill->getId()) ? TextFormat::GREEN "**" strtoupper($skill->getAbilityName()) . TextFormat::GREEN " ACTIVATED**" :
                                    
    TextFormat::RED "Você está cansado demais para usar essa habilidade novamente. " TextFormat::YELLOW "(" $skill->getAbilityCooldownExpire() . "s)"
                                
    );
                            }
                        }
                    }
                }
            }
        }
    }
     
    Muqsit likes this.
  13. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    Thank you, looks much better doesn't it?! And you've added the line defining $pid correctly too - does it work now?
     
  14. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    You translated the code :facepalm:
    Not just the messages. If you had the original code...
    Try translating the code to English... and removing spaces after $. Also, função pública is not a thing... it is public function.
     
  15. Winchester

    Winchester Baby Zombie

    Messages:
    133

    When I paste the code here google translate translated the code here on the page, but it continues in English in the file!
    PHP:
    <?php
    namespace muqsit\mcmmo;

    use 
    pocketmine\event\Listener;
    use 
    pocketmine\event\player\PlayerInteractEvent;
    use 
    pocketmine\event\player\PlayerLoginEvent;
    use 
    pocketmine\event\player\PlayerQuitEvent;
    use 
    pocketmine\item\Tool;
    use 
    pocketmine\utils\TextFormat;

    class 
    EventListener implements Listener{

        
    /** @var Loader */
        
    private $plugin;

        
    /** @var int[] */
        
    private $last_interactions = [];

        public function 
    __construct(Loader $plugin){
            
    $this->plugin $plugin;
        }

        public function 
    onPlayerLogin(PlayerLoginEvent $event) : void{
            
    $player $event->getPlayer();
            
    $this->plugin->getDatabase()->load($player);
            
    $this->last_interactions[$player->getId()] = 0;
        }

        public function 
    onPlayerQuit(PlayerQuitEvent $event) : void{
            
    $player $event->getPlayer();
            
    $this->plugin->getDatabase()->save($playertrue);
            unset(
    $this->last_interactions[$player->getId()]);
        }

        public function 
    onPlayerInteract(PlayerInteractEvent $event) : void{
            
    $action $event->getAction();
            if(
    $action === PlayerInteractEvent::RIGHT_CLICK_BLOCK || $action === PlayerInteractEvent::RIGHT_CLICK_AIR){
                
    $item $event->getItem();
                if(
    $item instanceof Tool){
                    
    $pid $player->getId();
                    
    $player $event->getPlayer();
                    if(
    $this->last_interactions[$pid] !== $player->ticksLived){
                        
    $this->last_interactions[$pid] = $player->ticksLived;
                        
    $pid $player->getId();
                        
    $skill_manager $this->plugin->getSkillManager($player);
                        if(
    $skill_manager->canUseAbilities()){
                            
    $skill $skill_manager->getSkillByItem($item);
                            if(
    $skill !== null){
                                
    $player->sendMessage($skill_manager->activateAbility($skill->getId()) ? TextFormat::GREEN "**" strtoupper($skill->getAbilityName()) . TextFormat::GREEN " ACTIVATED**" :
                                    
    TextFormat::RED "Você está cansado demais para usar essa habilidade novamente. " TextFormat::YELLOW "(" $skill->getAbilityCooldownExpire() . "s)"
                                
    );
                            }
                        }
                    }
                }
            }
        }
    }
     
  16. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    Does it work now? I did not understand what is the error. I can see portuguese inside there.
     
  17. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    The error is on the main file
     
  18. Winchester

    Winchester Baby Zombie

    Messages:
    133
    this file ?
    PHP:
    <?php
    namespace muqsit\mcmmo;

    use 
    muqsit\mcmmo\commands\McMMOCommand;
    use 
    muqsit\mcmmo\commands\SkillCommand;
    use 
    muqsit\mcmmo\database\Database;
    use 
    muqsit\mcmmo\skills\SkillManager;

    use 
    pocketmine\Player;
    use 
    pocketmine\plugin\PluginBase;
    use 
    pocketmine\utils\Config;

    class 
    Loader extends PluginBase{

        
    /** @var Database */
        
    private $database;

        public function 
    onEnable() : void{
            
    $this->saveResource("database.yml");
            
    $this->saveResource("help.ini");

            
    McMMOCommand::registerDefaults($this);
            
    SkillCommand::loadHelpPages($this->getDataFolder() . "help.ini");
            
    SkillManager::registerDefaults();

            
    $database = new Config($this->getDataFolder() . "database.yml");
            
    $dbtype $database->get("type");
            
    $args $database->get(strtoupper($dbtype));

            
    $this->database Database::getFromString($dbtype$this->getDataFolder() . $args["datafolder"] . DIRECTORY_SEPARATOR);

            
    $this->getServer()->getPluginManager()->registerEvents(new EventListener($this), $this);
        }

        public function 
    onDisable() : void{
            
    $this->getDatabase()->saveAll();
            
    $this->getDatabase()->onClose();
        }

        public function 
    getDatabase() : Database{
            return 
    $this->database;
        }

        public function 
    getSkillManager(Player $player) : SkillManager{
            return 
    $this->database->getLoaded($player);
        }
    }
     
  19. MalakasPlayzMCPE

    MalakasPlayzMCPE Zombie Pigman

    Messages:
    667
    Please stop abusing the bold...
    My fault, I meant, the EventListener file. Sorry.
     
  20. Winchester

    Winchester Baby Zombie

    Messages:
    133
    It still does not work, it still has a problem.


    [08:05:35] [Server thread/CRITICAL]: Não foi possível passar o evento 'pocketmine\event\player\PlayerInteractEvent' para 'mcMMO v1': Undefined variable: player em muqsit\mcmmo\EventListener
    [08:05:35] [Server thread/CRITICAL]: ErrorException: "Undefined variable: player" (EXCEPTION) in "mcMMO-master/src/muqsit/mcmmo/EventListener" at line 40
    [08:05:35] [Server thread/DEBUG]: #0 mcMMO-master/src/muqsit/mcmmo/EventListener(40): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string Undefined variable: player, string C:\Black Hat Society\plugins\mcMMO-master\src\muqsit\mcmmo\EventListener.php, integer 40, array Array())
    [08:05:35] [Server thread/DEBUG]: #1 src/pocketmine/plugin/MethodEventExecutor(38): muqsit\mcmmo\EventListener->onPlayerInteract(pocketmine\event\player\PlayerInteractEvent object)
    [08:05:35] [Server thread/DEBUG]: #2 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(muqsit\mcmmo\EventListener object, pocketmine\event\player\PlayerInteractEvent object)
    [08:05:35] [Server thread/DEBUG]: #3 src/pocketmine/plugin/PluginManager(749): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\player\PlayerInteractEvent object)
    [08:05:35] [Server thread/DEBUG]: #4 src/pocketmine/Player(2446): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\player\PlayerInteractEvent object)
    [08:05:35] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(132): pocketmine\Player->handleInventoryTransaction(pocketmine\network\mcpe\protocol\InventoryTransactionPacket object)
    [08:05:35] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/protocol/InventoryTransactionPacket(155): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleInventoryTransaction(pocketmine\network\mcpe\protocol\InventoryTransactionPacket object)
    [08:05:35] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\InventoryTransactionPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
    [08:05:35] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/BatchPacket(114): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\InventoryTransactionPacket object)
    [08:05:35] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
    [08:05:35] [Server thread/DEBUG]: #10 src/pocketmine/Player(3033): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
    [08:05:35] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(158): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
    [08:05:35] [Server thread/DEBUG]: #12 vendor/pocketmine/raklib/src/server/ServerHandler(98): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 192.168.15.10 50484, raklib\protocol\EncapsulatedPacket object, integer 0)
    [08:05:35] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(103): raklib\server\ServerHandler->handlePacket()
    [08:05:35] [Server thread/DEBUG]: #14 src/pocketmine/network/Network(94): pocketmine\network\mcpe\RakLibInterface->process()
    [08:05:35] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/RakLibInterface(80): pocketmine\network\Network->processInterface(pocketmine\network\mcpe\RakLibInterface object)
    [08:05:35] [Server thread/DEBUG]: #16 vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
    [08:05:35] [Server thread/DEBUG]: #17 vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications()
    [08:05:35] [Server thread/DEBUG]: #18 src/pocketmine/Server(2257): pocketmine\snooze\SleeperHandler->sleepUntil(double 1533812735.2151)
    [08:05:35] [Server thread/DEBUG]: #19 src/pocketmine/Server(2132): pocketmine\Server->tickProcessor()
    [08:05:35] [Server thread/DEBUG]: #20 src/pocketmine/Server(1713): pocketmine\Server->start()
    [08:05:35] [Server thread/DEBUG]: #21 src/pocketmine/PocketMine(237): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string C:\Black Hat Society\, string C:\Black Hat Society\plugins\)
    [08:05:35] [Server thread/DEBUG]: #22 C:/Black Hat Society/PocketMine-MP.phar(1): require(string phar://C:/Black Hat Society/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.