Jump to content

Recommended Posts

Posted

I am trying to set up a server for some friends and myself to play on, I run OSX1.7.4 and have had no issues with normal Forge setup for SSP 1.3.2, and no issues with normal 1.3.2 server setup.

 

Where I run into problems when I attempt to add Forge to my server.jar it responds with

Invalid or corrupt jarfile minecraft_server.jar
in Terminal. I can't find anyone else with similar issues or a help thread for similar issues.

 

Can anyone help?

 

Thanks.

Posted

The problem is with how you install forge. How do you do it?

 

I've tried two ways, the first being changing it from a .jar to a .zip. Then decompressing it with archive utility, adding the forge files, recompiling it back and changing back to a .jar. Which when I was doing it didn't seem silly but as I type this sounds very silly.

 

The other way I tried was to rename the server jar to minecraft.jar and use Minecraft Jar tool to decompress add the files recompress and then rename back to server.jar (I use Minecraft Jar Tool to modify the SSP .jar with no problems so i figured this could work).

 

Is there some alternative program to Minecraft Jar Tool I should use?

 

Posted

Assuming your minecraft_server.jar is in /Users/yourusername/server/minecraft_server.jar, and forge is in /Users/yourusername/Downloads/minecraftforge.zip do this:

Open terminal

cd /Users/yourusername/server
mkdir mctmp
cp minecraft_server.jar mctmp
cd mctmp
unzip minecraft_server.jar
cp /Users/yourusername/Downloads/minecraftforge.zip .
unzip minecraftforge.zip
(if it asks you to overwrite files, say 'yes to all')
rm minecraftforge.zip minecraft_server.jar
zip -r ../minecraft_server.jar .
cd ..

And then run the server as you would normally. I don't actually use a Mac (I use Linux), but that should work. The only bit I'm unsure about is the unzip bits.

 

Protip: try and find answers yourself before asking on the forum.

It's pretty likely that there is an answer.

 

Was I helpful? Give me a thank you!

 

 

width=635 height=903http://bit.ly/HZ03zy[/img]

 

 

Tired of waiting for mods to port to bukkit?

use BukkitForge! (now with a working version of WorldEdit!)

Posted

Assuming your minecraft_server.jar is in /Users/yourusername/server/minecraft_server.jar, and forge is in /Users/yourusername/Downloads/minecraftforge.zip do this:

Open terminal

cd /Users/yourusername/server
mkdir mctmp
cp minecraft_server.jar mctmp
cd mctmp
unzip minecraft_server.jar
cp /Users/yourusername/Downloads/minecraftforge.zip .
unzip minecraftforge.zip
(if it asks you to overwrite files, say 'yes to all')
rm minecraftforge.zip minecraft_server.jar
zip -r ../minecraft_server.jar .
cd ..

And then run the server as you would normally. I don't actually use a Mac (I use Linux), but that should work. The only bit I'm unsure about is the unzip bits.

 

 

I tried this just a few minutes ago, and it went smoothly until it came time to repackage the Forgified MC_server.jar. I can't seem to compress the mctmp back into the MC_server.jar.

 

 

I tried a few times now with some mixed results, once or twice it would return with the "Invalid or Corrupt" line from before. However it did come back with

 

2012-10-13 12:16:49 [iNFO] [ForgeModLoader] Forge Mod Loader version missing.missing.missing.missing for Minecraft client:missing, server:missing loading

2012-10-13 12:16:49 [iNFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/argo-2.25.jar

2012-10-13 12:16:50 [iNFO] [ForgeModLoader] Download complete

2012-10-13 12:16:50 [iNFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/guava-12.0.1.jar

2012-10-13 12:16:51 [iNFO] [ForgeModLoader] Download complete

2012-10-13 12:16:51 [iNFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/asm-all-4.0.jar

2012-10-13 12:16:52 [iNFO] [ForgeModLoader] Download complete

2012-10-13 12:16:52 [sEVERE] [ForgeModLoader] This version of FML is built for Minecraft missing, we have detected Minecraft 1.3.2 in your minecraft jar file

2012-10-13 12:16:52 [iNFO] [sTDOUT] A CRITICAL PROBLEM OCCURED INITIALIZING MINECRAFT - LIKELY YOU HAVE AN INCORRECT VERSION FOR THIS FML

2012-10-13 12:16:52 [iNFO] [sTDERR] Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

2012-10-13 12:16:52 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:175)

2012-10-13 12:16:52 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.FMLRelauncher.relaunchServer(FMLRelauncher.java:133)

2012-10-13 12:16:52 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:33)

2012-10-13 12:16:52 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1319)

2012-10-13 12:16:52 [iNFO] [sTDERR] Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

2012-10-13 12:16:52 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:253)

2012-10-13 12:16:52 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:155)

2012-10-13 12:16:52 [iNFO] [sTDERR] ... 3 more

2012-10-13 12:16:52 [iNFO] [sTDERR] Caused by: java.lang.reflect.InvocationTargetException

2012-10-13 12:16:52 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2012-10-13 12:16:52 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

2012-10-13 12:16:52 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

2012-10-13 12:16:52 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Method.java:597)

2012-10-13 12:16:52 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:245)

2012-10-13 12:16:52 [iNFO] [sTDERR] ... 4 more

2012-10-13 12:16:52 [iNFO] [sTDERR] Caused by: cpw.mods.fml.common.LoaderException

2012-10-13 12:16:52 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.<init>(Loader.java:169)

2012-10-13 12:16:52 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.instance(Loader.java:144)

2012-10-13 12:16:52 [iNFO] [sTDERR] ... 9 more

 

 

so I guess that is a small step forward, right?

Posted

Hmm I have never gotten this before until today when I tried to set up a #303 server. I used the same method I have always used and now it's giving me a problem. The same problem is happening with a #251 server as well. I'm going to look into this a bit more.

Posted

Assuming your minecraft_server.jar is in /Users/yourusername/server/minecraft_server.jar, and forge is in /Users/yourusername/Downloads/minecraftforge.zip do this:

Open terminal

cd /Users/yourusername/server
mkdir mctmp
cp minecraft_server.jar mctmp
cd mctmp
unzip minecraft_server.jar
cp /Users/yourusername/Downloads/minecraftforge.zip .
unzip minecraftforge.zip
(if it asks you to overwrite files, say 'yes to all')
rm minecraftforge.zip minecraft_server.jar
zip -r ../minecraft_server.jar .
cd ..

And then run the server as you would normally. I don't actually use a Mac (I use Linux), but that should work. The only bit I'm unsure about is the unzip bits.

 

 

I tried this just a few minutes ago, and it went smoothly until it came time to repackage the Forgified MC_server.jar. I can't seem to compress the mctmp back into the MC_server.jar.

 

 

I tried a few times now with some mixed results, once or twice it would return with the "Invalid or Corrupt" line from before. However it did come back with

 

2012-10-13 12:16:49 [iNFO] [ForgeModLoader] Forge Mod Loader version missing.missing.missing.missing for Minecraft client:missing, server:missing loading

2012-10-13 12:16:49 [iNFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/argo-2.25.jar

2012-10-13 12:16:50 [iNFO] [ForgeModLoader] Download complete

2012-10-13 12:16:50 [iNFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/guava-12.0.1.jar

2012-10-13 12:16:51 [iNFO] [ForgeModLoader] Download complete

2012-10-13 12:16:51 [iNFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/asm-all-4.0.jar

2012-10-13 12:16:52 [iNFO] [ForgeModLoader] Download complete

2012-10-13 12:16:52 [sEVERE] [ForgeModLoader] This version of FML is built for Minecraft missing, we have detected Minecraft 1.3.2 in your minecraft jar file

2012-10-13 12:16:52 [iNFO] [sTDOUT] A CRITICAL PROBLEM OCCURED INITIALIZING MINECRAFT - LIKELY YOU HAVE AN INCORRECT VERSION FOR THIS FML

2012-10-13 12:16:52 [iNFO] [sTDERR] Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

2012-10-13 12:16:52 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:175)

2012-10-13 12:16:52 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.FMLRelauncher.relaunchServer(FMLRelauncher.java:133)

2012-10-13 12:16:52 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:33)

2012-10-13 12:16:52 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1319)

2012-10-13 12:16:52 [iNFO] [sTDERR] Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

2012-10-13 12:16:52 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:253)

2012-10-13 12:16:52 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.FMLRelauncher.setupHome(FMLRelauncher.java:155)

2012-10-13 12:16:52 [iNFO] [sTDERR] ... 3 more

2012-10-13 12:16:52 [iNFO] [sTDERR] Caused by: java.lang.reflect.InvocationTargetException

2012-10-13 12:16:52 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2012-10-13 12:16:52 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

2012-10-13 12:16:52 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

2012-10-13 12:16:52 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Method.java:597)

2012-10-13 12:16:52 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchLibraryManager.handleLaunch(RelaunchLibraryManager.java:245)

2012-10-13 12:16:52 [iNFO] [sTDERR] ... 4 more

2012-10-13 12:16:52 [iNFO] [sTDERR] Caused by: cpw.mods.fml.common.LoaderException

2012-10-13 12:16:52 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.<init>(Loader.java:169)

2012-10-13 12:16:52 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.instance(Loader.java:144)

2012-10-13 12:16:52 [iNFO] [sTDERR] ... 9 more

 

 

so I guess that is a small step forward, right?

 

Lol yeah ;)

 

this time it looks like your FML is corrupted somehow - it's not getting any version numbers, so it's looking for minecraft version 'missing', but finds version '1.3.2', and then blows up. So try redownloading forge? Try using the latest recommended, and the latest latest...

Protip: try and find answers yourself before asking on the forum.

It's pretty likely that there is an answer.

 

Was I helpful? Give me a thank you!

 

 

width=635 height=903http://bit.ly/HZ03zy[/img]

 

 

Tired of waiting for mods to port to bukkit?

use BukkitForge! (now with a working version of WorldEdit!)

Posted

Lol yeah ;)

 

this time it looks like your FML is corrupted somehow - it's not getting any version numbers, so it's looking for minecraft version 'missing', but finds version '1.3.2', and then blows up. So try redownloading forge? Try using the latest recommended, and the latest latest...

 

So I asked my buddies to prepare the .jar on their side for me to use on the OSX side, and there were no issues using that.

Posted

The issue is that the stock archiving utility on Mac OS X 10.7.4 (and later or below) are only capable of handling .zip(as to my knowledge as a mac user) so you would have to go onto the App Store and download The Unarchiver, it is free and best of all supports unarchiving .jar files.

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

    • So, we have a 5 player server running the Hexxit modpack, with the sole addition of one extra mod, CustomNPCs. Something about CustomNPCs doesn't play nice with the server. Only three players are playing it, all of them have CustomNPCs installed in their own game files, and we have CustomNPCs installed in our server. We can all hold the tools and use the custom recipes added by the mod or by players using the NPC spawner tool. However, I'm the only one who can actually use them. If either other player uses them, they immediately crash and are booted off the server. I can make NPCs, the NPCs can detect them and attack them, all that, but they cannot see them, nor can they interact with them in any way. What could be causing this? I will add, as far as I know, I'm the only one to have run the modpack in single player as well as in multiplayer, I believe the other two have only run it in multiplayer for the server. Could this possibly be part of the problem? Any help would be appreciated.
    • Hello, Thank you so much for the suggestion, I will create a post.
    • You're using the wrong FACING property in Mechanism#getStateForPlacement, BlockStateProperties.FACING instead of Mechanism.FACING, HorizontalDirectionalBlock.FACING or BlockStateProperties.HORIZONTAL_FACING (which all refer to the same value). The former includes all six Direction values, the latter only includes the four horizontal values.
    • quiero que me digan como hago para instalar bien el java y forge nada mas hasta el momento lo hice pero java no ejecuta el forge   
    • Mod Idea: Server-Specific Mod Disabler & Anti-Cheat Helper Overview: This mod allows players to seamlessly play on Minecraft servers without worrying about banned or incompatible mods. It automatically disables specific mods based on the server's configuration, ensuring that players are only using allowed mods. Additionally, it provides a safeguard against hacking mods by instantly blocking them from being used, promoting fair gameplay on multiplayer servers. Key Features: 1. Server-Specific Mod Disabling: Automatic Mod Detection: The mod will automatically detect which mods are allowed or blocked on a particular server. Server Configurable Lists: Server admins can maintain a list of banned or whitelisted mods, which will be dynamically applied when a player joins. Player Customization: Players can choose whether the mod should automatically disable specific mods when joining servers, or allow them to be used based on the server's settings. 2. Anti-Cheat and Hack Protection: Instant Hack Detection: The mod will automatically identify and block known hacking mods when joining a server. If a player attempts to join with a hacking mod, the server can receive an alert, and the mod will prevent the player from joining until the mod is removed. Real-Time Monitoring: The mod will continuously monitor the player's mods while on the server, ensuring that no banned or suspicious mods are activated. 3. Community-Driven Mod Management: Custom Blocklists and Whitelists: Server admins can manage custom mod lists directly through a configuration file or via an in-game interface. These lists would allow mods to be either whitelisted, banned, or marked for temporary disabling. Integration with Modding Communities: The mod can gather mod compatibility reports from other players, sharing knowledge about which mods work together and which are problematic. 4. Player-Friendly Experience: Less Hassle for Players: With this mod, players no longer need to manually disable or enable mods when switching between servers. The mod takes care of everything for them. Seamless Gameplay: Players can freely switch between servers with different rules and mod requirements without worrying about compatibility issues or getting banned for using the wrong mods. 5. Open-Source and Extensible: Community Contributions: The mod will be open-source, allowing the Minecraft community to contribute by adding new features, bug fixes, and support for more mods. Customizable for Future Versions: The mod will be updated to support future Minecraft versions, ensuring long-term usability. Additional Ideas for Future Expansion: 1. Integration with Minecraft Servers (Optional): Server-Side Mod Configuration: In addition to client-side mod management, server owners can opt to install a server-side version of this mod, which can enforce mod restrictions for all players. Server Feedback System: When a mod is disabled, the server can automatically provide feedback to the player about why it was disabled and whether they need to install an alternative. 2. Donation and Support System: Monetization for Future Development: The mod could offer a donation-based system or a paid premium version with advanced features like real-time support or a larger mod compatibility database. Community Support: Players could report issues directly through the mod, ensuring faster resolutions and support from the mod development community. Benefits: 1. For Players: No Need for Constant Mod Configuration: Players no longer need to manually switch between different mod sets based on the server they join. Reduced Risk of Getting Banned: The mod automatically prevents the use of banned or incompatible mods, reducing the risk of being kicked or banned from servers. Hassle-Free Experience: The mod removes the need for players to learn about different server mod policies, providing a smoother experience overall. 2. For Server Owners: Simplified Server Management: Server admins no longer need to constantly monitor which mods players are using. The mod ensures players are only using compliant mods. Better Anti-Cheat Measures: Server owners can trust that hacking mods will be automatically blocked, improving server security. Easy Integration: With a simple configuration file, server owners can quickly set up their mod policies and get started. 3. For the Minecraft Community: Encourages Fair Play: The mod promotes fair gameplay by automatically preventing the use of cheating mods, ensuring a better multiplayer environment. Better Mod Compatibility: As the mod grows, it can help players and server owners discover which mods are compatible with others, making the modding ecosystem more reliable. Potential Challenges and Solutions: 1. Resistance from Players Using Hacking Mods: Solution: Allow server admins to configure a warning system where players can receive notifications about the mod being blocked before they are kicked. This gives them a chance to fix their setup. 2. Keeping Mod Lists Up-to-Date: Solution: Implement a community-driven reporting system where players and server owners can submit their mod lists, keeping the database current with new mods and changes in mod compatibility. 3. Cross-Platform Compatibility: Solution: Ensure that the mod is built to support both Java and Bedrock editions (if applicable) by using cross-platform modding tools and making the mod adaptable to both versions. Conclusion: This mod has the potential to significantly improve the Minecraft multiplayer experience by making it easier for players to manage mods and preventing hacks from ruining gameplay. By focusing on server-specific mod management and providing automated protection from cheating mods, this mod could change how Minecraft servers handle modding and create a safer, more enjoyable experience for everyone involved.
  • Topics

  • Who's Online (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

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