Ender Client

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

Re: Ender Client

Postby EnderWiggin » Sat Sep 05, 2015 10:53 pm

painhertz wrote:Is there a scalable mini map yet?
not yet
User avatar
EnderWiggin
 
Posts: 1154
Joined: Sat Mar 20, 2010 8:23 pm

Re: Ender Client

Postby NeoBasilisk » Sun Sep 06, 2015 3:11 am

Am I doing something wrong when running this? I try to run updater-hafen.jar with the Java binary (javaw.exe), and I get a window that looks like this, and then it just closes and nothing happens. No files appear in the directory.
ender.png


Is there a certain command line instruction I should run?
You do not have the required permissions to view the files attached to this post.
NeoBasilisk
 
Posts: 579
Joined: Thu Jun 06, 2013 12:48 am

Re: Ender Client

Postby TheKrush » Sun Sep 06, 2015 3:17 am

NeoBasilisk wrote:Am I doing something wrong when running this? I try to run updater-hafen.jar with the Java binary (javaw.exe), and I get a window that looks like this, and then it just closes and nothing happens. No files appear in the directory.
ender.png


Is there a certain command line instruction I should run?

The server/game was completely down making his updater fail to retrieve needed files, it should be working now.
TheKrush
 
Posts: 121
Joined: Sat Aug 29, 2015 3:52 am

Re: Ender Client

Postby TheKrush » Sun Sep 06, 2015 3:19 am

Ender I've been working on a fork of your code and I'm pretty sure you need to update your CFG.java with this code

Code: Select all
      Map<String, Object> tmp = new HashMap<String, Object>();
      try {
         Type type = new TypeToken<Map<Object, Object>>() {
         }.getType();
         String json = Config.loadFile(CONFIG_JSON);
         if (json != null) {
            tmp = gson.fromJson(json, type);
         }
      } catch (Exception e) {
      }
      cfg = tmp;


For cases where the file doesn't actually exist without the if check it doesn't throw an exception, thus cfg is never created and saving doesn't work.
TheKrush
 
Posts: 121
Joined: Sat Aug 29, 2015 3:52 am

Re: Ender Client

Postby AryaStark » Sun Sep 06, 2015 3:21 am

Thanks again for what you do : )
User avatar
AryaStark
 
Posts: 43
Joined: Fri Sep 19, 2014 8:55 pm
Location: Secluded Island

Re: Ender Client

Postby NeoBasilisk » Sun Sep 06, 2015 3:26 am

TheKrush wrote:
NeoBasilisk wrote:Am I doing something wrong when running this? I try to run updater-hafen.jar with the Java binary (javaw.exe), and I get a window that looks like this, and then it just closes and nothing happens. No files appear in the directory.
ender.png


Is there a certain command line instruction I should run?

The server/game was completely down making his updater fail to retrieve needed files, it should be working now.

Thanks for the idea, but it's still not downloading any files into the directory. There are several more lines of output that appear in the window, but it closes so quickly that I can't read them let alone screenshot them.
NeoBasilisk
 
Posts: 579
Joined: Thu Jun 06, 2013 12:48 am

Re: Ender Client

Postby NeoBasilisk » Sun Sep 06, 2015 3:34 am

Since the updater isn't working for me, I tried just downloading the hafen.jar file from GitHub and running that directly, but I may not be using the correct parameters or might be doing something else wrong, because I get the following message:

---------------------------
Java Virtual Machine Launcher
---------------------------
Error: A JNI error has occurred, please check your installation and try again
---------------------------
OK
---------------------------
NeoBasilisk
 
Posts: 579
Joined: Thu Jun 06, 2013 12:48 am

Re: Ender Client

Postby NeoBasilisk » Sun Sep 06, 2015 3:46 am

Just to clarify, I should be able to run the updater in a completely empty directory, and it is supposed to download all necessary files into that directory, correct?
NeoBasilisk
 
Posts: 579
Joined: Thu Jun 06, 2013 12:48 am

Re: Ender Client

Postby g1real » Sun Sep 06, 2015 6:00 am

Apparently you don't store minimap tiles duplicate or something? I can't stitch a lot of maps together with salem's map tool because they're not double in different sessions.
Last edited by g1real on Sun Sep 06, 2015 6:12 am, edited 1 time in total.
loftar: The inner chaos of the Jorbian mind is hard to conceal. :)
jorb: It's called creative license. You know, that thing you seem to want to apply to logic, grammar and coherence? :)
User avatar
g1real
 
Posts: 881
Joined: Sun Aug 09, 2009 10:30 am
Location: You are now breathing manually.

Re: Ender Client

Postby TheKrush » Sun Sep 06, 2015 6:01 am

NeoBasilisk wrote:Just to clarify, I should be able to run the updater in a completely empty directory, and it is supposed to download all necessary files into that directory, correct?

Actually looking at his code more I think the issue is his updater doesn't compare file sizes, so if a download fails halfway it just assumes that file is up-to-date. If you try running it in a new folder (no other files) it should acquire everything.
TheKrush
 
Posts: 121
Joined: Sat Aug 29, 2015 3:52 am

PreviousNext

Return to The Wizards' Tower

Who is online

Users browsing this forum: Claude [Bot] and 110 guests