Ender's Client Launcher (Windows Connection Fix)

Forum for alternative clients, mods & discussions on the same.

Moderator: Phades

Ender's Client Launcher (Windows Connection Fix)

Postby Faerdan » Sat Sep 03, 2011 11:23 pm

Hi guys.

This launcher is now obsolete.

I've a completely new launcher which bypasses the need to login to the website or download an autohaven file.


More info here.



Hi guys,

I've created a launcher which reads the autohaven.jnlp and uses it to load Ender's client. This bypasses the master server, which allows you to connect using Ender's client.

This software was made possible by xXGhostxX's post How to fix Enders Connection Problem.


Update:
I've added a config file "AutohavenLauncher.ini" which allows you to set a custom command line for the client and a custom Java path (required if you're using Ender's 64 bit client or have a custom path).
It also allows you to set the path to your autohaven file. So if you always download to the same folder (such as your Downloads folder) then enter the full path to it there and it'll load from that by default.
See AutohavenLauncher.ini for details.


It's very simple to use:
  1. Download the zip file here. It contains the launcher "AutohavenLauncher.exe" and the source "AutohavenLauncher.au3".
  2. Extract the files to the Ender client folder (where run.bat is located).
  3. Each time you want to log in download the autohaven.jnlp file from the H&H site by clicking Play.
  4. Use one of these methods to launch Ender's client:
    1. Run the AutohavenLauncher.exe file and select the autohaven file.
    2. Drag the autohaven file onto AutohavenLauncher.exe.
    3. If you want to run Ender's client by running (clicking on) autohaven.jnlp (you may have to add the .jnlp if it has been removed) then right click on autohaven.jnlp, choose "Open with..." > "Default Program" and browse to the AutohavenLauncher.exe file. Now when you run autohaven.jnlp it'll launch Ender's client.

That's it, the client should now load and connect. The autohaven file will be removed to avoid duplicates,


Notes:
  • The launcher tries to find Java (32 bit) for you. If it fails or you're using Ender's 64 bit client then enter your Java path in AutohavenLauncher.ini.
  • I used AutoIt Script to create a launcher, the source is included for those who'd like to compile it themselves.

Changelog:
  • 004: Added AutohavenLauncher.ini config file with the following options: "CommandLine", "JavaPath" and "AutohavenPath".
  • 003: Fixed issue where 64 bit Java was being detected over 32 bit. Also the launcher now generates a "RunAutohaven.bat" file which contains the generated command line (for testing purposes).
  • 002: Some minor tweaks, mainly geting rid of the *.jnlp filter in the file search as FireFox removes the extension and deleting the autohaven file after the client is loaded to avoid duplicates.
  • 001: Initial version.
Last edited by Faerdan on Mon Sep 05, 2011 12:56 am, edited 9 times in total.
Faerdan
 
Posts: 30
Joined: Tue Aug 23, 2011 5:19 pm

Re: Ender's Client Launcher (Connection Fix)

Postby EndlessChaoz » Sun Sep 04, 2011 12:50 am

This helped solve the problem for me. Thank you very much for posting this. :D
Image
EndlessChaoz
 
Posts: 1
Joined: Sun Aug 28, 2011 4:43 am

Re: Ender's Client Launcher (Connection Fix)

Postby lawton » Sun Sep 04, 2011 2:15 am

This still does not fix the problem I have :(
lawton
 
Posts: 228
Joined: Sun Jan 16, 2011 10:11 pm

Re: Ender's Client Launcher (Connection Fix)

Postby Faerdan » Sun Sep 04, 2011 2:50 am

lawton wrote:This still does not fix the problem I have :(


What's that?
Faerdan
 
Posts: 30
Joined: Tue Aug 23, 2011 5:19 pm

Re: Ender's Client Launcher (Connection Fix)

Postby jfrleao » Sun Sep 04, 2011 3:14 am

it gives me an error: File not found
jfrleao
 
Posts: 13
Joined: Sun Jul 10, 2011 9:19 pm

Re: Ender's Client Launcher (Connection Fix)

Postby M_So » Sun Sep 04, 2011 4:08 am

jfrleao wrote:it gives me an error: File not found

try running the .exe and finding the autohaven file that way (aka plan A), I got that message when I tried dragging autohaven file onto AutohavenLauncher.exe (aka plan B)

thanks for the program works great. :D
User avatar
M_So
 
Posts: 229
Joined: Sun May 08, 2011 10:50 pm

Re: Ender's Client Launcher (Connection Fix)

Postby jfrleao » Sun Sep 04, 2011 4:25 am

still doesnt work just tries to open a black box apears for less than a second (writes something) and nothing hapens, but no error now.
jfrleao
 
Posts: 13
Joined: Sun Jul 10, 2011 9:19 pm

Re: Ender's Client Launcher (Connection Fix)

Postby lawton » Sun Sep 04, 2011 4:47 am

Faerdan wrote:
lawton wrote:This still does not fix the problem I have :(


What's that?

lawton wrote:It's not working for me.

I've had a problem with enders since day 1, I'd open like 4 clients at a time, and about 2 or 3 would be 'Not responding' while the others were. It was kind of gambling I guess.

Now it happens still, but will only give me responding clients once the Auth code expires. If I get a fix for this problem I will love you forever.
lawton
 
Posts: 228
Joined: Sun Jan 16, 2011 10:11 pm

Re: Ender's Client Launcher (Connection Fix)

Postby jfrleao » Sun Sep 04, 2011 6:41 am

for me only worked with enders 32 and just directly selecting the autohaven file, thanks.
jfrleao
 
Posts: 13
Joined: Sun Jul 10, 2011 9:19 pm

Re: Ender's Client Launcher (Connection Fix)

Postby Faerdan » Sun Sep 04, 2011 7:25 am

Ah yes, I'm using Ender's 32 bit so I haven't tested it with 64 bit.

If people want I can add a config file where you can enter the Java location and command line options?

For people getting the "File not found" error: Try running the launcher directly, selecting the file in the open dialog. You can also try right click and "Run as Administrator".

[Edit] I've added a AutohavenLauncher.ini config file, see my post above.
Last edited by Faerdan on Sun Sep 04, 2011 8:05 am, edited 1 time in total.
Faerdan
 
Posts: 30
Joined: Tue Aug 23, 2011 5:19 pm

Next

Return to The Wizards' Tower

Who is online

Users browsing this forum: No registered users and 8 guests