GregTechCEu Modern

GregTechCEu Modern

6M Downloads

Area-of-effect tools (Mining Hammer, Spade, Scythe) randomly stop affecting their expected area

Closed this issue ยท 9 comments

commented

Checked for existing issues

  • I have checked for existing issues, and have found none.

Tested latest version

  • I have checked that this occurs on the latest version.

GregTech CEu Version

1.20.1-7.0.2

Minecraft Version

1.20.1 Forge

Recipe Viewer Installed

JEI

Environment

Multiplayer - Dedicated Server

Cross-Mod Interaction

Unsure

Other Installed Mods

To be provided...

Expected Behavior

Every time the respective tool is used in the respective way, its area of effect should be affected.

Actual Behavior

With both the Mining Hammer, the Spade (made of basic steel) I have experienced a sudden and seemingly random loss of functionality, where they stop breaking the blocks within their area of effect and are merely breaking the block they are directly used on. However the first (few) frame(s) of the block-breaking animation of their full respective given area of effect are played.

Logging off and on again solves the issue, and somehow the issue seems to be resolved by itself after some time, even without relogging, although I haven't yet figured out what causes this.
However it does not seem as if the respective blocks or crops have actually been affected at all and the respective drops merely not been shown, as would be expected in a typical scenario of a lack of client-side update. Rather it seems as if they genuinely have not been affected to begin with.

With the Scythe the situation is similar, plus harvested crops don't seem to get a block update at all, and retain the appearance of their fully grown variant until they receive a block update from elsewhere (e.g. right-clicking).

Steps to Reproduce

Use the respective tool.

Additional Information

I'm not certain that this is a new phenomenon, but I've used a Mining hammer to mine 8000 blocks without an issue before I upgraded to version 7.0.2, when this issue appeared.
Maybe it's a different one of the upgraded mods though which causes this? Could it possibly be ldlib-forge-1.20.1-1.0.41.b? I've just read that it seems to have some other sync issues and you're already working on a replacement.
Otherwise I might have to provide the entire mod list eventually.

commented

Bumping this, noticed this in 0.7.1 of Cosmic Frontiers.

Narrowed it down to happening when you eat food specifically from the off-hand (Just right clicking from the off-hand isn't enough, it seems to specifically be eating). Others claim to have gotten the bug without food from the off-hand but the trigger condition is unknown and I haven't encountered it yet.

commented

Bumping this, noticed this in 0.7.1 of Cosmic Frontiers.

Narrowed it down to happening when you eat food specifically from the off-hand (Just right clicking from the off-hand isn't enough, it seems to specifically be eating). Others claim to have gotten the bug without food from the off-hand but the trigger condition is unknown and I haven't encountered it yet.

Oh, nice to see that I'm not the only one experiencing this. I've tried digging a bit more into this and I can say this:

  1. The blocks are definitely NOT getting broken at all. If I log out and log in again, there's still just that one block having been broken, and none of the surrounding ones.
  2. I'm sure it's not connected to eating food at all in my case.
  3. I haven't been able to replicate it in offline single player, but maybe I just haven't tried enough.
commented
3. I haven't been able to replicate it in offline single player, but maybe I just haven't tried enough.

Offline Single player is the environment I've been encountering it in, and yeah it's the same as you've described. Only the middle block gets broken, even server-side. The blocks drops it's item(s) correctly and everything, but something about the AOE specifically stops working under fickle and shifting conditions.

I'm not a programmer, and I have no clue how to begin unpacking the repo to try and identify the bug myself. But I do know it's new, as it didn't happen in the version of GTM included in Cosmic Frontiers versions 0.6.x

commented

Looks like this just got fixed in #3688 . Or does this only fix the sound issue?

commented

Both Got Fixed in the same PR, i'll close this issue as completed upon the release of our next update which we're shooting for around Aug 23rd

commented

some more repro steps from TFG:

The mining hammer "breaks" and stops digging in the 3 by 3 block area if you right-click with the mining hammer in your hands. Re-entering the world "repairs" the tool and it can dig in the 3 by 3 block area again, but if you right-click, the tool "breaks" and you have to re-enter again.

commented

Also meet this issue today, is there any progress?

commented

I have been experiencing this today. I am using the latest GTCEu Modern modpack.
I believe I have determined that it involves the off hand. I was using a shield in the offhand and regularly experiencing it not breaking a 3x3. Didn't experience that again once i removed the shield from my off hand. Re-equipping the shield and within 2 minutes the behavior was back.

commented

fixed in #3676 and #3774