if you guys give me the full error message, and what you were running, i can fix the error.
but yeah, alt-mode is needed for many mods - especially forge.
no, but thanks for the reminder. The existing code is too buggy to release, and there are a few things I need to add to make it release-worthy. I just whipped up a proof-of-concept a while back.
I haven't been coding in Java lately. I've been working in Python making my own game.
It's a setting inside "level.dat". Yes, the "server.properties" file has no way to toggle it.
So, yes, the best way is to create one with the client then transfer the save to MLG/Server.
The other way is to edit a "level.dat" file, and then delete the region files so it can regenerate with the chest.
yep. videos are not my specialty. go for it.
So, I have been trying to get MLG to work for the last couple of hours. It just doesn't seem to work for me?
This is did:
1. downloaded MLG, ran the inital setup, the update
2. copied my forge server into MLG's directory
3. ran the MLG server - everything's fine. Nice!
4. allocated more RAM to MLG (5GB) in the config
5. ran Run_MLG_Windows.cmd, first with 1000, then 10000 and 20000. Takes about 12 seconds with 20000
It just has no result whatsoever. The world is still the same and has not expanded.
I am using these mods (the mod folder is in the MLG folder): Biomes O'Plenty, HarvestCraft, Realistic World Generation & Underground Biomes.
What am I doing wrong? ):
Thanks for any response!
ok, so the problem is that MLG is not running the server.
either change the name of your server to "minecraft_server.jar" or change the "MinecraftLandGenerator.conf" file to point to your server.
this section: "Java=java -Djava.awt.headless=true -Djline.terminal=jline.UnsupportedTerminal -Duser.language=en -Xms1024m -Xmx1024m -Xincgc -jar minecraft_server.jar nogui"
other things you need to do:
delete the "MinecraftLandGenerator.log" in the world folder.
use alternate mode ("-a") in the Run_MLG_xxx.xxx script, because you are using forge.
java -jar MinecraftLandGenerator.jar 1000 1000 -a
Well, I can't say anything else than: I do not understand why this doesn't work. I might have forgotten to mark off some client-sided mods, but if so, Forge would have told. Anyway, myself I have a pretty high end PC, and I use like 10 minutes to launch the modpack with all the mods.
The only mod that is actually not working with server is the Seasons mod, as this makes a conflict between 2 other mods and must be run with Forge .953, which again conflicts mods that only accept .965. However, as this mod is not required for world generation, I removed it. I know nothing about Linux as I am using Windows 8.1, therefore I can't tell you if you've set it up wrong at that point.
Here is the server and client running + a list of all mods installed on the server: http://i.imgur.com/w2Gdzwv.png
As you can see, it does have contact with the server: http://i.imgur.com/3Tb2xWI.jpg
If it wasn't for the fact that the client is running in offline mode here, I could have logged in on the server, too. Pardon my laziness.
The biggest problem I have is the "Can't keep up" - server lag due to chunk generation (what else?).
Server mods: http://i.imgur.com/SQTLY17.png?1
Client mods: http://i.imgur.com/9zzO30a.png?1
In other words: The error must be something you are doing wrong. I've installed this modpack on 8 high/medium-end computers, where some of them are launched through the FTB launcher, and if that does not work, through the Minecraft Client. Oh, by the way: I run the server through client, due to Seasons mod not being co-operative.
Also, myself I'd recommend allocating at least 6 GB of RAM, as of the fact that I have not tested with less, and it tends to use tons of it. If you have an old PC, I'd recommend checking how much RAM you have and allocate as much as you can. I allocate 8 GB to server and 6 GB to client (of my 16 GBs in total).
Oh, I almost forgot telling you: World generation is very bugged when first generating, there's a 50% chance of generating it. New chunk generation however works fine. Try loading an old world, see if that works.
Step-by-step what I do when I install the modpack for others:
1. Download FTB Launcher.
2. Start and open TechWorld2 once (if not it starts overwriting my own TechWorld2 files, for some reason).
3. Remove the TechWorld2 files and replace with my own.
4. Add the Java arguments.
5. If you get an error with "frame" or something that stops it from starting up, go to step 6 and keep on. If not, you're set to use the modpack.
6. You probably have the normal Minecraft launcher already; grab a copy of Minecraft 1.6.4.
7. Download Forge .965 and install it (I always do it through automated installation).
8. Add all files inside the TechWorld2 to the .minecraft.
9. Add the Java Parameters.
10. It should work by now; I've never had any problems to this point.
ok, let me clairify:
First, Linux/Windows makes no difference to java. Java doesn't care about the operating system (well, 99% of the time).
Oh, by the way: I run the server through client, due to Seasons mod not being co-operative.
This. This makes it INCOMPATIBLE with MinecraftLandGenerator.
You need to run your mods on a FULL BLOWN server.
I could not get YOUR mods to work on a FTB TechWorld 2 SERVER. Not the Client.
Yes, I'm sure all your steps work great with the client and the launcher. The sever doesn't use either one.
OK, So i couldn't get these mods to work with the server. here are my notes as i wrote them.
note: i use linux, so all my folder paths will have the "\" shown as "/". The instructions shouldn't be affected by my using linux and not Windows.
first i grabbed the Techworld 2 Server v1.1.7 from http://www.feed-the-beast.com/modpacks/TechWorld2
here is what i use in the ServerStart.bat / ServerStart.sh files:
java -Xms4096m -Xmx8192m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=6 -XX:+AggressiveOpts -XX:PermSize=2048m -XX:MaxPermSize=4096m -jar FTBServer-1.6.4-965.jar nogui
so, first we copy your mods from "/TechWorld2/minecraft/mods" to: "/TechWorld2Server/mods"
(Not including the ones you marked in your picture)
now in "/TechWorld2Server/mods" you will have 2 copies of some mods:
DragonAPI 1.6 v23b.zip *
DragonAPI 1.6 v25z.zip
ReactorCraft 1.6 v23c.zip *
ReactorCraft 1.6 v25z.zip
RotaryCraft 1.6 v23b.zip *
RotaryCraft 1.6 v25z.zip
i removed all duplicates (marked with a *) as to how they were originally in the server-mod folder. (you can play with your updated versions)
(otherwise you get a duplicate mod crash)
maybe a better way is to remove everything from "/TechWorld2Server/mods" first, and then copy all your mods in. idk, havent tried it.
now lets copy your config files from "TechWorld2/minecraft/config" to "TechWorld2Server/config". copy them all, and replace any existing.
now lets copy your script files from "TechWorld2/minecraft/scripts" to "TechWorld2Server/scripts". copy them all.
If we ran the server now, we get a crash from lwjgl being missing.
I took my libraries folder from "~/.minecraft/libraries" (on windows its located in "%appdata%\.minecraft\libraries") and merged it with "/TechWorld2Server/libraries"
Universal Electricity causes a core-dump crash, so lets disable it.
but ResonantEngine requires Universal Electricity, so lets disable everything resonant related:
unxeplained core-dump, possibly caused by:
I tried again, without disabling anything and this didnt happen again.
lwjgl issue: crashes on world generation.
now by this point, it takes my (old) computer about 45 minutes to load all these mods before crashing at the world generation stage.
I give up.
I dont know which mod uses LWJGL, it doesnt tell me, and the server shouldn't require LWJGL. its a client thing.
Here is what i recommend: take the standard techworld 2 server. add your mods (server version if there is one) ONE BY ONE to see if they crash or not. once you have a proper server running, then try MLG.
You will want to run MLG in the Alternate mode. We can help you with it once you have a functioning server.
the problem is he has too many mods.
he needs to use the TechWorldServer and launch the ServerStart.bat file. not using the client as a server. (MLG will never work with the client being run as a server, plus its not proper use.)
I'm working on getting it to work, but on my computer each launch takes about 20-30 minutes to load all the mods. I'm seeing what failed and fixing. if in can get this to work, i'll post my results. I'm writing down each step i do.
i have a simple demo of it made, but it has no error handling, and if you teleport too quickly, the server can crash.
honestly, because of the lack of server response, its not the greatest way to generate. but i guess for people that have a lot of mods, it would be better than using MLG due to the startup time.
I was actually thinking about working on that again. actually, i'm surprised nobody else has done this yet.
I've seen a few mods for world pre-generation here and there, and even an in-game commandblock script that teleports a player around.
What am I doing wrong?
First, i'm assuming all of the following are correct:
The first step is to make sure the server is generating a amplified world.
lets delete (or rename) any existing worlds.
lets look at a default "server.properties":
#Minecraft server properties (for minecraft 1.8.1)
#(File modification datestamp)
motd=A Minecraft Server
"level-type=DEFAULT" makes a normal world.
change it to "level-type=AMPLIFIED"
Note: this setting (along with the other generation settings like "level-seed", "generate-structures", and "generator-settings") ONLY apply for the first launch. after that, they are written into the "level.dat" file, and the "level.dat" file supercedes any settings in server.properties.
So basically, if level.dat was made with DEFAULT, the world will be default even if you change the configuration.
so, with our changed server.properties, we launch the server and make a new map. if it is NOT amplified, then something went wrong. either server.properties is messed up or it wasn't a brand new save.
All good? run MLG. check the new areas. they will be amplified. if not, then something went horribly wrong.
taking an amplified single player map:
level.dat will say it is amplified. the server.properties setting for this doesn't matter.
make sure server.properties points to the right world. (thats the level-name setting) its easier to rename your world folder to "world"
run the server. everything good?
Quote from steelerfan43
I had to port forward my minecraft file to make it work on my pc. It took 5 minutes and 1 computer restart to apply and was as easy as counting to 3.
192 recipes 27 achievements 2012-06-14 12:13:12 [INFO] Starting minecraft server version 12w24a 2012-06-14 12:13:12 [INFO] Loading properties 2012-06-14 12:13:12 [INFO] Default game type: SURVIVAL 2012-06-14 12:13:12 [INFO] Generating keypair 2012-06-14 12:13:13 [INFO] Starting Minecraft server on *:25565 2012-06-14 12:13:13 [INFO] Preparing level "world" 2012-06-14 12:13:13 [INFO] Preparing start region for level 0 2012-06-14 12:13:14 [INFO] Preparing spawn area: 48% 2012-06-14 12:13:15 [INFO] Preparing spawn area: 85% 2012-06-14 12:13:15 [INFO] Done (2.615s)! For help, type "help" or "?" stop 2012-06-14 12:13:19 [INFO] Stopping the server 2012-06-14 12:13:19 [INFO] Stopping server 2012-06-14 12:13:19 [INFO] Saving players 2012-06-14 12:13:19 [INFO] Saving worlds 2012-06-14 12:13:19 [INFO] Saving chunks for level 'world'/[email protected] java.net.SocketException: socket closed at java.net.TwoStacksPlainSocketImpl.socketAccept(Native Method) at java.net.AbstractPlainSocketImpl.accept(Unknown Source) at java.net.PlainSocketImpl.accept(Unknown Source) at java.net.ServerSocket.implAccept(Unknown Source) at java.net.ServerSocket.accept(Unknown Source) at dl.run(SourceFile:56) Closing listening thread 2012-06-14 12:13:20 [INFO] Saving chunks for level 'world'/[email protected] 2012-06-14 12:13:20 [INFO] Saving chunks for level 'world'/[email protected]
texture-pack=PP.zipand putting in a texture pack named PP.zip (the painterly pack).
[INFO] Starting minecraft server version 12w17a [INFO] Loading properties [INFO] Generating keypair [INFO] Starting Minecraft server on *:25565 [INFO] Preparing level "world" [INFO] Default game type: 0 [INFO] Preparing start region for level 0 [INFO] Preparing spawn area: 89% [INFO] Done (1.360s)! For help, type "help" or "?" [INFO] --- Showing help page 1 of 4 (/help <page>) --- [INFO] /whitelist <on|off|list|add|remove|reload> [INFO] /tp [target player] <destination player> [INFO] /list [INFO] /kick <player> [reason ...] [INFO] /save-off [INFO] /op <player> [INFO] /help [page] [INFO] Tip: Use the <tab> key while typing a command to auto-complete the command or its arguments [INFO] --- Showing help page 2 of 4 (/help <page>) --- [INFO] /gamemode <mode> [player] [INFO] /pardon <name> [INFO] /kill [INFO] /toggledownfall [INFO] /say <message ...> [INFO] /stop [INFO] /xp [amount] <player> [INFO] --- Showing help page 3 of 4 (/help <page>) --- [INFO] /ban <name> [INFO] /give <player> <item> [amount] [data] [INFO] /banlist [ips|players] [INFO] /time <set|add> <value> [INFO] /deop <player> [INFO] /save-all [INFO] /save-on [INFO] --- Showing help page 4 of 4 (/help <page>) --- [INFO] /me <action ...> [INFO] /help [page] [INFO] /pardon-ip <address>
Minecraft (Mojang, Microsoft Studios): Known for its limitless possibilities, Minecraft
will come to life this winter in a whole new way through the magic of
Kinect and also feature cross-functionality between the PC and Xbox 360