Ender Client

Forum for alternative clients, mods & discussions on the same.
User avatar
EnderWiggin
Posts: 1156
Joined: Sat Mar 20, 2010 8:23 pm

Re: Ender Client

Post by EnderWiggin »

painhertz wrote:Is there a scalable mini map yet?
not yet
NeoBasilisk
Posts: 579
Joined: Thu Jun 06, 2013 12:48 am

Re: Ender Client

Post by NeoBasilisk »

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.
TheKrush
Posts: 121
Joined: Sat Aug 29, 2015 3:52 am

Re: Ender Client

Post by TheKrush »

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

Post by TheKrush »

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.
User avatar
AryaStark
Posts: 43
Joined: Fri Sep 19, 2014 8:55 pm
Location: Secluded Island

Re: Ender Client

Post by AryaStark »

Thanks again for what you do : )
NeoBasilisk
Posts: 579
Joined: Thu Jun 06, 2013 12:48 am

Re: Ender Client

Post by NeoBasilisk »

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

Post by NeoBasilisk »

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

Post by NeoBasilisk »

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?
User avatar
g1real
Posts: 881
Joined: Sun Aug 09, 2009 10:30 am
Location: You are now breathing manually.

Re: Ender Client

Post by g1real »

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? :)
TheKrush
Posts: 121
Joined: Sat Aug 29, 2015 3:52 am

Re: Ender Client

Post by TheKrush »

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.

Return to “The Wizards' Tower”