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

Discussion pocketmine with everything from MCPE

Comments in 'General Discussion' started by Creeperface, Jun 12, 2015.

  1. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    do you think is it possible make pocketmine whith everything from MCPE (mobs, bioms, minecarts etc) without lags in this version of PHP or in PHP 7? only to know.
  2. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,130
    Plugins:
    4
    Minecraft User:
    iksaku
    This question has been answered multiple times in the past, and has you may know, PocketMine is still testing a lot of features that MCPE has, for example World Generators, Entities, Inventories, Tiles, Blocks, Particles, Sounds and much more things. They all require "Data Packets" to be correctly understood. I want to invite you to surf inside PocketMine's API to understand how hard is it to understand how all these things work, and that is only "Server's Side", you may also want to make a deep research on how "MCPE's Data Packets" work for handing all its features ;)
    EvolSoft, Creeperface and PixelGuy75 like this.
  3. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    so it is theoretically possible now?
  4. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,130
    Plugins:
    4
    Minecraft User:
    iksaku
    "Theoretically" Yes, but still need to discover the algorithms of Entities AI
    Creeperface likes this.
  5. Xenturio
    Offline

    Xenturio Active Member

    Joined:
    Sep 19, 2014
    Posts:
    333
    Minecraft User:
    Xenturio
  6. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    Yes it is a lot faster
  7. Goerick
    Offline

    Goerick Active Member

    Joined:
    Jan 24, 2014
    Posts:
    250
    Minecraft User:
    goerick
    It would be nice as technology is advance on mobile devices and now mobile devices are much faster since pocketmine's very first release.

    PHP is a server side language so all the processing goes to a server, but as mcpe gets more complex, pocketmine running server starts to lag quite alot.

    However MiNet, a mcpe server software running on #C has considerable less lag than a pocketmine server. And it's not even stable as of pocketmine.


    So yes I think everything in mcpe can be implemented just that implementing more things will yield in more lag
  8. EvolSoft
    Offline

    EvolSoft Notable Member Plugin Developer

    Joined:
    Sep 10, 2014
    Posts:
    821
    Plugins:
    15
    Minecraft User:
    Flavius12
    Yes, but PHP 7 has some syntax changes (like return types...) than PHP 5. This means that the PocketMine source code needs to be converted and this may require a lot of time
    Creeperface likes this.
  9. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    I thought the return type thing was backwards-compatible?
  10. EvolSoft
    Offline

    EvolSoft Notable Member Plugin Developer

    Joined:
    Sep 10, 2014
    Posts:
    821
    Plugins:
    15
    Minecraft User:
    Flavius12
    I don't know but if PHP 7 supports both declarations it will be fantastic :D
  11. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17
  12. aliuly
    Offline

    aliuly Notable Member Plugin Developer

    Joined:
    Feb 8, 2014
    Posts:
    1,086
    Plugins:
    17
    From what I gather, Threading is the main blocker to using PHP7.
  13. Creeperface
    Offline

    Creeperface Notable Member Plugin Developer

    Joined:
    Nov 8, 2014
    Posts:
    1,346
    Plugins:
    4
    Minecraft User:
    CreeperFace
    and why was craftbukkit a lot better then pocketmine and for far less time?
    or why mojang doesn´t make own server in C++ like in PC version?
  14. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Minecraft Server software was written by Mojang in Java. CraftBukkit is actually a "mod" that modifies the Minecraft Server software into an extensible API called Bukkit.

    PocketMine rewrites everything, from the basic network things to physics and mob AI implementation. Obviously rewriting all these require a lot more time.
    EvolSoft and Creeperface like this.

Share This Page

Advertisement