Client rewrite β-testing

Announcements about major changes in Haven & Hearth.
User avatar
trinh
Posts: 197
Joined: Sun Feb 26, 2012 11:34 am
Location: Wroclaw [Poland]

Re: Client rewrite β-testing

Post by trinh »

trim the fat of obsolete technologies.

Otherwise you work your ass down for near to zero gain.
User avatar
VDZ
Posts: 2766
Joined: Sun Jul 17, 2011 2:27 am

Re: Client rewrite β-testing

Post by VDZ »

loftar wrote:
shubla wrote:Could you do some gathering about what version of opengl people's computers support?
I thought about that, but I'm not sure. To begin with, I'm not too keen on doing silent data collection (the error reports that the client sends are already on the outer edge of my comfort zone), but I'm also not sure how useful any data would be. For instance, as I said, Mac OS defaults to 2.0 by default, so that's all I'd see there (since I'm certainly not rewriting the current client to do 3.0 support), and it also wouldn't tell me if non-MacOS users of 2.0 really need it (like I said, I already see from error reports that there do in fact exist 2.0 users), or how important it is for them. I'd also have to depend on custom client makers to merge said collection tools. And so on.
Why not do the opposite - have the client perform a check locally, then if on a non-MacOS system it's detected to not support OpenGL 3.0 show a notification that OpenGL 2.0 support may be dropped and the game would no longer run on the user's machine, and that the user should post on the forums if this is a problem for them? No data collection is needed and if they don't take action after being notified support will be dropped unless they respond they only have themselves to blame. As for the custom clients, I'm pretty sure the vast majority of custom client users use Amber, so after just asking the custom client makers nicely you only need to verify Amber merged it in, and you'll reach a lot more people than you would with a forum post.
User avatar
loftar
Posts: 9093
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: Client rewrite β-testing

Post by loftar »

VDZ wrote:Why not do the opposite - have the client perform a check locally, then if on a non-MacOS system it's detected to not support OpenGL 3.0 show a notification that OpenGL 2.0 support may be dropped
Not a bad idea, but at this point I've decided to drop GL2 support anyway. I was looking through the feature lists of the various OpenGL versions and found a couple of things that would be quite nice to have for future purposes, not least of which are array textures, which I've been wanting for quite a while, but also FP textures and, I believe, the guaranteed capability to do texture fetches in vertex programs. The latter two features will be important for future optimizations of animated meshes anyway, so it might be good to require an OpenGL version that guarantees their presence.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
warmachine
Posts: 1
Joined: Sat Mar 23, 2019 3:11 pm

Re: Client rewrite β-testing

Post by warmachine »

i try the client today, but error



java.lang.RuntimeException: java.net.UnknownHostException: game.havenandhearth.com
at haven.launcher.Driver.run(Driver.java:92)
at haven.launcher.Driver.main(Driver.java:147)
Caused by: java.net.UnknownHostException: game.havenandhearth.com
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown Source)
at haven.launcher.Cache.update0(Cache.java:206)
at haven.launcher.Cache.update(Cache.java:277)
at haven.launcher.Resource.update(Resource.java:64)
at haven.launcher.Driver.run(Driver.java:84)
... 1 more
Suppressed: java.net.UnknownHostException: game.havenandhearth.com
... 20 more
Suppressed: java.net.UnknownHostException: game.havenandhearth.com
... 20 more
User avatar
VDZ
Posts: 2766
Joined: Sun Jul 17, 2011 2:27 am

Re: Client rewrite β-testing

Post by VDZ »

java.net.UnknownHostException: game.havenandhearth.com
Sounds like a connection error. Does the normal client work for you?
User avatar
VDZ
Posts: 2766
Joined: Sun Jul 17, 2011 2:27 am

Re: Client rewrite β-testing

Post by VDZ »

I'm getting a crash whenever I try to move from my current location on my character 'Tama':

Code: Select all

java.lang.RuntimeException: instantiation-IDs not yet implemented
	at haven.render.InstanceList$InstancedSlot.<init>(InstanceList.java:304)
	at haven.render.InstanceList.add0(InstanceList.java:531)
	at haven.render.InstanceList.add(InstanceList.java:574)
	at haven.MapView$Clicklist.add(MapView.java:1098)
	at haven.render.RenderTree$Client.added(RenderTree.java:62)
	at haven.render.RenderTree$TreeSlot.add(RenderTree.java:432)
	at haven.render.RenderTree$TreeSlot.add(RenderTree.java:356)
	at haven.render.RenderTree$Slot.add(RenderTree.java:343)
	at haven.render.Pipe$Op$Wrapping.added(Pipe.java:127)
	at haven.render.RenderTree$TreeSlot.add(RenderTree.java:452)
	at haven.render.RenderTree$TreeSlot.add(RenderTree.java:356)
	at haven.render.RenderTree$Slot.add(RenderTree.java:343)
	at haven.RUtils$StateNode.added(RUtils.java:114)
	at haven.render.RenderTree$TreeSlot.add(RenderTree.java:452)
	at haven.render.RenderTree$TreeSlot.add(RenderTree.java:356)
	at haven.render.RenderTree$Slot.add(RenderTree.java:343)
	at haven.SkelSprite.parts(SkelSprite.java:95)
	at haven.SkelSprite.added(SkelSprite.java:235)
	at haven.render.RenderTree$TreeSlot.add(RenderTree.java:452)
	at haven.render.RenderTree$TreeSlot.add(RenderTree.java:356)
	at haven.render.RenderTree$Slot.add(RenderTree.java:343)
	at haven.ResDrawable.added(ResDrawable.java:58)
	at haven.render.RenderTree$TreeSlot.add(RenderTree.java:452)
	at haven.render.RenderTree$TreeSlot.add(RenderTree.java:356)
	at haven.render.RenderTree$Slot.add(RenderTree.java:343)
	at haven.Gob.added(Gob.java:526)
	at haven.render.RenderTree$TreeSlot.add(RenderTree.java:452)
	at haven.render.RenderTree$TreeSlot.add(RenderTree.java:356)
	at haven.render.RenderTree$Slot.add(RenderTree.java:343)
	at haven.Gob$Placed.added(Gob.java:794)
	at haven.render.RenderTree$TreeSlot.add(RenderTree.java:452)
	at haven.render.RenderTree$TreeSlot.add(RenderTree.java:356)
	at haven.render.RenderTree$Slot.add(RenderTree.java:343)
	at haven.MapView$Gobs.addgob(MapView.java:491)
	at haven.MapView$Gobs.lambda$added$1(MapView.java:532)
	at haven.Loader.lambda$defer$0(Loader.java:235)
	at haven.Loader$Future.run(Loader.java:71)
	at haven.Loader$Future.access$400(Loader.java:42)
	at haven.Loader.loop(Loader.java:197)
	at java.lang.Thread.run(Unknown Source)
I'm not in any rush to have it fixed (I just logged in to check something and decided to travel for a bit), but it's worth looking into. It occurred when I came near a base in my dugout, so it's probably base-related somehow.
User avatar
loftar
Posts: 9093
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: Client rewrite β-testing

Post by loftar »

VDZ wrote:I'm getting a crash whenever I try to move from my current location on my character 'Tama':
So you're saying it's perfectly reproducible for you? Could you try again? I'm asking because I've tried looking around the area where that character logged out, and I'm having no errors, so I'm curious if it was something that was in that area at the time but has since gone away.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
VDZ
Posts: 2766
Joined: Sun Jul 17, 2011 2:27 am

Re: Client rewrite β-testing

Post by VDZ »

loftar wrote:
VDZ wrote:I'm getting a crash whenever I try to move from my current location on my character 'Tama':
So you're saying it's perfectly reproducible for you? Could you try again? I'm asking because I've tried looking around the area where that character logged out, and I'm having no errors, so I'm curious if it was something that was in that area at the time but has since gone away.
Yes, it's still 100% reproducible for me. I tried with the current client and the latest Amber and both work fine for me, but using the test version it crashes with that exception when I click anywhere.
User avatar
VDZ
Posts: 2766
Joined: Sun Jul 17, 2011 2:27 am

Re: Client rewrite β-testing

Post by VDZ »

Issue suddenly stopped occurring. It was happening 100% consistently for me until just now, when I started trying stuff with my laptop (previous testing was on my desktop), where I was able to reproduce one crash; after that it stopped crashing, and I was able to reproduce it one more time on my desktop but now it suddenly works.
User avatar
MightySheep
Posts: 2524
Joined: Fri Jul 22, 2011 1:18 pm

Re: Client rewrite β-testing

Post by MightySheep »

when will this thing be "officially finished"? my fps is dogshit and the amber client guy said he wont use this till its officially finished

Return to “Announcements”