Elytrium / LimboFilter

Powerful bot filtering solution for Minecraft proxies. Built with LimboAPI.
https://elytrium.net/
GNU Affero General Public License v3.0
150 stars 42 forks source link

[BUG] Captcha may not be visible with Sodium #97

Closed w26ad closed 5 months ago

w26ad commented 5 months ago

Describe the bug Captcha may not be visible with Sodium as plugin doesn't send enough chunks to load them by mod

To Reproduce Steps to reproduce the behavior:

  1. Install Sodium mod (version 0.4.1 or newer) on your client.
  2. Set up a server.
  3. Install a LimboFilter plugin and enable framed-captcha.
  4. Change the captcha coords so it goes out of player join chunk.
  5. Join the server and see that only 'spawn' chunk is loaded, and as a result parts of captcha aren't visible

Expected behavior Chunks are sent correctly to the client and player is able to see all the captcha

Screenshots 2024-06-11_21 39 55 2024-06-13_14 23 05

On first screen there's 3x5 captcha (3rd-party server), on second it's 2x3 (test server).

Server Info (please complete the following information):

Additional context https://discord.com/channels/602796788608401408/1250165978222952499 https://github.com/CaffeineMC/sodium-fabric/issues/2232

UserNugget commented 5 months ago

Can you try to reproduce this issue with the latest dev-build?

w26ad commented 5 months ago

Now captcha is visible, but only if it has some parts in 'spawn' chunk. If not, captcha is not visible: 2024-06-13_15 37 47 2024-06-13_15 40 18

UserNugget commented 5 months ago

Yep, can see what i did wrong Should be working now, but anyway, can you try to reproduce it again?

w26ad commented 5 months ago

I made some fast checks and it looks like it's fixed