Mekanism

Mekanism

111M Downloads

Large multi-block structures freezes up client on loading world

gp009 opened this issue ยท 12 comments

commented

using:

Forge version 1352
Mekanism 8.1.0

I had problems like this for quite sometime but i had to first narrow down what can be causing this lock-up

This seems to be only occurring when using any multi-block structures like dynamic tanks, fusion reactors, and induction matrices.

currently i have 1 fusion reactor 2 dynamis tanks ( both 5x5x10 ) and 1 induction matrix ( 9x4x12 all ultimate components )

any suggestions on how to resolve this please? thanks

commented

Isn't build 228 compatible with forge 1352 and lower or am I a complete idiot?

commented

You're right, it's compatible
Working well with me (along with 180 other mods)

commented

Should be fixed.

commented

I have the same problem, I have 6 solar evaporation plants in the desert and they are chunkloaded. Because I don't want to waste time, I fly in the direction where they are built with a fluxed jet-plate (simply jetpacks, the speed is enormous when sprinting). As soon as they come into render distance, the game becomes slower and doesn't answer anymore. Then I have to force close the game. On world reload, I have to be quick and turn around to avoid getting stuck. If I fly backwards in the direction of the towers, the game doesn't get stuck.

commented

I can also confirms this, I'm running 4 solar evaporation plants. They're very far from my home so I built teleporters to get there, and upon arrival, the game randomly freezes.

commented

Are they chunkloaded? If yes, by a chickenchunks chunkloader?

Those use some hacks to overwrite the forge chunkloading mechanics and seem to have big problems sometimes. My solar evaporation plants are also loaded by one of those. I will try it with another chunkloader and then I will come back with my results.

commented

Yes, they're chunkloaded by using RailCraft World Anchor which is used CoFH chunkloading API if I'm not mistaken.

The problem seems to be client side only. My server is running fine without any problem.

Edit: After more testing, I commented out the code that creating a new java thread to display sparkle effect of multiblock structure, surprisingly, it fixed the freeze for me.

commented

This means that the chunkloaders are no issue in your case. Also, chickenchunks doesn't have anything to do with the CoFH chunkloading api. With the railcraft chunkloaders using this you might be right.
The problem seems to be rendering, in my case the game freezes as soon as the solar evaporation plants come into render distance (about 10 chunks on my settings).

commented

XfactHD I been trying that trick you mentioned in your first post about walking/flying backwards toward the structures, though i lag immensely atleast I didnt lock-up anymore. hopefully there will be a fix for the issue with these structures.

commented

Confirmed, made this issue here:
#2426 (comment)
#2397 (comment)
this really needs to be fixed!

commented

I almost commented on #2426 as going near towers for me meant a random choice of 1) lockup 2) cofhlib error as in 2426 or 3) a fastcraft error. I finally updated mekanism to 228/229 from 216 (I had held off due to logistical pipes/ticking block enitty errors) and the problem went away completely. Not sure why, as the changelogs didn't seem to show much relevant.
Upgrading enderio, cofh*, fastcraft etc all had no effect.

commented

hmm seems build 229 requires forge 1395. FTB Infinity (where we're adding Mekanism to, among other things) uses 1352. While I'm willing to make small changes to the base pack, I'm not willing to do something so potentially disruptive as to upgrade forge.

I don't suppose there's any way to get this fixed on a version that's compatible with Forge 1352? Sadface.