1.7.10
Forge
Blocks
Items
Magic
Realism
If I look at the section below "[ForgeModLoader] Mod sorting data" (line 964) then it appears that MFR comes after DragonAPI if that's what you mean?
Some mods mention "after: ..." like RotaryCraft does: (after:DragonAPI). If DragonAPI needs to be loaded after those mods you mentioned, is there a way to do this manually? Or is it something the mod has to check for?
HappyDiggers is a small Minecraft community with several different servers: Adventure, Arena PvE, Feed The Beast, Skyblock, Small World, Towny, Prison, Vanilla and Snapshot.
It would not help here; loading happens in three stages, and all mods are supposed to load their blocks and items in stages 1 or 2. All mod's stage [i] runs before anyone's stage[i+1], and DragonAPI runs the interfacing code on stage 3.
Furthermore, I have it working with MFR, so there is something unique about your setup. I have to investigate this.
If you want you can download the HappyDiggers AMP mod pack from the FTB launcher using code HappyDiggersAMP
Altough I used MultiMC, you should be able to replicate the results using the FTB launcher.
HappyDiggers is a small Minecraft community with several different servers: Adventure, Arena PvE, Feed The Beast, Skyblock, Small World, Towny, Prison, Vanilla and Snapshot.
As far as I know it was made legit from one of the people on my server. I couldn't reproduce it either just by spawning it in, but the chunk where okyriosy made it crashed anyone who got near. Maybe as he speculated it's due to the fact that we are at 1000000, -1000000 blocks out. Thanks for taking the time to respond.
Also another thing, I hate to bring up buried issues but I'm having this problem as well:
I know it's most likely a bug in forestry, but it only happens with rotarycraft installed, the worktable works fine without it. The reason I'm bringing this up again here is because I'm pretty sure SirSengir has abandoned 1.5.2 versions.
There wasn't even a response to Lathanael's post on the forestry forums:
http://forestry.seng...opic.php?id=274
It's not too huge of a deal that the worktable doesn't work, as it only kicks people from the server when they right click it. It does crash you in single player though.
Anyways, thanks for looking into the problem we were having with expanded redstone, maybe it was just an isolated incident.
There may be an easier way. Are you familiar with how to use JD-GUI?
That could well be the source of problems, seeing as how other things bug out once distances get that large. I will investigate.
It is a bug in forestry, entirely rooted in its code. Here is what is crashing (actual line in ** **):
His code lacks a null-check for the recipes, or is fetching nulls from whatever calls that method. I am not familiar with the operation of the worktable, but I suspect it is trying to fetch the recipes for items with no vanilla-type recipes.
Because it is entirely in his code, I can do nothing about it.
Tracking back, here is the sequence of events:
If he is refusing to fix it, then you are stuck. If you like, quote him this:
That is that bugged constructor. For the record, getBronzeRecipe returns one IRecipe, an AlloyRecipe which does have the possibility of being null (it is not explicitly declared, but rather declared later, possibly after the worktable code runs).
It also suggests a possible way around your bug. Try disabling bronze crafting and see what happens.
Nope, never used it before. Why?
HappyDiggers is a small Minecraft community with several different servers: Adventure, Arena PvE, Feed The Beast, Skyblock, Small World, Towny, Prison, Vanilla and Snapshot.
I was going to suggest opening the core class of your copy of the mod and seeing which of the three stages does block instantiation.
Also, I fixed the BlockBreaker crash - it happened only on servers and only if it was crafted, placed, broken, and placed again.
"NoSuchMethodError: Reika.DragonAPI.Instantiable.ItemSpriteSheetRenderer.<init>(LReika/DragonAPI/Base/DragonAPIMod;Ljava/lang/Class;Ljava/lang/String;)V"
when I tried it in 1.6.2, since it doesn't specify.
Then I tried it in 1.6.4 and I'm now getting this error:
"java.lang.NoSuchFieldError: ic2ModInstance"
at ic2.core.IC2.<init>(IC2.java:334)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:174)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:514)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:509)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:181)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:471)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:806)
at net.minecraft.client.main.Main.main(SourceFile:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
This last one is with DragonAPI installed. Removing it or removing IC2 (ex) fixes it and the client starts fine.
This is with the latest build of IC2-ex, I guess something's changed in it.
[EDIT]
Oh okay...
I got the first error again when adding rotary craft to my 1.6.4 instance after it started without IC2 installed.
Railcraft Boiler Calculator
Wow, thanks so much. Setting crafting.bronze.enabled to false in the forestry 'common' config stops the worktable from crashing. I cross posted that info over to the topic that Lathanael started in the forestry forums. I'm glad some sort of solution was found.
You're awesome!
If Sengir goes nuts on me for decompiling and reverse-engineering his code, I will do so in kind for having to fix his bugs.
I don't think you can do that with JD-GUI. It can decompile your mod, but it can't show the Java runtime going through your code while it's running.... right?
I don't mind doing extra leg work on trying to track down this issue. However I'm not a Java developer so you're going to have to tell me exactly what to do here if you want me to do this.
HappyDiggers is a small Minecraft community with several different servers: Adventure, Arena PvE, Feed The Beast, Skyblock, Small World, Towny, Prison, Vanilla and Snapshot.
In regards to your faq where you mention the railcraft tracking blocks (or "residual heat"), the short term solution is to set block.hidden to 0 in the railcraft config. This will prevent more of them from spawning and also clear existing ones when they load.
The long term solution however is for mods to implement the isAir method when checking for air blocks. You should do this if you haven't already.
Railcraft Boiler Calculator
There are updated versions a page back.
Railcraft Boiler Calculator
I do implement that, and it still often fails. Plus, that test relies on world and xyz coordinates, which are not always known, as I often deal with forge functions that give me only an ID (and maybe metadata), or a block instance, or something else.
Open MinefactoryReloaded.jar in JD-GUI and navigate to the core class (powercrystals.minefactoryreloaded.MineFactoryReloadedCore). Then, look for three methods, usually called "preload", "load", and "postload", which will be annotated with @PreInit, @Init, and @PostInit, respectively. Look through each of the methods each group calls, and tell me which one, if any, is full of [Block variable name] = new [BlockClass]. If you have a find tool, look specifically for the instantiation of "rubberWoodBlock", "rubberLeavesBlock", and "rubberSaplingBlock".
That is because every time I open the main post's edit function, it turns it into a bunch of garbled html. I need to wait for the forums to actually work properly again to update.
ExpandedRedstone specifically, it adds a lot of RP2's features I've missed. And the Forge-powered BTW-style detection.
Is this what you're looking for?
HappyDiggers is a small Minecraft community with several different servers: Adventure, Arena PvE, Feed The Beast, Skyblock, Small World, Towny, Prison, Vanilla and Snapshot.
Huh, weird. Well, it is a vanilla function.
Oh well, you can add the instructions I wrote on how to disable the tracking blocks to the faq if you want, that might help some people with that.
Also, I still can't get rotarycraft to work. DragonAPI (3b) works with this setup, but once I add rotarycraft to it it crashes during startup with this error:
at Reika.RotaryCraft.ClientProxy.<clinit>(ClientProxy.java:43)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:58)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:519)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:509)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:181)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:471)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:806)
at net.minecraft.client.main.Main.main(SourceFile:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
This is a 1.6.3 setup with forge 883.
Railcraft Boiler Calculator
That is exactly what I was looking for. Unfortunately, it presents me with further confusion. It loads in init(), and I load the tree handler in postInit(), which then means that the block variables should have been set when the handler initializes. Why you are NPEing needs further investigation.
EDIT:
I found the likely problem. The issue is not the tree handler itself, it is with the way I initialized it. Unfortunately, this is a problem with class loaders, whose setup seems to depend strongly on the exact MC setup and even the java setup on the host machine. I changed it to one less likely to NPE, however.
I will, once I regain the ability to edit that post without it turning into 50 pages of
.
Is this a dedicated server that is crashing?