I think Notch has said at some point (can't find it now) that he's planning to make some kind of map as a craftable item, it'd be a cool way to do it I think.
Making this craftable... doubt it, and therein lies a tale. Skip this if you don't want to hear a load of boring stuff about modding.
The biggest problem with modding Minecraft right now is that mods are either client-based (like this and better grass, both of which are pretty much cosmetic - there's nothing going to and from the server to get them to work) or server-based (all your admin tools, that kind of thing, that though they talk to the client, use stuff that's already in the unmodded client). Anything like new block types, new recipes, new items (basically, all the stuff that would be really fun, and everybody's first idea for a Minecraft mod) require both the client and the server to know about them. About the most clever mod I've seen so far is Poemdexter's fishing mod, which takes uses clever server side magic and takes advantage of the fact there's currently a fishing rod item, that does nothing.
So, I can make a new item for the map on the client, but all that's going to happen is that the server's going to say "what the hell is this?" and at best, delete it from your inventory (at worst, crash). Likewise I can make a new type of block on the server and if a client connects that doesn't have support for it modded in, it will say "block type foo? What the hell is that?" and a similar thing happens.
This kind of goes back to the talk about cheating earlier - there's currently no way for the server to check what mods the client is running, what version, and stop people connecting who aren't correctly modded.
The new map is almost ready by the way, just trying to get my head around the patcher.
I think Notch has said at some point (can't find it now) that he's planning to make some kind of map as a craftable item, it'd be a cool way to do it I think.
MonkeyX That would be awesome!
This kind of goes back to the talk about cheating earlier - there's currently no way for the server to check what mods the client is running, what version, and stop people connecting who aren't correctly modded.
MonkeyX This is exactly what we are lacking to both make things anti-cheat and truely custom mod friendly. Hopefully the Api will have some measures in place to do this kind of 2 way checking...
The new map is almost ready by the way, just trying to get my head around the patcher.
YAYYYYYY =) I could only imagine what a pain that must be. It took me 3 days to get my first class to recompile much less try and get just my code to inject into another already compiled class without messing things up.
On a side note I have had some success with hexing in certain changes into byte code and then recompiling from there.
It's great news you have decided to re-release your mod!
Quote from MrMessiah »
Not going to go into the whole thing, but this version of the mod works in a different way that sidesteps that whole issue and is all above board and doesn't break any rules, as will be the case with everything I release from now on.
Its funny because up until starting these mods I hadn't touched Java for something like 15 years so I was way out of date with what was possible, and the last 5 days have been educational.
Translation: "Notch is unhappy about Minecraft class file redistribution, and since I didn't know how to make a mod without doing that I pulled my mods. Now that I know that is possible I am re-releasing the mod as a patch"
I just think you should more clearly state things in the future, you would save everyone a whole lot of time, and speed up your own learning in the process.
Holy crap man, you're redistributing the whole Minecraft jar file! That definitely crosses the line. Individual class files is a grey area but the entire game? You should adapt to using the patcher as well and take down those jars.
Holy crap man, you're redistributing the whole Minecraft jar file! That definitely crosses the line. Individual class files is a grey area but the entire game? You should adapt to using the patcher as well and take down those jars.
Yeah, no kidding, this was a private thing, I had no intention of ever making it public, but since MrMessiah is returning to work on the minimap, well...
Yeah, no kidding, this was a private thing, I had no intention of ever making it public, but since MrMessiah is returning to work on the minimap, well...
I can understand hosting the stuff for yourself, but I am pretty sure it's against the forum rules to post that link. Might be best to just extract your changed files and PM them to MrMessiah.
Also did you start off with his mod code, or work from scratch? Just curious.
I can understand hosting the stuff for yourself, but I am pretty sure it's against the forum rules to post that link. Might be best to just extract your changed files and PM them to MrMessiah.
Also did you start off with his mod code, or work from scratch? Just curious.
Done and done, I swapped the jar for just the class files, I started from where MrMessiah left off, so he deserves due credit.
Edit: Just re-uploaded the class files with a ReadMe included.
The download still has a full minecraft.jar in it.
The right thing to do if you wanted your work added to the mod would have been to privately contact MrMessiah, not break the rules like you're still doing, and not try to get people to just grab yours instead -- in his thread no less.
The download still has a full minecraft.jar in it.
The right thing to do if you wanted your work added to the mod would have been to privately contact MrMessiah, not break the rules like you're still doing, and not try to get people to just grab yours instead -- in his thread no less.
Lmao, thanks for pointing that out, slight oversight, I didn't mean to copy the jar into it as well, fixed that :s
Anyway, I won't work on it anymore now that MrMessiah wishes to continue with it.
As I said, the only reason that I started doing anything with it in the first place is because he stated that he would no longer work on the project.
Well, thanks for carrying on work on it - I find it amusingly ironic that having spent a load of time reversing Minecraft to make it in the first place someone reversed my code. Hope it didn't give you nightmares ;P Throw the source at mrmessiah (at) gmail.com and I'll take a look. Next version won't have this in - I just want to get it back out there first. Which will be soon
Well, thanks for carrying on work on it - I find it amusingly ironic that having spent a load of time reversing Minecraft to make it in the first place someone reversed my code. Hope it didn't give you nightmares ;P Throw the source at mrmessiah (at) gmail.com and I'll take a look. Next version won't have this in - I just want to get it back out there first. Which will be soon
Hey, yeah I sent the code for my changes with as many comments as I could think of :tongue.gif:
Luckily your variables were named somewhat in relation to what they did, so it only gave me a headache for like 2 days, lol, it was a fun task though.
You should still take down the download. Distributing class files, especially publicly, is what caused this whole mess in the first place. Why taunt the powers that be?
You should still take down the download. Distributing class files, especially publicly, is what caused this whole mess in the first place. Why taunt the powers that be?
I am pretty sure almost all mods are distributed as class files, just have look around.
Heh. This is the only one I've used, or felt I needed so far. So it sounds like, from what's been said over the past week, that all these other mods around right now aside from the patcher delivered ones are breaking the license, technically. I'm just gonna shut up now til it sorts itself out.
It's not really breaking the license, it's more some sort of grey area. Notch might no be happy about it, but he hasn't really done anything against it either.
Rollback Post to RevisionRollBack
External server browser: Created by me, made for you.
Not working atm, and will not get updated in the near future, sorry.
Making this craftable... doubt it, and therein lies a tale. Skip this if you don't want to hear a load of boring stuff about modding.
The biggest problem with modding Minecraft right now is that mods are either client-based (like this and better grass, both of which are pretty much cosmetic - there's nothing going to and from the server to get them to work) or server-based (all your admin tools, that kind of thing, that though they talk to the client, use stuff that's already in the unmodded client). Anything like new block types, new recipes, new items (basically, all the stuff that would be really fun, and everybody's first idea for a Minecraft mod) require both the client and the server to know about them. About the most clever mod I've seen so far is Poemdexter's fishing mod, which takes uses clever server side magic and takes advantage of the fact there's currently a fishing rod item, that does nothing.
So, I can make a new item for the map on the client, but all that's going to happen is that the server's going to say "what the hell is this?" and at best, delete it from your inventory (at worst, crash). Likewise I can make a new type of block on the server and if a client connects that doesn't have support for it modded in, it will say "block type foo? What the hell is that?" and a similar thing happens.
This kind of goes back to the talk about cheating earlier - there's currently no way for the server to check what mods the client is running, what version, and stop people connecting who aren't correctly modded.
The new map is almost ready by the way, just trying to get my head around the patcher.
YAYYYYYY =) I could only imagine what a pain that must be. It took me 3 days to get my first class to recompile much less try and get just my code to inject into another already compiled class without messing things up.
On a side note I have had some success with hexing in certain changes into byte code and then recompiling from there.
Translation: "Notch is unhappy about Minecraft class file redistribution, and since I didn't know how to make a mod without doing that I pulled my mods. Now that I know that is possible I am re-releasing the mod as a patch"
I just think you should more clearly state things in the future, you would save everyone a whole lot of time, and speed up your own learning in the process.
At least this way you can patch all of your mods you will ever make, within one patching program.
:smile.gif:
That's all I'll say to start.
The rest of the message has been removed so as to not impose on MrMessiah now that he has a new version up.
Good luck :wink.gif:
ZanCraft 24/7 Survival Server
Holy crap man, you're redistributing the whole Minecraft jar file! That definitely crosses the line. Individual class files is a grey area but the entire game? You should adapt to using the patcher as well and take down those jars.
Yeah, no kidding, this was a private thing, I had no intention of ever making it public, but since MrMessiah is returning to work on the minimap, well...
ZanCraft 24/7 Survival Server
I can understand hosting the stuff for yourself, but I am pretty sure it's against the forum rules to post that link. Might be best to just extract your changed files and PM them to MrMessiah.
Also did you start off with his mod code, or work from scratch? Just curious.
Done and done, I swapped the jar for just the class files, I started from where MrMessiah left off, so he deserves due credit.
Edit: Just re-uploaded the class files with a ReadMe included.
ZanCraft 24/7 Survival Server
The right thing to do if you wanted your work added to the mod would have been to privately contact MrMessiah, not break the rules like you're still doing, and not try to get people to just grab yours instead -- in his thread no less.
That looks like an honest mistake considering the readme install instructions.
Lmao, thanks for pointing that out, slight oversight, I didn't mean to copy the jar into it as well, fixed that :s
Anyway, I won't work on it anymore now that MrMessiah wishes to continue with it.
As I said, the only reason that I started doing anything with it in the first place is because he stated that he would no longer work on the project.
ZanCraft 24/7 Survival Server
Hey, yeah I sent the code for my changes with as many comments as I could think of :tongue.gif:
Luckily your variables were named somewhat in relation to what they did, so it only gave me a headache for like 2 days, lol, it was a fun task though.
ZanCraft 24/7 Survival Server
I am pretty sure almost all mods are distributed as class files, just have look around.
External server browser: Created by me, made for you.Not working atm, and will not get updated in the near future, sorry.
In other news, this has taken a little while longer than I thought, but will have something out in the next few hours. xau's patcher is very exciting.