MrJake222 / AUNIS

Stargate-inspired Minecraft Mod
GNU General Public License v3.0
44 stars 20 forks source link

Gates created as part of structure (sometimes) cause crash when trying to open the glyph tabs #278

Open RoboticSith opened 3 years ago

RoboticSith commented 3 years ago

Hello,

I have a saved structure which contains a complete Universe Gate, along with some decorative blocks/ lighting elements and an infinite power source from a handful of other mods. The gate has 3 capacitors installed as well as a glyph crystal, MW crystal, and Universe crystal. I am able to successfully load the structure into the game (even multiple instances in the same dimension). When I right click on the base block to get the address the game crashes about 50% of the time as soon as a click on one of the glyph tabs on the side (both glyph tabs cause this). They partially open, but not far enough for anything to be displayed. Interestingly, this seems to only occur on the very first gate that I interact with, once I restart the game I can (so far) interact with the others and the original one which caused the crash without issue.

Latest & debug logs attached.

latest.zip debug.zip

MrJake222 commented 3 years ago

Use /sgprepare on any Aunis blocks prior to saving

See https://github.com/MrJake222/AUNIS/wiki/Console-commands

Be aware that it can brick your source world. Do a backup.

RoboticSith commented 3 years ago

Thanks for the quick reply. I should have specified, the structure file I have was created after using /sgprepare on the target base block. The gate and surrounding decoration blocks were then captured using a built in Minecraft structure block.

MrJake222 commented 3 years ago

Your modpack is heavily bug-ridden...

[11:18:46] [Server thread/ERROR] [FML]: Cannot Hotload Dim: -10 java.lang.IllegalArgumentException: Could not get provider type for dimension -10, does not exist

Aunis throws errors about it too....

[11:28:24] [Server thread/ERROR] [Galacticraft]: Error in another mod's worldgen. This is NOT a Galacticraft bug, report it to the other mod please. [11:28:24] [Server thread/ERROR] [Galacticraft]: Details:- Dimension:-10 Chunk cx,cz:-1,-1 Seed:9020209183987091913 [11:28:24] [Server thread/INFO] [STDERR]: [micdoodle8.mods.galacticraft.core.TransformerHooks:otherModGenerate:203]: java.lang.ArrayIndexOutOfBoundsException: 94 [11:28:24] [Server thread/INFO] [STDERR]: [micdoodle8.mods.galacticraft.core.TransformerHooks:otherModGenerate:203]: at mrjake.aunis.worldgen.AunisWorldGen.generate(AunisWorldGen.java:26)

For me doing the following works as expected:

  1. Prepare using /sgprepare
  2. Save the structure (don't click the main gate at this point)
  3. Load the structure
  4. Checking address works on the new gate