rilaf wrote:Ok, so since we don't know how long we'll have to use our "fix" to load Ender's client I smashed up some of what I am sure is terrible BASH code to load my client a little easier. I figured I had best share it with my fellow Linux users. This may work on MAC I'm not sure I thought people only used those to draw pictures but apparently not.
This script requires me to click play on the web-site. I then save the file in my Downloads folder (default for me). I then double click my run.sh and walla Ender's opens up and logs me in. I also have the script set to remove the autohaven file so I can then logout and log back in to the web-site as my alt and immediately download an autohaven file without Firefox renaming it to autohaven(1) for me.
The only thing you should have to do is add the path to where you save your autohaven file when you click Play on the web-site.
Without further ado this is what my HnH start-up script now contains (the spaces in the sed commands are important):
- Code: Select all
#!/bin/bash
export LD_LIBRARY_PATH=/usr/lib/jvm/java-6-sun/lib/
DOWNLOAD=~/Downloads
AUTHUSER=`grep "haven.authuser" $DOWNLOAD/autohaven | sed s/" <property name=\"haven.authuser\" value=\""// | sed s/"\" \/>"//`
AUTHCK=`grep "haven.authck" $DOWNLOAD/autohaven | sed s/" <property name=\"haven.authck\" value=\""// | sed s/"\" \/>"//`
java -Xms384m -Xmx384m -Dhaven.authuser=$AUTHUSER -Dhaven.authck=$AUTHCK -jar haven.jar moltke.seatribe.se -r ./res
rm -rf $DOWNLOAD/autohaven
Does this work on windows 7? If not, can you make one for windows 7? Also, I tried the one with the authck and authuser, but after it said connecting the ender window would go black and then close.