HbmMods / Hbm-s-Nuclear-Tech-GIT

A flaming wreck of a minecraft mod about nuclear technology that is somehow still in development.
GNU General Public License v3.0
376 stars 268 forks source link

RBMK causes massive amounts of lag in multiplayer. #831

Open HoustonTheRocket opened 1 year ago

HoustonTheRocket commented 1 year ago

My friend is hosting a server running HBM version 4417. We have a fairly large RBMK running. If I approach it, my game begins to lag horribly. GUI's take forever to open, terrible rubber banding, the lot. Strangely, I'm the only person on the server experiencing this. Anybody else that approaches the reactor experiences no lag. Its almost like it pushes my connection ping up into the 100k range somehow. The second the RBMK is unloaded from any chunks, the lag ceases. It slows chunk loading on my end too somehow. This issue is not replicable in singleplayer.

Any advice on steps I should take to help solve this?

username90001 commented 1 year ago

how big is ur rbmk

HbmMods commented 1 year ago

Sounds a bit like your connection can't handle all the network traffic the RBMK causes when sending the reactor's stats to the client, which would make sense since each part has a bunch of relevant data to it, but all that shouldn't be sent unless you're no more than 25 blocks away from the reactor. RBMK consoles have a higher range, but send a lot less data at once, so that's also unlikely as well.

Do you have any performance mods, perhaps ones that affect chunk loading/rendering?

username90001 commented 1 year ago

maybe this is because of turbines turbines are laggy and for some reactors u need alot of industrial turbines and also hbm nerfed levi turbine so he probaly tried use industrial turbine and got lags

HoustonTheRocket commented 1 year ago

Sounds a bit like your connection can't handle all the network traffic the RBMK causes when sending the reactor's stats to the client, which would make sense since each part has a bunch of relevant data to it, but all that shouldn't be sent unless you're no more than 25 blocks away from the reactor. RBMK consoles have a higher range, but send a lot less data at once, so that's also unlikely as well.

Do you have any performance mods, perhaps ones that affect chunk loading/rendering?

No performance mods say for Optifine, although it is a recent addition and the lag was occuring beforehand. I do have a minimap installed however.

HoustonTheRocket commented 1 year ago

how big is ur rbmk

about 11x11 circular

username90001 commented 1 year ago

how big is ur rbmk

about 11x11 circular

why u need so big reactor just make reactor create heat for steam because new update made more high dense steam bad

redshadow3 commented 1 year ago

how big is ur rbmk

about 11x11 circular

why u need so big reactor just make reactor create heat for steam because new update made more high dense steam bad

he might want to use the reactor for irradiation and power and whatever else you can use it for instead of making it seperate yes ik you dont need that big of a reactor to do both but he might need lots of power as well

username90001 commented 1 year ago

how big is ur rbmk

about 11x11 circular

why u need so big reactor just make reactor create heat for steam because new update made more high dense steam bad

he might want to use the reactor for irradiation and power and whatever else you can use it for instead of making it seperate yes ik you dont need that big of a reactor to do both but he might need lots of power as well

nuclear fusion?

HoustonTheRocket commented 1 year ago

how big is ur rbmk

about 11x11 circular

why u need so big reactor just make reactor create heat for steam because new update made more high dense steam bad

built close to real size, also we do use irradiation channels to make flashgold, and we just wanted to push the limits of the rbmk

Hikari1nVoid commented 1 year ago

AFAIK the large RBMK takes significant amount of CPU resource even when it's completely shutdown.11x11 should take 2ms out of 50ms tick time in servers running on 9th gen i7 CPUs

BallOfEnergy1 commented 1 year ago

This sounds like an issue to do with the server communicating with the client, with the client having the connection issues. This can either be solved by getting a better connection, or using a smaller RBMK reactor to minimize network traffic.