PocketMine / PocketMine-MP

Legacy PocketMine-MP repository. Head to https://github.com/pmmp for up to date software.
https://www.pocketmine.net/
GNU Lesser General Public License v3.0
1.25k stars 661 forks source link

MCPE 0.14.1 not supported #4127

Closed skywalker-z closed 8 years ago

skywalker-z commented 8 years ago

logged out due to Outdated server!

jimtbob commented 8 years ago

This issue was brought up before and closed, I installed PocketMine-MP 1.6dev-23 phar per the previous issue - still can't get onto the server (MCPE v0.14.1 on iOS or Android says outdated server)

jellyfishcoder commented 8 years ago

Here is a phar http://pmt.mcpe.me/pmb/dl/pr:4115.phar Its from a closed pull request but it works. They denied the pull request because they said it didnt make all the changes for 0.14.1 BUT ATLEAST IT ALLOWED IT TO BE SUPPORTED.

jellyfishcoder commented 8 years ago

Just realised that is old link. You have to compile it yourself. https://github.com/PocketMine/PocketMine-MP/pull/4115 is the pull request. Ill upload a phar when I get a chance.

skywalker-z commented 8 years ago

@jellyfishcoder As you pointed out the link no longer works. Can you upload a phar please? Kids are waiting ... Or can you share instructions about how to compile the pull request? Thanks.

jellyfishcoder commented 8 years ago

@skywalker-z Here it is: https://drive.google.com/file/d/0B0wvRQEqnhujN1k4eTBBbFhHWmc/view?usp=sharing Be sure to rename it to PocketMine-MP.phar before usingit. Also the water bucket is missing in creative in it.

jellyfishcoder commented 8 years ago

When I figure out how to compile PocketMine from the source into a phar I will put together a bunch of pullrequests and and make a phar with all the features I can fix in it. Ive found fix for the creative water bucket and for some other issues, and made them into one resp, but dont know how to compile a phar,.

skywalker-z commented 8 years ago

@jellyfishcoder Thanks for the help, but the phar file doesn't work for me. Any idea?

.\start.cmd Warning: require_once(phar://C:\PocketMine-MP\PocketMine-MP.phar/src/pocketmine/PocketMine .php): failed to open stream: phar "C:\PocketMine-MP\PocketMine-MP.phar" SHA1 signature co uld not be verified: broken signature in C:\PocketMine-MP\PocketMine-MP.phar on line 1 Fatal error: require_once(): Failed opening required 'phar://C:\PocketMine-MP\PocketMine-M P.phar/src/pocketmine/PocketMine.php' (include_path='.;.\ext') in C:\PocketMine-MP\PocketM ine-MP.phar on line 1

jellyfishcoder commented 8 years ago

Hm, ive not used windows but it may be an issue because it has "/" in the phar instead of . Though I dont think so since its supposed to be the same phar no mater which system. Do you have PHP7 installed or PHP5?

Update: I looked it up and it may have to do with uploading it to google drive because it seems some sites mess up phars when theyre uploaded (The signature) and the signature seems to be the issue if it syas it cant verify.

jellyfishcoder commented 8 years ago

@skywalker-z I can try to email it to you if you would like. Its a exact copy of the PHAR my raspi is running.

skywalker-z commented 8 years ago

I have PHP7 installed and I am using Windows. I'm also puzzled by the error message " SHA1 signature could not be verified".

Same error from your email attachment. No luck.

skywalker-z commented 8 years ago

@jellyfishcoder How did you generate the phar? It is 2810kb, much smaller than the v0.14.0 file (3869kb) downloaded from https://bintray.com/pocketmine/PocketMine/PocketMine-MP-phar/view#files.

jellyfishcoder commented 8 years ago

I got it from this link on a pull request. The request was closed because there were "more changes" than what was in it, but working mostly is better than not working at all. Im not sure why it is smaller. I wish I knew how to generate the phars, but I dont sadly. Also, almost all the phars are different sizes and stuff. It just depends on what the compiler decided to put in them, like different new blocks and stuff. Could be a number of things, but make a COMPLETE copy of your pocketmine folder before ever changing anything like a phar. https://github.com/PocketMine/PocketMine-MP/pull/4115 http://pmt.mcpe.me/pmb/dl/pr:4115.phar

Just saw you said it didnt work on attatchment, hmm. Ill try to recompile it if i can find a guide on how to make a phar.

skywalker-z commented 8 years ago

I made it to work by removing the phar file and putting the src folder in PocketMine-MP root directory. Need to clone PocketMine-MP, raklib, and spl repos. Then make the a few changes in the pull request manually. After that start.cmd works. Kid can join the server now.

I am still hoping for the official release. This is just a hack. Thanks @jellyfishcoder for all the help.

jellyfishcoder commented 8 years ago

Thats cool. IDK you could run it without a phar. And I doubt it will be official any time soon sadly.

ghost commented 8 years ago

I'm using Genisys which is a "fork" of PocketMine, it updates the server for 0.14.1 and also allows you to edit some cool shtuff! :D

jellyfishcoder commented 8 years ago

@TheEpicCooldeal Just wonderin ,can I just replace the pocketmine phar with genisys phar and it will work?

robske110 commented 8 years ago

yes as long as its php7

jellyfishcoder commented 8 years ago

@robeske110 thanks, ill try it now

jellyfishcoder commented 8 years ago

@robske110, Thanks so much, this is great. @skywalker-z you should try genisys phar also. It has mobs and evrerything, even redstone!

robske110 commented 8 years ago

And if you want compatibility with old plugins, use ClearSky, it's php5 (you need php5 bin folder then)

PrimusLV commented 8 years ago

This is PocketMine!

ghost commented 8 years ago

It is....

PrimusLV commented 8 years ago

Keep PocketMine forks away from here

ghost commented 8 years ago

.... They work at least .....

jellyfishcoder commented 8 years ago

Yeah, when pocket mine works Illstop looking for a working alternative, until then, nah😌

robske110 commented 8 years ago

Keep PocketMine forks away from here

And why? Ok, they destroyed this project. Thats true. But as they already destroyed this project, what can we do now?