Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to TerraFirmaCraft Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Dries007

      ATTENTION Forum Database Breach   03/04/2019

      There has been a breach of our database. Please make sure you change your password (use a password manager, like Lastpass).
      If you used this password anywhere else, change that too! The passwords themselves are stored hashed, but may old accounts still had old, insecure (by today's standards) hashes from back when they where created. This means they can be "cracked" more easily. Other leaked information includes: email, IP, account name.
      I'm trying my best to find out more and keep everyone up to date. Discord (http://invite.gg/TerraFirmaCraft) is the best option for up to date news and questions. I'm sorry for this, but the damage has been done. All I can do is try to make sure it doesn't happen again.
    • Claycorp

      This forum is now READ ONLY!   01/20/2020

      As of this post and forever into the future this forum has been put into READ ONLY MODE. There will be no new posts! A replacement is coming SoonTM . If you wish to stay up-to-date on whats going on or post your content. Please use the Discord or Sub-Reddit until the new forums are running.

      Any questions or comments can be directed to Claycorp on either platform.
senfmann

[Solved] Complete Minecraft Crash when logging into own Server

9 posts in this topic

First of all, hello guys, I really like your mod, it gives me for what I've longed for in Vanilla Minecraft. All this realistic survival aspect and the metallurgy and what not. But enough the sweet words.

 

I have a little problem, maybe you can find a solution to this.

I installed all the things needed for a multiplayer experience on my own private server following this guide:

(btw, was a good guide)

 

Thing is, when I try to connect to my own server, both run on the same machine, after downloading the map and anything else, it just crashes after floating a splitsecond in a blue void, HUD works btw. It's a full Minecraft crash and it brings me back to the console thing that appears when you start Minecraft. Also it gives me this bugreport:

 

---- Minecraft Crash Report ----// There are four lights!Time: 17.12.13 03:12Description: Unexpected errorjava.lang.ArrayIndexOutOfBoundsException: 12  at TFC.Core.TFC_Climate.getMonthTempFactor(TFC_Climate.java:301)  at TFC.Core.TFC_Climate.getTemp(TFC_Climate.java:186)  at TFC.Core.TFC_Climate.getTemp(TFC_Climate.java:169)  at TFC.Core.TFC_Climate.getGrassColor(TFC_Climate.java:393)  at TFC.ClientProxy.grassColorMultiplier(ClientProxy.java:427)  at TFC.Blocks.Vanilla.BlockCustomTallGrass.func_71920_b(BlockCustomTallGrass.java:51)  at net.minecraft.client.renderer.RenderBlocks.func_78620_l(RenderBlocks.java:3453)  at net.minecraft.client.renderer.RenderBlocks.func_78612_b(RenderBlocks.java:449)  at net.minecraft.client.renderer.WorldRenderer.func_78907_a(WorldRenderer.java:224)  at net.minecraft.client.renderer.RenderGlobal.func_72716_a(RenderGlobal.java:1551)  at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1129)  at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1006)  at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:944)  at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:836)  at net.minecraft.client.main.Main.main(SourceFile:101)  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  at java.lang.reflect.Method.invoke(Unknown Source)  at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)  at net.minecraft.launchwrapper.Launch.main(Launch.java:18)A detailed walkthrough of the error, its code path and all known details is as follows:----------------------------------------------------------------------------------------- Head --Stacktrace:  at TFC.Core.TFC_Climate.getMonthTempFactor(TFC_Climate.java:301)  at TFC.Core.TFC_Climate.getTemp(TFC_Climate.java:186)  at TFC.Core.TFC_Climate.getTemp(TFC_Climate.java:169)  at TFC.Core.TFC_Climate.getGrassColor(TFC_Climate.java:393)  at TFC.ClientProxy.grassColorMultiplier(ClientProxy.java:427)  at TFC.Blocks.Vanilla.BlockCustomTallGrass.func_71920_b(BlockCustomTallGrass.java:51)  at net.minecraft.client.renderer.RenderBlocks.func_78620_l(RenderBlocks.java:3453)  at net.minecraft.client.renderer.RenderBlocks.func_78612_b(RenderBlocks.java:449)  at net.minecraft.client.renderer.WorldRenderer.func_78907_a(WorldRenderer.java:224)  at net.minecraft.client.renderer.RenderGlobal.func_72716_a(RenderGlobal.java:1551)  at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1129)-- Affected level --Details:  Level name: MpServer  All players: 1 total; [EntityClientPlayerMP['Mannsenf'/11, l='MpServer', x=8,50, y=146,62, z=-9279,50]]  Chunk stats: MultiplayerChunkCache: 10  Level seed: -7549277506796354524  Level generator: ID 00 - DEFAULT, ver 1. Features enabled: false  Level generator options:  Level spawn location: World: (20,145,256), Chunk: (at 4,9,0 in 1,16; contains blocks 16,0,256 to 31,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)  Level time: 20575 game time, 20575 day time  Level dimension: 0  Level storage version: 0x00000 - Unknown?  Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)  Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false  Forced entities: 10 total; [EntityClientPlayerMP['Mannsenf'/11, l='MpServer', x=8,50, y=146,62, z=-9279,50], EntitySkeletonTFC['Skelett'/81, l='MpServer', x=4,50, y=99,00, z=-9288,50], EntitySquidTFC['Tintenfisch'/98, l='MpServer', x=23,44, y=138,97, z=-9256,72], EntitySkeletonTFC['Skelett'/80, l='MpServer', x=2,56, y=99,00, z=-9291,44], EntitySquidTFC['Tintenfisch'/96, l='MpServer', x=19,75, y=141,34, z=-9255,66], EntityCreeperTFC['Creeper'/82, l='MpServer', x=3,50, y=99,00, z=-9288,50], EntitySquidTFC['Tintenfisch'/97, l='MpServer', x=23,66, y=141,03, z=-9255,22], EntitySquidTFC['Tintenfisch'/95, l='MpServer', x=18,91, y=141,41, z=-9252,09], EntityZombieTFC['Zombie'/94, l='MpServer', x=18,50, y=102,00, z=-9293,50], EntityBat['Fledermaus'/12, l='MpServer', x=14,31, y=34,00, z=-9272,08]]  Retry entities: 0 total; []  Server brand: fml,forge  Server type: Non-integrated multiplayer serverStacktrace:  at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:440)  at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2310)  at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:861)  at net.minecraft.client.main.Main.main(SourceFile:101)  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  at java.lang.reflect.Method.invoke(Unknown Source)  at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)  at net.minecraft.launchwrapper.Launch.main(Launch.java:18)-- System Details --Details:  Minecraft Version: 1.6.2  Operating System: Windows 7 (amd64) version 6.1  Java Version: 1.7.0_01, Oracle Corporation  Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation  Memory: 224749112 bytes (214 MB) / 455081984 bytes (434 MB) up to 954466304 bytes (910 MB)  JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G  AABB Pool Size: 18931 (1060136 bytes; 1 MB) allocated, 273 (15288 bytes; 0 MB) used  Suspicious classes: FML and Forge are installed  IntCache: cache: 0, tcache: 10, allocated: 1, tallocated: 33  FML: MCP v8.04 FML v6.2.62.871 Minecraft Forge 9.10.1.871 4 mods loaded, 4 mods active  mcp{8.04} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available  FML{6.2.62.871} [Forge Mod Loader] (minecraftforge-9.10.1.871.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available  Forge{9.10.1.871} [Minecraft Forge] (minecraftforge-9.10.1.871.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available  terrafirmacraft{0.77.22} [TerraFirmaCraft] (TFC-0.77.22.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available  Launched Version: 1.6.2-Forge9.10.1.871  LWJGL: 2.9.0  OpenGL: ATI Radeon HD 5700 Series GL version 4.1.11005 Compatibility Profile Context, ATI Technologies Inc.  Is Modded: Definitely; Client brand changed to 'fml,forge'  Type: Client (map_client.txt)  Resource Pack: Default  Current Language: Deutsch (Deutschland)  Profiler Position: N/A (disabled)  Vec3 Pool Size: 688 (38528 bytes; 0 MB) allocated, 688 (38528 bytes; 0 MB) used

 

 

 

 

I don't know if this is usable for the best of yours, but let me know about this.

On a, maybe related, sidenote: I can't give the server more RAM, I don't know ANYTHING about programming in Java and it simply says that it couldn't access the forge-jar. Maybe these are connected.

 

The java console of the server also says:

 

 [sEVERE] Reached end of stream for /25.159.220.93 [iNFO] Mannsenf[/25.159.220.93:59069] logged in with entity id 11 at (8.5, 145.0, -9279.5) [iNFO] Mannsenf joined the game [iNFO] Mannsenf lost connection: disconnect.genericReason [iNFO] Mannsenf left the game [WARNING] Can't keep up! Did the system time change, or is the server overloaded?

 

(I've cut out the lesser important stuff)

Maybe it's because too few RAM?

I can provide screencaps if requested, but I'm going to bed now, in hope to get a message tomorrow, I REALLY want to play this with my friends, because I think this is the BEST mod to work out trading and stuff like this.

 

Thanks in advance!

 

 

PS: Singleplayer works perfectly and without any crashes, also I don't have OptiFine, because I already sat around an hour to get this mod and the server working. Maybe that's the cause? If someone could provide a quick tutorial, I might add it, if this helps.

0

Share this post


Link to post
Share on other sites

Did you change the yearlength in your config options? If so they have to be the same for both the server and client config. The crash log you supplied normally happens when the client thinks it's one day of the year, and the server thinks it's another.

 

Server Installation Tutorial on the wiki is pretty simple.

 

As for allocating more memory, just have your launch command be

java -Xms1G -Xmx3G -jar minecraftforge-universal-1.6.2-9.10.1.871.jar

That will set the minimum to 1G and the maximum to 3G.. you can set the max as high as you feel necessary, but the min can never go below 1G without causing issues as TFC is very resource heavy.

 

As for OptiFine, stick to the standard version, ultra will cause more problems that it solves, and it just gets thrown into your mods folder on the client. Optifine is a client mod only, so putting it on your server won't do anything.

0

Share this post


Link to post
Share on other sites

Holy crap, it really does work, good thing I just checked the forums before going to sleep.

Now I won't get up for university tomorrow. Uni and MC is really a bad combination.

 

One quick question: Do I always have to run the .bat-file to get more RAM or did it somehow overwrite the settings in the forge-jar?

 

Kudos to you, Kitty!

0

Share this post


Link to post
Share on other sites

You'll always have to use that .bat file to launch your server if you want the memory allocation to be higher. Sadly it doesn't overwrite anything in the forge jar, it just says "Hey java! When you take care of this there forge jar over here, give him x-y memory!" and java's all like "Okie dokie!" and then it forgets everything once the server shuts down.

0

Share this post


Link to post
Share on other sites

Is there a method to "overwrite" the default settings?

I have 16 GB of RAM, what would be the best amount for the best experience, implying I play on the machine that created the server?

I will set up a server on my own in some time, so that's no issue.

Like for 2-5 people?

0

Share this post


Link to post
Share on other sites

Sadly no, java and minecraft are just derpy that way. I would say set your max to 4GB and go from there.. if it starts to look like you need more, give it more.. although if you need to go higher than 8GB, you have a processor issue, not a RAM issue. Also keep in mind that whatever you set to the max, java will use. It's a greedy little bugger.

 

The other thing to keep in mind if your server is going outside of your LAN, is your internet connection. You'll need decent upload speeds or your friends that are connecting remotely will have a lot of block lag.

0

Share this post


Link to post
Share on other sites

Fortunately I have a very good connection compared to most people, I'm living on my own, so a 16k is enough, and this is only the lowest level.

I've set it to 8 Gigs now, thanks for all the help ;)

Now I will REALLY enjoy this game.

Btw, sadly the bug was the year-length, as you stated, and was true. Is there any way to set the length to a desired number? Because my OCD doesn't let me take anything else than 84, because one month is exactly a week long. They should change this in my opinion. A year is still friggin long and I just saw the beginning of summer.

0

Share this post


Link to post
Share on other sites

You can set it to anything that is a multiple of 12. The most common used is 360 as that is the closest multiple of twelve that mimics the real life year length of ~365

 

You just need to change the config on both the server and on all of the clients so that they all have the same number to prevent issues. This is really a fault of the way minecraft servers are set up in that they don't override client configurations.

 

So if you want 84 day years, set the server's config to 84, then set your client config to 84, and tell all of your friends to set their config to 84 and you won't have any crashes related to that.

 

NinjaEdit: Setting it to anything higher than 360 is going to cause wonky issues with crop growth and the calendar.. since there will be more than 30 days in each month.

0

Share this post


Link to post
Share on other sites

Thanks for the info, didn't realize the configs of the server, and this isn't my first server. Probably because I'm really tired.

Good night and thanks for the help ;)

Feel free to archive/delete/close or whatever you guys do with solved threads!

0

Share this post


Link to post
Share on other sites