GregTech6 / gregtech6

This is the Official Repository of the Mod GregTech 6 for Minecraft 1.7.10
https://gregtech.mechaenetia.com
Other
188 stars 53 forks source link

Red alloy wires behave unpredictably after world restart #39

Closed Alfaksan closed 3 years ago

Alfaksan commented 3 years ago

Mods: Bear's Survivng Take 2 1.4 + OptiFine + InventoryTweaks + RealBench

Description: After world restart some red alloy wires don't activate molds (see attached video https://youtu.be/6OnYKfwRVwg )

Steps to reproduce (at least for me):

  1. Open attached world, fill burning box, light it up.
  2. Wait till thermometer activates molds
  3. If everything works correctly, exit world and open it again to try to catch this behaviour

Red test.zip Attached world where video was recorded

@GregoriusT on your site you said to mention you in issues ^^

GregoriusT commented 3 years ago

Hahaha, you dont need to mention me on my own Projects, that was more meant for other Mods GitHub Pages if the Issue remotely involves me. ;)

It is hard to see in the Video, are the Wires glowing in the dark when active? This Issue might be the Molds themselves not reacting to the Wires at all for some reason. Just asking to make sure I look at the right location. ^^

Alfaksan commented 3 years ago

Pre-restart it looks like this image After restart like this image All are lit up, but 1 mold was not activated

GregoriusT commented 3 years ago

Okay so the Issue is definitely the Mold itself not reacting appropriately.

While I look into the issue, can you attach a Repeater as a Cover to the Wire, pointing into the Molds?

Alfaksan commented 3 years ago

Didn't help, unfortunately. Now 2 other molds stopped working image

Can upload a video if needed

GregoriusT commented 3 years ago

Can you try using vanilla Redstone? I would like to make sure that this is even a Redstone Issue, and not the Crucible Crossings somehow screwing up.

Alfaksan commented 3 years ago

Regular redstone don't work at all image Not before, not after restart

GregoriusT commented 3 years ago

That isn't how vanilla redstone works, elevate the whole line of redstone dust one block up, as if you wanted to power 4 Pistons!

Alfaksan commented 3 years ago

Erm.. Like this? image If yes, then it didn't work

GregoriusT commented 3 years ago

Weird, this should have worked. And with regular Repeaters pointing directly into the Molds?

Alfaksan commented 3 years ago

Also nope. Not with non-elevated repeaters: image And also not with elevated repeaters: image

Miradae commented 3 years ago

I did some further testing with the setup: Replaced all red alloy wires with signalum wires: no change in behaviour, bug still happens Giving constant redstone signal to "bugged" molds: Molds work now as expected 2021-03-16_09 51 30 Using vanilla redstone repeater to give signals to molds: Molds dont work at all, even without reload of the world (i tried all different 'delay' settings on the repeater 2021-03-16_09 58 40 Using the same setup as in the redstone repeater setup but giving a constant active signal on the wire makes all molds work (did this to test if the repeater setup should work in theory) I did all these tests in a pure GT6 + NEI world, so other mods, newest released version of GT6. I hope that helps a little bit to find the culprit.

GregoriusT commented 3 years ago

Wow, yep the Molds must be broken somehow. I just dont know why... yet. But this is all options I could ask for so the rest is up to me to find out. ^^

GregoriusT commented 3 years ago

If you update the redstone after reloading the World, the Molds WILL work right?

GregoriusT commented 3 years ago

So I would like to know one more thing, are you restarting the entire Minecraft Client between tests or are you only exiting and entering the World?

Alfaksan commented 3 years ago

When testing and reporting I was just exiting and entering the world. But I have mold issue in my main playing world as well and it is reproducible with full client restart.

GregoriusT commented 3 years ago

I will ask this one again: If you update the redstone after reloading the World, the Molds WILL work right?

Miradae commented 3 years ago

From my tests, breaking and replacing a redstone cable in between or break+replace of the cable touching the mold, does NOT help fix the issue. Sending a long redstone signal through the entire cable line (e.g. flipping a lever on, then off again), WILL lead to the molds working again

Alfaksan commented 3 years ago

Replacing cables connecting to non-working molds does fix them for me. I currently use it like a workaround and replace most wires after world restart

GregoriusT commented 3 years ago

Can you two try this Version? https://gregtech.mechaenetia.com/secretdownloads/

I rewrote a bit of the Mold Code. I did not test it yet because I went to bed after writing it, but it should work.

Alfaksan commented 3 years ago

Non-reproducible with this version for me

GregoriusT commented 3 years ago

Does that mean it now finally works perfectly, or that I fucked it up so much that the molds dont even work? XD

Alfaksan commented 3 years ago

Yeah sorry I was not clear - everything works perfectly, thanks. I wonder can I use this snapshot or is it unstable and has other changes?

GregoriusT commented 3 years ago

While it has other Stuff, the most unstable thing about it is the Molds, so you should be fine. XD

Miradae commented 3 years ago

works for me too, thx greg :)