open the folder inside the zip in aide, navigate to the jni folder, press the play button shaped button to install the addon and open blocklauncher, download here:
I know that I need NDK and have it installed. If the mistake is not from me I would need to know how to compile it to an App (Android Studio? Eclipse?).
I know that I need NDK and have it installed. If the mistake is not from me I would need to know how to compile it to an App (Android Studio? Eclipse?).
Thanks
I think it is because you used dlopen on libminecraftpe.so, and there is no libminecraftpe.so file in it, try adding a libminecraftpe.so file in the jni folder.
I added libminecraftpe.so <--with that name but it don't works, 5 mistakes.
There is no functions in mcpelauncher.h, and your Gui::displayclientmessage is not even in mcpe.h, so I dont know what header file you need, you may need to code your own Gui::displayclientmessage function.
Please give me an Internet. Please. Pretty Please with sprinkles on top
I have a twitter!! Follow me for regular updates on my mods! https://twitter.com/DamienMiller11
Please give me an Internet. Please. Pretty Please with sprinkles on top
I have a twitter!! Follow me for regular updates on my mods! https://twitter.com/DamienMiller11
I think you need to dump your lib.minecraftpe.so using blocklauncher. on block launcher, go to:Settings→NerdyStuff(on the very bottom)→press Dump libminecraftpe.so from memory, and it will show up on your sdcard. Cop and paste it in your jni folder
I can be found on Freenode IRC channels #pocketmine, #ModPEScripts, #LegendOfMCPE, #pmplugins or #BeaconMine.
I am a PocketMine-MP plugin developer. I hate it when people think that I love stupid admin positions. Being an admin is nothing compared to being a plugin developer.
I am also a main developer of BlockServer, a work-in-progress MCPE server software. You are welcome to download it, but it so far onlly spawns you in the upther (above the world). You can chat, though.
I do not own this server but I just love to put this banner here:
The tool you need to use to compile the addon is aide, download here:
https://play.google.com/store/apps/details?id=com.aide.ui&hl=en&referrer=utm_source=google&utm_medium=organic&utm_term=aide&pcampaignid=APPU_1_0QlHVc7qC8HAsAXH8IBw
The folder that contains a uncopiled .cpp source file in inside the zip that you download here:
https://www.dropbox.com/s/4smfwt677jirzox/Addon Template.zip.zip?dl=0
open the folder inside the zip in aide, navigate to the jni folder, press the play button shaped button to install the addon and open blocklauncher, download here:
https://play.google.com/store/apps/details?id=net.zhuoweizhang.mcpelauncher&hl=en&referrer=utm_source=google&utm_medium=organic&utm_term=blocklauncher&pcampaignid=APPU_1_rQtHVeXuEcqyoQTowYC4CQ
then go to addons, and your addon will be there, named your mod, and enable it.
For the tutorial that helped me, made by byteandahalf:
https://github.com/byteandahalf/MCPE-NativeMods/wiki/1:-Making-native-mods-for-Minecraft-Pocket-Edition
Nice,this thread is 10% of 500ISE's tutorial, not even worth a follow
Can you give a link to 500ISE's tutorial?
Sorry, I cannot find 500ise's tutorial, though I will post a link to byteandahalfs tutorial, where I found a bunch of code.
There is not a whole bunch of ways to create a addon.
I know byteandahalfs tutorial, but I make mistakes or AIDE (I have the free version) says I do. Maybe AIDE don't works at me?
Could you please check where the mistake is, it is just a little Mod that should print a Message whenever you enter a Wormd? (https://www.dropbox.com/s/5mw41b8tokmhhgb/Addon test.zip?dl=0)
I know that I need NDK and have it installed. If the mistake is not from me I would need to know how to compile it to an App (Android Studio? Eclipse?).
Thanks
I think it is because you used dlopen on libminecraftpe.so, and there is no libminecraftpe.so file in it, try adding a libminecraftpe.so file in the jni folder.
I added libminecraftpe.so <--with that name but it don't works, 5 mistakes.
There is no functions in mcpelauncher.h, and your Gui::displayclientmessage is not even in mcpe.h, so I dont know what header file you need, you may need to code your own Gui::displayclientmessage function.
Let me have a check
I have a twitter!! Follow me for regular updates on my mods!
https://twitter.com/DamienMiller11
No compliler errors for me
I have a twitter!! Follow me for regular updates on my mods!
https://twitter.com/DamienMiller11
With which program did you compiled?
How do i write it on mod.cpp? I've read byte's tutorial but it's confusing and where can i find the hooks in AIDE?
I think you need to dump your lib.minecraftpe.so using blocklauncher. on block launcher, go to:Settings→NerdyStuff(on the very bottom)→press Dump libminecraftpe.so from memory, and it will show up on your sdcard. Cop and paste it in your jni folder
I think in libminecraftpe.so, because that is the actual code of minecraft.
Yes, you can use android studio with eclipse.
", sans-serif">Want to get paid for uploading mods?
", sans-serif">Click here
For free Bitcoins, click here!
You should really explain how to compile it on Linux/Windows. It is usually the worst idea to try to code anything big on a mobile.