-
Notifications
You must be signed in to change notification settings - Fork 185
Bukkit PlayerMoveEvent appears to be doubled up #97
Comments
What build of Thermos are you using? |
And it is strange...I do not see the doubling of events on my factions server. They only receive the message of moving to another block of land once. |
22, your latest one Sent from my iPhone
|
So it happens for both Thermos and KCauldron? |
Can confirm this. Happens on dimension change as well. |
Yep Sent from my iPhone
|
It may increase the amount of data, so changes are such as this. |
What do you mean? |
@Bogdan-G I bumped the delta so there would be fewer move events. |
@DraksterAU more mods, more traffics, more pool size packet. |
Hi @robotia Can you respond when you've released this for me to test ? :) |
@robotia B24 didn't fix this one :( sadface. |
How are you seeing the event doubled up? |
Factions/WorldGuard/Towny use the PlayerMoveEvent to detect chunk changes and therefore territory changes. I've looked at the source for Factions and can see it only fires 1 change message per PlayerMoveEvent that results in a chunk+Territory change. |
@DraksterAU I believe this is an issue unique to you. On my Tekkit Legends server running B23 with Factions, I have never had this problem. 0.o |
@robotia on both the post here and with the KCauldron Devs I have people confirming they also have the issue. I've also tried running JUST Factions with thermos and KCauldron and the issue persists. |
What version of thermos + factions are you running? |
I believe this is an issue unique to you. On my Tekkit Legends server running B23? |
@Cracks777 your not making sense... |
Copy + paste master |
@Cracks777 the more important half of that is his version of factions. |
lol just trying to help. |
@Cracks777 PS I have tried B23 with @robotia's factions build under fixes here on both a Linux and Windows machine with Java 8 and issue persists. |
Nevermind, you were right @DraksterAU somehow I missed it. |
Lol @robotia no worries. Just fending off the others so the issue doesn't get closed prematurely lol |
I do not see why the events are being doubled up. 0.o The NetHandler class seems to be the sole caller. If this is the case, and the events appear to be doubled up, this could mean one of two things: 1. The event is being double-called with the EXACT same location, which is pretty bad. This attempts to prune that. 2. The from location has not been updated properly, so Factions interprets this as a double-crossing of the same exact border.
Hi @robotia I tested... doesn't fix :( |
Can confirm this issue still persists. Also, it appears the second message is sent a bit late. For example, if you /f claim auto: http://prntscr.com/adbcry, you can see it claims the chunk but then also tells you that you already have the chunk. There is a slight delay after the first message, not sure if that helps or not 😸 |
@Time6628 markehme and I have developed work arounds For v2.8.5 of Factions. Install the plugin here to resolve the issues; |
@DraksterAU I have that plugin installed and the messages still appear. 🐱 |
@Time6628 Please post what version of Thermos, Factions, Massivecore and MassiveCoreForgeFixes you are using? If there is a bug I'm happy to look into it and update the plugin, but the official 2.8.5 runs fine on my server with MCFF v1.1.0. If the Fixes plugin fails, try downloading the below and using those; |
I am using 2.8.7Beta. |
@Time6628 I wouldn't use that with cauldron - and the fixes plugin is only tested with 2.8.6 and below. 2.8.7 is for 1.9 |
Fixed in B47. |
PlayerMoveEvent for bukkit appears to be doubled up, causing faction territory change messages to be duplicated.
This is also a bug in KCauldron.... I've looked at the source for Factions and they're doing it right... listening for the event and calling sendMessage to the player once per event.
The text was updated successfully, but these errors were encountered: