LOOHP / ImageFrame

Put images on maps and walls!
https://www.spigotmc.org/resources/106031/
GNU General Public License v3.0
50 stars 14 forks source link

Multiword incompatibility issue #53

Closed dnchshrp closed 6 months ago

dnchshrp commented 6 months ago

Hi! I love this plugin, it's simple and very useful, but I found a big issue.

Imagine a scenario: There's a multiworld server(thet uses MultiverseCore), that has a lobby, a survival world and few minigames. There's a GIF, that displays something, located in the lobby. When a player joins, he looks around, sees the GIF, and goes to the survival world or to a minigame. Then, he gets bored, goes to the lobby, and sees - the GIF now doesn't display at all! The GIF starts displaying again only when he rejoins the server. You get the point - if a player enters a world with a GIF, goes somewhere else, and then returns to the world with a GIF - it stops working until the player rejoins. I hope this will be fixed, because it's a bit annoying.

Thank you in advance!

LOOHP commented 6 months ago

Does this happen if you go through nether portals as well?

dnchshrp commented 6 months ago

Yes, the same thing happens, I visit the nether, the GIF works, I go back to overworld, then go again to nether and the GIF doesn't work

dnchshrp commented 6 months ago

I just updated the plugin to 1.7.8 and things got worse. Now sometimes the GIF disappears entirely and doesn't show even when the player rejoins, after going between some worlds the gif starts playing but only like 2-3 frames of the animations are shown.

LOOHP commented 6 months ago

Are you using ImageFrame 1.7.8.2? I could not reproduce your issue on the latest dev build.

dnchshrp commented 6 months ago

That's a bit strange. By 1.7.8 I mean the latest version of the plugin on spigotmc.org, the version I was using when I originally submitted the issue was 1.7.7. Maybe the issue could happen because my server is running 1.16.5? I can make a test server with the demonstration of this issue and send it to you

LOOHP commented 6 months ago

Can you try with the latest build on https://ci.loohpjames.com?

dnchshrp commented 6 months ago

Here's a test server that runs Paper 1.16.5 where I reproduced the issue: https://drive.google.com/file/d/1tJM4jACAqkmal1co4YZKb0CFtUtMDTL-/view?usp=sharing

I tested three different plugin versions there:

LOOHP commented 6 months ago

Thanks for the info, I couldn't reproduce this issue on build #102 anymore. Please give it a try and see if it is for you as well.

dnchshrp commented 6 months ago

I tried using build #102 from Jenkins and the behaviour is the same as in 1.7.7 :(

LOOHP commented 6 months ago

I've tested using nether portals, going back and forth. The gif continues to show on both sides. Before the fix there were errors in the console, did you get any errors after the fix?