Client rewrite β-testing

Announcements about major changes in Haven & Hearth.

Re: Client rewrite β-testing

Postby loftar » Tue Apr 21, 2020 2:07 am

ubersheva wrote:Found a very easy way to reproduce this after looking at thread dump: aggro an ant, start walking away and furiously spam all your combat buttons and mouse clicks. Client hangs without even actual combat.

This should be fixed now. Thanks for the useful report!
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: Client rewrite β-testing

Postby ubersheva » Sat Apr 25, 2020 10:17 pm

I haven't seen instantion-ids error since the last update, so I'd assume that it's fixed.
ubersheva
 
Posts: 68
Joined: Thu Apr 15, 2010 8:13 am

Re: Client rewrite β-testing

Postby ubersheva » Sun Apr 26, 2020 1:57 pm

ubersheva wrote:I haven't seen instantion-ids error since the last update, so I'd assume that it's fixed.

crash on stone milestone right-click
Code: Select all
java.lang.NullPointerException
   at haven.Widget.setfocus(Widget.java:549)
   at haven.Widget.uimsg(Widget.java:633)
   at haven.Window.uimsg(Window.java:237)
   at haven.UI.uimsg(UI.java:309)
   at haven.RemoteUI.run(RemoteUI.java:70)
   at haven.MainFrame.run(MainFrame.java:257)
   at java.base/java.lang.Thread.run(Thread.java:830)
ubersheva
 
Posts: 68
Joined: Thu Apr 15, 2010 8:13 am

Re: Client rewrite β-testing

Postby loftar » Sun May 03, 2020 7:53 pm

ubersheva wrote:
Code: Select all
java.lang.NullPointerException
   at haven.Widget.setfocus(Widget.java:549)

Right, thanks! Should be fixed now.

On that note, as far as I'm aware all the critical bugs that I know of should be fixed now, so unless anyone can remind me of something to that effect, I'm very strongly considering switching to the new client very soon. I'm still having some minor trouble adapting the avatar rendering on the website to use the new client, but as soon as that is done, I'd like to try switching. Yes, there are still some minor graphical bugs left, but I'm not aware of anything so grave that I can't fix it after switching.

As for custom clients, the current resource URLs and similar things shouldn't stop working as part of the switch, so they should keep working transparently. However, I'd really, really like to stop maintaining dual resource trees as soon as possible.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: Client rewrite β-testing

Postby ubersheva » Sun May 03, 2020 11:48 pm

Another one: the red circular band that indicate mining support radius does not allow right-clicking through it.

As for resources url, please make sure that all the mapping data, along with notes, is not lost when you make the switch. Ideally maps and notes saved under both clients should be merged.
ubersheva
 
Posts: 68
Joined: Thu Apr 15, 2010 8:13 am

Re: Client rewrite β-testing

Postby Oddity » Mon May 04, 2020 8:17 am

loftar wrote: I'm still having some minor trouble adapting the avatar rendering on the website to use the new client

The website uses the game client?
jadamkaz wrote:ah i remember my run in with odditown they are good ppl im sure the only reason they killed ME is because they are troll hunters and i was a troll
User avatar
Oddity
 
Posts: 1979
Joined: Sun Jun 20, 2010 12:04 am
Location: BC, Canadia

Re: Client rewrite β-testing

Postby boshaw » Fri May 08, 2020 7:47 am

loftar wrote:However, I'd really, really like to stop maintaining dual resource trees as soon as possible.

Can there be a few week notice as to when this is happening and what the future urls will be if they are changed?
User avatar
boshaw
 
Posts: 1590
Joined: Tue Jun 01, 2010 10:22 pm

Re: Client rewrite β-testing

Postby loftar » Sun May 10, 2020 7:00 pm

Oddity wrote:The website uses the game client?

Well, yeah, it seemed far simpler to just reuse what I had instead of writing a completely separate rendering system for the website. In any case, I did eventually manage to solve that problem, but it seems that I, somewhat comically, fell prey to my own question of upgrading the client to OpenGL 3, because the software renderer I'm using on the server (since it lacks a GPU) only supports OpenGL 2. :/

I do have a few options for solving that problem, though, so I expect to switch in the coming days unless none of those turn out to work for some reason.

ubersheva wrote:please make sure that all the mapping data, along with notes, is not lost when you make the switch. Ideally maps and notes saved under both clients should be merged.

Indeed that is a bit of a conundrum. My plan is to ensure that the new client, as permanently installed, will be using the mapping data that the current (ordinary) client uses, but that will indeed leave the mapping data accrued by those who've used the test client inaccessible (which includes me). The real solution would probably be to implement map import/export, but I'm not sure I want to wait for that to switch the client over. There are ways around it for those who can compile themselves, though.

boshaw wrote:Can there be a few week notice as to when this is happening and what the future urls will be if they are changed?

I'm not sure how to handle that, honestly. I mean, when I've switched the official client over, I'll pretty much just be waiting for custom clients to adapt before I stop maintaining the previous resource tree. I could set a deadline, of course, but from my perspective it would be completely arbitrary, and I'm not sure if it helps or hurts.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

Re: Client rewrite β-testing

Postby boshaw » Sun May 10, 2020 7:04 pm

loftar wrote:
Oddity wrote:The website uses the game client?

Well, yeah, it seemed far simpler to just reuse what I had instead of writing a completely separate rendering system for the website. In any case, I did eventually manage to solve that problem, but it seems that I, somewhat comically, fell prey to my own question of upgrading the client to OpenGL 3, because the software renderer I'm using on the server (since it lacks a GPU) only supports OpenGL 2. :/

I do have a few options for solving that problem, though, so I expect to switch in the coming days unless none of those turn out to work for some reason.

ubersheva wrote:please make sure that all the mapping data, along with notes, is not lost when you make the switch. Ideally maps and notes saved under both clients should be merged.

Indeed that is a bit of a conundrum. My plan is to ensure that the new client, as permanently installed, will be using the mapping data that the current (ordinary) client uses, but that will indeed leave the mapping data accrued by those who've used the test client inaccessible (which includes me). The real solution would probably be to implement map import/export, but I'm not sure I want to wait for that to switch the client over. There are ways around it for those who can compile themselves, though.

boshaw wrote:Can there be a few week notice as to when this is happening and what the future urls will be if they are changed?

I'm not sure how to handle that, honestly. I mean, when I've switched the official client over, I'll pretty much just be waiting for custom clients to adapt before I stop maintaining the previous resource tree. I could set a deadline, of course, but from my perspective it would be completely arbitrary, and I'm not sure if it helps or hurts.


What if to avoid breaking maps and having to come up with an import/export solution or waiting for custom clients to adapt we just start W13 off with the new render client and removal of the old resource tree? Altho that may be a long time away I guess.
User avatar
boshaw
 
Posts: 1590
Joined: Tue Jun 01, 2010 10:22 pm

Re: Client rewrite β-testing

Postby loftar » Sun May 10, 2020 7:15 pm

boshaw wrote:What if to avoid breaking maps and having to come up with an import/export solution or waiting for custom clients to adapt we just start W13 off with the new render client and removal of the old resource tree? Altho that may be a long time away I guess.

That would indeed be much too far off. I'm also not sure why that would even help. Why would it be easier for custom clients to adapt at the start of a new world than in the middle of one?

Also as far as breaking maps, I'm not really too worried. The number of people who've been using the test client and don't compile themselves seems to be pretty limited.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9045
Joined: Fri Apr 03, 2009 7:05 am

PreviousNext

Return to Announcements

Who is online

Users browsing this forum: Claude [Bot], Python-Requests [Bot] and 4 guests