These are chat archives for PocketMine/PocketMine-MP

31st
Dec 2016
JetBitz01
@JetBitz01
Dec 31 2016 05:21
hi, does anyone know how to create plugins now that the api is 3.0.0 and DevTools does not work anymore
Addison
@Addison118
Dec 31 2016 05:23
@JetBitz01 No, we don't know anything
David Schwartz
@dschwartz783
Dec 31 2016 05:24
I’m not sure if I know anything
do you know?
Addison
@Addison118
Dec 31 2016 05:24
Me? No clue
@JetBitz01 we were hoping you could bring us into the light
JetBitz01
@JetBitz01
Dec 31 2016 05:25
the updates are just complicating stuff. I used to be able to create plugins on 0.16.0 and then i dont know what is wrong with my plugins
it says about the api version being different
Addison
@Addison118
Dec 31 2016 05:26
0.16.0?
JetBitz01
@JetBitz01
Dec 31 2016 05:26
it is 1.0.0.6 now and none of the plugins seem to work
David Schwartz
@dschwartz783
Dec 31 2016 05:26
Part of being a developer is finding solutions to problems. Heck, that’s all you do really.
Addison
@Addison118
Dec 31 2016 05:26
Mojang sure has gotten the ball rolling
@JetBitz01 I know your problem
JetBitz01
@JetBitz01
Dec 31 2016 05:27
sry, i just joined and like alot of updates keep happening and the tutorials seem to be all outdated
Addison
@Addison118
Dec 31 2016 05:28
@JetBitz01 I really have no clue what has changed in 3.0.0
You have to change the api version in the yaml
JetBitz01
@JetBitz01
Dec 31 2016 05:29
pmmp/PocketMine-MP#179
its in the web
yeah, i changed and it did not work
Addison
@Addison118
Dec 31 2016 05:29
And you might be using outdated packages
JetBitz01
@JetBitz01
Dec 31 2016 05:29
dk, the updates just come so quickly i dont know whats happeniong
David Schwartz
@dschwartz783
Dec 31 2016 05:30
Either get the developer to fix the plugins, or fix them yourself if you can. API changes are difficult, but they’re generally not earth-shattering
JetBitz01
@JetBitz01
Dec 31 2016 05:30
i am trying to do my own plugins u see
Addison
@Addison118
Dec 31 2016 05:30
@JetBitz01 just give up
Its not worth it
JetBitz01
@JetBitz01
Dec 31 2016 05:31
i hv perfectly no prob with php but the things just not fit in
does8
Addison
@Addison118
Dec 31 2016 05:31
Whats the exact error message?
JetBitz01
@JetBitz01
Dec 31 2016 05:31
does*
Addison
@Addison118
Dec 31 2016 05:32
@JetBitz01 ^
JetBitz01
@JetBitz01
Dec 31 2016 05:33
Could not load plugin 'whatever plugin this is': Incompatible API version
Addison
@Addison118
Dec 31 2016 05:33
Thats the only error?
JetBitz01
@JetBitz01
Dec 31 2016 05:34
yep, but i cant update the api
David Schwartz
@dschwartz783
Dec 31 2016 05:35
just change the version number in the .yml and see if it works
JetBitz01
@JetBitz01
Dec 31 2016 05:36
aint working
Addison
@Addison118
Dec 31 2016 05:36
@JetBitz01 snap a picture of the yaml
David Schwartz
@dschwartz783
Dec 31 2016 05:37
or just put the file itself into gitter
Addison
@Addison118
Dec 31 2016 05:37
Or that
David Schwartz
@dschwartz783
Dec 31 2016 05:37
drag and drop
here is an example of the phar file
Addison
@Addison118
Dec 31 2016 05:39
So you are trying to update dev tools?
JetBitz01
@JetBitz01
Dec 31 2016 05:40
yeah unless there is another way to create the plugins
cause u need the PHAR file
David Schwartz
@dschwartz783
Dec 31 2016 05:40
you don’t need devtools to create plugins
the API is built into pocketmine/genisys
Addison
@Addison118
Dec 31 2016 05:43
@JetBitz01 if you want it in a phar format here's an easy way: https://pmt.mcpe.me/phar.php
David Schwartz
@dschwartz783
Dec 31 2016 05:47
That would have helped a ton when I first started making plugins, lol.
PHP comes with phar creation turned off by default for some bizarre reason. That site should make some people’s lives a lot easier.
Addison
@Addison118
Dec 31 2016 05:49
Haha yeah, it sucks, credit to pemapmodder for the site
Addison
@Addison118
Dec 31 2016 05:55
Never fails to amaze me why people don't just google
David Schwartz
@dschwartz783
Dec 31 2016 05:55
You need to master the art of googlefu, bro. It’s not simple stuff.
It’s amazing how much you can learn from just being liberal with your googling policy
Lol.
Addison
@Addison118
Dec 31 2016 05:57
Lol, exactly, googling is easier than asking someone a question
And its more fun
Who doesn't like to sit down and type stuff into google and then browse for the answer
David Schwartz
@dschwartz783
Dec 31 2016 05:59
Ikr. “Why is the moon white?” “What’s the color of George Washinton’s white horse?” All answers are at your fingertips!!! :D
JetBitz01
@JetBitz01
Dec 31 2016 05:59
not really all, when it comes to this, most of the answers are outdated
Addison
@Addison118
Dec 31 2016 06:00
Haha yeah, actually not in this case Http://Lmgtfy.com/?q=Zip+to+phar
First result
JetBitz01
@JetBitz01
Dec 31 2016 06:00
i meant the plugin creation thing
Addison
@Addison118
Dec 31 2016 06:00
Color of george washingtons white horse, lol
"Plugin creation"?
You didn't have a question about about that
You wantes to convert your plugin to phar format
Wanted*
JetBitz01
@JetBitz01
Dec 31 2016 06:01
well, i am learning to create one but gonna find out stuff that is needed to change as most of the answers are for 0.16.0
Addison
@Addison118
Dec 31 2016 06:02
Docs.pocketmine.net
It's all there, wrapped nice and pretty for people like you to go and learn :)
:)
Stupid emojis
JetBitz01
@JetBitz01
Dec 31 2016 06:03
yeah, thnks alot
Addison
@Addison118
Dec 31 2016 06:03
You bet
I'm always happy to help
Not always
JetBitz01
@JetBitz01
Dec 31 2016 06:04
do i just change the api number in the yml file to get it to 3.0.0 or do i need to change other stuff
here is the plugin i am trying to change to YAML but it does not seem to be compatible
its just a simple test plugin
does anything seem to be of problem?
David Schwartz
@dschwartz783
Dec 31 2016 06:10
which version of pocketmine are you using?
JetBitz01
@JetBitz01
Dec 31 2016 06:10
1.6.2
David Schwartz
@dschwartz783
Dec 31 2016 06:11
change the version string to "3.0.0-ALPHA1"
who the heck named it that, idk...
JetBitz01
@JetBitz01
Dec 31 2016 06:13
yeah i guess it is the 3.0.0-ALPHA1 prob
it works now thnks to @dschwartz783 @Addison118
David Schwartz
@dschwartz783
Dec 31 2016 06:14
yw :)
Addison
@Addison118
Dec 31 2016 06:14
👍
@dktapps we need to talk
About the api string
Why is the api version still 2.1.0 in pmmp?
David Schwartz
@dschwartz783
Dec 31 2016 06:17
he’s using the 1.0 branch
Addison
@Addison118
Dec 31 2016 06:17
Oh
I never thought mojang would reach 1.0
David Schwartz
@dschwartz783
Dec 31 2016 06:18
ikr
I thought they’d go like Java and just drop the first digit
Addison
@Addison118
Dec 31 2016 06:20
Lol
I wonder how long it will be until minecraft fails and stops bringing in hoards of people
David Schwartz
@dschwartz783
Dec 31 2016 06:21
As long as they don’t kill off private servers, probably not for awhile. :D
JetBitz01
@JetBitz01
Dec 31 2016 06:23
:smile:
:+1:
Addison
@Addison118
Dec 31 2016 06:24
Minecraft kills me, like there are so many other better games out there
David Schwartz
@dschwartz783
Dec 31 2016 06:26
Most games don’t have an IP address field, so you can make private servers though. :(
I only play hackable games these days, tbh. I used to play World of Warcraft due to its rich scripting support for that reason. The game turned out to be far too time consuming, unfortunately.
Addison
@Addison118
Dec 31 2016 06:27
If its not there, put one there
JetBitz01
@JetBitz01
Dec 31 2016 06:28
hey, if i only hv the PHAR files and they are generated using DevTools, how do i change the api ver
Addison
@Addison118
Dec 31 2016 06:28
Thats the way to live in the programming life
David Schwartz
@dschwartz783
Dec 31 2016 06:28
https://pmt.mcpe.me/pocketmine.php has an unphar section
you can edit, then phar it back up again
Addison
@Addison118
Dec 31 2016 06:29
@JetBitz01 https//lmgtfy.com/?q=phar+to+zip
David Schwartz
@dschwartz783
Dec 31 2016 06:29
lolololol
Addison
@Addison118
Dec 31 2016 06:29
I love whoever made lmgtfy
JetBitz01
@JetBitz01
Dec 31 2016 06:30
I love the two of you, u guys are awesome, thnks alot
Addison
@Addison118
Dec 31 2016 06:30
No problem
:p
Addison
@Addison118
Dec 31 2016 06:31
XD
Niiiceee
David Schwartz
@dschwartz783
Dec 31 2016 06:34
Let me GOOGLE that for you, offers a choice of other search engines? The hell?!?!
heh heh heh
Penis_e4fecc_4734935.jpg
Addison
@Addison118
Dec 31 2016 06:55
The heck lol
David Schwartz
@dschwartz783
Dec 31 2016 06:55
It’s an alpaca
Addison
@Addison118
Dec 31 2016 06:56
Haha
Have you tried Skyrim?
David Schwartz
@dschwartz783
Dec 31 2016 06:57
no time :(
Addison
@Addison118
Dec 31 2016 06:58
Im waiting to get the special edition till I get the parts to build my computer
School taking up time?
David Schwartz
@dschwartz783
Dec 31 2016 06:59
between finishing the college semester + designed my own MCPE server from scratch, I have no time for much else.
I want to get both things done ASAP, lol
JetBitz01
@JetBitz01
Dec 31 2016 07:00
to find how far a player moves it is processMovement ($currentTick) right?
Addison
@Addison118
Dec 31 2016 07:00
@dschwartz783 as in software?
David Schwartz
@dschwartz783
Dec 31 2016 07:00
Yeah. I have the RakNet C++ library going, as well as full NBT support. I’m just sorting out some details and I’ll begin implementing blocks.
eventually packets, and it’ll work :p
I have most of the login sequence implemented already, but I quickly realized that there wasn’t much point in finishing it until I had some data I could put into those packets
heh
Addison
@Addison118
Dec 31 2016 07:02
Nice, I started on a Java one, and got most the networking done but I screwed it
David Schwartz
@dschwartz783
Dec 31 2016 07:03
This is going to be a long-term hobby. Eventually I’ll get it working, and port it to other platforms, implement plugins, as well as one incredibly awesome feature that I don’t tell anyone about because I don’t want to be copied. :3
Addison
@Addison118
Dec 31 2016 07:04
Cool, I quit because there was no point, like it wont benefit me in any way
And there's already enough "software" even though they might not be the best
David Schwartz
@dschwartz783
Dec 31 2016 07:05
I received one job offer because of my work on it so far, unfortunately they actually wanted me to work, for money, on pocketmine. First, I hate PHP, second, making a career out of bootleg software just doesn’t seem legit to me.
Addison
@Addison118
Dec 31 2016 07:06
Lol, was it one of those cheap servers?
David Schwartz
@dschwartz783
Dec 31 2016 07:07
They are a company that makes plugins.
It was all very odd, but they have a website
lol
I can’t remember their name atm
Addison
@Addison118
Dec 31 2016 07:07
A company that makes plugins?
Thats cheap
Really cheap
All plugins for pocketmine should be free
David Schwartz
@dschwartz783
Dec 31 2016 07:08
I mean, Mojang could one day decide to just up and make pocketmine impossible. This is bootleg software. Great software, but not legit.
A very strange business model indeed
But, they haven’t removed the ability to manually enter IP addresses, which I can’t imagine has ever been too popular with people who don’t use private servers.
Seems they may let things keep working for now
Addison
@Addison118
Dec 31 2016 07:13
People would riot
Boycott mojang
Addison
@Addison118
Dec 31 2016 07:20
Sometimes I wonder how much inpvp and lbsg make and I bet it's alot and it seems wrong
David Schwartz
@dschwartz783
Dec 31 2016 07:21
Eh, it is a little annoying, but I don’t worry about it personally. :)
Addison
@Addison118
Dec 31 2016 07:26
Minecraft is initially what brought me into programing and it brought me out
David Schwartz
@dschwartz783
Dec 31 2016 08:10
Why are the SpawnX, SpawnY, and SpawnZ tags ints, but the 3 position tags (for x y and z) are Doubles?!?!? -.-
MOJANG!!!! :@
Addison
@Addison118
Dec 31 2016 08:11
Spawns need to be rounded out?
David Schwartz
@dschwartz783
Dec 31 2016 08:11
it’s just bad design though. Not a huge deal, but meh
that kind of thing bugs me
Addison
@Addison118
Dec 31 2016 08:12
Lol
David Schwartz
@dschwartz783
Dec 31 2016 08:16
and the StartGamePacket takes floats for position, lol
Addison
@Addison118
Dec 31 2016 08:22
The heck