hypherionmc / simple-rpc-public

Simple-RPC Issues, wiki and data github
https://www.curseforge.com/minecraft/mc-mods/simple-discord-rpc/
13 stars 0 forks source link

[BUG] Severe lag when playing on another person's world via LAN #88

Open CelestialAbyss opened 4 days ago

CelestialAbyss commented 4 days ago

Describe the bug Similar to this issue: https://github.com/hypherionmc/simple-rpc-public/issues/51 severe lag is encountered when trying to play on another player's world hosted via LAN or tunneling.

To Reproduce Steps to reproduce the behavior:

  1. Have Simple RPC & CraterLib installed.
  2. Use either Essential or e4mc to join another player's world. Immediately notice the severe drop in FPS that repeats.
  3. When both mods are removed, performance is restored.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots Spark was able to record this here: https://spark.lucko.me/TsPK2eaTgP

Versions (DO NOT USE LATEST! BE SPECIFIC!):

Additional context This is clearly isolated to your mods as the increase in FPS was immediate upon removal.

hypherionmc commented 4 days ago

This is a "known" issue at this point, and we do finally know what causes the issue.

It's a thing added ages ago that is supposed to pull the player information from the server (for the player count placeholders), that fails on lan and direct connect servers, causing it to try over and over again, and causing the lag.

This will be completely removed in the up coming v4 releases, and will simply default to 0 if that info is missing.

As far as we know, it only affects DIRECT connections and lan