Ok, tried again and it got much further. But it still crashed after I placed the minecraft.jar in the lib folder.
Here is where the error seems to start (first noticable break in Console).
1/24/11 10:26:50 PM [0x0-0x7c07c].com.apple.JarLauncher[837] java.lang.Exception: Exit value: 1
1/24/11 10:26:50 PM [0x0-0x7c07c].com.apple.JarLauncher[837] at org.frustra.mycraft.RamLauncher.main(RamLauncher.java:77)
1/24/11 10:26:50 PM [0x0-0x7c07c].com.apple.JarLauncher[837] Running with normal ram (error)
1/24/11 10:26:51 PM [0x0-0x7c07c].com.apple.JarLauncher[837] Exception in thread "main" java.lang.NullPointerException
1/24/11 10:26:51 PM [0x0-0x7c07c].com.apple.JarLauncher[837] at org.frustra.mycraft.MyCraft.injectMyCraft(MyCraft.java:233)
1/24/11 10:26:51 PM [0x0-0x7c07c].com.apple.JarLauncher[837] at org.frustra.mycraft.MyCraft.main(MyCraft.java:160)
1/24/11 10:26:51 PM [0x0-0x7c07c].com.apple.JarLauncher[837] at org.frustra.mycraft.RamLauncher.main(RamLauncher.java:82)
Again I hope you fix this if this is a real problem.
EDIT:
I am using the latest version of MacOSX if that helps. 10.6.5
Well, it looks like I'm going to have to fix this on my mac, since I can't really figure out what the problem is.
Could be a bit until I get this fixed, but hopefully I'll fix the problems with it finding the Minecraft.jar file in the process.
Well, I fixed _A_ problem, but I don't know if I fixed _THE_ problem, but you can try it out again.
I got it working on my mac, so maybe I have fixed it.
I'll check back tomorrow though, because it's pretty late for me now.
1/25/11 7:59:31 AM [0x0-0x97097].com.apple.JarLauncher[1025] java.lang.Exception: Exit value: 1
1/25/11 7:59:31 AM [0x0-0x97097].com.apple.JarLauncher[1025] at org.frustra.mycraft.RamLauncher.main(RamLauncher.java:77)
1/25/11 7:59:31 AM [0x0-0x97097].com.apple.JarLauncher[1025] Running with normal ram (error)
1/25/11 7:59:32 AM [0x0-0x97097].com.apple.JarLauncher[1025] Exception in thread "main" java.lang.NullPointerException
1/25/11 7:59:32 AM [0x0-0x97097].com.apple.JarLauncher[1025] at org.frustra.mycraft.MyCraft.injectMyCraft(MyCraft.java:233)
1/25/11 7:59:32 AM [0x0-0x97097].com.apple.JarLauncher[1025] at org.frustra.mycraft.MyCraft.main(MyCraft.java:160)
1/25/11 7:59:32 AM [0x0-0x97097].com.apple.JarLauncher[1025] at org.frustra.mycraft.RamLauncher.main(RamLauncher.java:82)
1/25/11 7:59:31 AM [0x0-0x97097].com.apple.JarLauncher[1025] java.lang.Exception: Exit value: 1
1/25/11 7:59:31 AM [0x0-0x97097].com.apple.JarLauncher[1025] at org.frustra.mycraft.RamLauncher.main(RamLauncher.java:77)
1/25/11 7:59:31 AM [0x0-0x97097].com.apple.JarLauncher[1025] Running with normal ram (error)
1/25/11 7:59:32 AM [0x0-0x97097].com.apple.JarLauncher[1025] Exception in thread "main" java.lang.NullPointerException
1/25/11 7:59:32 AM [0x0-0x97097].com.apple.JarLauncher[1025] at org.frustra.mycraft.MyCraft.injectMyCraft(MyCraft.java:233)
1/25/11 7:59:32 AM [0x0-0x97097].com.apple.JarLauncher[1025] at org.frustra.mycraft.MyCraft.main(MyCraft.java:160)
1/25/11 7:59:32 AM [0x0-0x97097].com.apple.JarLauncher[1025] at org.frustra.mycraft.RamLauncher.main(RamLauncher.java:82)
Well, I wasn't really able to fix the problem, but I've got an idea of whats causing it.
I adding some more logging info, so if you could post another log (perferably the full thing), then I should be able to find whats causing it.
Edit:
I've made another change that should fix the problems on macs.
You can try it again now.
Errors with it not finding the minecraft.jar file could be fixed now, but I'm not sure.
Yeah its really hard to fix these errors if we don't have anyone to help test. Both xthexder and I have been having no errors at all, so we need your help to get this project rolling =D
This looks great, but it so far refuses to work. Running it via command line results in this:
Running with extra ram
MyCraft V1.0-1
Lib file: minecraft.jar
Username is 'ProjectEW'
138 recipes
28
Setting user: ProjectEW, 6955532164336513652
WARNING: Found unknown Windows version: Windows 7
Attempting to use default windows plug-in.
Loading: net.java.games.input.DirectAndRawInputEnvironmentPlugin
Starting up SoundSystem...
Initializing LWJGL OpenAL
(The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.or
g)
OpenAL initialized.
After that appears in the command window, the game crashes with this report:
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem.
If you wish to report this, please copy this entire text and email it to [email protected].
Please include a description of what you did when the error occured.
Mods loaded:
ModLoader Beta 1.2_02v2
--- BEGIN ERROR REPORT 7a76c31 --------
Generated 1/29/11 2:09 PM
Minecraft: Minecraft Beta 1.2_02
OS: Windows 7 (x86) version 6.1
Java: 1.6.0_23, Sun Microsystems Inc.
VM: Java HotSpot(TM) Client VM (mixed mode), Sun Microsystems Inc.
LWJGL: 2.4.2
OpenGL: GeForce 9400 GT/PCI/SSE2/3DNOW! version 3.3.0, NVIDIA Corporation
java.lang.NullPointerException
at ModLoader.init(ModLoader.java:475)
at ModLoader.AddAllRenderers(ModLoader.java:95)
at oc.<init>(oc.java:55)
at oc.<clinit>(oc.java:8)
at net.minecraft.client.Minecraft.a(SourceFile:253)
at net.minecraft.client.Minecraft.run(SourceFile:606)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT 495229d8 ----------
Also, the graphics are very glitchy, almost the whole screen is black, except the login window. I'm using Windows 7, in case that matters. Please help me, this program looks great!
Hey everybody, lets put our user-names and passwords in a modified launcher that's connected to the internet
YAAAY
Are you ****ing kidding me?
There are MUCH better mod managers out there, THAT DONT REQUIRE YOUR PASSWORD
Rollback Post to RevisionRollBack
NinjaQ:Indev= IN DEVelopment
Catgirl12446: Infdev= INFinite DEVelopment
Ranavalona: FUUUUUUU-
Hey everybody, lets put our user-names and passwords in a modified launcher that's connected to the internet
YAAAY
Are you ****ing kidding me?
There are MUCH better mod managers out there, THAT DONT REQUIRE YOUR PASSWORD
Every mod loader requires your password because your logging into minecraft...
Decompile it if you want, this doesn't steal your password, or even log your username.
IF you don't want to use the proxy feature, since that does go through my server, don't. It is off by default.
I'm not trying to hide anything.
I own the game, so why would I steal people's accounts...
And this mod manager is the first of it's kind, no other mod manager will work on multiple minecraft versions.
In terms of number of mods, it is not the best, but what can you expect from something that is barely a week old.
@ProjectEW
You've got another mod loader installed that it looks like this one isn't compatible with...
I'll see what I can do about fixing that.
Well, it ended up working, and I'm not really sure what I did. I tried the minecraft.jar from the link you provided, it didn't work, then I deleted the version file and got the jar from my .minecraft folder, which should've been clean then, right? Well, it didn't work, and repeated getting a jar from the link, then from my .minecraft folder, and this time it worked. I deleted my username and password, so the boxes were empty, then tried, and it worked. Weird. Also, I see how to make a mod for this, but not how to load it in the game to use it? Sorry if you understood nothing I typed, this post is very sloppy. Thanks!
Well, it ended up working, and I'm not really sure what I did. I tried the minecraft.jar from the link you provided, it didn't work, then I deleted the version file and got the jar from my .minecraft folder, which should've been clean then, right? Well, it didn't work, and repeated getting a jar from the link, then from my .minecraft folder, and this time it worked. I deleted my username and password, so the boxes were empty, then tried, and it worked. Weird. Also, I see how to make a mod for this, but not how to load it in the game to use it? Sorry if you understood nothing I typed, this post is very sloppy. Thanks!
I'll see if I can make my instructions more clear, but the minecraft.jar is the launcher, not the game itself.
You shouldn't have to do anything with the files in your .minecraft folder unless you are getting errors with other mod loaders.
Once you've made a mod and you've compiled it, just place the .class files in the mods folder in MyCraft along with any custom texture files you've made.
Okay, thank you very much. I found out how to get this to work, and it's amazing! Really, I thank you and jli so much. Now, I have another question. How exactly do you compile and obfuscate java files for this?
Okay, thank you very much. I found out how to get this to work, and it's amazing! Really, I thank you and jli so much. Now, I have another question. How exactly do you compile and obfuscate java files for this?
You can use an IDE like eclipse or you can just use command line, although eclipse is much easier.
You'll need to add MyCraft.jar to your build path in eclipse, but then you just create a new file and when you save, the class files will appear in your bin folder.
If you need more help with eclipse though, you can google some tutorials, there are lots available.
You may notice that the API included with MyCraft is slightly limited at the moment though.
There was even going to be a party for you. A big party. That all your friends were invited too. I invited your best friend the companion cube. Of course, he couldn't come because you murdered him. All your other friends couldn't come either, because you don't have any other friends. Because of how unlikeable you are. It says so right here in your personal file: UNLIKEABLE, liked by no one, a bitter, unlikeable loner, who's passing shall not be mourned, SHALL NOT BE MOURNED. That's exactly what it says. Very formal. Very official. It also says you were adopted, so thats funny too.
Yes, there isn't a whole lot to the API right now, but as you said, it's only about a week old.
Well, I've figured out the problem with this conflicting with other mod loaders, so I should have a fix out soon!
I'm also working on adding more to the API, since I'm hoping on making a grappling hook mod
Well, it looks like I'm going to have to fix this on my mac, since I can't really figure out what the problem is.
Could be a bit until I get this fixed, but hopefully I'll fix the problems with it finding the Minecraft.jar file in the process.
I got it working on my mac, so maybe I have fixed it.
I'll check back tomorrow though, because it's pretty late for me now.
Well, I wasn't really able to fix the problem, but I've got an idea of whats causing it.
I adding some more logging info, so if you could post another log (perferably the full thing), then I should be able to find whats causing it.
Edit:
I've made another change that should fix the problems on macs.
You can try it again now.
Errors with it not finding the minecraft.jar file could be fixed now, but I'm not sure.
New screenshot:
Some credits go to MrMessiah for the BetterLight mod since I looked at his code a bit to get it working.
I'm pretty sure it says more than just "Message"...
Have you downloaded the Minecraft.jar file and placed it in the lib folder?
Yes and yes.
Could you post a screenshot or log file?
I don't really know what the problem is your having, let alone how to fix it.
After that appears in the command window, the game crashes with this report:
Also, the graphics are very glitchy, almost the whole screen is black, except the login window. I'm using Windows 7, in case that matters. Please help me, this program looks great!
YAAAY
Are you ****ing kidding me?
There are MUCH better mod managers out there, THAT DONT REQUIRE YOUR PASSWORD
Catgirl12446: Infdev= INFinite DEVelopment
Ranavalona: FUUUUUUU-
Tell me what that means for a +1 respect
Every mod loader requires your password because your logging into minecraft...
Decompile it if you want, this doesn't steal your password, or even log your username.
IF you don't want to use the proxy feature, since that does go through my server, don't. It is off by default.
I'm not trying to hide anything.
I own the game, so why would I steal people's accounts...
And this mod manager is the first of it's kind, no other mod manager will work on multiple minecraft versions.
In terms of number of mods, it is not the best, but what can you expect from something that is barely a week old.
@ProjectEW
You've got another mod loader installed that it looks like this one isn't compatible with...
I'll see what I can do about fixing that.
I'll see if I can make my instructions more clear, but the minecraft.jar is the launcher, not the game itself.
You shouldn't have to do anything with the files in your .minecraft folder unless you are getting errors with other mod loaders.
Once you've made a mod and you've compiled it, just place the .class files in the mods folder in MyCraft along with any custom texture files you've made.
You can use an IDE like eclipse or you can just use command line, although eclipse is much easier.
You'll need to add MyCraft.jar to your build path in eclipse, but then you just create a new file and when you save, the class files will appear in your bin folder.
If you need more help with eclipse though, you can google some tutorials, there are lots available.
You may notice that the API included with MyCraft is slightly limited at the moment though.
Well, I've figured out the problem with this conflicting with other mod loaders, so I should have a fix out soon!
I'm also working on adding more to the API, since I'm hoping on making a grappling hook mod