Gregtech++ [GT++] [GTplusplus]

Gregtech++ [GT++] [GTplusplus]

94.1k Downloads

PSS Lag issue

NoriSilverrage opened this issue ยท 2 comments

commented

Issue Title

PSS checks it's structure whenever GT machines, pipes and wires are changed, even if far away.
Running GTNH with GT-PlusPlus-1.7.02.99-pre

Expected Behavior

I would expect the PSS to check it's structure only when blocks close to it are change.

Current Behavior

Anytime I change blocks in the overworld the PSS send a sever message that it is checking it's structure. This causes massive lag if a lot of blocks were changed in a short time. For instance, I removed about 20 pipes and it caused the server to skip 120 ticks.

Steps to Reproduce (for bugs)

I have a maxsize PSS with 6 input hatches, and 8 output dynamos. Two outputs are the tectech 16a ones and the rest are 4a ones.

Game Environment

GTNH 2.0.7.5

Misc Info

Check all that apply ([ ] -> [x] - use a lowercase x)

  • [* ]    Using GT:NH/GT:New Horizons?
  •    Single Player?
  •    Multi Player?
commented

Did some more testing. It only does the check if the block affected somehow leads back to the PSS. So if a pipe is adjacent to a power cable, which leads back to the PSS. I have tested it up to 48 blocks away.

commented

image
This stuff even happens when there's no player logged in at all. That spam has been going on all night and made our server completely unresponsive.