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

Question MCPE 0.14.0 Officially released! Any news on Pocketmine?

Comments in 'General Discussion' started by Krymancer, Feb 18, 2016.

  1. Krymancer
    Offline

    Krymancer New Member

    Joined:
    Jul 20, 2015
    Posts:
    4
    Minecraft User:
    AsianUnited
    MCPE 0.14.0 just officially released for every platform to the public! When will we be getting a pocketmine.phar for it?

    Thanks in advance!
  2. Austin290022
    Offline

    Austin290022 New Member

    Joined:
    Nov 25, 2015
    Posts:
    4
    Minecraft User:
    Austin290022
    well iam sure it will be coming out soon
  3. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    http://pmt.MCPE.me/pmb/
    PHP 5 support is basically unofficially dropped. I mean, there is no announcement that its support is dropped, but PHP 5 builds aren't really being continued anymore. I believe it's not long before PHP 7 is the official master build. Maybe even a beta build for that.

    For the API backwards incompatibility: http://pmt.mcpe.me/api2/ may or may not help you.

    For Windows binaries: download PHP 7 from http://Windows.PHP.net, install the relevant Visual C++ and YAML and pthreads extensions until PocketMine Team releases an installer.

    For other OS: use https://GitHub.com/PocketMine/PHP-build-scripts/blob/php7/compile.sh to compile PHP 7
    HotFireyDeath and applqpak like this.
  4. Tim // robske Büba
    Offline

    Tim // robske Büba Notable Member

    Joined:
    Feb 26, 2014
    Posts:
    606
    Minecraft User:
    robske_110
  5. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    It is a bit difficult to ensure that I won't replace the unrelated parts like string literals or variable names, or even worse, function names, accidentally.
    Legoboy0215 and applqpak like this.
  6. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    What? I have several projects that have some functions with "String" in function names. And classes called StringStream. And string literals with the word "String" inside.
  7. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    No. You must replace the in-code usages as well. Type hints. Instanceof checks. `new` calls.
    applqpak and Legoboy0215 like this.
  8. Tim // robske Büba
    Offline

    Tim // robske Büba Notable Member

    Joined:
    Feb 26, 2014
    Posts:
    606
    Minecraft User:
    robske_110
    Oh, yeah
    Deleted my posts :(
  9. Intyre
    Offline

    Intyre Staff Member PocketMine Team

    Joined:
    Aug 24, 2013
    Posts:
    118
    Minecraft User:
    Intyre
    Code:
    mkdir PocketMine-MP
    cd PocketMine-MP
    wget -q -O - https://bintray.com/artifact/download/pocketmine/PocketMine/PHP_7.0.3_x86-64_Linux.tar.gz | tar -xz
    wget -q -O PocketMine-MP.phar https://bintray.com/artifact/download/pocketmine/PocketMine/PocketMine-MP_1.6dev-9_f98f180b_API-2.0.0.phar
    wget -q -O start.sh https://raw.githubusercontent.com/PocketMine/PocketMine-MP/master/start.sh
    chmod +x start.sh
    sed "s/^zend_extension=.*opcache.so/zend_extension=$(find $(pwd) -name opcache.so | sed 's/\//\\\//g')/g" bin/php7/bin/php.ini | tee bin/php7/bin/php.ini
    
    Linux and Mac php binaries: https://bintray.com/pocketmine/PocketMine/Unix-PHP-Binaries/7.0.3/view
    Phar: https://bintray.com/pocketmine/PocketMine/PocketMine-MP-phar/view
  10. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Make a thread for it, you lazy :p
    applqpak likes this.
  11. RekkuzaRage
    Offline

    RekkuzaRage Active Member

    Joined:
    Apr 15, 2014
    Posts:
    251
    Minecraft User:
    RekkuzaRage
    I installed from your commands. So everything runs starts correctly, but I keep on getting this same error spammed when a player joins the server and soon after the spam stops, but that happens when the world doesn't generate terrain, they are sent disconnected from server message. I'm not sure what is going on, something probably related to world generation? Not sure...
    Code:
    [03:48:25] [Server thread/CRITICAL]: RuntimeException: "Threaded members previously set to Threaded objects are immutable, cannot overwrite targets" (EXCEPTION) in "/src/pocketmine/network/CompressBatchedTask" at line 36
    [03:48:25] [Server thread/INFO]: RekkuzaRage left the game
    [03:48:25] [Server thread/INFO]: RekkuzaRage[/71.220.214.101:19132] logged out due to timeout
    Last edited: Feb 22, 2016
  12. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    We'll be resolving that issue soon.
    RekkuzaRage likes this.
  13. Legoboy0215
    Offline

    Legoboy0215 Notable Member

    Joined:
    Nov 1, 2014
    Posts:
    1,724
    Minecraft User:
    Legoboy0215
    I made a cheat sheet on how to do that.

    EX: Replace new String( with new StringTag(
  14. jojoe77777
    Offline

    jojoe77777 Notable Member Plugin Developer

    Joined:
    May 28, 2015
    Posts:
    653
    Plugins:
    1
    Minecraft User:
    jojoe77777
    How I did it for Slapper:

    (Not the best way and it wouldn't support other functions that contain "String", but it worked for Slapper)
    applqpak and Legoboy0215 like this.
  15. Legoboy0215
    Offline

    Legoboy0215 Notable Member

    Joined:
    Nov 1, 2014
    Posts:
    1,724
    Minecraft User:
    Legoboy0215
    What if my code includes (int) $hello? I have a better way :p I'll share it when I have time.
    PEMapModder likes this.
  16. jojoe77777
    Offline

    jojoe77777 Notable Member Plugin Developer

    Joined:
    May 28, 2015
    Posts:
    653
    Plugins:
    1
    Minecraft User:
    jojoe77777
    I realise it's not a "good" method, but it worked for Slapper. I double-checked the changes to make sure it worked properly. And FYI, str_replace is case sensitive; my script will replace Int but not int.
  17. zychrias
    Offline

    zychrias New Member

    Joined:
    Feb 23, 2016
    Posts:
    1
    Minecraft User:
    zarnath
    Very happy to see this late lastnight. I've been following this project for a while, and finally picked up a Pi 2 for my messing around. Can't wait until a PHP7 for the Pi comes around.
  18. Krymancer
    Offline

    Krymancer New Member

    Joined:
    Jul 20, 2015
    Posts:
    4
    Minecraft User:
    AsianUnited
    I don't understand half of the words you guys are saying since I have no experience with PHP or whatever. So, can anyone summarise this topic in English?
  19. HotPepperDaddy
    Offline

    HotPepperDaddy New Member

    Joined:
    Nov 9, 2014
    Posts:
    23
    Minecraft User:
    HotPepperDaddy
    Hey guys, where has the phar build archive gone?
  20. MinePocket Servers
    Offline

    MinePocket Servers Active Member

    Joined:
    Mar 6, 2014
    Posts:
    69
    Minecraft User:
    MinePocket
    Build from source
    [​IMG]

Share This Page

Advertisement