Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CustomNPCs mod crashes GC 283 during game launch #43

Closed
EzerArch opened this issue Feb 2, 2022 · 7 comments
Closed

CustomNPCs mod crashes GC 283 during game launch #43

EzerArch opened this issue Feb 2, 2022 · 7 comments
Labels
[Bug] Priority denotes a bug that either breaks gameplay mechanics severely or renders the mod unable to run Mod Incompatibility Denotes an issue caused by 1+ mods being incompatible with Galacticraft, or vice versa [Status] Completed / Released A fix is present in the current latest release of the mod

Comments

@EzerArch
Copy link

EzerArch commented Feb 2, 2022

Forge Version

14.23.5.2860

Galacticraft Version

4.0.2.283

Log or Crash Report

https://gist.github.com/EzerArch/a873268c761a310ef12aca9e19ad8f37

Reproduction steps

GC 283 will crash with CustomNPCs 1.12.2 during launch, while GC 280 didn't. Probably GC inventory is conflicting with CustomNPCs'.

With a fresh instance, start the game with these mods in mod folder:

  • CustomNPCs_1.12.2-(05Jul20).jar
  • Galacticraft-1.12.2-4.0.2.283.jar
  • OptiFine_1.12.2_HD_U_G5.jar (optional, it doesn't change the result)

The launch will break at "Loading - Constructing mods" with:

The game crashed whilst initializing game
Error: java.lang.NoClassDefFoundError: micdoodle8/mods/galacticraft/api/client/tabs/InventoryTabFactions
Exit Code: -1
@craftablescience
Copy link
Member

@MJRLegends rom went to a lot of trouble to ensure compatibility, sorry you feel differently
anyway this isn't entirely relevant to the issue

@ROMVoid95
Copy link
Member

ROMVoid95 commented Feb 2, 2022

@MJRLegends what was released has zero, and I do mean zero, breaking changes nor major changes that wouldn't be considered breaking.

@EzerArch thanks for this, I'll get the fix uploaded tonight.

@MJRLegends
Copy link

MJRLegends commented Feb 3, 2022

You're correct i would like to apologise for my previous message :)

Also has to be said, Thanks for your hard work ROM on the merged version 👍 and making sure everything wasn't broken.

I care alot for Galacticraft 😄

@ROMVoid95
Copy link
Member

No worries/animosity here 👍

@EzerArch
Copy link
Author

EzerArch commented Feb 3, 2022

@EzerArch thanks for this, I'll get the fix uploaded tonight.

Thank you @ROMVoid95 . :)

@ROMVoid95
Copy link
Member

So the cause for this crash is a tad tricky. The root cause is due to CustomNPC's containing classes in micdoodle8.mods.galacticraft.api.client.tabs. Since the new release is signed these conflict with the classes in the package under CustomNPC's jar.

@ROMVoid95 ROMVoid95 added [Status] Investigating Denotes an issue is currently being investigated [Bug] Priority denotes a bug that either breaks gameplay mechanics severely or renders the mod unable to run Mod Incompatibility Denotes an issue caused by 1+ mods being incompatible with Galacticraft, or vice versa labels Feb 5, 2022
@ROMVoid95 ROMVoid95 added Fixed In Dev and removed [Status] Investigating Denotes an issue is currently being investigated labels Feb 5, 2022
@ROMVoid95
Copy link
Member

In the end the quickest fix is to just remove jar signing and fingerprints. Going through the issue reporting process for CustomNPC's and having to wait on an update (if they would) isn't at the moment a priority for the sake of having GC signed.

@ROMVoid95 ROMVoid95 added [Status] Completed / Released A fix is present in the current latest release of the mod and removed Fixed In Dev labels Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Bug] Priority denotes a bug that either breaks gameplay mechanics severely or renders the mod unable to run Mod Incompatibility Denotes an issue caused by 1+ mods being incompatible with Galacticraft, or vice versa [Status] Completed / Released A fix is present in the current latest release of the mod
Projects
None yet
Development

No branches or pull requests

4 participants