Jump to content

BUG ubuntu server forge not working for 4096 id fix


mrgreaper

Recommended Posts

if i run the server files in windows it works fine

 

line to run:

java -Xms512M -Xmx1G -jar minecraft_server.jar

 

same server files on our server which is ubuntu

run with

java -jar minecraft_server.jar

or

/home/minecraft/jre1.7.0/bin/java -d64 -Xincgc -Xmx2824M -jar /home/minecraft/mainframe/minecraft_server.jar

 

gives this error

 

java.lang.ExceptionInInitializerError
        at WirelessRedstoneCore.initialize(WirelessRedstoneCore.java:53)
        at mod_WirelessRedstoneCore.load(mod_WirelessRedstoneCore.java:10)
        at cpw.mods.fml.common.modloader.ModLoaderModContainer.init(ModLoaderModContainer.java:351)
        at cpw.mods.fml.common.Loader.modInit(Loader.java:263)
        at cpw.mods.fml.common.Loader.initializeMods(Loader.java:604)
        at cpw.mods.fml.server.FMLServerHandler.onLoadComplete(FMLServerHandler.java:147)
        at net.minecraft.server.MinecraftServer.s(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:412)
        at dn.run(SourceFile:492)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1024
        at codechicken.core.ConfigFile.readLine(ConfigFile.java:166)
        at codechicken.core.ConfigFile.loadConfig(ConfigFile.java:81)
        at codechicken.core.ConfigFile.<init>(ConfigFile.java:56)
        at codechicken.wirelessredstone.core.SaveManager.<clinit>(SaveManager.java:64)
        ... 9 more
2012-07-02 16:30:35 [sEVERE] Unexpected exception
java.lang.ExceptionInInitializerError
        at WirelessRedstoneCore.initialize(WirelessRedstoneCore.java:53)
        at mod_WirelessRedstoneCore.load(mod_WirelessRedstoneCore.java:10)
        at cpw.mods.fml.common.modloader.ModLoaderModContainer.init(ModLoaderModContainer.java:351)
        at cpw.mods.fml.common.Loader.modInit(Loader.java:263)
        at cpw.mods.fml.common.Loader.initializeMods(Loader.java:604)
        at cpw.mods.fml.server.FMLServerHandler.onLoadComplete(FMLServerHandler.java:147)
        at net.minecraft.server.MinecraftServer.s(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:412)
        at dn.run(SourceFile:492)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1024
        at codechicken.core.ConfigFile.readLine(ConfigFile.java:166)
        at codechicken.core.ConfigFile.loadConfig(ConfigFile.java:81)
        at codechicken.core.ConfigFile.<init>(ConfigFile.java:56)
        at codechicken.wirelessredstone.core.SaveManager.<clinit>(SaveManager.java:64)
        ... 9 more

 

this is the standard "your using a block id higher then 255 and we no like it error" but well forge adds the 4096 block ids and it works perfectly in windows

 

using the 152 version of forge (latest recommanded one) inserted into the minecraft_server.jar

 

can anyone help?

 

 

**************

so far our working theory is ubuntu is out of date and needs updating we are doing a remote release update as i type

 

its wierd though that the 4096 id inbuilt fix should be effected like this

Link to comment
Share on other sites

when/if it finaly finishes this release update (going from 11.04 to 12 seems to take time lol) i will try it with out chickenbones mods to test it but, the exact same setup works in windows, same files, same ids, same settings. surely if it was that then i would get the same error in windows?

 

Link to comment
Share on other sites

That error is purely and only in chickenbones mod, specifically in his configuration file reading.  So whatever problem there is, ChickenBones needs to fix it.  ;)

 

ok will edit this post with success or failure once i have tested it (i should have some ids free under 255) thanks in advance :)

Link to comment
Share on other sites

yeah i know what you mean! nothing worsse then seeing you have the same issue only to see the guy say "fixed" but no explanation of how

 

ok chicken bone wireless was already set to id 170 but removel of the mod aloud further progress

 

i then had an api error, trains which has the api for buildcraft 3.0 did not like that im using buildcraft 2.x so i removed the buildcraft api from inside the mod

 

then i had an error with the ic2 addon "transformers" an invalid shapeless recipie ....however the server would load fine just bleep at me about that and as its a private one we can live with that

 

but heres the wierd thing, under windows xp 32bit, and windows 7 64bit with exactly the same server folder (i created the server in windows then uploaded it to ubuntu) none of the issues above happen.

 

This leads me onto two thoughts

 

1) maybe forge is more stable in windows and its error checking/fixing does not work right in ubuntu

 

2) maybe the mods and thier configs have unicode in them that windows can understand but ubuntu cant

 

either way were up and running with the following minor bugs

 

lots of conflicts relating to item codes in the start up log that cant be changed no matter what i set the items too (mod related not forge but forge seems to do magic and make it work...items not blocks.

 

recipies are wrongly displayed in nei (for example a generator shows the solar recipie (could be related to the shapeless error from transformers mod or simply the massive changes from forestry (gears replaced with bulb things) and ic2 (refined iron replaced with steel) either way i dont think forge is the culprit)

Link to comment
Share on other sites

This isn't anything related to forge, this is all related to ChickenBones and his code, you will have to speak with him.

All these issues seem to extend out based on some assumptions that ChickenBones does.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • https://pastebin.com/VwpAW6PX My game crashes upon launch when trying to implement the Oculus mod to this mod compilation, above is the crash report, I do not know where to begin to attempt to fix this issue and require assistance.
    • https://youtube.com/shorts/gqLTSMymgUg?si=5QOeSvA4TTs-bL46
    • CubeHaven is a SMP server with unique features that can't be found on the majority of other servers! Java: MC.CUBEHAVEN.NET Bedrock: MC.CUBEHAVEN.NET:19132 3 different stores: - CubeHaven Store: Our store to purchase using real money. - Bitcoin Store: Store for Bitcoin. Bitcoin can be earned from playing the server. Giving options for players if they want to spend real money or grind to obtain exclusive packages. - Black Market: A hidden store for trading that operates outside our traditional stores, like custom enchantments, exclusive items and more. Some of our features include: Rank Up: Progress through different ranks to unlock new privileges and perks. 📈 Skills: RPG-style skill system that enhances your gaming experience! 🎮 Leaderboards: Compete and shine! Top players are rewarded weekly! 🏆 Random Teleporter: Travel instantly across different worlds with a click! 🌐 Custom World Generation: Beautifully generated world. 🌍 Dungeons: Explore challenging and rewarding dungeons filled with treasures and monsters. 🏰 Kits: Unlock ranks and gain access to various kits. 🛠️ Fishing Tournament: Compete in a friendly fishing tournament! 🎣 Chat Games: Enjoy games right within the chat! 🎲 Minions: Get some help from your loyal minions. 👥 Piñata Party: Enjoy a festive party with Piñatas! 🎉 Quests: Over 1000 quests that you can complete! 📜 Bounty Hunter: Set a bounty on a player's head. 💰 Tags: Displayed on nametags, in the tab list, and in chat. 🏷️ Coinflip: Bet with other players on coin toss outcomes, victory, or defeat! 🟢 Invisible & Glowing Frames: Hide your frames for a cleaner look or apply a glow to it for a beautiful look. 🔲✨[ Player Warp: Set your own warp points for other players to teleport to. 🌟 Display Shop: Create your own shop and sell to other players! 🛒 Item Skins: Customize your items with unique skins. 🎨 Pets: Your cute loyal companion to follow you wherever you go! 🐾 Cosmetics: Enhance the look of your character with beautiful cosmetics! 💄 XP-Bottle: Store your exp safely in a bottle for later use! 🍶 Chest & Inventory Sorting: Keep your items neatly sorted in your inventory or chest! 📦 Glowing: Stand out from other players with a colorful glow! ✨ Player Particles: Over 100 unique particle effects to show off. 🎇 Portable Inventories: Over virtual inventories with ease. 🧳 And a lot more! Become part of our growing community today! Discord: https://cubehaven.net/discord Java: MC.CUBEHAVEN.NET Bedrock: MC.CUBEHAVEN.NET:19132
    • # Problematic frame: # C [libopenal.so+0x9fb4d] It is always the same issue - this refers to the Linux OS - so your system may prevent Java from working   I am not familiar with Linux - check for similar/related issues  
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.