Ender Client

Forum for alternative clients, mods & discussions on the same.
NeoBasilisk
Posts: 579
Joined: Thu Jun 06, 2013 12:48 am

Re: Ender Client

Post by NeoBasilisk »

TheKrush wrote:
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.

I have an empty directory.
Image

I run update-hafen.jar and I get this output.
Image

The output window automatically closes. I still have an empty directory
Image

halp
User avatar
EnderWiggin
Posts: 1156
Joined: Sat Mar 20, 2010 8:23 pm

Re: Ender Client

Post by EnderWiggin »

TheKrush wrote: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
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.
Well, it won't crash if file is absent - it will create new one. But it will crash if file cannot be created. So only time options are not going to save is when config file cannot be created. But it indeed needs fixing.

NeoBasilisk wrote:The output window automatically closes. I still have an empty directory
Image

halp
You are running it from program files - which is protected folder. So without admin rights updater can't put files there. Try to create folder inside you user home directory and run updater from there. Another issue might be Comodo Firewall - it has some Auto-Sanbox settings that make updater download fioles into some hidden folder. But client usually runs fine in this case, you just can't locate files.
NeoBasilisk
Posts: 579
Joined: Thu Jun 06, 2013 12:48 am

Re: Ender Client

Post by NeoBasilisk »

EnderWiggin wrote:
TheKrush wrote: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
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.
Well, it won't crash if file is absent - it will create new one. But it will crash if file cannot be created. So only time options are not going to save is when config file cannot be created. But it indeed needs fixing.

NeoBasilisk wrote:The output window automatically closes. I still have an empty directory
Image

halp
You are running it from program files - which is protected folder. So without admin rights updater can't put files there. Try to create folder inside you user home directory and run updater from there. Another issue might be Comodo Firewall - it has some Auto-Sanbox settings that make updater download fioles into some hidden folder. But client usually runs fine in this case, you just can't locate files.


That Program Files directory was actually completely artificially created by me. It is a data drive, and WIndows is installed on a completely different drive, so there should be no admin rights issue. However, I did try running the updater in a location under my user directory, and it still didn't work. I don't have Comodo Firewall, but I do have Windows Firewall active. What would you suggest?
TheKrush
Posts: 121
Joined: Sat Aug 29, 2015 3:52 am

Re: Ender Client

Post by TheKrush »

EnderWiggin wrote:
TheKrush wrote: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
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.
Well, it won't crash if file is absent - it will create new one. But it will crash if file cannot be created. So only time options are not going to save is when config file cannot be created. But it indeed needs fixing.

Well for me CFG cfg was ending up as null after the client started (at least in my fork) so I had to add code to check for null from loadFile so it'd leave it init'd with a default value.
wolf1000wolf
Posts: 635
Joined: Sun Dec 26, 2010 6:10 am

Re: Ender Client

Post by wolf1000wolf »

What's the command to auto pick up all similar items on the ground?

It's shift+right click in the normal client.. but that doesn't work here.
NeoBasilisk
Posts: 579
Joined: Thu Jun 06, 2013 12:48 am

Re: Ender Client

Post by NeoBasilisk »

Is there any way to manually configure this since the updater isn't working for me and there doesn't appear to be a solution?
waga
Posts: 620
Joined: Fri Apr 20, 2012 10:07 pm

Re: Ender Client

Post by waga »

copy update-haven somewhere else
copy paste your new files in your ender folder
success
NeoBasilisk
Posts: 579
Joined: Thu Jun 06, 2013 12:48 am

Re: Ender Client

Post by NeoBasilisk »

waga wrote:copy update-haven somewhere else
copy paste your new files in your ender folder
success

where do I get these "new files"
Drevar
Posts: 201
Joined: Mon Aug 16, 2010 9:38 pm

Re: Ender Client

Post by Drevar »

Could we get the simulated UO-style move toward cursor on LMB that bdew added in his final update? If yes, may also want to check with jorbtar to see what an acceptable frequency of move requests would be.

Would also like to request UI elements' locations be persistent across sessions, ie window positions saved and loaded so you don't have to rearrange them every time you log in.
waga
Posts: 620
Joined: Fri Apr 20, 2012 10:07 pm

Re: Ender Client

Post by waga »

NeoBasilisk wrote:
waga wrote:copy update-haven somewhere else
copy paste your new files in your ender folder
success

where do I get these "new files"

when you click update-haven it generates some files
this solution was given earlier in this thread btw

edit to clarify : it generates the files if they don't exist in the folder where is "update-haven"
So you create a new folder , copy update-haven in your new folder.
At this point you only have update-haven in your folder.
You click update-haven , new files are created.
You copy all the files from your new folder ( even update-haven) into the ender folder.
It should work now.

Return to “The Wizards' Tower”