Ender Client

Forum for alternative clients, mods & discussions on the same.
xyzzy57
Posts: 200
Joined: Thu Aug 19, 2021 9:41 pm

Re: Ender Client

Post by xyzzy57 »

New errors, while fishing. I had just caught a roach and then a carp, as verified with the default client. (Both were "discoveries" for this hearthling, but given the message, the issue was the carp, and nothing to do with the discovery.)

Code: Select all

java.lang.RuntimeException: Delayed error in resource gfx/invobjs/fish-carp (v1), from forking source backed by HTTP res source (https://www.havenandhearth.com/res/)
	at haven.Resource$Pool$Queued.get(Resource.java:456)
	at haven.Resource$Pool$Queued.get(Resource.java:424)
	at haven.Session$CachedRes$Ref.get(Session.java:140)
	at haven.Session$CachedRes$Ref.get(Session.java:133)
	at haven.GItem.spr(GItem.java:161)
	at haven.GItem.tick(GItem.java:177)
	at haven.Widget.tick(Widget.java:760)
	at haven.Widget.tick(Widget.java:760)
	at haven.ExtInventory.tick(ExtInventory.java:275)
	at haven.Widget.tick(Widget.java:760)
	at haven.Widget.tick(Widget.java:760)
	at haven.GameUI.tick(GameUI.java:1378)
	at haven.Widget.tick(Widget.java:760)
	at haven.UI.tick(UI.java:223)
	at haven.JOGLPanel.run(JOGLPanel.java:541)
	at java.lang.Thread.run(Thread.java:748)
Caused by: haven.Resource$LoadException: Load error in resource gfx/invobjs/fish-carp(v1), from forking source backed by HTTP res source (https://www.havenandhearth.com/res/)
	at haven.Resource$Pool.handle(Resource.java:517)
	at haven.Resource$Pool.access$1200(Resource.java:401)
	at haven.Resource$Pool$Loader.run(Resource.java:653)
	... 1 more
	Suppressed: haven.Resource$LoadException: Load error in resource gfx/invobjs/fish-carp(v1), from cache source backed by HashDirCache(http://game.havenandhearth.com/render/)
		... 4 more
		Suppressed: haven.Resource$LoadException: Load error in resource gfx/invobjs/fish-carp(v1), from local res source (res-preload)
			... 4 more
			Suppressed: haven.Resource$LoadException: Load error in resource gfx/invobjs/fish-carp(v1), from 'custom' jar source
				... 4 more
				Suppressed: haven.Resource$LoadException: Load error in resource gfx/invobjs/fish-carp(v1), from local res source (res)
					... 4 more
					Suppressed: haven.Resource$LoadException: Load error in resource gfx/invobjs/fish-carp(v1), from filesystem res source (/private/var/folders/zk/926c34c13hg6y_y5gyvp7hy40000gn/T/hsperfdata_arlie/res)
						... 4 more
					Caused by: java.io.FileNotFoundException: gfx/invobjs/fish-carp
						at haven.Resource$FileSource.get(Resource.java:269)
						at haven.Resource$Pool.handle(Resource.java:501)
						... 3 more
					Caused by: java.nio.file.NoSuchFileException: /private/var/folders/zk/926c34c13hg6y_y5gyvp7hy40000gn/T/hsperfdata_arlie/res/gfx/invobjs/fish-carp.res
						at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
						at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
						at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
						at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
						at java.nio.file.Files.newByteChannel(Files.java:361)
						at java.nio.file.Files.newByteChannel(Files.java:407)
						at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384)
						at java.nio.file.Files.newInputStream(Files.java:152)
						at haven.Resource$FileSource.get(Resource.java:267)
						... 4 more
				Caused by: java.io.FileNotFoundException: Could not find resource locally: /res/gfx/invobjs/fish-carp.res
					at haven.Resource$JarSource.get(Resource.java:289)
					at haven.Resource$Pool.handle(Resource.java:501)
					... 3 more
			Caused by: java.io.FileNotFoundException: Could not find resource locally: /customized-remote/gfx/invobjs/fish-carp.res
				at haven.Resource$JarSource.get(Resource.java:289)
				at haven.Resource$CustomizedJarSource.get(Resource.java:307)
				at haven.Resource$Pool.handle(Resource.java:501)
				... 3 more
		Caused by: java.io.FileNotFoundException: Could not find resource locally: /res-preload/gfx/invobjs/fish-carp.res
			at haven.Resource$JarSource.get(Resource.java:289)
			at haven.Resource$Pool.handle(Resource.java:501)
			... 3 more
	Caused by: java.io.FileNotFoundException: res/gfx/invobjs/fish-carp
		at haven.HashDirCache.fetch(HashDirCache.java:389)
		at haven.Resource$CacheSource.get(Resource.java:232)
		at haven.Resource$Pool.handle(Resource.java:501)
		... 3 more
Caused by: haven.StreamMessage$IOError: java.io.IOException: already retried 7 times
	at haven.StreamMessage.underflow(StreamMessage.java:71)
	at haven.Message.rensure(Message.java:98)
	at haven.Message.bytes(Message.java:171)
	at haven.Resource.load(Resource.java:1626)
	at haven.Resource.access$700(Resource.java:41)
	at haven.Resource$Pool.handle(Resource.java:505)
	... 3 more
Caused by: java.io.IOException: already retried 7 times
	at haven.RetryingInputStream.retry(RetryingInputStream.java:54)
	at haven.RetryingInputStream.get(RetryingInputStream.java:70)
	at haven.RetryingInputStream.read(RetryingInputStream.java:111)
	at haven.StreamTee.read(StreamTee.java:87)
	at haven.StreamMessage.underflow(StreamMessage.java:68)
	... 8 more
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at sun.security.ssl.Alert.createSSLException(Alert.java:131)
	at sun.security.ssl.TransportContext.fatal(TransportContext.java:370)
	at sun.security.ssl.TransportContext.fatal(TransportContext.java:313)
	at sun.security.ssl.TransportContext.fatal(TransportContext.java:308)
	at sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:652)
	at sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate(CertificateMessage.java:471)
	at sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume(CertificateMessage.java:367)
	at sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:376)
	at sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:479)
	at sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:457)
	at sun.security.ssl.TransportContext.dispatch(TransportContext.java:200)
	at sun.security.ssl.SSLTransport.decode(SSLTransport.java:154)
	at sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1290)
	at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1199)
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:401)
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:373)
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:587)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:197)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1584)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1512)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268)
	at haven.Resource$HttpSource$1.create(Resource.java:363)
	at haven.RetryingInputStream.create(RetryingInputStream.java:44)
	at haven.RetryingInputStream.get(RetryingInputStream.java:76)
	... 11 more
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439)
	at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306)
	at sun.security.validator.Validator.validate(Validator.java:271)
	at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:312)
	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:221)
	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:128)
	at sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:636)
	... 30 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
	at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
	at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
	at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434)
	... 36 more
xyzzy57
Posts: 200
Joined: Thu Aug 19, 2021 9:41 pm

Re: Ender Client

Post by xyzzy57 »

And now it's bark boats.

Caused by: haven.Resource$LoadException: Load error in resource gfx/terobjs/items/barkboat(v21), from forking source backed by HTTP res source (https://www.havenandhearth.com/res/)
at haven.Resource$Pool.handle(Resource.java:517)
User avatar
vatas
Posts: 5252
Joined: Fri Apr 05, 2013 8:34 am
Location: Suomi Finland Perkele

Re: Ender Client

Post by vatas »

Please check that you don't have this problem.

No idea where MacOS puts the cache folder though.
Haven and Hearth Wiki (Maintained by volunteers - test/verify when practical. Forum thread

Basic Claim Safety (And what you’re doing wrong
TL:;DR: Build a Palisade with only Visitor gates.)

Combat Guide (Overview, PVE, PVP) (Includes how to escape/minimize risk of getting killed.)
xyzzy57
Posts: 200
Joined: Thu Aug 19, 2021 9:41 pm

Re: Ender Client

Post by xyzzy57 »

vatas wrote:Please check that you don't have this problem.

No idea where MacOS puts the cache folder though.
I don't know either, but the weird thing is that this all started yesterday. I've successfully done all these things before. And I've been through other client upgrades, with only the usual problems - bugs I reported were encountered by plenty of others, and resulted in prompt fixes. (I've been using the Ender client since August, and love it.) Also, if this were a stale cache problem, it's a bit odd that it doesn't affect the default client. (Though to be fair, I installed the default client only after I encountered my first crash of Ender's client, possibly as recently as late October.)

I'll see what I can find out about java defaults on MacOS, but it may take me a while.

[Edit: Naturally, this turned out to be a FAQ. Cache clearing instructions at https://java.com/en/download/help/mac_java_cache.html. And for those wanting to go straight to the answer, the default location for the cache is $HOME/Library/Application Support/Oracle/Java/Deployment/cache. And if the java UI is telling me the truth, I have nothing in that cache.]

[Edit 2: It gets better. I installed Java from Oracle, but some versions of MacOS have their own antique version of Java pre-installed. Apple being Apple, they carefully conceal full paths from mere users, as well as hiding some files entirely. In some cases files are hidden even from sophisticated users using root on the command line. I'm having the devil's own time figuring out which version of Java is actually being used to run the haven clients, but I'm suspicious that it may be Apple's outdated, insecure default - assuming they still ship that - since the path to it seems to be /System/Library/CoreServices/JavaLauncher.app And it doubtless keeps its caches in some location other than the one used by Oracle's recent Java, accounting for why that directory is empty.

I hope this all turns out to be one economy-sized red herring, and the problem turns out to be a simple glitch in the Ender client itself. Meanwhile though I'm up to my eyebrows in nerditude.]

[Edit 3: It appears that no version of MacOS ever installed on this relatively new Mac ever came with java pre-installed. I've no idea why the java launcher from Oracle put itself in /System/Library/CoreServices/ rather than in Apps, where I'd expected to find any non-apple software. I didn't even know they were allowed to install to CoreServices

So this whole thing is a giant digression. I have nothing in my cache (?!) so none of it is stale.]
xyzzy57
Posts: 200
Joined: Thu Aug 19, 2021 9:41 pm

Re: Ender Client

Post by xyzzy57 »

And for today's installment, after a vicious fight with Oracle Java to get my system working again, I have a delayed reaction after taking a wolverine skin (no longer fresh) off a drying rack.

Code: Select all

java.lang.RuntimeException: Delayed error in resource paginae/craft/wolverineboots (v6), from forking source backed by HTTP res source (https://www.havenandhearth.com/res/)
	at haven.Resource$Pool$Queued.get(Resource.java:456)
	at haven.Resource$Pool$Queued.get(Resource.java:424)
	at haven.Session$CachedRes$Ref.get(Session.java:140)
	at haven.Session$CachedRes$Ref.get(Session.java:133)
	at haven.MenuGrid$Pagina.res(MenuGrid.java:280)
	at haven.MenuGrid$Pagina.act(MenuGrid.java:284)
	at haven.MenuGrid.cons(MenuGrid.java:434)
	at haven.MenuGrid.consb(MenuGrid.java:403)
	at haven.MenuGrid.updlayout(MenuGrid.java:473)
	at haven.MenuGrid.tick(MenuGrid.java:686)
	at haven.Widget.tick(Widget.java:760)
	at haven.Widget.tick(Widget.java:760)
	at haven.GameUI.tick(GameUI.java:1378)
	at haven.Widget.tick(Widget.java:760)
	at haven.UI.tick(UI.java:223)
	at haven.JOGLPanel.run(JOGLPanel.java:541)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: haven.Resource$LoadException: Load error in resource paginae/craft/wolverineboots(v6), from forking source backed by HTTP res source (https://www.havenandhearth.com/res/)
	at haven.Resource$Pool.handle(Resource.java:517)
	at haven.Resource$Pool.access$1200(Resource.java:401)
	at haven.Resource$Pool$Loader.run(Resource.java:653)
	... 1 more
	Suppressed: haven.Resource$LoadException: Load error in resource paginae/craft/wolverineboots(v6), from cache source backed by HashDirCache(http://game.havenandhearth.com/render/)
		... 4 more
		Suppressed: haven.Resource$LoadException: Load error in resource paginae/craft/wolverineboots(v6), from local res source (res-preload)
			... 4 more
			Suppressed: haven.Resource$LoadException: Load error in resource paginae/craft/wolverineboots(v6), from 'custom' jar source
				... 4 more
				Suppressed: haven.Resource$LoadException: Load error in resource paginae/craft/wolverineboots(v6), from local res source (res)
					... 4 more
					Suppressed: haven.Resource$LoadException: Load error in resource paginae/craft/wolverineboots(v6), from filesystem res source (/private/var/folders/zk/926c34c13hg6y_y5gyvp7hy40000gn/T/hsperfdata_arlie/res)
						... 4 more
					Caused by: java.io.FileNotFoundException: paginae/craft/wolverineboots
						at haven.Resource$FileSource.get(Resource.java:269)
						at haven.Resource$Pool.handle(Resource.java:501)
						... 3 more
					Caused by: java.nio.file.NoSuchFileException: /private/var/folders/zk/926c34c13hg6y_y5gyvp7hy40000gn/T/hsperfdata_arlie/res/paginae/craft/wolverineboots.res
						at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
						at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
						at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
						at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:219)
						at java.base/java.nio.file.Files.newByteChannel(Files.java:380)
						at java.base/java.nio.file.Files.newByteChannel(Files.java:432)
						at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:422)
						at java.base/java.nio.file.Files.newInputStream(Files.java:160)
						at haven.Resource$FileSource.get(Resource.java:267)
						... 4 more
				Caused by: java.io.FileNotFoundException: Could not find resource locally: /res/paginae/craft/wolverineboots.res
					at haven.Resource$JarSource.get(Resource.java:289)
					at haven.Resource$Pool.handle(Resource.java:501)
					... 3 more
			Caused by: java.io.FileNotFoundException: Could not find resource locally: /customized-remote/paginae/craft/wolverineboots.res
				at haven.Resource$JarSource.get(Resource.java:289)
				at haven.Resource$CustomizedJarSource.get(Resource.java:307)
				at haven.Resource$Pool.handle(Resource.java:501)
				... 3 more
		Caused by: java.io.FileNotFoundException: Could not find resource locally: /res-preload/paginae/craft/wolverineboots.res
			at haven.Resource$JarSource.get(Resource.java:289)
			at haven.Resource$Pool.handle(Resource.java:501)
			... 3 more
	Caused by: java.io.FileNotFoundException: res/paginae/craft/wolverineboots
		at haven.HashDirCache.fetch(HashDirCache.java:389)
		at haven.Resource$CacheSource.get(Resource.java:232)
		at haven.Resource$Pool.handle(Resource.java:501)
		... 3 more
Caused by: haven.StreamMessage$IOError: java.io.IOException: already retried 7 times
	at haven.StreamMessage.underflow(StreamMessage.java:71)
	at haven.Message.rensure(Message.java:98)
	at haven.Message.bytes(Message.java:171)
	at haven.Resource.load(Resource.java:1626)
	at haven.Resource.access$700(Resource.java:41)
	at haven.Resource$Pool.handle(Resource.java:505)
	... 3 more
Caused by: java.io.IOException: already retried 7 times
	at haven.RetryingInputStream.retry(RetryingInputStream.java:54)
	at haven.RetryingInputStream.get(RetryingInputStream.java:70)
	at haven.RetryingInputStream.read(RetryingInputStream.java:111)
	at haven.StreamTee.read(StreamTee.java:87)
	at haven.StreamMessage.underflow(StreamMessage.java:68)
	... 8 more
Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)
	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:370)
	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:313)
	at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:308)
	at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:654)
	at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate(CertificateMessage.java:473)
	at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume(CertificateMessage.java:369)
	at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:396)
	at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:480)
	at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:458)
	at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:200)
	at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:172)
	at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1500)
	at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1415)
	at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:450)
	at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:421)
	at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:580)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:183)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1665)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)
	at haven.Resource$HttpSource$1.create(Resource.java:363)
	at haven.RetryingInputStream.create(RetryingInputStream.java:44)
	at haven.RetryingInputStream.get(RetryingInputStream.java:76)
	... 11 more
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:439)
	at java.base/sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:306)
	at java.base/sun.security.validator.Validator.validate(Validator.java:264)
	at java.base/sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:231)
	at java.base/sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:132)
	at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:638)
	... 30 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at java.base/sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
	at java.base/sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
	at java.base/java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297)
	at java.base/sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:434)
	... 35 more
Nothing in any java caches, and don't know where updater-hafen.jar puts the files it downloads on a mac, which might in fact be the problem.

Also, I really want to know how a stale cache issue could only affect the Ender client - not the default one.
xyzzy57
Posts: 200
Joined: Thu Aug 19, 2021 9:41 pm

Re: Ender Client

Post by xyzzy57 »

In other testing, I got a friend who uses the Ender client to try to replicate the bark boat issue - and the client did not crash for them, at least not immediately.
xyzzy57
Posts: 200
Joined: Thu Aug 19, 2021 9:41 pm

Re: Ender Client

Post by xyzzy57 »

It was indeed a caching problem, but there appear to be at least 3 possibly mac-specific bugs in the Ender client revealed by my experience.

1) On my mac, the link to the old non-beta updater, at http://enderwiggin.github.io/hafen/updater-hafen.jar downloads a bunch of files to /private/var/folders/zk/926c34c13hg6y_y5gyvp7hy40000gn/T/hsperfdata_${USER}/client

Completely removing that directory, contents and all appears to have resulted in all the bugs I reported in the past 3 days or so going away, except the following:

2) On a mac, the link to the ender client launcher from the first post of this thread - at http://enderwiggin.github.io/hafen/launcher-hafen.jar - downloads something that expects to find a directory named $HOME/cache/https/enderwiggin.github.io/hafen/ and crashes if it isn't present or doesn't contain the right things.

At some time this directory was created on my mac, probably by an earlier version of launcher-hafen.jar

I don't know how long the link has pointed to code that requires something it cannot create.

3) If the directory exists, and has the contents mine had, before I renamed it to check for stale cache contents, yesterday's launcher-hafen.jar still didn't work, with symptoms I posted a bit upthread.

Additional info:

4) The official client seems to put its files in $HOME/cache/https/game.havenandhearth.com

And the 3 bugs?

1) launcher-hafen.jar can't create the directory it uses
2) launcher-hafen.jar chokes on contents it itself put in its cache directory
3) launcher-hafen.jr and update-hafen.jar put the client files in different places.
SunsetShimmer
Posts: 3
Joined: Thu Jun 29, 2017 2:53 pm

Re: Ender Client

Post by SunsetShimmer »

I don't know what any of this means. This is the error I get when trying to open Ender Client after fresh install. Does it have to be in a specific folder? I see "requested" and "chosen" are different, but how do I make them the same? It looks like that's causing the error, but I'd really like some help with this.

Code: Select all

requested GLCaps[rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL4/GL4.hw], on-scr[.]],
	chosen    GLCaps[wgl vid 10 arb: rgba 8/8/8/8, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono  , hw, GLProfile[GL4/GL4.hw], on-scr[.]]]
	at jogamp.opengl.windows.wgl.awt.WindowsAWTWGLGraphicsConfigurationFactory.chooseGraphicsConfigurationImpl(WindowsAWTWGLGraphicsConfigurationFactory.java:182)
	at com.jogamp.nativewindow.GraphicsConfigurationFactory.chooseGraphicsConfiguration(GraphicsConfigurationFactory.java:424)
	at com.jogamp.opengl.awt.GLCanvas.chooseGraphicsConfiguration(GLCanvas.java:1513)
	at com.jogamp.opengl.awt.GLCanvas.addNotify(GLCanvas.java:609)
	at java.desktop/java.awt.Container.addNotify(Container.java:2804)
	at java.desktop/java.awt.Window.addNotify(Window.java:791)
	at java.desktop/java.awt.Frame.addNotify(Frame.java:495)
	at java.desktop/java.awt.Window.pack(Window.java:829)
	at haven.MainFrame.<init>(MainFrame.java:188)
	at haven.MainFrame.main2(MainFrame.java:448)
	at haven.MainFrame.lambda$main$0(MainFrame.java:487)
	at java.base/java.lang.Thread.run(Thread.java:833)
User avatar
vatas
Posts: 5252
Joined: Fri Apr 05, 2013 8:34 am
Location: Suomi Finland Perkele

Re: Ender Client

Post by vatas »

Should work anywhere, but it will download files in said folder so I recommend making "Ender" -folder somewhere and putting the launcher/updater there. Running it will download all the other stuff in that folder. Having multiple clients in same folder sounds like surefire recipe for a disaster.

You could try disabling the CPU's built-in Graphics, there's common problem where Java tries to use it instead of the proper GPU. Click "Show hidden" for the guide image I made. Find the equivalent menu and select "Disable Device."

Warning! If you don't have dedicated GPU installed, or otherwise disable your only graphics device, this could softlock your entire PC!
Image
Last edited by vatas on Sun Nov 28, 2021 9:56 pm, edited 1 time in total.
Haven and Hearth Wiki (Maintained by volunteers - test/verify when practical. Forum thread

Basic Claim Safety (And what you’re doing wrong
TL:;DR: Build a Palisade with only Visitor gates.)

Combat Guide (Overview, PVE, PVP) (Includes how to escape/minimize risk of getting killed.)
SunsetShimmer
Posts: 3
Joined: Thu Jun 29, 2017 2:53 pm

Re: Ender Client

Post by SunsetShimmer »

vatas wrote:Should work anywhere, but it will download files in said folder so I recommend making "Ender" -folder somewhere and putting the launcher/updater there. Running it will download all the other stuff in that folder. Having multiple clients in same folder sounds like surefire recipe for a disaster.

You could try disabling the CPU's built-in Graphics, there's common problem where Java tries to use it instead of the proper GPU. Click "Show hidden" for the guide image I made. Find the equivalent menu and select "Disable Device."

Warning! If you don't have dedicated GPU installed, this could softlock your entire PC!
Image
Well, that's a problem. I don't have built-in graphics from my CPU, or there is no option for it. The only display adapter that shows up is the correct GPU and I'm not going to risk disabling it. I'll try updating it and respond once I have.

Return to “The Wizards' Tower”