Yamipa

Yamipa

3.7k Downloads

Image doesn't appear/half appears in some cases

Zoro-6191 opened this issue ยท 9 comments

commented

I placed this particular Image in my enderman farm 6x3 dimentions, but some players who were away at the time couldn't render it at all and 1 of my friends could render it only half. He reconnected, spawned on the same chunk and image appeared full. I noticed later on the image appeared half to me as well.

One of the times, I tried re-placing the image, right clicked kinda fast, and it only said Loading Image or something like that and didnt go away. I thought I didn't place the image as it didnt appear. I reconnected and it was there.

Yamipa 1.2.0
All plugins: https://paste.md-5.net/uqupixubey
Paper 1.18 #58

commented

Hi, @Zoro-6191!

This might be related to #13.
Does your server have a firewall or some kind of tool for intercepting/blocking network packets?

commented

it has protocollib, and no firewalls

commented

To be honest, I have no idea what could be causing this bug.

With "debug: true" added to "plugins/YamipaPlugin/config.yml", if working properly, you should see in the server logs a bunch of entries like this:

Sent pixels for FakeMap#<id> to Player#<nickname>

There should be a line per image frame and player near the image.

Also, this line must appear for the same image at least once:

Spawned animation task for FakeImage#(<location>)

Have you tried running your Minecraft server locally on your machine or can confirm your hosting provider doesn't have some kind of DDoS packet filtering?

commented

I use a bare-metal vps and i havent configured any sort of packet filtering yet.

I could try it offline but honestly idk how would i reproduce the bug

One thing i can remember is that my friend wasnt in end dimension when i pasted it, he came there afterwards. Later he reconnected to server while he was in the end and the image rendered perfectly. Different dimensions may be the cause. But idk for sure.

I'm currently travelling so i cant do that debug thing atm, but I'll do it the first chance i get.

commented

I still don't know about the image rendered in half (that has to be a network issue), but I've just fixed a related bug in v1.2.1-SNAPSHOT, in case you want to try that pre-release.

commented

I've also had similar issues where images don't load seemingly while switching dimensions (although I haven't seen a half image yet). On my server we have been going in and out of the nether a lot and switching dimensions seems to be the cause. This can be fixed by logging out and back into the server.

I'm not exactly sure how you are loading the maps in but is it possible the plugin is losing the player when they switch dimensions or maybe misplacing the image?

Note: Trying the v1.2.1 SNAPSHOT did not solve this bug.

commented

Hi @Geoffery10,

As in the previous case, have you tried running your Minecraft server locally on your machine or can confirm your hosting provider doesn't have some kind of DDoS packet filtering?

commented

Hello @josemmo, I should have clarified I locally host my server. I haven't setup any special packet filtering either.

commented

Hi everyone,

Unfortunately I haven't been able to reproduce this bug. I'll be closing the issue in a few days.