[SOLVED by batchfile] Odd Crash - Forge #164/Modloader?

  • Yep, one of those "omg I modded it and now it daont wurk!" threads.


    error report:




    *major edit* - of all the bizarre things... the solution was to turn my java command-line into an actual .bat file located in the .minecraft/bin directory - WHY this is so, I sincerely have no idea.


    the commandline in question: java -Xms512m -Xmx768m -cp "%APPDATA%\.minecraft\bin\*";
    -Djava.library.path="%APPDATA%\.minecraft\bin\natives"
    net.minecraft.client.Minecraft

    MANY thanks to Hidinginthelight for providing the final solution
    :thumbup:

    -*edit*-
    a fresh .jar with ONLY Modloader and Forge #164 (aka Forge 3.3.8.164) installed - in that order - same error.
    .jar with ONLY Forge #164 - same error.


    *edit II*
    Fresh .jar with Modloader and Forge 3.2.4.114 - works fine.


    The reason for using Forge #164 is because my IC2 server is unconnectable with earlier versions, for whatever insane reason.


    so... can an IC2 server be built using an outdated version of Forge?





    "Why is that unhappy green pe*is running towards you?" - Minecraft first impressions live long.

    Edited 4 times, last by Aethir: yay, a win! ().

  • You don't need modloader.


    Just forge. If you still have problems you may want to back down to 3.3.7.*


    And while you are at it, unless you need ic2 1.95b for a specific server, you may want to upgrade to Ic2 1.97. It may be an issue of the older version of IC2 not working with the newer versions of forge.

  • And while you are at it, unless you need ic2 1.95b for a specific server, you may want to upgrade to Ic2 1.97. It may be an issue of the older version of IC2 not working with the newer versions of forge.

    ...I didn't even realise I was using an older version of IC... to the Batcave!
    Progress update in the works.


    *edit II* - "Failed to load mod class mod_IC2class" - using Forge 3.2.4.114/IC 1.97 - Using Forge 114 and IC 1.95b works fine.

    "Why is that unhappy green pe*is running towards you?" - Minecraft first impressions live long.

    Edited 2 times, last by Aethir: more info on error ().

  • Use the recommended build of Forge and the current version of IC2.

    oh, such helpful advice! If you'd actually been reading you would have realised I didn't know IC 1.97 was out yet, for one.


    *edit* - Forge #135 + IC1.97 works - sort of.
    After about 0-20 seconds, it drops out with some form of io. error - mostly bad packets, occasionally a 'string length less than zero' - can only assume this is Forge related? Sorry for lashing out if/when I do. This has been pissing me off for days now...

    "Why is that unhappy green pe*is running towards you?" - Minecraft first impressions live long.

    Edited once, last by Aethir ().


  • *edit II* - "Failed to load mod class mod_IC2class" - using Forge 3.2.4.114/IC 1.97 - Using Forge 114 and IC 1.95b works fine.


    Well, now you are using the newer version of IC2, with an older version of forge. Same problem, different order. =)


    Looks like you need to get 3.3.8.152 on both the client and the server.

  • redundancy for clarity:
    Forge #135 + IC1.97 works - sort of.
    After
    about 0-20 seconds, it drops out with some form of io. error - mostly
    bad packets, occasionally a 'string length less than zero' - can only
    assume this is Forge related? Sorry for lashing out if/when I do. This
    has been pissing me off for days now...

    "Why is that unhappy green pe*is running towards you?" - Minecraft first impressions live long.

  • oh, such helpful advice! If you'd actually been reading you would have realised I didn't know IC 1.97 was out yet, for one.

    Sorry, I didn't mean to be so blunt about it. Is there any mod in your list that specifically needs Forge 135? If not I would recommend starting with a clean client and server jar, and installing NOTHING but Forge 152. Run the server/client, make sure you can still connect and play, close everything and then throw IC2 client in the client's mods folder, and IC2 server in the server's mods folder.

  • I would recommend starting with a clean client and server jar, and installing NOTHING but Forge 152. Run the server/client

    Here's the thing: I tried installing 152 on a fresh .jar - and got this:



    From the look of it, you'd think I installed the server version of Forge onto my MC client - but you'd be wrong. I've tried /both/ #152 versions, to see if the zips were mislabelled when they were posted, and the client zip is the only one that runs long enough to give an error message... this is really starting to aggravate me (and my girlfriend!)

    "Why is that unhappy green pe*is running towards you?" - Minecraft first impressions live long.

  • Have you tried downloading new copies of the forge files?

    All 7(!) versions of Forge I currently have are fresh from the download site

    That last error could be caused by MCPatcher.

    MCWho? I roll my own .jars, I don't use 3rd party patchers at all

    "Why is that unhappy green pe*is running towards you?" - Minecraft first impressions live long.

  • There's something very wrong there then - FML is starting to load mods from your user folder... Are you using .minecraft or something such as MultiMC or a batch file?

    do you mean .minecraft, as in the default minecraft install directory? yep...
    I can't figure out how to make the java command-line actually log me into MC, so when I play SMP I run MC straight from the default launcher .exe; not a batchfile in sight, and I wouldn't even know what MultiMC is (I could hazard a guess, though)


    All this is admittedly moot at the moment; I think I'll stick with my present 108 build until the next major version update - but for the sake of others who follow, it'd be good to get to the bottom of just what causes these wierd glitches...


    btw, is Forge really supposed to be completely non-dependent on Modloader now? Because from where I sit, it sure don't look that way... thanks heaps for the input peeps :)

    "Why is that unhappy green pe*is running towards you?" - Minecraft first impressions live long.

  • Yes, Forge has it's own modloader/modloadermp (FML) and the 4096 patch in all recent versions.


    Quote

    cpw.mods.fml.common.LoaderException: cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: My Documents.Downloads.minecraftforge-server-3.3.8.152.mod_MinecraftForge

    For some reason it's trying to load from your Downloads folder. Can you explain to me, step by step, EXACTLY how you're installing Forge, giving me full paths for every file you mention? Pretend I have an IQ of 15 and you're trying to teach me how to set it up. XD

  • We got it figured out last night.


    He was launching MC via a command line function. Something with in that pointed FML to the downloads folder.


    Using the launcher it works fine. Using a proper command line (now inside a batchfile) also works.

  • Something with in that pointed FML to the downloads folder.

    I'd dearly like to know what exactly caused that to happen...


    Monoxide:
    all my mod zips end up in my default Downloads directory (ie c:\documents and settings\aethir\my documents\download)
    zipfiles are then extracted into separate folders
    minecraft.jar opened with WinRAR
    drag/drop files from extracted modfiles directory to jar


    I haven't had an issue with this until I tried to patch in a version of Forge that was numbered higher than 108... then everything went spectacularly, horribly wrong. Evidently I need to re-work my procedure.

    "Why is that unhappy green pe*is running towards you?" - Minecraft first impressions live long.