So I made a perl script to automate generating worlds from a list of seeds then creating a map with TMCMR. Unfortunately, it doesn't work because MLR fails at creating a world if it doesn't exist and I have no idea how to stop the server from perl. *sigh*.
It does not. It's supposed to, but the code is buggy and it does not.
The issue is that WorldVerify.verifyWorld(); doesn't notify Main() in any way that level.dat does not exist. So once WorldVerify.verifyWorld(); is done, Main() just carries on normally even when level.dat is non-existent, and instead tries to render a world with the name "null" with the file null/level.dat. I've been fixing it and might have a pull request sooner or later.
It does not. It's supposed to, but the code is buggy and it does not.
The issue is that WorldVerify.verifyWorld(); doesn't notify Main() in any way that level.dat does not exist. So once WorldVerify.verifyWorld(); is done, Main() just carries on normally even when level.dat is non-existent, and instead tries to render a world with the name "null" with the file null/level.dat. I've been fixing it and might have a pull request sooner or later.
Well that is beyond my level and all on Morlok8k.
Rollback Post to RevisionRollBack
| “What’s normal anyways?”-Forrest Gump | YouTube| Twitter|
The Meaning of Life, the Universe, and Everything.
Location:
Quebec
Join Date:
10/8/2011
Posts:
75
Minecraft:
Duke_Archibald
Xbox:
samot123
Member Details
I know that there is a way to stop generating map or more like generating void/lava/ect when a player go out of the area you already generated but I cant find it on the thread...
It does not. It's supposed to, but the code is buggy and it does not.
The issue is that WorldVerify.verifyWorld(); doesn't notify Main() in any way that level.dat does not exist. So once WorldVerify.verifyWorld(); is done, Main() just carries on normally even when level.dat is non-existent, and instead tries to render a world with the name "null" with the file null/level.dat. I've been fixing it and might have a pull request sooner or later.
I know that there is a way to stop generating map or more like generating void/lava/ect when a player go out of the area you already generated but I cant find it on the thread...
yeah, after you finish making the map, you get a level.dat editor and change it to superflat, and then add lava/nothing/whatever up to whatever height you want.
then when a player goes up to it, only that gets generated on the new chunks.
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
so yeah... i finally got around to checking out your code and running tests on it.
it broke some stuff. mainly my initial setup script where i ask MLG to make a world of 0,0. its supposed to run the server once then quit.
in your refactoring, you removed that.
The issue is that WorldVerify.verifyWorld(); doesn't notify Main() in any way that level.dat does not exist.
yeah, true. that was the point (among other reasons) that we run the server once before processing. if sucessful, level.dat will exist.
anyways, i've fixed some stuff and everything is working great now.
MLG 1.7.6 has been released. Run your upgrade_MLG scripts or download a whole new copy of the .zip file.
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 see you updated the post 1.19.15. Does the 1.7.6 update work with the new 1.8.x worlds? My players are wanting 1.8, and I've decided to go with Spigot since Bukkit getting updated is questionable at best. Plus the mods are all getting nicely updated. I've only ever used your generator, and would like to use it for the 1.8.1 world.
Thanks
*****EDIT *****
DOH!!! I think I remember updating the server file is pretty much all that needs done! I'm going to leave this right here and go do a little digging. I wrote this right after waking up this morning (after being talked into going to 1.8 right before bed last night) so all cylinders were not firing at the time. I'll update in a few with results.
Technomaje
***** UPDATE ****
Yep! Just have to replace the server file with one from Mojang's website that is 1.8.x and it "SHOULD" work just fine!!! Is my understanding. So, answered the question myself and for others, I think. I'm going to go ahead and do it, since it takes hours and hours and hours, and hours. In case I'm right, and I'll check back for updates.
So I have one mod that hasn't been built for a server yet. Is there any way to have this run on a single player save? Or is there another tool that is similar to this that can run on single player?
can you add option for level format? (anvil or MCregion)
no. MLG doesnt even touch the world files. it just interfaces with the server, making it run in different areas to produce land. The version of the server affects level type.
So I have one mod that hasn't been built for a server yet. Is there any way to have this run on a single player save? Or is there another tool that is similar to this that can run on single player?
generally:
you can use a single player world with the server. copy it to MLG after you run the initial setup (important!) then run MLG. name it something else, and copy it back to your single player saves.
specifically for you: depends on the mod. does the mod affect land generation or naturally spawning blocks? if yes, then too bad. wait for a server mod. if you understand how the mod interfaces with minecraft, you may be able to patch it in to the server, but that is extremely advanced.
if it doesnt affect land generation or naturally spawned blocks, (say an item mod, etc.) then you can run MLG with a server filled with any other mods, and it will probably work. no guarantees.
Normally I know better than to ask such questions, but I was actually looking for support for old alpha version.
yes, works with every version of the server. However, Alpha 1.0.17 and Alpha 1.1.0 are buggy - they like to crash during generation - you may need to restart MLG multiple times to get it to finish, or bypass a specific section using the log file.
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
This is just what i am looking for, so just being nosy and asking 'hows the progress?'
That is a great idea by restarting the server with different spawn points to generate land. I hope you finish the port
MLG only works with the main world, unless a server mod adds support for other levels to be added to the initial generation. This has not been in vanilla minecraft since version 1.2.
for a while i was making a mod for this, but nobody was really interested, so i stopped making it for each version. the code is on my github if you want to make the mod yourself.
This is just what i am looking for, so just being nosy and asking 'hows the progress?'
That is a great idea by restarting the server with different spawn points to generate land. I hope you finish the port
progress of what? port? i don't know what you are talking about.
are you referring to the unreleased MLG version that moves a player around? yeah... i should probably work on that.
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
I recently updated to Oracle Java 8 on this computer. (win xp, 32 bit)
MLG would fail with the following error:
[MLG] Calculating Spawn Points...
Exception in thread "main" java.lang.OutOfMemoryError: Requested array size exceeds VM limit
of course i was trying to make a custom 60,000,000 x 60,000,000 world...
(custom, as in just the border. this was a MLG with code added to ignore areas that were not on the edge of the world)
but then i tried smaller sizes. didnt work.
then i tried a standard MLG .jar file. (even though i didnt change that section of code...)
eventually i tried the minimum size of 1000 x 1000. STILL did not work! same error! (i even upped the amount of RAM to MLG itself)
I've made maps, large maps, on this computer before, but the only difference is the Java version.
So, moral of the story? Don't use 32-bit java 8. (64-bit java 8 is untested by me.) I still recommend Java 7.
i know exactly what line of code it is failing at, and that code has not changed for over a year.
well... i guess MLG needs some optimization. Sadly, this may require a major rewrite of the Spawn point calculation code. the current code works great on Java 6 & 7, though it does briefly suck up a lot of memory for a few seconds for the calculations. but with Java 8, calculating the minimum 9 spawn points is just too much.
anyways... if you are running java 8, let me know if it works for you, your amount of RAM, operating system (and if its OpenJDK 8), and if you are 32 or 64 bit Java 8 (not your computer, but Java itself).
for me:
Win XP, java 32bit, 3G RAM
java version "1.8.0_31"
fails.
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
The issue is that WorldVerify.verifyWorld(); doesn't notify Main() in any way that level.dat does not exist. So once WorldVerify.verifyWorld(); is done, Main() just carries on normally even when level.dat is non-existent, and instead tries to render a world with the name "null" with the file null/level.dat. I've been fixing it and might have a pull request sooner or later.
Well that is beyond my level and all on Morlok8k.
code changes have been made. I will pop out a new .jar file in the next day or so with the update.
yeah, after you finish making the map, you get a level.dat editor and change it to superflat, and then add lava/nothing/whatever up to whatever height you want.
then when a player goes up to it, only that gets generated on the new chunks.
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
it broke some stuff. mainly my initial setup script where i ask MLG to make a world of 0,0. its supposed to run the server once then quit.
in your refactoring, you removed that.
yeah, true. that was the point (among other reasons) that we run the server once before processing. if sucessful, level.dat will exist.
anyways, i've fixed some stuff and everything is working great now.
MLG 1.7.6 has been released. Run your upgrade_MLG scripts or download a whole new copy of the .zip file.
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
I see you updated the post 1.19.15. Does the 1.7.6 update work with the new 1.8.x worlds? My players are wanting 1.8, and I've decided to go with Spigot since Bukkit getting updated is questionable at best. Plus the mods are all getting nicely updated. I've only ever used your generator, and would like to use it for the 1.8.1 world.
Thanks
*****EDIT *****
DOH!!! I think I remember updating the server file is pretty much all that needs done! I'm going to leave this right here and go do a little digging. I wrote this right after waking up this morning (after being talked into going to 1.8 right before bed last night) so all cylinders were not firing at the time. I'll update in a few with results.
Technomaje
***** UPDATE ****
Yep! Just have to replace the server file with one from Mojang's website that is 1.8.x and it "SHOULD" work just fine!!! Is my understanding. So, answered the question myself and for others, I think. I'm going to go ahead and do it, since it takes hours and hours and hours, and hours. In case I'm right, and I'll check back for updates.
It WORKS for ANY MC version that has a SERVER .JAR
Please stop asking, its annoying when you ask something that has been answered over and over...https://www.youtube.com/channel/UC3NaDiSS_HpIk4hvEcpcGrw
Wewt!
Normally I know better than to ask such questions, but I was actually looking for support for old alpha version.
Cast aside your festive doylaks: dragon stuff is about to happen.
Multiplayer is lonely once you understand how it actually works.
Alpha 1.0.4
no. MLG doesnt even touch the world files. it just interfaces with the server, making it run in different areas to produce land. The version of the server affects level type.
generally:
you can use a single player world with the server. copy it to MLG after you run the initial setup (important!) then run MLG. name it something else, and copy it back to your single player saves.
specifically for you: depends on the mod. does the mod affect land generation or naturally spawning blocks? if yes, then too bad. wait for a server mod. if you understand how the mod interfaces with minecraft, you may be able to patch it in to the server, but that is extremely advanced.
if it doesnt affect land generation or naturally spawned blocks, (say an item mod, etc.) then you can run MLG with a server filled with any other mods, and it will probably work. no guarantees.
yes, works with every version of the server. However, Alpha 1.0.17 and Alpha 1.1.0 are buggy - they like to crash during generation - you may need to restart MLG multiple times to get it to finish, or bypass a specific section using the log file.
Alpha 1.2.x is a better bet.
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
That is a great idea by restarting the server with different spawn points to generate land. I hope you finish the port
MLG only works with the main world, unless a server mod adds support for other levels to be added to the initial generation. This has not been in vanilla minecraft since version 1.2.
for a while i was making a mod for this, but nobody was really interested, so i stopped making it for each version. the code is on my github if you want to make the mod yourself.
i have the mod for old servers here.
a good trick for nether generation is shown here, but its only for linux computers.
progress of what? port? i don't know what you are talking about.
are you referring to the unreleased MLG version that moves a player around? yeah... i should probably work on that.
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
Link: http://www.howtogeek.com/208565/how-to-speed-up-your-minecraft-experience-with-minecraft-land-generator/
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
Now to find a server jar for alpha...
Cast aside your festive doylaks: dragon stuff is about to happen.
Multiplayer is lonely once you understand how it actually works.
Alpha 1.0.4
I recently updated to Oracle Java 8 on this computer. (win xp, 32 bit)
MLG would fail with the following error:
of course i was trying to make a custom 60,000,000 x 60,000,000 world...
(custom, as in just the border. this was a MLG with code added to ignore areas that were not on the edge of the world)
but then i tried smaller sizes. didnt work.
then i tried a standard MLG .jar file. (even though i didnt change that section of code...)
eventually i tried the minimum size of 1000 x 1000. STILL did not work! same error! (i even upped the amount of RAM to MLG itself)
I've made maps, large maps, on this computer before, but the only difference is the Java version.
So, moral of the story? Don't use 32-bit java 8. (64-bit java 8 is untested by me.) I still recommend Java 7.
i know exactly what line of code it is failing at, and that code has not changed for over a year.
well... i guess MLG needs some optimization. Sadly, this may require a major rewrite of the Spawn point calculation code. the current code works great on Java 6 & 7, though it does briefly suck up a lot of memory for a few seconds for the calculations. but with Java 8, calculating the minimum 9 spawn points is just too much.
anyways... if you are running java 8, let me know if it works for you, your amount of RAM, operating system (and if its OpenJDK 8), and if you are 32 or 64 bit Java 8 (not your computer, but Java itself).
for me:
Win XP, java 32bit, 3G RAM
java version "1.8.0_31"
fails.
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera