Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Discussion Plugins Broken with new API

Comments in 'General Discussion' started by vertx, Apr 10, 2015.

  1. vertx
    Offline

    vertx Active Member

    Joined:
    Dec 4, 2014
    Posts:
    61
    Minecraft User:
    Vertx
    Well, the pocketmine 1.5 are simply awesome, mobs are missing yet but anyway, thank you @shoghicp for your hard work :)

    But talking about backwards compatibility...
    I tried to update a copy of my official server, to see if all my plugins are working well on 1.5, because @PocketMine Team said that all plugins shoud work on new PocketMine 1.5...

    ...but nope...

    After update i got several plugin crashes, PocketMine errors, nah!

    And i can list my plugins that give me crashes and error messages:

    All €conomy$ plugins (getX() on null)
    EssentialsPE
    iProtector (getLevel() on null)
    Some MCG76 plugins, (because, like him work or not, he are the ONLY guy that make minigames for pm :mad:)
    TagBlock
    ChestLocker

    And some github plugins such stevewarn, etc...

    Now i ask, all these plugins that are probally outdated, should be updated for his developers or these crashes are a PocketMine related issue? :confused:
  2. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,429
    Plugins:
    14
    The plugins are working fine. Your world is corrupt.
  3. vertx
    Offline

    vertx Active Member

    Joined:
    Dec 4, 2014
    Posts:
    61
    Minecraft User:
    Vertx
    What this attached pack of crashes say to you, most of them are from iProtector :/

    Anyway, if it's really a world issue, i simply need to rewrite my server from strach and i really don't want this... Oh well, I will do some more tests here... :p

    Edit: most of those crashes happens after break an block... On any world...
  4. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,429
    Plugins:
    14
    Sorry, your world isn't corrupted. PlayerInteractEvent::getBlock() is returning null for some reason. What build of PocketMine are you using? Also, iProtector crashes the most because it must have the highest event priority, therefore not giving the other plugins time to crash.
  5. Blubbll
    Offline

    Blubbll Active Member

    Joined:
    Oct 3, 2013
    Posts:
    325
    Minecraft User:
    Blubbll
    Yeah, al lot broke.

    But what we get it totally worth that loss.

    Also most of the authors of the broken plugins are experienced asians that will autofix this in 1 minute when they see what broke.
    Lambo likes this.
  6. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,429
    Plugins:
    14
    Asians? o_O
  7. RekkuzaRage
    Offline

    RekkuzaRage Active Member

    Joined:
    Apr 15, 2014
    Posts:
    251
    Minecraft User:
    RekkuzaRage
    @LDX is American, @iksaku is Mexican, etc...
    LDX likes this.
  8. vertx
    Offline

    vertx Active Member

    Joined:
    Dec 4, 2014
    Posts:
    61
    Minecraft User:
    Vertx
    I'm on 1.5 build #998, but on newer versions there are no changes related to this issues, just small bugfixes...
  9. Goerick
    Offline

    Goerick Active Member

    Joined:
    Jan 24, 2014
    Posts:
    250
    Minecraft User:
    goerick
    Appreciate it if you watch your racial stereotype you W×××e Trash.
  10. mclab
    Offline

    mclab Active Member

    Joined:
    Dec 24, 2014
    Posts:
    49
    Minecraft User:
    Dragonflex
  11. vertx
    Offline

    vertx Active Member

    Joined:
    Dec 4, 2014
    Posts:
    61
    Minecraft User:
    Vertx
    Build #1001 fixed getBlock() on null error! Now almost everything are working flawless :D

    For who want to visit my server search "PocketCraftPE" on server's list
    (just waiting the right moment to annonce my network on pm forums...)
    (And for a unknown reason, someone removed my link from this post)

    And yeah, visit LDXCraft too, it's a very good server ;)
    Last edited: Apr 10, 2015
    LDX likes this.
  12. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    It is an objective fact after researches that Asians, especially eastern Asians, are in some ways stronger in logical thinking.
    RekkuzaRage, Darunia18 and Lambo like this.
  13. Blubbll
    Offline

    Blubbll Active Member

    Joined:
    Oct 3, 2013
    Posts:
    325
    Minecraft User:
    Blubbll
    LDX's Plugins didn't broke, only the Chinese/asians did like from Miencart1, aliyui, if-team etc did for me.
    RekkuzaRage likes this.
  14. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Then your observation is wrong.
    Darunia18 likes this.
  15. vertx
    Offline

    vertx Active Member

    Joined:
    Dec 4, 2014
    Posts:
    61
    Minecraft User:
    Vertx
    ... And now i'm having this problem with some plugins:

    [CRITICAL] ClassNotFoundException: "Class pocketmine\network\protocol\ChatPacket not found" (EXCEPTION) in "/src/spl/BaseClassLoader" at line 144

    But it won't crash the server, just are spamming this on console, and the plugin doesn't work well...
    Last edited: Apr 10, 2015
  16. mclab
    Offline

    mclab Active Member

    Joined:
    Dec 24, 2014
    Posts:
    49
    Minecraft User:
    Dragonflex
    .... stupid, lazy person :p

    write on top of plugin

    use pocketmine\network\protocol\ChatPacket;
  17. vertx
    Offline

    vertx Active Member

    Joined:
    Dec 4, 2014
    Posts:
    61
    Minecraft User:
    Vertx
    It already are wrote on top of main plugin class, but this "ChatPacket" are missing on new 1.5, (because on 1.4 it works) also i'm not developer of this plugin, the developer are @hmmmm and the plugin are SteveWarn avaliable only on ifteam repository... I'm now reviewing my plugins code to TRY to fix some deprecated codes, but if it's a PocketMine issue, i'm working for nothing... This is what i'm scared...
  18. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    You should use sendMessage() directly maybe.

Share This Page

Advertisement