Once I've got it stable again, some kind of cave mode is next on the horizon. In keeping with the ethos of keeping it non-cheaty however, I will be making sure that it can't be used to spy behind walls.
I'm currently re-doing all of the chat stuff from 0.7, which is technically going to be in its own plugin, but once it's there will let me bind keys to toggle the map on and off again. I will have another go at the patcher to make it more crystal clear how to install this, especially when it comes to not deleting other mods at the same time. For the people that are doing it right, it seems to be working though, which is good.
Implement a directional arrow :wink.gif:
You can copy my code for it, although you probably have a better understanding of OpenGL than I do, I kinda scraped that part together.
Directional variable is minecraft>bi>aq or this.game.g.aq when accessed from your zz class.
Cave maps is going to be a nice addition, looking forward to it. :biggrin.gif:
Hey, I'm using OS X 10.5, and when I try to run MCPatcher.jar, it crashes (saying "The Java JAR File "MCPatcher.jar" could not be launched"). Checking the console gives me:
16/10/10 10:06:59 PM [0x0-0x2cd2cd].com.apple.JarLauncher[12152] java.lang.UnsupportedClassVersionError: Bad version number in .class file
16/10/10 10:06:59 PM [0x0-0x2cd2cd].com.apple.JarLauncher[12152] at java.lang.ClassLoader.defineClass1(Native Method)
16/10/10 10:06:59 PM [0x0-0x2cd2cd].com.apple.JarLauncher[12152] at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
16/10/10 10:06:59 PM [0x0-0x2cd2cd].com.apple.JarLauncher[12152] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
16/10/10 10:06:59 PM [0x0-0x2cd2cd].com.apple.JarLauncher[12152] at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
16/10/10 10:06:59 PM [0x0-0x2cd2cd].com.apple.JarLauncher[12152] at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
16/10/10 10:06:59 PM [0x0-0x2cd2cd].com.apple.JarLauncher[12152] at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
16/10/10 10:06:59 PM [0x0-0x2cd2cd].com.apple.JarLauncher[12152] at java.security.AccessController.doPrivileged(Native Method)
16/10/10 10:06:59 PM [0x0-0x2cd2cd].com.apple.JarLauncher[12152] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
16/10/10 10:06:59 PM [0x0-0x2cd2cd].com.apple.JarLauncher[12152] at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
16/10/10 10:06:59 PM [0x0-0x2cd2cd].com.apple.JarLauncher[12152] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
16/10/10 10:06:59 PM [0x0-0x2cd2cd].com.apple.JarLauncher[12152] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
16/10/10 10:06:59 PM [0x0-0x2cd2cd].com.apple.JarLauncher[12152] at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
16/10/10 10:06:59 PM [0x0-0x2cd2cd].com.apple.JarLauncher[12152] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)
Any idea what the problem might be? I'm running Java 1.5.0_24. The original MCPatcher works fine though.
T.T it works fine no crashes no nothing oh exept for the facts the no map lol it just wont appear i open up the thing to patch clck simple map run minecraft started a new game no map do u hav e to press a button to turn it on?? i give u :biggrin.gif: oh and a
Rollback Post to RevisionRollBack
GENERATION 21: The first time you see this, copy it into your sig on any forum and add 1 to the generation.
Adds a simple little map to one corner of the screen. I've tried to balance this so that it's useful for navigation without being massively cheat-y. So at night it gets darker and harder to see, unless you've put torches down of course. Think of it as a birds-eye view. Its still being worked on and there's lots that could be done to improve it - speed and making it more pretty to name but two.
HOW TO INSTALL - If you're not comfortable doing any of these steps, best not to play with it, just to be safe.
1. Unzip the contents of this zip file to your Minecraft folder. In windows this can be found at "%appdata%/.minecraft" . Not sure where it lives on a Mac, search for it I guess. As far as I know, this mod doesn't work in Linux. This creates a new directory under .minecraft called "mods", where all the settings for SimpleMap live, and a patcher called MCPatcher.jar which is based on MCPatcher by xau.
2. Run MCPatcher.jar - just double click on it to run. In the top box, select your minecraft.jar which should be in the "bin" directory. The patcher will make a backup of it called minecraft.original.jar. In the second box, select minecraft.jar again - this will get written over by the patcher. Select "SimpleMap" from the options available, then click Patch, and you should see a bunch of text scroll by. If it ends with "Success! (Probably)" you're doing well. If not, there has been a porblem. Restore your backed up version of minecraft.jar.
3. Play Minecraft.
TO UNINSTALL THIS MOD
1. Delete your edited version of Minecraft.jar
2. Replace it with the backup you saved earlier, or run Minecraft again and get it to redownload.
TO CONFIGURE - The config file for SimpleMap is in .minecraft/mods/SimpleMap, its called SimpleMap.properties.
There's not much to configure at the moment, except an optional coordinate display. To enable it, set showCoords to "true"
LATEST VERSION - v0.8 released - http://www.mediafire.com/?sw7y29bdx77e591
+ The map is back looking exactly as it did before it left, exchangable colours and overlays included. The current overlay is in .minecraft/mods/SimpleMap/overlay.png. Also included are some alternates themed after popular texture packs - rename them to overlay.png to use
- The chat mangling stuff, config via chat and map toggle keys will be disabled in the first version while I work out how to reimplement those in the correct way. Tab-to-reply should never have been part of the mod and was only there because it was doable with the files I was using. It will be split off into its own plugin at some point.
Old versions of the map are no longer supported.
I really wanna do this and test it out but i have a mac and i dont know how i intall it so if someone has done this witha mac please reply!!
+ Configurable key for showing/hiding the map.
+ New option in SimpleMap.properties up=north/south/east(default)/west for orienting the map any way you like
Then with optional SMChat plugin
+ Return of the reply key
+ Reworked commands to talk to the map - where it used to be "/map on" it's now "/ui map on" "/ui map north" etc
Currently running fine on my machine but with some dodgy hacks that I need to move out into a proper patch. Once they're in, I'll release it.
Umm not to burst everyone's bubble, but the current state of the minimap installer and the HD texture fix installer causes them to cancel out each other. In other words, its either better grass & working water/lava/fire/custom textures or better grass & minimap.
Umm not to burst everyone's bubble, but the current state of the minimap installer and the HD texture fix installer causes them to cancel out each other. In other words, its either better grass & working water/lava/fire/custom textures or better grass & minimap.
Took me a bit to figure it out.
They don't cancel each other out, I have both installed and working together quite nicely. The reason you think they are canceling each other out is that when you apply the HD texture patch you are applying it to minecraft.original.jar and overwriting the previously patched minecraft.jar. To apply both patches:
1. apply simple map patch to minecraft.original.jar, but instead of writing to minecraft.jar write to minecraft.temp.jar
2. apply hd texture fix to minecraft.temp.jar, writing to the default minecraft.jar
Trying. . . . .done.
Okay got it working with your advice, but you may want to use the terms that the patcher uses to make it easier to understand.
Use Original instead of apply, and Output instead of writing. It took me a bit to figure out which of the things in the patchers were the things you were talking about.
Also, one that is all done, you can run the AutoMap patcher on the minecraft.jar without incedent to have AutoMap too.
"Install" textures
"Install" all mods except HD texture fix and/or minimap
run minimap installer
run HD texture fix installer
run AutoMap installer
HOW TO INSTALL -
1. Unzip the contents of this zip file to your Minecraft folder.... This creates a new directory under .minecraft called "mods", where all the settings for SimpleMap live,
I like it, but I had to fix a line to make it work in the normal north up east right, etc fashion.
I switched out
«this.map.setRGB(m, n, k);»
for
«this.map.setRGB(63 - n, m, k)»
what do i use to open it cuz when i open a zz.class or other .class i see alot of weird ||||||*|#||||| type type stuff is it cuz im not using somthing like jave to open it i tryed to use a preogramming program called small basic it but i wouldnt let me open any of the files cuz they wouldnt show up in the folders.
Rollback Post to RevisionRollBack
GENERATION 21: The first time you see this, copy it into your sig on any forum and add 1 to the generation.
I created a new folder, mods. I put simple map in there, with the files minimap.png, mmcollors.png, and simplemapropraties.proporties. Still won't work. And yess, all the files are in the minecraft.jar. (I don't want to patch agian, I have a lot a work to get the minecraft.jar to the way it is now.
I created a new folder, mods. I put simple map in there, with the files minimap.png, mmcollors.png, and simplemapropraties.proporties. Still won't work. And yess, all the files are in the minecraft.jar.
You shouldn't be putting ANYTHING in minecraft.jar manually. The files go in the .minecraft folder.
I like it, but I had to fix a line to make it work in the normal north up east right, etc fashion.
I switched out
«this.map.setRGB(m, n, k);»
for
«this.map.setRGB(63 - n, m, k)»
what do i use to open it cuz when i open a zz.class or other .class i see alot of weird ||||||*|#||||| type type stuff is it cuz im not using somthing like jave to open it i tryed to use a preogramming program called small basic it but i wouldnt let me open any of the files cuz they wouldnt show up in the folders.
Well, in truth, I didn't anticipate anyone but the author to know exactly what I was talking about, but if you want to try your hand at hacking java, what I saw on my machine when I unpacked the patched minecraft.jar was a ".class" file named SimpleMap.class. Under the assumption that this must be the important class file for all the simple map functions I decompiled it and read it. I went to the bottom of the function render, and I found where the bit ordering of drawing to the map was specified and altered the bit ordering(okay, fool that I am I made an off by one error first) I then recompiled making sure to include both minecraft.jar and the lwjgl jars in the CLASSPATH environment vairiable. And stuck that in my MCpatches directory, that uses my personal(not ready for prime time) patching tool to overwrite the original. I also established k as being initialized to zero which yields a better render when using the skylands world map.
You will get some initialization errors when you recompile, these are minor and can easily be addressed by anybody.
As for that silly mod folder, I have no idea why it doesn't install itself or why the .properties file is filled with junk characters instead of a single line of plain text, but that's not really a problem if you realize that the file should be only plain text.
If anything that I just said doesn't make sense, wait for MrMessiah to release an update.
For people who understand how this should work bit ordering of a square render can be rotated clockwise by flipping the axes and inverting the first axis, where inversion is defined as (maxValue - currValue) remembering of course that most people start their loops at 0.
Rollback Post to RevisionRollBack
Mod Installing Hack for Mac
Just add a folder name “MCPatches” to your ~/Documents/ folder.
Open inside AppleScript Editor for gritty details.
Implement a directional arrow :wink.gif:
You can copy my code for it, although you probably have a better understanding of OpenGL than I do, I kinda scraped that part together.
Directional variable is minecraft>bi>aq or this.game.g.aq when accessed from your zz class.
Cave maps is going to be a nice addition, looking forward to it. :biggrin.gif:
ZanCraft 24/7 Survival Server
Any idea what the problem might be? I'm running Java 1.5.0_24. The original MCPatcher works fine though.
It works 100% in linux if you make sure you put the mods folder in ~/.minecraft/, at least it does here.
Cheers
I switched out
«this.map.setRGB(m, n, k);»
for
«this.map.setRGB(63 - n, m, k)»
Just add a folder name “MCPatches” to your ~/Documents/ folder.
Open inside AppleScript Editor for gritty details.
!!!!!!!!!!!!!!! You're awesome.
You're decompiling and editing my mods? How dare you. Expect to hear from my lawyers.
LOL, only kidding. This is something that's going to be added as an option in the next release.
Care to tell me which .class file I need to make this change in? I can't wait for the next release, please forgive me.
NVM, found it in zz.class to anyone wondering.
I really wanna do this and test it out but i have a mac and i dont know how i intall it so if someone has done this witha mac please reply!!
+ Configurable key for showing/hiding the map.
+ New option in SimpleMap.properties up=north/south/east(default)/west for orienting the map any way you like
Then with optional SMChat plugin
+ Return of the reply key
+ Reworked commands to talk to the map - where it used to be "/map on" it's now "/ui map on" "/ui map north" etc
Currently running fine on my machine but with some dodgy hacks that I need to move out into a proper patch. Once they're in, I'll release it.
Took me a bit to figure it out.
CDR's PTC HD Infinity [128x Texture Pack]
How to find the minecraft.jar file
Modifying the minecraft.jar file
One Stop Mod Shop
They don't cancel each other out, I have both installed and working together quite nicely. The reason you think they are canceling each other out is that when you apply the HD texture patch you are applying it to minecraft.original.jar and overwriting the previously patched minecraft.jar. To apply both patches:
1. apply simple map patch to minecraft.original.jar, but instead of writing to minecraft.jar write to minecraft.temp.jar
2. apply hd texture fix to minecraft.temp.jar, writing to the default minecraft.jar
Cheers
Okay got it working with your advice, but you may want to use the terms that the patcher uses to make it easier to understand.
Use Original instead of apply, and Output instead of writing. It took me a bit to figure out which of the things in the patchers were the things you were talking about.
Also, one that is all done, you can run the AutoMap patcher on the minecraft.jar without incedent to have AutoMap too.
"Install" textures
"Install" all mods except HD texture fix and/or minimap
run minimap installer
run HD texture fix installer
run AutoMap installer
Woot, MineCraft rules.
CDR's PTC HD Infinity [128x Texture Pack]
How to find the minecraft.jar file
Modifying the minecraft.jar file
One Stop Mod Shop
Edit:I put the SIMPLE MAP in the .minecraft folder. Nothing.
so,
what do i use to open it cuz when i open a zz.class or other .class i see alot of weird ||||||*|#||||| type type stuff is it cuz im not using somthing like jave to open it i tryed to use a preogramming program called small basic it but i wouldnt let me open any of the files cuz they wouldnt show up in the folders.
You shouldn't be putting ANYTHING in minecraft.jar manually. The files go in the .minecraft folder.
Well, in truth, I didn't anticipate anyone but the author to know exactly what I was talking about, but if you want to try your hand at hacking java, what I saw on my machine when I unpacked the patched minecraft.jar was a ".class" file named SimpleMap.class. Under the assumption that this must be the important class file for all the simple map functions I decompiled it and read it. I went to the bottom of the function render, and I found where the bit ordering of drawing to the map was specified and altered the bit ordering(okay, fool that I am I made an off by one error first) I then recompiled making sure to include both minecraft.jar and the lwjgl jars in the CLASSPATH environment vairiable. And stuck that in my MCpatches directory, that uses my personal(not ready for prime time) patching tool to overwrite the original. I also established k as being initialized to zero which yields a better render when using the skylands world map.
You will get some initialization errors when you recompile, these are minor and can easily be addressed by anybody.
As for that silly mod folder, I have no idea why it doesn't install itself or why the .properties file is filled with junk characters instead of a single line of plain text, but that's not really a problem if you realize that the file should be only plain text.
If anything that I just said doesn't make sense, wait for MrMessiah to release an update.
For people who understand how this should work bit ordering of a square render can be rotated clockwise by flipping the axes and inverting the first axis, where inversion is defined as (maxValue - currValue) remembering of course that most people start their loops at 0.
Just add a folder name “MCPatches” to your ~/Documents/ folder.
Open inside AppleScript Editor for gritty details.