MohistMC / Mohist

Minecraft Forge Hybrid server implementing the Spigot/Bukkit API, formerly known as Thermos/Cauldron/MCPC+
https://mohistmc.com
GNU General Public License v3.0
1.32k stars 221 forks source link

[1.12.2] Immersive Railroading trains decoupling #2877

Open FGBxRamel opened 10 months ago

FGBxRamel commented 10 months ago

Minecraft Version : 1.12.2

Mohist Version : 1.12.2-320

Operating System : Server runs on Linux, Windows (10+) has the same problem

Concerned mod / plugin : Immersive Railroading; This version but also the ones before

Logs : There are no logs or crash reports.

Steps to Reproduce :

  1. Setup a server with Mohist and IR
  2. Join and place a train that's a litte longer
  3. Start to drive, the speed doesn't matter
  4. Stop after a few seconds or minutes
  5. See that the train is ripped apart

Description of issue : First up: This doesn't happen on Forge and Magma. The steps are above. We suspect that it has something todo with the chunkloading (or something in the chunks not loading). Usually the trains load the chunks, but that presumably doesn't happen with Mohist, or they are unloaded. We tried all the relevant config files from IR and Mohist, but nothing worked.

Deepseasaltyfish commented 10 months ago

i have tested running trains on forge, magma and mohist server, but that only happens in mohist, accroding to the UMC log, i thinks its related to chunk tracking, but i havnt find any solution yet...

Deepseasaltyfish commented 10 months ago

here are some of what the log showed: https://discord.com/channels/355731184157720578/356568200785166346/1199261761182904341 https://discord.com/channels/355731184157720578/356568200785166346/1199266154808614984

Deepseasaltyfish commented 10 months ago

comparation of three logs of these servers: forge.log magma.log mohist.log

Deepseasaltyfish commented 8 months ago

code in umc(pre mod of IR)) i think may be related? https://github.com/TeamOpenIndustry/UniversalModCore/blob/1.20.1-forge/src/main/java/cam72cam/mod/world/World.java

FGBxRamel commented 8 months ago

Could be a problem with the keepLoaded function.

Deepseasaltyfish commented 7 months ago

https://github.com/TeamOpenIndustry/UniversalModCore/blob/1.12.2-forge/src/main/java/cam72cam/mod/world/ChunkManager.java 屏幕截图 2024-04-09 190236 Some code related to UMC chunk tracking