[AddOn v1.43/v1.64] Advanced Machines V3.2 Beta 2

  • OK. I managed to get client and (non-bukkit) server updated. I can't test non-bukkit server (I run a bukkit one) so I'm doing the bukkit thing at the minute (which is taking a long time- man that's annoying).


    Attached.


    Zippinous, I can supply you with the diffs that make this all work easily enough so you can patch yourself back up to date.


    Change summary:
    1. As in temp fix 1.
    2. Allow indirect redstone power to the machines. (as suggested by me previously a long time ago)
    3. TileEntityRotary, TileEntitySingularity, TileEntityCenterfuge all have their recipe methods changed to copy their recipe list from their original versions.
    4. mod_IC2_AdvancedMachine implements IOreHandler and in the handleOre method refreshes the TileEntity recipe lists. This way, anything added to the originals will automatically get added to the advanced versions.


    Tested and verified with RedPower ores and with BioDiamonds IC2 mod to work for both.


    Enjoy!
    PS. Bukkit will follow tonight- but need to go do a day's work first.
    Edit: Someone else can bukkit port if they want, and I don't mind it being linked on mcportcentral but I do request no adfly links please.


  • thank you! :D

  • yeah right... private property concept on internets. me lulz much



    edit: anyways, i'm tired of clicking this forum's bookmark, i'm gonna take a break from reading/posting activities


    Good riddance to a moron troll I say.


    and if you ever do read this then I suggest reading up on law some. This is Alblaka's server (at least i'll assume such) so he can kick you off for any reason whatsoever, you have *no* "right" to free speech here.

  • I Got this from modloader, what is wrong/ what do i do?




    FINE: Failed to load mod from "mod_IC2_AdvMachine.class"
    Nov 1, 2011 12:52:51 PM ModLoader addMod
    FINER: THROW
    java.lang.NoClassDefFoundError: ic2/api/IWrenchableBlock
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$000(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$000(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.Class.getDeclaredFields0(Native Method)
    at java.lang.Class.privateGetDeclaredFields(Unknown Source)
    at java.lang.Class.privateGetPublicFields(Unknown Source)
    at java.lang.Class.getFields(Unknown Source)
    at ModLoader.setupProperties(ModLoader.java:1583)
    at ModLoader.addMod(ModLoader.java:274)
    at ModLoader.readFromClassPath(ModLoader.java:1114)
    at ModLoader.init(ModLoader.java:825)
    at ModLoader.AddAllRenderers(ModLoader.java:186)
    at aam.<init>(aam.java:61)
    at aam.<clinit>(aam.java:10)
    at net.minecraft.client.Minecraft.a(SourceFile:259)
    at net.minecraft.client.Minecraft.run(SourceFile:629)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ClassNotFoundException: ic2.api.IWrenchableBlock
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 36 more
    Nov 1, 2011 12:53:02 PM ModLoader AddAllRenderers
    FINE: Initialized


  • your using the wrong version :P
    There's two tempfixes in this thread. Use one of them :)

  • whats the difference between the two temp fixes? I'm using the first and it works really well.

    Yup, it's great. But I wanted to be able to use the macerator with the ore dictionary (so I could macerate RP2 ores) as well as allow for other mods (e.g. BioDiamonds) to enhance not just the standard but also the advanced machines. Also, I fixed the indirect redstone thing so you don't have to put a lever on each advanced machine- you can just run redstone nearby to turn them on and off.

  • I just tried your fixup on my IC2 1.23 server, and it still gives that massive error..
    Did I do something wrong, or is it the fixup?

  • Crash.... how do i get it to work on smp? i have! modmp and forge build and ic2

  • So does this work with the newest build of IC2 since it says 1.15?

    Both the "unofficial" updates do, yes. arsenic87 has a simple migration to 1.23 (fixing the code for 1.23 only). I built a slightly more advanced update that includes oredictionary support and a redstone fix.

  • at ModLoader.ThrowException(ModLoader.java:1206)
    at ModLoader.init(ModLoader.java:627)
    at ModLoader.Init(ModLoader.java:1269)
    at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:74)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:262)
    at ce.run(SourceFile:417)
    Caused by: java.lang.RuntimeException: Exception occured in ModLoader
    at ModLoader.ThrowException(ModLoader.java:1206)
    at ModLoader.ThrowException(ModLoader.java:1211)
    at ModLoader.addMod(ModLoader.java:118)
    at ModLoader.readFromModFolder(ModLoader.java:847)
    at ModLoader.init(ModLoader.java:603)
    ... 4 more
    Caused by: java.lang.NoClassDefFoundError: ic2/platform/Platform
    at mod_IC2_AdvMachine.<clinit>(mod_IC2_AdvMachine.java:84)
    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.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at ModLoader.addMod(ModLoader.java:104)
    ... 6 more
    Caused by: java.lang.ClassNotFoundException: ic2.platform.Platform
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 14 more


  • Just give me some verson that works
    and yes i have ic

  • Just give me some verson that works
    and yes i have ic

    Find a version of modloader that loads the plugins in alphabetic (or timestamp) order. Then make sure this plugin is further on in the ordering that you've chosen by naming it or timestamping it differently. I use an alphabetically sorting modloader myself.


  • Just give me some verson that works
    and yes i have ic


    The hotfixes do work. There's just the quirk in modloader that it loads mods alphabetically. The easy fix is to add a z at the beginning of the zip file in your mods folder (ex. zAdvMachines.zip).
    As a person using modloader, or any mod, you need to understand the quirks of what you're using in order to have success. If you can't, at least be able to effectively communicate with people who can help you and give detailed information in the first place. Those log files are made so that someone who does know how the mods work can tell you what the problem is. Sorry to get preachy, just the way you asked irked me and "Just give me some version that works" is rather rude and irreverent.

  • The hotfixes do work. There's just the quirk in modloader that it loads mods alphabetically. The easy fix is to add a z at the beginning of the zip file in your mods folder (ex. zAdvMachines.zip).
    As a person using modloader, or any mod, you need to understand the quirks of what you're using in order to have success. If you can't, at least be able to effectively communicate with people who can help you and give detailed information in the first place. Those log files are made so that someone who does know how the mods work can tell you what the problem is. Sorry to get preachy, just the way you asked irked me and "Just give me some version that works" is rather rude and irreverent.

    Just to be clear, modoader does NO sorting of the list of files in the mods directory, as it ships today from mcforums. By happy coincidence, on windows, the list that it returns (the output from directory.listFiles()) is alphabetically sorted, at least it usually is. This is not true for Linux and MacOS. I have fixed modloader by using Arrays.sort() on that output function which forces the alphabetic sorting. Others have created different solutions based on timestamps and other things you can control about the list of files. I believe that risugami wishes to create some mod dependency tracking code, somehow, for his next release. Summary: read this.


    http://www.minecraftforum.net/…0&view=findpost&p=9200107