Jump to content

Yesurbius

Members
  • Posts

    3
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Yesurbius's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Tested on Oracle Linux 6.4 and Ubuntu 12.10 Use at own Risk --------------------------------------------------------- You could technically copy this bash script into an empty directory, run it - and wind up ready to launch. #!/bin/sh ### This Script attempts to update Minecraft to the latest version of Forge and Minecraft ### Its meant to simplify the process - not to be run as a cron job. ### If you supply a minecraft version number on the command line, it will download that version ### instead of the latest. This is necessary when a new version comes out but there is no ### corresponding forge # Check if there is a Java Process with forge running. # If so, get its Process ID and send a hangup signal to it. PROCESSID=`ps a | grep "java[\ A-Za-z0-9-]*forge\.jar" | cut -b 1-5` if [ -n "${PROCESSID}" ] then echo "Sending Minecraft Server a HUP" kill -HUP ${PROCESSID} fi # Contact Minecraft and Forge websites, extract out the download path of each of the files # Put everything into Variables to use later WGET="wget -q --no-check-certificate" MINECRAFT_DL=`${WGET} -O - https://minecraft.net/download | grep -o "https://[A-Za-z0-9\._/~%\-\+\#\?!=\(\)@]*minecraft_server\.[[:digit:]]\.[0-9]*\.[0-9]*\.jar"` LATEST_VERSION=`echo ${MINECRAFT_DL} | grep -o "[[:digit:]]\.[0-9]*\.[0-9]" | head -n 1` if [ -n "$1" ] then MINECRAFT_DL=`echo ${MINECRAFT_DL} | sed s/${LATEST_VERSION}/${1}/g` fi MINECRAFT_FILE=`echo ${MINECRAFT_DL} | grep -o "minecraft_server[\.0-9]*\.jar"` FORGE_DL=`${WGET} -O - http://files.minecraftforge.net/minecraftforge/ | grep -o "http://[A-Za-z0-9\._/-]*minecraftforge-universal-[0-9\.-]*\.jar" | head -n 1` FORGEINSTALLER_DL=`${WGET} -O - http://files.minecraftforge.net/minecraftforge/ | grep -o "http://[A-Za-z0-9\._/-]*minecraftforge-installer-[0-9\.-]*\.jar" | head -n 1` FORGE_FILE=`echo ${FORGE_DL} | grep -o "minecraftforge-universal-[0-9\.-]*\.jar"` INSTALLER_FILE=`echo ${FORGEINSTALLER_DL} | grep -o "minecraftforge-installer-[0-9\.-]*\.jar"` echo "--------------------------------------------" echo "LATEST MINECRAFT VERSION: ${LATEST_VERSION}" echo "MINECRAFT_DL: ${MINECRAFT_DL}" echo "FORGE_DL: ${FORGE_DL}" echo "INSTALLER_DL: ${FORGEINSTALLER_DL}" echo "FORGE_FILE: ${FORGE_FILE}" echo "INSTALLER: ${INSTALLER_FILE}" echo "--------------------------------------------" echo -n echo "Removing Old Files ..." rm -f minecraft_server*.ja* rm -f minecraftforge-universal*.ja* rm -f minecraftforge-installer*.ja* rm minecraft_server.jar rm forge.jar rm -rf ./libraries echo "Downloading Minecraft: ${MINECRAFT_FILE}" ${WGET} $MINECRAFT_DL echo "Downloading Forge: ${FORGE_FILE}" # Do an Adf.ly request using Forge's ID so they don't get ripped off with us bypassing it ${WGET} -O - http://adf.ly/673885/${FORGE_DL} > adf.ly ${WGET} $FORGE_DL echo "Downloading Forge Installer: ${INSTALLER_FILE}" ${WGET} $FORGEINSTALLER_DL echo -n echo "Running Installer (Extracting Libraries) ..." java -jar ${INSTALLER_FILE} --installServer > forgeinstaller.log rm ${INSTALLER_FILE} echo "Setting up Symbolic Links" ln -s $MINECRAFT_FILE minecraft_server.jar ln -s $FORGE_FILE forge.jar Enjoy!
  2. Yeah - When I said "that specific error went away" - it was because I was getting another error in its place which I mistook for progress. I'm back (on a fresh install) to getting the same error as you. Here's my ForgeModLoader-server-0 pastebin: http://pastebin.com/BRitrvcX 1. Cleared Out Directory on Server 2. Downloaded latest minecraft_server.1.6.2.jar from minecraft website - saved on server. 3. Downloaded latest universal forge from this site - saved on server 4. Cleared Out .minecraft folder on client 5. Downloaded and installed latest 1.6.2 from Majong servers - ran it once. 6. Downloaded and installed latest forge installer from this site and installed client - ran it once 7. Copied libraries subfolder from client to server 8. java -jar minecraftforge-universal-1.6.2-9.10.0.779.jar 9. Got error Checksums (sha1sum) 01b6ea555c6978e6713e2a2dfd7fe19b1449ca54 minecraft_server.1.6.2.jar 39b82a387af3b5f525bdb5efc3d07d91cea65616 minecraftforge-universal-1.6.2-9.10.0.779.jar 80fe2fdebd54aa842a7e83561fb17391e41f91f8 libraries.tar (tarball of the libraries folder)
  3. I was getting that error - the libraries subfolder was from the previous client version. I updated that and the specific error went away.
×
×
  • Create New...

Important Information

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