Hurricane Client

Forum for alternative clients, mods & discussions on the same.

Re: Hurricane Client

Postby Nightdawg » Mon Aug 10, 2026 6:06 pm

Vladichka wrote:Hello sir, I am experiencing a crash. I am not sure what's causing it.
Code: Select all
Exception in thread "Haven UI thread" java.lang.IllegalArgumentException: w and h must be > 0
        at java.desktop/java.awt.image.Raster.createInterleavedRaster(Raster.java:214)       
        at haven.TexI.mkbuf(TexI.java:173)
        at haven.CompImage.compose(CompImage.java:98)
        at haven.ItemInfo$Layout.render(ItemInfo.java:152)
        at haven.ItemInfo.longtip(ItemInfo.java:463)
        at haven.MenuGrid$PagButton.rendertt(MenuGrid.java:320)
        at haven.MenuGrid.tooltip(MenuGrid.java:527)
        at haven.Widget.tooltip(Widget.java:1912)
        at haven.Widget$TooltipQuery.shandle(Widget.java:1289)
        at haven.Widget.handle(Widget.java:892)
        at haven.Widget$Event.dispatch(Widget.java:844)
        at haven.Widget$PointerEvent.propagation(Widget.java:987)
        at haven.Widget$Event.propagate(Widget.java:828)
        at haven.Widget.tooltip(Widget.java:1907)
        at haven.Widget$TooltipQuery.shandle(Widget.java:1289)
        at haven.Widget.handle(Widget.java:892)
        at haven.Widget$Event.dispatch(Widget.java:844)
        at haven.Widget$PointerEvent.propagation(Widget.java:987)
        at haven.Widget$Event.propagate(Widget.java:828)
        at haven.Widget.tooltip(Widget.java:1907)
        at haven.Widget$TooltipQuery.shandle(Widget.java:1289)
        at haven.Widget.handle(Widget.java:892)
        at haven.Widget$Event.dispatch(Widget.java:844)
        at haven.Widget$PointerEvent.propagation(Widget.java:987)
        at haven.Widget$Event.propagate(Widget.java:828)
        at haven.Widget.tooltip(Widget.java:1907)
        at haven.Widget$TooltipQuery.shandle(Widget.java:1289)
        at haven.Widget.handle(Widget.java:892)
        at haven.Widget$Event.dispatch(Widget.java:844)
        at haven.UI.dispatch(UI.java:642)
        at haven.UI.dispatchq(UI.java:647)
        at haven.UI.tooltip(UI.java:926)
        at haven.UILoop.drawtooltip(UILoop.java:116)
        at haven.UILoop.display(UILoop.java:289)
        at haven.UILoop$Frame.display(UILoop.java:462)
        at haven.UILoop$Frame.run(UILoop.java:510)
        at haven.UILoop.run(UILoop.java:566)
        at java.base/java.lang.Thread.run(Thread.java:1583)

I am building from master branch from github using Coretto 21 distribution.
I will also provide AI analysis which your humble meatbag is unable to understand (to be honest I'm lazy) but it might help you in your efforts.
Code: Select all
This is a MenuGrid craft/action tooltip crash from an empty composed tip image.

Cause: Hovering a PagButton builds tip info and always appends ItemInfo.ResourceName. After removing Name, rendertt still sees a non-empty list and calls ItemInfo.longtip.


MenuGrid.java
Lines 284-292
public List<ItemInfo> info() {
    if(info == null) {
   info = ItemInfo.buildinfo(this, pag.rawinfo);
   Resource.Pagina pg = res.layer(Resource.pagina);
   if(pg != null)
       info.add(new ItemInfo.Pagina(this, pg.text));
   info.add(new ItemInfo.ResourceName(this, res.name));
    }

ResourceName only draws when Extended mouseover info is on; otherwise tipimg() is null and nothing is added to the layout:


ItemInfo.java
Lines 194-201
public BufferedImage tipimg() {
    return((OptWnd.extendedMouseoverInfoCheckBox != null) && OptWnd.extendedMouseoverInfoCheckBox.a ? str.img : null);
}
public void layout(Layout l) {
    BufferedImage img = tipimg();
    if(img != null)
   l.cmp.add(img, new Coord(0, l.cmp.sz.y + img.getHeight()));

If that button has no other tips (no pagina text / no other rawinfo), CompImage.sz stays (0,0) and compose() → TexI.mkbuf throws w and h must be > 0.

When it happens: Hover a menu button that has essentially only a name, with extended mouseover info off.

Fix direction: Guard empty layout in longtip/Layout.render (return null if cmp.sz is zero), and/or skip calling longtip in rendertt when nothing will render. I can apply that if you want.

Have a nice day.

Edit: It consistently reproduces when you hover over menu items that are hidden behind the map widget.


Thanks, I figured out where I introduced this bug, I'll fix it.
jorb wrote:I do not want to over-promise or hype up stuff that could be months out.

"Our primary development direction is toward object-controlled-objects"
User avatar
Nightdawg
 
Posts: 2584
Joined: Fri Feb 28, 2020 12:31 am

Re: Hurricane Client

Postby Nightdawg » Mon Aug 10, 2026 8:57 pm

Nightdawg wrote:Thanks, I figured out where I introduced this bug, I'll fix it.


Should be fixed, also pushed v1.68
jorb wrote:I do not want to over-promise or hype up stuff that could be months out.

"Our primary development direction is toward object-controlled-objects"
User avatar
Nightdawg
 
Posts: 2584
Joined: Fri Feb 28, 2020 12:31 am

Re: Hurricane Client

Postby Bashnagdul » Tue Aug 11, 2026 9:07 pm

Hello,
im trying to start this.
im using openjdk26

updater runs
but play.bat shows this

d:\Haven>java -Dsun.java2d.uiScale.enabled=false -Dsun.java2d.win.uiScaleX=1.0 -Dsun.java2d.win.uiScaleY=1.0 -Xss8m -Xms1024m -Xmx4096m --add-exports java.base/java.lang=ALL-UNNAMED --add-exports java.desktop/sun.awt=ALL-UNNAMED --add-exports java.desktop/sun.java2d=ALL-UNNAMED -DrunningThroughSteam=false -jar hafen.jar
Exception in thread "Haven main thread" java.lang.NoClassDefFoundError: java/applet/Applet
at com.jogamp.nativewindow.awt.JAWTWindow.determineIfApplet(JAWTWindow.java:619)
at com.jogamp.nativewindow.awt.JAWTWindow.lockSurface(JAWTWindow.java:668)
at com.jogamp.opengl.awt.GLCanvas.createJAWTDrawableAndContext(GLCanvas.java:718)
at com.jogamp.opengl.awt.GLCanvas.addNotify(GLCanvas.java:621)
at java.desktop/java.awt.Container.addNotify(Container.java:2791)
at java.desktop/java.awt.Window.addNotify(Window.java:738)
at java.desktop/java.awt.Frame.addNotify(Frame.java:495)
at java.desktop/java.awt.Window.pack(Window.java:775)
at haven.iosys.tk.JOGLToolkit$JOGLWindow.<init>(JOGLToolkit.java:224)
at haven.iosys.tk.JOGLToolkit.window(JOGLToolkit.java:263)
at haven.Client.<init>(Client.java:72)
at haven.Client.main2(Client.java:396)
at haven.Client.lambda$main$0(Client.java:444)
at java.base/java.lang.Thread.run(Thread.java:1516)
Caused by: java.lang.ClassNotFoundException: java.applet.Applet
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:502)
... 14 more
Bashnagdul
 
Posts: 18
Joined: Mon Sep 21, 2015 8:21 am

Re: Hurricane Client

Postby Nightdawg » Wed Aug 12, 2026 11:56 am

Bashnagdul wrote:Hello,
im trying to start this.
im using openjdk26


Forum thread, diacord info channel, and github readme all state that the client runs only on any java version between 17 and 25. 26 is outside of that range
jorb wrote:I do not want to over-promise or hype up stuff that could be months out.

"Our primary development direction is toward object-controlled-objects"
User avatar
Nightdawg
 
Posts: 2584
Joined: Fri Feb 28, 2020 12:31 am

Re: Hurricane Client

Postby LuxOG » Tue Aug 18, 2026 7:45 pm

Hello Nightdawg, I'm occasionally crashing when entering a house. Doesn't happen every time, maybe once every few hours? And the command prompt closes too quickly afterwards for me to get any kind of logs. I'm on Java 25 and I just updated my graphics drivers. Any idea what might be causing this or are there log files I could post here?
LuxOG
 
Posts: 4
Joined: Fri Jan 25, 2019 7:42 pm

Re: Hurricane Client

Postby Nightdawg » Tue Aug 18, 2026 7:57 pm

LuxOG wrote:Hello Nightdawg, I'm occasionally crashing when entering a house. Doesn't happen every time, maybe once every few hours? And the command prompt closes too quickly afterwards for me to get any kind of logs. I'm on Java 25 and I just updated my graphics drivers. Any idea what might be causing this or are there log files I could post here?


No idea mate. Maybe it's a hard JVM crash. Do you have any new text files in your client folder? something like "hs_err_pid#####.txt"
jorb wrote:I do not want to over-promise or hype up stuff that could be months out.

"Our primary development direction is toward object-controlled-objects"
User avatar
Nightdawg
 
Posts: 2584
Joined: Fri Feb 28, 2020 12:31 am

Re: Hurricane Client

Postby LuxOG » Tue Aug 18, 2026 8:06 pm

Nightdawg wrote:
LuxOG wrote:Hello Nightdawg, I'm occasionally crashing when entering a house. Doesn't happen every time, maybe once every few hours? And the command prompt closes too quickly afterwards for me to get any kind of logs. I'm on Java 25 and I just updated my graphics drivers. Any idea what might be causing this or are there log files I could post here?


No idea mate. Maybe it's a hard JVM crash. Do you have any new text files in your client folder? something like "hs_err_pid#####.txt"



No, nothing like that.
LuxOG
 
Posts: 4
Joined: Fri Jan 25, 2019 7:42 pm

Re: Hurricane Client

Postby Nightdawg » Tue Aug 18, 2026 8:19 pm

No clue then, I think only one player ever had this issue, so I have no idea what's causing it tbh. Try switching to GraalVM or OpenJDK

Edit: that other guy said it's no longer happening to him, and he has no clue why xd
jorb wrote:I do not want to over-promise or hype up stuff that could be months out.

"Our primary development direction is toward object-controlled-objects"
User avatar
Nightdawg
 
Posts: 2584
Joined: Fri Feb 28, 2020 12:31 am

Re: Hurricane Client

Postby LuxOG » Wed Aug 19, 2026 5:22 pm

Where do I toggle auto-reaggro for hunting in this client? I see auto peace in the toggles but not auto reaggro
LuxOG
 
Posts: 4
Joined: Fri Jan 25, 2019 7:42 pm

Re: Hurricane Client

Postby Nightdawg » Wed Aug 19, 2026 6:33 pm

LuxOG wrote:Where do I toggle auto-reaggro for hunting in this client? I see auto peace in the toggles but not auto reaggro


the button next to the "peace" button in the combat UI, or the keybind in the settings (I forgot what the default one is)
jorb wrote:I do not want to over-promise or hype up stuff that could be months out.

"Our primary development direction is toward object-controlled-objects"
User avatar
Nightdawg
 
Posts: 2584
Joined: Fri Feb 28, 2020 12:31 am

PreviousNext

Return to The Wizards' Tower

Who is online

Users browsing this forum: Claude [Bot], Robertzon, easybash