Ender Client

Forum for alternative clients, mods & discussions on the same.
Kamekono
Posts: 227
Joined: Sat Jan 07, 2012 5:36 pm

Re: Ender Client

Post by Kamekono »

iamahh wrote:I think for java command you'll need

Code: Select all

java -Xms512m -Xmx1024m -jar hafen.jar -U http://game.havenandhearth.com/res/ game.havenandhearth.com
If I use that, I get the following:
Exception in thread "Haven main thread" java.lang.UnsatisfiedLinkError: Can't load library: /Users/Bob/Desktop/Haven/natives/macosx-universal//gluegen_rt
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1820)
at java.lang.Runtime.load0(Runtime.java:810)
at java.lang.System.load(System.java:1086)
at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:625)
at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:64)
at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:107)
at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.java:488)
at com.jogamp.common.os.DynamicLibraryBundle$GlueJNILibLoader.loadLibrary(DynamicLibraryBundle.java:427)
at com.jogamp.common.os.Platform$1.run(Platform.java:321)
at java.security.AccessController.doPrivileged(Native Method)
at com.jogamp.common.os.Platform.<clinit>(Platform.java:290)
at com.jogamp.opengl.GLProfile.<clinit>(GLProfile.java:154)
at haven.JOGLPanel.mkcaps(JOGLPanel.java:73)
at haven.JOGLPanel.<init>(JOGLPanel.java:93)
at haven.MainFrame.<init>(MainFrame.java:173)
at haven.MainFrame.main2(MainFrame.java:445)
at haven.MainFrame.lambda$main$0(MainFrame.java:481)
at java.lang.Thread.run(Thread.java:748)
Last edited by Kamekono on Mon Mar 22, 2021 3:31 am, edited 1 time in total.
iamahh
Posts: 1806
Joined: Sat Dec 12, 2015 8:23 pm

Re: Ender Client

Post by iamahh »

seems it's not finding the libraries

in my case, I'm using Linux, running from this folder:
Image

maybe it's just a case of running from the right folder? check where those libraries are and run from there
Kamekono
Posts: 227
Joined: Sat Jan 07, 2012 5:36 pm

Re: Ender Client

Post by Kamekono »

Ok I got one step further. I replaced the command with:

Code: Select all

java -Xms512m -Xmx1024m -jar updater-hafen.jar -U http://game.havenandhearth.com/res/ game.havenandhearth.com
By launching the updater this way, it did download the files in the folder.

I launched it again with the same command, and now it opens a new window "Hafen (modified by Ender v16.03.2021 17:13)".
The problem now is that the window is fully white, and seems to be frozen. The system reports it as "Application Not Responding" if I try to close it.

Any clue?
iamahh
Posts: 1806
Joined: Sat Dec 12, 2015 8:23 pm

Re: Ender Client

Post by iamahh »

I have no idea, guess I'd try to run the default client just to be sure where is the problem... takes a while to download but you could see if it's the same problem
mesqalin
Posts: 7
Joined: Sat Mar 31, 2018 11:07 pm

Re: Ender Client

Post by mesqalin »

Kamekono wrote:Hi, I'm trying to run this on Mac OS X (Big Sur 11.2.3) but it doesn't seem to work.
I just downloaded the updater and launched it. It opens a new window, where it says it's downloading a bunch of files (list posted below). Once it's done, the window closes and nothing else happens. No new files can be found in the updater's folder.
I've tried the beta version too, same thing.
What am I missing? Do I need to download something else before launching the updater?

*I also just downloaded the latest Java version available to date*
"OS: 'Mac OS X', arch: 'x86_64'
Checking for updates...
Updates found for 'jogl-natives-macosx-universal.jar'
Updates found for 'gluegen-rt-natives-macosx-universal.jar'
Updates found for 'jogl.jar'
Updates found for 'gluegen-rt.jar'
Updates found for 'hafen-res.jar'
Updates found for 'builtin-res.jar'
Updates found for 'hafen.jar'
Updates found for 'client-res.jar'
Downloading 'jogl-natives-macosx-universal.jar'
Downloading 'gluegen-rt-natives-macosx-universal.jar'
Downloading 'jogl.jar'
Downloading 'gluegen-rt.jar'
Downloading 'hafen-res.jar'
Downloading 'builtin-res.jar'
Downloading 'hafen.jar'
Downloading 'client-res.jar'"
I have exactly the same problem please write here if u find a fix!
mesqalin
Posts: 7
Joined: Sat Mar 31, 2018 11:07 pm

Re: Ender Client

Post by mesqalin »

Kamekono wrote:Ok I got one step further. I replaced the command with:

Code: Select all

java -Xms512m -Xmx1024m -jar updater-hafen.jar -U http://game.havenandhearth.com/res/ game.havenandhearth.com
By launching the updater this way, it did download the files in the folder.

I launched it again with the same command, and now it opens a new window "Hafen (modified by Ender v16.03.2021 17:13)".
The problem now is that the window is fully white, and seems to be frozen. The system reports it as "Application Not Responding" if I try to close it.

Any clue?
When i try this at terminal it says unable to access jarfile hafen.jar
mesqalin
Posts: 7
Joined: Sat Mar 31, 2018 11:07 pm

Re: Ender Client

Post by mesqalin »

I also tried to change file location many times to different places like program folders desktop etc i thought maybe it doesnt load the files because its some permission thing but none of it worked :(
Kamekono
Posts: 227
Joined: Sat Jan 07, 2012 5:36 pm

Re: Ender Client

Post by Kamekono »

- deleted -
Last edited by Kamekono on Wed Mar 17, 2021 9:10 pm, edited 1 time in total.
Kamekono
Posts: 227
Joined: Sat Jan 07, 2012 5:36 pm

Re: Ender Client

Post by Kamekono »

iamahh wrote:I have no idea, guess I'd try to run the default client just to be sure where is the problem... takes a while to download but you could see if it's the same problem
Default client does the same thing. It worked once, then when I tried again I only got the white window...
mesqalin wrote:
Kamekono wrote:Ok I got one step further. I replaced the command with:

Code: Select all

java -Xms512m -Xmx1024m -jar updater-hafen.jar -U http://game.havenandhearth.com/res/ game.havenandhearth.com
By launching the updater this way, it did download the files in the folder.

I launched it again with the same command, and now it opens a new window "Hafen (modified by Ender v16.03.2021 17:13)".
The problem now is that the window is fully white, and seems to be frozen. The system reports it as "Application Not Responding" if I try to close it.

Any clue?
When i try this at terminal it says unable to access jarfile hafen.jar
That's because you are not in the right folder with the terminal. For example, if the file was on your desktop, you would have to first write "cd desktop" and then use the other command.
Alternus
Posts: 5
Joined: Mon Dec 11, 2017 11:28 am

Re: Ender Client

Post by Alternus »

Been 4 years since i played so I may have forgotten a thing or two about custom client setup.
Ran the default client fine, but cant seem to run my extracted run.bat or hafen.jar successfully without the following occurring after I choose one of my existing characters.

.4fd663c7
Windows 7 6.1 x64, 1.8.0_271 amd64
ATI Technologies Inc. (AMD Radeon (TM) R9 380 Series) - 4.4.14757 Compatibility Profile Context 0

haven.Message$FormatError: Malformed z-blob
at haven.ZMessage.underflow(ZMessage.java:80)
at haven.Message.rensure(Message.java:102)
at haven.Message.rget(Message.java:108)
at haven.Message.int64(Message.java:148)
at haven.MCache$Grid.fill(MCache.java:393)
at haven.MCache.mapdata2(MCache.java:625)
at haven.MCache.mapdata(MCache.java:661)
at haven.Session$RWorker.run(Session.java:411)
Caused by: java.util.zip.DataFormatException: incorrect header check
at java.util.zip.Inflater.inflateBytes(Native Method)
at java.util.zip.Inflater.inflate(Unknown Source)
at haven.ZMessage.underflow(ZMessage.java:58)
... 7 more

Return to “The Wizards' Tower”