Weird issue with player damage

Status
This thread has been locked.

mxnny

Premium
Feedback score
4
Posts
205
Reactions
69
Resources
0
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

mxnny

Premium
Feedback score
4
Posts
205
Reactions
69
Resources
0
Also this doesn't trigger any damage or interact events, its weird :confused:
 

mxnny

Premium
Feedback score
4
Posts
205
Reactions
69
Resources
0
I'm not using WorldGuard or Multiverse Core, there are also no errors. This has been happening for a long time now, it only happens with 1 in 10 matches, it's really weird. I've restarted the server numerous times as well.
 

901cosmic

Have faith in god, work hard, and succeed
Premium
Feedback score
31
Posts
615
Reactions
268
Resources
0
I'm not using WorldGuard or Multiverse Core, there are also no errors. This has been happening for a long time now, it only happens with 1 in 10 matches, it's really weird. I've restarted the server numerous times as well.
you using the normal spigot jar?
 

KuramaStone

Feedback score
0
Posts
21
Reactions
5
Resources
3
I have no clue what's causing this, but the mere idea of it greatly intrigues me. That could be considered a wonderful feature to some servers.
 

Tabbin

Java Developer
Supreme
Feedback score
20
Posts
777
Reactions
512
Resources
0
seems like an issue with your client, could you try and hit someone on another pc?
 

mxnny

Premium
Feedback score
4
Posts
205
Reactions
69
Resources
0
seems like an issue with your client, could you try and hit someone on another pc?
It only happens sometimes, not to specific players, happens to everyone but rarely, gets in the way of tournaments as well which makes it a big issue. But yes when it does happen sometimes the opponent can hit the player but the player can't hit the opponent, it's very weird o_O
 

Tabbin

Java Developer
Supreme
Feedback score
20
Posts
777
Reactions
512
Resources
0
It only happens sometimes, not to specific players, happens to everyone but rarely, gets in the way of tournaments as well which makes it a big issue. But yes when it does happen sometimes the opponent can hit the player but the player can't hit the opponent, it's very weird o_O
probably a plugin using the player#hidePlayer method which allows for this to happen but also hides them

disable each plugin individually, restart the server and see if the issue persists will be your best option.

if that doesn't work, it's probably your jar
 

mxnny

Premium
Feedback score
4
Posts
205
Reactions
69
Resources
0
probably a plugin using the player#hidePlayer method which allows for this to happen but also hides them

disable each plugin individually, restart the server and see if the issue persists will be your best option.

if that doesn't work, it's probably your jar
All the plugins on the server are my own that I made, and yes the practice core does use the hidePlayer method, however, wouldn't it actually hide the player so I can't see them if it was that, good idea though, I will debug it tomorrow and see if I can find the source of the issue.[DOUBLEPOST=1576508640][/DOUBLEPOST]
probably a plugin using the player#hidePlayer method which allows for this to happen but also hides them

disable each plugin individually, restart the server and see if the issue persists will be your best option.

if that doesn't work, it's probably your jar
Also it is a pretty weird issue as it only happens in some matches while all matches follow the same operations to prepare the actual match for the players to fight in.
 
Last edited:

jodgi

Developer
Supreme
Feedback score
5
Posts
158
Reactions
36
Resources
0
It's definitely going to be something that is either plugin or spigot based. Based on what you said about the bug not firing events it leads to believe that it's something to do with packets. Do any of your plugins handle damage packets, I know your spigot fork probably does to make knockback async etc.
 

mxnny

Premium
Feedback score
4
Posts
205
Reactions
69
Resources
0
It's definitely going to be something that is either plugin or spigot based. Based on what you said about the bug not firing events it leads to believe that it's something to do with packets. Do any of your plugins handle damage packets, I know your spigot fork probably does to make knockback async etc.
The practice core has some things to handle specific packets with hiding projectiles, item drops and some other things but nothing damage based.
 

jodgi

Developer
Supreme
Feedback score
5
Posts
158
Reactions
36
Resources
0
The practice core has some things to handle specific packets with hiding projectiles, item drops and some other things but nothing damage based.
Then it could be the spigot. Have you tried other versions of spigot, not just the custom fork? Does the bug still appear?
 

mxnny

Premium
Feedback score
4
Posts
205
Reactions
69
Resources
0
Then it could be the spigot. Have you tried other versions of spigot, not just the custom fork? Does the bug still appear?
I have not, however I will try that and will try debug the entity hiding to see if it fixed it.
 

mxnny

Premium
Feedback score
4
Posts
205
Reactions
69
Resources
0
Quick update, not very sure if it has been fixed or not but it seems like it has, have not had the issue in any matches I've been in. Seems to be something with the entity hiding, not sure what was causing it but I decided to redo the whole entity hiding system I had and it seems to have fixed it. If anyone encounters this then best thing to do is probably check for things to do with hiding entities or anything to do with packets.
 
Status
This thread has been locked.
Top