Looks really cool and I hope it works :biggrin.gif: could you please try the seed 'zero' (aka. 3735208)? Thanks in advance, and if you could implement this into a mod that would be so awesome ;p
And while there was an incredibly close point of the stronghold to that, I strongly advise you go just a little bit over to:
X: -100
Z: -1065
As to avoid digging down a very very long distance.
How would one go about finding a stronghold on a 1.7-1.8 map? Our multiplayer server is going to spawn a Nether portal at about Z -8000 (where no new chunks have yet been generated). I really hope the stronghold code isn't this half-assed that they wouldn't generate on an older map.
I can't get you the seed as the server is currently offline, and since it's a 1.7.3 seed it might not work with the calculations anyway. I really hope we don't have to make up a new server for this. -.-
Alright, so, since this has suddenly become popular, I'm going to stop calculating these coordinates and actually WRITE a small java application for people to find their strongholds. Mostly because I have this message:
"You can make 3 more posts until 15 September 2011 - 11:34 AM. This restriction is in place until you have 4 more approved posts"
Which just doesn't sound too pleasant. If someone could point me in the right direction for where I would post (what forum section) such an application it should be done pretty fast.
EDIT:
For those curious, I don't need anything but the seed.
When the world is generated it decides where the strongholds should go based on your seed. (I don't believe they'll appear in old maps) All I need to do is match how they calculate it EXACTLY and I can find them.
Again, I'll do my best to get the application done within the hour.
EDIT EDIT:
Press F3 while on your map to see the actual seed if you used a word/phrase/decimal for yours.
I've tried copying the code into a text file, named it something.java, and then tried to compile it using javac; but it came up with lot of error and won't compile?
If someone could point me in the right direction for where I would post (what forum section) such an application it should be done pretty fast.
I would post it in the mods section as a new thread and refer to this thread. After that, post here with a link to the mod so people who are watching this thread can get to it. That still leaves you one post total.
Damned moderation limits, I had hoped you would be able to answer my question a few posts up. Once you get the program written up and posted in mods, I'd appreciate it if you could squeeze a few sentences in for ol' Ihmhi. ;D
Alright, so, since this has suddenly become popular, I'm going to stop calculating these coordinates and actually WRITE a small java application for people to find their strongholds. Mostly because I have this message:
"You can make 3 more posts until 15 September 2011 - 11:34 AM. This restriction is in place until you have 4 more approved posts"
Which just doesn't sound too pleasant. If someone could point me in the right direction for where I would post (what forum section) such an application it should be done pretty fast.
EDIT:
For those curious, I don't need anything but the seed.
When the world is generated it decides where the strongholds should go based on your seed. (I don't believe they'll appear in old maps) All I need to do is match how they calculate it EXACTLY and I can find them.
Again, I'll do my best to get the application done within the hour.
EDIT EDIT:
Press F3 while on your map to see the actual seed if you used a word/phrase/decimal for yours.
Upload it to Mediafire, and then post link here with an edit to OP? :smile.gif:
EDIT: Oh, by the way, would you mind posting the .java (src code) the same time? so I can learn :biggrin.gif:
deeply appreciated :smile.gif:
Something that's gonna disappoint a lot of people is that strongholds will only generate to 3 specific sets of coordinates, and having these chunks generated already makes the strongholds not generate at all.
So I guess I'll just drop my seed here while I search for a good mapping tool that's updated to 1.8(to see if I have to generate a new world to find any strongholds).
5051553668205137755
MCEdit
Just prune the chunks that you would like MC to regenerate :smile.gif:
Alright, so, since this has suddenly become popular, I'm going to stop calculating these coordinates and actually WRITE a small java application for people to find their strongholds. Mostly because I have this message:
"You can make 3 more posts until 15 September 2011 - 11:34 AM. This restriction is in place until you have 4 more approved posts"
Which just doesn't sound too pleasant. If someone could point me in the right direction for where I would post (what forum section) such an application it should be done pretty fast.
EDIT:
For those curious, I don't need anything but the seed.
When the world is generated it decides where the strongholds should go based on your seed. (I don't believe they'll appear in old maps) All I need to do is match how they calculate it EXACTLY and I can find them.
Again, I'll do my best to get the application done within the hour.
EDIT EDIT:
Press F3 while on your map to see the actual seed if you used a word/phrase/decimal for yours.
It's a dumb way to restrict newcomers from 'spamming', though it really is a poor filter. Unfortunately, there isn't really a good way to deal with newcomers. I believe you can still edit your posts when you run out of new posts.
I've tried copying the code into a text file, named it something.java, and then tried to compile it using javac; but it came up with lot of error and won't compile?
You'll have to make a new Java file. I recommend using Eclipse or jGRASP.
Copy-pasta this into one of those java-editors, and it should work. If you use jGRASP, you'll have to compile (the big green plus button) before you run (the button with the red dude running) it. If the seed exceeds a certain number of digits, you'll have to type "L" after it.
import java.io.*;
import java.util.*;
public class Seed {
public static void main(String[] args) {
Random c = new Random();
c.setSeed(404); //Or whatever your seed is.
double d1 = c.nextDouble() * 3.141592653589793D * 2.0D;
double d2 = (1.25D + c.nextDouble()) * 32.0D;
int k = (int)Math.round(Math.cos(d1) * d2);
int m = (int)Math.round(Math.sin(d1) * d2);
int kt = (k << 4) + 8;
int mt = (m << 4) + 8;
System.out.println(kt + " " + mt);
}
}
It's a dumb way to restrict newcomers from 'spamming', though it really is a poor filter. Unfortunately, there isn't really a good way to deal with newcomers. I believe you can still edit your posts when you run out of new posts.
You'll have to make a new Java file. I recommend using Eclipse or jGRASP.
Copy-pasta this into one of those java-editors, and it should work. If you use jGRASP, you'll have to compile (the big green plus button) before you run (the button with the red dude running) it. If the seed exceeds a certain number of digits, you'll have to type "L" after it.
import java.io.*;
import java.util.*;
public class Seed {
public static void main(String[] args) {
Random c = new Random();
c.setSeed(404); //Or whatever your seed is.
double d1 = c.nextDouble() * 3.141592653589793D * 2.0D;
double d2 = (1.25D + c.nextDouble()) * 32.0D;
int k = (int)Math.round(Math.cos(d1) * d2);
int m = (int)Math.round(Math.sin(d1) * d2);
int kt = (k << 4) + 8;
int mt = (m << 4) + 8;
System.out.println(kt + " " + mt);
}
}
Ah... thank you :smile.gif:
I already had JDK downloaded, so I just used the command prompt to compile.
I now encounter a new problem though:
The seed as provided in the example: 199513412870065660, it is said to be too large a integer number... but I can't see how to change the number system to use "long" or something... (I've never done programming before as you may have gathered :tongue.gif:)
Wow that is freaking obfuscated. Random numbers, sine and cosine, multiplying by pi for no apparent reason and... I haven't touched Java since college << is that a bit shift? Seems a bit much!
Sweet. Thanks! This one is quite the stronghold. Admittedly, it's my first one, but it has two treasure rooms (the weird cobble/plank room with the lone chest) and two traditional box dungeons (spider and zombie). I'm pretty sure the box dungeons just happened to be in the terrain much like caves and ravines, but it's still a pretty cool stronghold.
@ AvatarX: np. If you need more help, let me know. I can't help you much for the actual code (and Skidoodle is the expert on that), but I know some basic Java thanks to a quarter in college, and I remembered how to frame programs. :tongue.gif:
Sweet. Thanks! This one is quite the stronghold. Admittedly, it's my first one, but it has two treasure rooms (the weird cobble/plank room with the lone chest) and two traditional box dungeons (spider and zombie). I'm pretty sure the box dungeons just happened to be in the terrain much like caves and ravines, but it's still a pretty cool stronghold.
@ AvatarX: np. If you need more help, let me know. I can't help you much for the actual code (and Skidoodle is the expert on that), but I know some basic Java thanks to a quarter in college, and I remembered how to frame programs. :tongue.gif:
Thank you very much :smile.gif:
At the moment I'm trying to add a user input dialog :tongue.gif:
But well, it's not working yet :-/
Thanks alot, big help!!
I can't get you the seed as the server is currently offline, and since it's a 1.7.3 seed it might not work with the calculations anyway. I really hope we don't have to make up a new server for this. -.-
I'm too lazy to use an X-Ray texture pack to find it, though; however, the chunks loaded slowly and there's definitely a mineshaft underneath.
KEKDOT Highways & Freeways in Minecraft - Stack Interchange
"You can make 3 more posts until 15 September 2011 - 11:34 AM. This restriction is in place until you have 4 more approved posts"
Which just doesn't sound too pleasant. If someone could point me in the right direction for where I would post (what forum section) such an application it should be done pretty fast.
EDIT:
For those curious, I don't need anything but the seed.
When the world is generated it decides where the strongholds should go based on your seed. (I don't believe they'll appear in old maps) All I need to do is match how they calculate it EXACTLY and I can find them.
Again, I'll do my best to get the application done within the hour.
EDIT EDIT:
Press F3 while on your map to see the actual seed if you used a word/phrase/decimal for yours.
I've tried copying the code into a text file, named it something.java, and then tried to compile it using javac; but it came up with lot of error and won't compile?
I would post it in the mods section as a new thread and refer to this thread. After that, post here with a link to the mod so people who are watching this thread can get to it. That still leaves you one post total.
Damned moderation limits, I had hoped you would be able to answer my question a few posts up. Once you get the program written up and posted in mods, I'd appreciate it if you could squeeze a few sentences in for ol' Ihmhi. ;D
Stronghold found at 80,-600.
Alright accuracy :ohmy.gif:
Upload it to Mediafire, and then post link here with an edit to OP? :smile.gif:
EDIT: Oh, by the way, would you mind posting the .java (src code) the same time? so I can learn :biggrin.gif:
deeply appreciated :smile.gif:
MCEdit
Just prune the chunks that you would like MC to regenerate :smile.gif:
It's a dumb way to restrict newcomers from 'spamming', though it really is a poor filter. Unfortunately, there isn't really a good way to deal with newcomers. I believe you can still edit your posts when you run out of new posts.
You'll have to make a new Java file. I recommend using Eclipse or jGRASP.
Copy-pasta this into one of those java-editors, and it should work. If you use jGRASP, you'll have to compile (the big green plus button) before you run (the button with the red dude running) it. If the seed exceeds a certain number of digits, you'll have to type "L" after it.
KEKDOT Highways & Freeways in Minecraft - Stack Interchange
Ah... thank you :smile.gif:
I already had JDK downloaded, so I just used the command prompt to compile.
I now encounter a new problem though:
The seed as provided in the example: 199513412870065660, it is said to be too large a integer number... but I can't see how to change the number system to use "long" or something... (I've never done programming before as you may have gathered :tongue.gif:)
Wait, add L.... ok, sorry I missed that bit ^^|||
http://www.minecraftforum.net/topic/1763406-absolom-a-maze-in-works/ - My current project, help wanted!
Sweet. Thanks! This one is quite the stronghold. Admittedly, it's my first one, but it has two treasure rooms (the weird cobble/plank room with the lone chest) and two traditional box dungeons (spider and zombie). I'm pretty sure the box dungeons just happened to be in the terrain much like caves and ravines, but it's still a pretty cool stronghold.
@ AvatarX: np. If you need more help, let me know. I can't help you much for the actual code (and Skidoodle is the expert on that), but I know some basic Java thanks to a quarter in college, and I remembered how to frame programs. :tongue.gif:
KEKDOT Highways & Freeways in Minecraft - Stack Interchange
Thank you very much :smile.gif:
At the moment I'm trying to add a user input dialog :tongue.gif:
But well, it's not working yet :-/
Best of luck mate, but I believe Skidoodle is currently working on one. :wink.gif:
KEKDOT Highways & Freeways in Minecraft - Stack Interchange