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

Cannot remove Specter + cannot hurt? #9

Closed
Patra3 opened this issue Apr 24, 2015 · 8 comments
Closed

Cannot remove Specter + cannot hurt? #9

Patra3 opened this issue Apr 24, 2015 · 8 comments

Comments

@Patra3
Copy link

Patra3 commented Apr 24, 2015

Hi! When I use Specter to test my plugins, it seems I cannot hurt the generated player! Now, my plugin kind of depended on hurting players. Is that a bug or are there a feature to do so?

Also, I cannot seem to remove my Specter, even through server disconnection. This is an issue because I don't want useless, empty players on my server standing there.

So, are these issues? Or is there a fix?

@falkirks
Copy link
Owner

Are you using 1.5 and 0.11? If so, there isn't any support yet.

@Patra3
Copy link
Author

Patra3 commented Apr 24, 2015

No, I was using the 1.4.1 version of PocketMine...and 0.10.4 of Pocket Edition

@PEMapModder
Copy link
Collaborator

/kick doesn't work and /s q doesn't work either?

For hurting, if a normal player spawned there, can he be hurt?

@Patra3
Copy link
Author

Patra3 commented Apr 28, 2015

When I log out, logging back in, the Specter comes back.

@PEMapModder PEMapModder removed the bug label Apr 29, 2015
@PEMapModder
Copy link
Collaborator

@HotFireyDeath you need to authenticate your specter to SimpleAuth, or some other plugins blocked the specter from being damaged.

Specters work as normal players. They are basically handled the same as normal players except that there isn't a remote device connecting for it. So it's normal that the Specter remains there right?

If you don't use /s q or /kick to disconnect the player, what do you use?

Do you even know what Specter is about?

@PEMapModder
Copy link
Collaborator

@HotFireyDeath it appears that another plugin is cancelllinf the event. Did you read the console about the messages sent to the specter?
What do you mean you "can't remove them from the world"? Do you remove them like how you remove a normal player?

@Patra3
Copy link
Author

Patra3 commented Apr 29, 2015

I cannot kill them manually as I can kill a regular player. They cannot be hurt in any manner, even through the void. @PEMapModder is it supposed to be that they automatically rejoin after you close and open the server?

@PEMapModder
Copy link
Collaborator

No they wouldn't auto rejoin if the server is restarted.

About not being able to get hurt, can you create an event listener with @ignoreCancelled set to false at MONITOR priority and see if the event is ever fired when it is attacked, and whether it is cancelled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants