Currently using this to gen a 16,000 by 16,000 chunk world.. have done this before on smaller worlds about 8,000 by 8,000
I have a few questions though....
Firstly what value is north and south?? You see I used a program not so long ago to view bioms from a level seed number. It worked like a charm however it also showed a HUGE area of water.
Now if I could expand the world by 6,000 north and south but 20,000 east and west then I would have plenty more land than sea and with a simple world guard I could keep it looking neat and tidy like that forever
Also I looked through the code slightly and it blew my head clean off... lol is there any chance to get it to output to the console screen every 25% rather than randomly?
I sometimes have it print out 10 lines of "Preparing spawn area xx%" sometimes I only have 3.. I this part of the code or the server?
Is there a way of running this without having to shut the server down so that it saves the starting up shutting down time?
maybe start up server then trick it into moving spawn then gening new area?
Also could this possibly be used while a server is running.. I use bukkit and would like to run the server while also creating a new world with MLG.
Problem is it uses the same port so I ether have to stop the server or not run it.. My walk around was to install a VM OS and use the port on the virtual server to gen the map then transfer it over but then im running a extra VM Os just to gen the world.. :S
I had a few more questions but luckily I have forgotten them.. quite a few as it is lol sorry
Map values as of Minecraft 1.2: (Yes, these values dont make sense in a traditional way, but that is how Notch designed Minecraft!)
North is: -X
South is: +X
East is: -Y
West is: +Y
(oh, And MLG's Y is actually Z in the game, as Y is the height in-game)
To save you some time, you might play with moving the center point (instead of using the spawn point) using the x and y switches: "java -jar MinecraftLandGenerator.jar 1000 1000 -xnnnn -ynnnn" where nnnn is a number like -2000
how did the code blow your head off?
No, MLG just outputs the % the server displays. The amount of lines it shows depends on how many chunks are currently being generated, and how fast your computer is.
Well, if you use bukkit, there are plugins that can do what MLG does, while the server is running.
A current plugin (last i checked) is: WorldGenerationControl a.k.a. ForceGenChunks
An older one is: LibertasLoader
I once took a crack at making my own plugin based on MLG's code, but it made too many chunks too quickly and crashed the server!
Minecraft Land Generator | Memory issues? Try this:java -Xincgc-Xmx1024M -Xms512M -jar Minecraft.jar "We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
I will add this to the first post, when i think it is ready, but check it out if you want.
Yes, i have developed websites by scratch, but i'm lazy (and dont want to pay for hosting) so i whipped up a quick site using google sites.
Also, I didnt want to add it to my main website - as MLG and the content on that site dont mix, and I dont want any more traffic on my poor cable internet connection! (MLG is quite popular!)
Rollback Post to RevisionRollBack
Minecraft Land Generator | Memory issues? Try this:java -Xincgc-Xmx1024M -Xms512M -jar Minecraft.jar "We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
Well structured. I had no problems with the download and the adjustment. Also the code for generating specific worked out easily.
The only problem which annoys me is that the generated map have white blocks everywhere in mcedit. Relight dont solve the problem and im dunno what may cause the problem.
White blocks? Where are these white blocks located? Could it be that it is a new block that mcedit doesnt support yet?
EDIT: I would verify that you have the latest version of mcedit.
I just used "MCEdit-0.1.0-10-gbcf7.win32" and saw no white blocks (other than snow, and trees that hadn't rendered the texture yet).
This was a world made with MLG 1.6.05 and Server 1.2.4.
Minecraft Land Generator | Memory issues? Try this:java -Xincgc-Xmx1024M -Xms512M -jar Minecraft.jar "We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
I made some tests and find out that this problem accures by me also with normal generated words in minecraft. So its not a problem with these generater. Thanks for your effort on making a test.
I'm, still curious as to what those blocks are, as I'm not seeing it myself. I'm glad that its a Minecraft issue and not an MLG issue (And i was 99.9% sure it wasn't before i checked.)
Rollback Post to RevisionRollBack
Minecraft Land Generator | Memory issues? Try this:java -Xincgc-Xmx1024M -Xms512M -jar Minecraft.jar "We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
Minecraft Land Generator | Memory issues? Try this:java -Xincgc-Xmx1024M -Xms512M -jar Minecraft.jar "We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
But this doesnt work on all XP machines! (it worked on my computer at work, but not at home)
Rollback Post to RevisionRollBack
Minecraft Land Generator | Memory issues? Try this:java -Xincgc-Xmx1024M -Xms512M -jar Minecraft.jar "We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
Minecraft Land Generator | Memory issues? Try this:java -Xincgc-Xmx1024M -Xms512M -jar Minecraft.jar "We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
My Java version is .7.0.03. without uninstalling the previous version.
I've made the edits you suggested and it seems to be doing something now...
Mineraft Server seems to be running, closing, running, closing....
Well it seems to have worked.The only trouble is when I run the resulting map through mcmapDZ it looks like it's moved my spawn piont south and mapped a square area down there but it's only a very small area, my existing map is many time that new land size. I'll have to play around with the size parameters. Lucky I tried it on a copy of my world, not the original file.
My Java version is .7.0.03. without uninstalling the previous version.
I've made the edits you suggested and it seems to be doing something now...
Mineraft Server seems to be running, closing, running, closing....
Well it seems to have worked.The only trouble is when I run the resulting map through mcmapDZ it looks like it's moved my spawn piont south and mapped a square area down there but it's only a very small area, my existing map is many time that new land size. I'll have to play around with the size parameters. Lucky I tried it on a copy of my world, not the original file.
Thanks for your help, Morlok! :-)
your welcome!
I'm sad to see that java 7 did not fix the old NOGUI issue. It's worked for every XP computer i've tried so far.
What size map did you make?
How far was that small square area away from your map? (very far, close, touching, etc.)
if you run MLG again on a copy of your original world, does it happen again?
could you run the following command, and then post the contents of spawnpoint.txt
If you give me your seed, I can check to see what happens to me tonight.
Rollback Post to RevisionRollBack
Minecraft Land Generator | Memory issues? Try this:java -Xincgc-Xmx1024M -Xms512M -jar Minecraft.jar "We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
I'm sad to see that java 7 did not fix the old NOGUI issue. It's worked for every XP computer i've tried so far.
What size map did you make?
How far was that small square area away from your map? (very far, close, touching, etc.)
if you run MLG again on a copy of your original world, does it happen again?
could you run the following command, and then post the contents of spawnpoint.txt
The Meaning of Life, the Universe, and Everything.
Join Date:
7/13/2009
Posts:
131
Location:
Stark/Arcadia
Member Details
Can you please make it obvious that we need to visit the "new site" in order to download? I spent about 8 minutes scanning the first page for the download link -.-
I finally got it to work on a map that was just of the immediate spawn area. The problems I had before were because the various Done, Server Stopping and Saving Chunks messages made it look like it had completely finished so I closed the programs myself. I now see in the cmd box there is an easily-missed (to a newbie like me) countdown to how long it will really take to finish. A Windows GUI would be very welcome though possibly not easy otherwise it would have already been done.
Now that I have seen a completed map there are some suspiciously straight lines betwen some of the terrain types including a mountain that looks cut clean in half.
I finally got it to work on a map that was just of the immediate spawn area. The problems I had before were because the various Done, Server Stopping and Saving Chunks messages made it look like it had completely finished so I closed the programs myself. I now see in the cmd box there is an easily-missed (to a newbie like me) countdown to how long it will really take to finish. A Windows GUI would be very welcome though possibly not easy otherwise it would have already been done.
Now that I have seen a completed map there are some suspiciously straight lines betwen some of the terrain types including a mountain that looks cut clean in half.
The map that I ran MLG on was a copy of a world in my Saves folder so the original was untouched by MLG. When I explored the original world the straight lines and cut-in-half mountain were there too, so MLG was not to blame for that. I've just created a test world, copied its folder to MLG and am running MLG on it now to see what happens.
Map values as of Minecraft 1.2: (Yes, these values dont make sense in a traditional way, but that is how Notch designed Minecraft!)
North is: -X
South is: +X
East is: -Y
West is: +Y
(oh, And MLG's Y is actually Z in the game, as Y is the height in-game)
To save you some time, you might play with moving the center point (instead of using the spawn point) using the x and y switches: "java -jar MinecraftLandGenerator.jar 1000 1000 -xnnnn -ynnnn" where nnnn is a number like -2000
how did the code blow your head off?
No, MLG just outputs the % the server displays. The amount of lines it shows depends on how many chunks are currently being generated, and how fast your computer is.
Well, if you use bukkit, there are plugins that can do what MLG does, while the server is running.
A current plugin (last i checked) is: WorldGenerationControl a.k.a. ForceGenChunks
An older one is: LibertasLoader
I once took a crack at making my own plugin based on MLG's code, but it made too many chunks too quickly and crashed the server!
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
http://sites.google.com/site/minecraftlandgenerator/
It's not finshed yet, but soon!
I will add this to the first post, when i think it is ready, but check it out if you want.
Yes, i have developed websites by scratch, but i'm lazy (and dont want to pay for hosting) so i whipped up a quick site using google sites.
Also, I didnt want to add it to my main website - as MLG and the content on that site dont mix, and I dont want any more traffic on my poor cable internet connection! (MLG is quite popular!)
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
White blocks? Where are these white blocks located? Could it be that it is a new block that mcedit doesnt support yet?
EDIT: I would verify that you have the latest version of mcedit.
I just used "MCEdit-0.1.0-10-gbcf7.win32" and saw no white blocks (other than snow, and trees that hadn't rendered the texture yet).
This was a world made with MLG 1.6.05 and Server 1.2.4.
What are these blocks in the game?
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
I'm, still curious as to what those blocks are, as I'm not seeing it myself. I'm glad that its a Minecraft issue and not an MLG issue (And i was 99.9% sure it wasn't before i checked.)
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
It works with every server version released (so far). So if you want beta 1.7.3 worlds, you need a beta 1.7.3 server.
On older servers, (I forget which version changed it - I think Minecraft Beta 1.6) you need to add: to the arguments in the script file.
example:
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
Download the latest .zip file
Extract files somewhere.
open the MinecraftLandGenerator folder.
I then copy my world folder to the MLG folder and rename it "world"
I click on Update_MLG_(Windows).cmd and let it run.
I click on Update_Server_(Windows).cmd and let it run.
I click on Run_Server_(Windows).cmd and let it run. After it says "Done" I type stop to close the window
I then click on Run_MLG_(Windows).cmd
It says [MLG] Starting server then just sits there doing nothing.
I am on Windows XP and using version 1.2.3 of MC (until Zombe's Modpack updates).
Yes, I know that issue well. The best fix is to use Java 7. Upgrading to Java 7 fixes the issue on all XP machines.
An alternate fix that works for some machines is to "nogui" and "-Djava.awt.headless=true"
Example:
But this doesnt work on all XP machines! (it worked on my computer at work, but not at home)
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
Updating to Java 7 didn't help. The command line box flashed up for a split second then off again with nothing in it.
What file do I edit to put that nogui and headless stuff in? I know nothing about java and coding etc.
oh, my mistake. i forgot to say that you need to edit the "MinecraftLandGenerator.conf" file.
also, did you manually uninstall Java 6? you can have both installed at the same time, and they can conflict.
at a command prompt you can type in "java -version", and you should get something like:
One other thing:
You can edit "Run_MLG_(Windows).cmd" to this:
this way the window wont diasapear, and we can see what the problem is.
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
I've made the edits you suggested and it seems to be doing something now...
Mineraft Server seems to be running, closing, running, closing....
Thanks for your help, Morlok! :-)
your welcome!
I'm sad to see that java 7 did not fix the old NOGUI issue. It's worked for every XP computer i've tried so far.
What size map did you make?
How far was that small square area away from your map? (very far, close, touching, etc.)
if you run MLG again on a copy of your original world, does it happen again?
could you run the following command, and then post the contents of spawnpoint.txt
If you give me your seed, I can check to see what happens to me tonight.
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
It's late here (UK) so I'll try that printspawn command tomorrow but for now my seed is 1477151563963885241
"Done! For Help type Help or ?"
"Forcing Save..."
then starting over again. How will I know when it's really finished?
ETA: Never mind, I ran it on a smaller map and the two boxes close themselves.
Why does it have to be so complicated? Why can't it just be a simple Windows program that just WORKS?
Now that I have seen a completed map there are some suspiciously straight lines betwen some of the terrain types including a mountain that looks cut clean in half.
The map that I ran MLG on was a copy of a world in my Saves folder so the original was untouched by MLG. When I explored the original world the straight lines and cut-in-half mountain were there too, so MLG was not to blame for that. I've just created a test world, copied its folder to MLG and am running MLG on it now to see what happens.
Error: Unable to access jarfile MinecraftLandGenerator.jar
I am running on windows 7 and have java 7 installed.