Galacticraft in the Ultimate Pack

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

SpartanBlockhead

New Member
Jul 29, 2019
103
0
0
I recently added Galacticraft to my FTB client. I also added the PlayerAPI to the JarMods as required my the mod. I changed some ItemIDs and I got it working, but I've noticed some strange recipe changes. The recipe for rocket fuel makes a camouflage chest, the recipe for an aluminum canister makes an iron tank wall, etc. Another thing I noticed is that all of these items don't appear in the NEI, as in I can't find the rocket fuel, aluminum canister, etc in the NEI menu. How can I fix these recipe issues? I'd really like to start using this mod.
 
I recently added Galacticraft to my FTB client. I also added the PlayerAPI to the JarMods as required my the mod. I changed some ItemIDs and I got it working, but I've noticed some strange recipe changes. The recipe for rocket fuel makes a camouflage chest, the recipe for an aluminum canister makes an iron tank wall, etc. Another thing I noticed is that all of these items don't appear in the NEI, as in I can't find the rocket fuel, aluminum canister, etc in the NEI menu. How can I fix these recipe issues? I'd really like to start using this mod.
Item ID conflicts aren't as bad as block ID conflicts as they won't crash your game, what you described will happen however. Juggle 'em around a bit, it'll work.
 
There is an item ID config for galaticraft already in the newest (1.4.7) Ultimate pack, I don't know if they've been set up ready to avoid conflicts
 
I used NEI to dump a map of all IDs, both used and unused. I assigned every block and item an ID that was categorized as unused. I don't understand why there would be a conflict.
 
I used NEI to dump a map of all IDs, both used and unused. I assigned every block and item an ID that was categorized as unused. I don't understand why there would be a conflict.
Dunno, chair buffer problem perhaps. All I know is that what you described happens when there's an ID conflict.
 
I used NEI to dump a map of all IDs, both used and unused. I assigned every block and item an ID that was categorized as unused. I don't understand why there would be a conflict.
That is because most users are not aware of the fact the Minecraft and most Mods shift their ItemIDs by 256.
So if you set your ID to 6000 in the config, it will actually be 6256 ingame.

And welcome to the world of the Mod Pack makers. This is something we need to look after with EVERY single mod, as some some don't shift the IDs and some do.
 
@Jammy
The first time I launched it without altering the config, it crashed with an ID conflict.[DOUBLEPOST=1371141590][/DOUBLEPOST]@Lathanael
Ah, thanks. I'll be back with the results shortly.
 
Alright, I have another problem. Whenever I try going to the moon, it says "Shutting down internal server" and then after a bit "server closed". This isn't an ID conflict, but I'll just ask here anyway instead of making a new thread.
 
I'll have one soon. I'm in the car right now posting from my phone. I have my laptop but no WiFi. When we stop within the next half hour I'll be able to get the error log posted.
 
That is because most users are not aware of the fact the Minecraft and most Mods shift their ItemIDs by 256.
So if you set your ID to 6000 in the config, it will actually be 6256 ingame.

And welcome to the world of the Mod Pack makers. This is something we need to look after with EVERY single mod, as some some don't shift the IDs and some do.


Indeed, and let me expand on Lathanael's post. It is also very valuable to learn to use the tool "grep". Launching NEI and asking for item id enumerations and then doing math to switch them down to unshifted IDs is slow.

If I'm looking for id conflicts I open a terminal in my minecraft installation directory and proceed thusly:
Code:
grep -i conflict ForgeModLoader*0.log

This usually shows me conflict warnings in the log. Let's say that I know ID 30190 (this one comes up for a lot for me) is a problem. I'd use extended grep like this:

Code:
grep -RiE '=30190$' config/*

This shows me every file where a line ending in "=30190" exists. I can then change one. Usually I try and change the newer file, but sometimes it's not clear who to change (e.g., one time gregtech had a bug and forestry had new content and I had to sort it out). But usually the next step is to see "Oh wow, there are like 20 item ids that conflict." So what I need is 20 item IDs. I keep a notebook of unassigned ranges I know about, but I always double check this after starting up minecraft a few times because my notes could be wrong. With 110 mods in my pack, it pays to be careful.

So I might say, "I know that around 2150 is open and I need 20 ids". I can ask grep for this:
Code:
grep -RE '=21[56][0-9]$'

This looks for any assignments that look like "=2150" through "=2169". Pretty handy. Grep is great.
 
Hm, it uploaded wrongly or something. Let me try again.[DOUBLEPOST=1371151910][/DOUBLEPOST]Hm, it uploaded wrongly or something. Let me try again.[DOUBLEPOST=1371152014][/DOUBLEPOST]Ugh, I don't get it. Sorry everyone, I'm trying to do this from my phone since I don't have any WiFi here. Apparently ,s too incompetent to upload files so I'll just have to wait until tomorrow when we leave.
 

Attachments

I'll give you what I can from the error report. First, it says:
[SEVERE] Encountered an unexpected exception NoClassDefFoundError

Then it starts unloading all dimensions and the player, and then:
[SEVERE] [ForgeModLoader] Fatal errors were detected during the transition from SERVER_STARTED to SERVER_STOPPED. Loading cannot continue

[SEVERE] [ForgeModLoader] The ForgeModLoader state engine has been corrupted. Probably, a state was missed by and invalid modification to a base classForgeModLoader depends on. This is a critical error and not recoverable. Investigate any modifications to base classes outside of ForgeModLoader, especially Optifine, to see if there are any fixes available.

Anyway, that's basically the stuff that seemed most important. Can anyone make some sense of it?
 
I'll give you what I can from the error report. First, it says:
[SEVERE] Encountered an unexpected exception NoClassDefFoundError

Then it starts unloading all dimensions and the player, and then:
[SEVERE] [ForgeModLoader] Fatal errors were detected during the transition from SERVER_STARTED to SERVER_STOPPED. Loading cannot continue

[SEVERE] [ForgeModLoader] The ForgeModLoader state engine has been corrupted. Probably, a state was missed by and invalid modification to a base classForgeModLoader depends on. This is a critical error and not recoverable. Investigate any modifications to base classes outside of ForgeModLoader, especially Optifine, to see if there are any fixes available.

Anyway, that's basically the stuff that seemed most important. Can anyone make some sense of it?


We need more data. Around the "NoClassDefFoundError". All those lines afterwards with the ".."s at the start? We need those. But off the top of my head? Bad forge version for someone. Usually if a mod is missing the mod is smart enough to cry about it.
 
This is everything between the NoClassDefFoundError to where it begins to stop the server:

java.lang.NoClassDefFoundError: p
at l.a(SourceFile:81)
at l.a(SourceFile:85)
at l.a(SourceFile:76)
at a.h(CrashReport.java:50)
at a.<init>(CrashReport.java:41)
at a.a(CrashReport.java:319)
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:673)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599)
at bdz.q(IntegratedServer.java:170)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
at fy.run(SourceFile:849)
 
This is everything between the NoClassDefFoundError to where it begins to stop the server:

java.lang.NoClassDefFoundError: p
at l.a(SourceFile:81)
at l.a(SourceFile:85)
at l.a(SourceFile:76)
at a.h(CrashReport.java:50)
at a.<init>(CrashReport.java:41)
at a.a(CrashReport.java:319)
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:673)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599)
at bdz.q(IntegratedServer.java:170)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
at fy.run(SourceFile:849)



This looks like a forge version error. Usually when you see these obfuscated symbols (small random-looking strings) that's what's up. Or if you're trying to run a 1.4.7 mod in 1.5.* or vice versa.
 
So what should I do? I'm using the latest 1.4.7 FTB Ultimate pack, and I haven't messed with Forge. I've only added Optifine U_D5 and Player API render 1.4.7

Also, if it helps, I'm using GalactiCraft Alpha 0.0.5