Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kick (Internal server error) on '/mye entity [name]' command execute #20

Closed
ndggaming opened this issue Oct 20, 2019 · 11 comments
Closed
Labels
bug Something isn't working

Comments

@ndggaming
Copy link

ndggaming commented Oct 20, 2019

Hi, I have a bug with your plugin, when i try to spawn an entity, the plugin make me crash (internal server error). It make me crash when i write /mye entity [name of the entity].
I have tested the plugin with no other plugins, but it does not change anything.

If it can help, add a screenshot of the console of my server :

Pocketmine version: 3.9.5
Minecraft Bedrock version: v1.12.0

PS : sorry for my bad english, i'm French ...

@benda95280
Copy link
Owner

benda95280 commented Oct 20, 2019

Hello,

I'm sorry you'r having some trouble with the plugin, but it's still in Dev/Beta
Currently XenialDan is doing an amazing work on rewrting the plugin, it will be better and amazing soon :)

For your problem, could you try to remove the Phar file, and run it from source ?

Thanks,
Benda (French too 👍 )

@ndggaming
Copy link
Author

Ok thank's a lot, I will test. And no problem for the bugs i know that it's a big work

@benda95280 benda95280 added the bug Something isn't working label Oct 20, 2019
@benda95280
Copy link
Owner

@thebigsmileXD :
It seems we don't yet handle the fact that is possible for the skins files (Skin & SkinChange - Maybe geometry too) could be removed after the initialisation ?
When creating an entity, we should check if all needed file are not missing ?
Same after the entity has been created, if the SkinChange is removed from NBT, it could produce an error.

Do it need to be checked when created, and when used ?
Seems interesting to generate an error in console, and block any interaction with entity if anything is missing ? (Maybe push error message to player too)

@ndggaming
Copy link
Author

So I have tested to run the plugin by download the zip folder from github and after, I have compressed it with devtools but the problem was that the folder with ressources will empty. So I have add into it the ressources who I have taken in the github folder. I did not succeed to make work the plugin. It has been appear in the plugins folder but it doesn't work.
So I don't now how to make work the plugin, maybe it's just that I have not make the right handling ...

@benda95280
Copy link
Owner

benda95280 commented Oct 20, 2019

Compressed ? 😭

You can copy everything in the folder, like that:
image

Please, when proceed like that, remove the Phar file ...

@ndggaming
Copy link
Author

It doesn't work 😢

@inxomnyaa inxomnyaa changed the title Crash client on command execute Kick (Internal server error) on '/mye entity [name]' command execute Oct 21, 2019
@inxomnyaa
Copy link
Collaborator

You can copy everything in the folder, like that:

Not to forget that the virions need to be installed when running from source

@inxomnyaa
Copy link
Collaborator

AAAAhhh now that i see the image

you have not enabled gd

check php.ini for an entry "gd2" and remove the ; before that line

(Maybe that progress is different on linux, https://forums.pmmp.io/threads/enable-gd-extension-in-linux-php.5803/ https://forums.pmmp.io/threads/gd-on-php.6532/ https://forums.pmmp.io/threads/how-to-install-gd-lib-in-php-binary.4372/)

@inxomnyaa
Copy link
Collaborator

Will actually reopen - we should add a check if gd is enabled
extension_loaded('gd');

@inxomnyaa inxomnyaa reopened this Oct 21, 2019
@ndggaming
Copy link
Author

Probably this problem appear cause I use a host for my server. I think they have not add GD extension on their servers.

@inxomnyaa
Copy link
Collaborator

Check was added

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants