Ender Client

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

Re: Ender Client

Postby mvgulik » Sat Apr 24, 2021 8:09 am

Queue moving + Plow:

When setting a queue path while plowing with a plow. The queue path is dropping intermediate path point while plowing.

Video: (... major ugly. and a little big, display size wise.)


(using beta client)
mvgulik
 
Posts: 3766
Joined: Fri May 21, 2010 2:29 am

Re: Ender Client

Postby svino » Sat Apr 24, 2021 10:51 am

PoisonedPorkchop wrote:JDK 11+ seems to cause incorrect monitor scaling (I think it is grabbing my second monitor's resolution for use in scaling), works fine in JDK 8. This does not occur in default client.

My primary monitor is 2560x1440, and my secondary monitor is 1600x900.
Unless I turn my primary monitor to 1600x900, it will look like this and virtual mouse position is incorrect:
Image

It is dependent on JDK version of whether it will work for me or not. 8 works, 11+ doesn't. I can provide more info if needed.


this is caused by jogl apparently using windows scaling. you need to force it to use 1:1 scale with java parameters:
-Dsun.java2d.uiScale.enabled=false -Dsun.java2d.win.uiScaleX=1.0 -Dsun.java2d.win.uiScaleY=1.0

so run your hafen.jar with:

Code: Select all
java -Dsun.java2d.uiScale.enabled=false -Dsun.java2d.win.uiScaleX=1.0 -Dsun.java2d.win.uiScaleY=1.0 -Xss1024k -Xms512m -Xmx1024m -jar hafen.jar
User avatar
svino
 
Posts: 299
Joined: Mon Jun 06, 2011 4:09 am

Re: Ender Client

Postby PoisonedPorkchop » Sat Apr 24, 2021 11:11 pm

svino wrote:Many helpful words..

Thanks for the correct scaling arguments! I still am wondering why this does NOT occur in default client, but does in ender's.
Regardless, with those arguments it is working well now
PoisonedPorkchop
 
Posts: 52
Joined: Tue Jun 03, 2014 10:37 am

Re: Ender Client

Postby EnderWiggin » Sun Apr 25, 2021 10:17 am

Updated beta client:
  • added radius to mine ladders
  • fixed grid being shown only in player's map segment
  • added ability to change priority of flower menu auto-selection
Also added default auto choose config that can handle picking, carving-turning of spit roast, and skin-clean-butcher-bones of animals in proper order. You can delete your autochoose.json in client forlder to get default one.
User avatar
EnderWiggin
 
Posts: 1154
Joined: Sat Mar 20, 2010 8:23 pm

Re: Ender Client

Postby Arnikes » Sun Apr 25, 2021 11:58 am

Maybe a stupid question, but anyway, cant get what exactly mapping service is using in this client, can anyone explain?
Arnikes
 
Posts: 2
Joined: Mon Nov 11, 2013 4:51 am

Re: Ender Client

Postby wafflecat » Sun Apr 25, 2021 12:13 pm

Arnikes wrote:Maybe a stupid question, but anyway, cant get what exactly mapping service is using in this client, can anyone explain?


viewtopic.php?f=49&t=67298
User avatar
wafflecat
 
Posts: 260
Joined: Thu Dec 15, 2011 7:46 pm

Re: Ender Client

Postby SuSavage » Sun Apr 25, 2021 5:04 pm

How to fix that crashes? :(
haven.Resource$LoadException: Weird version number on gfx/invobjs/rabbit-doe (65535 > 2)
at haven.Resource$Pool.load(Resource.java:540)
at haven.Session$CachedRes$Ref.get(Session.java:137)
at haven.Session$CachedRes$Ref.get(Session.java:130)
at haven.MiniMap.findicons(MiniMap.java:524)
at haven.MiniMap.tick(MiniMap.java:217)
at haven.Widget.tick(Widget.java:758)
at haven.Widget.tick(Widget.java:758)
at haven.GameUI.tick(GameUI.java:1274)
at haven.Widget.tick(Widget.java:758)
at haven.UI.tick(UI.java:223)
at haven.JOGLPanel.run(JOGLPanel.java:527)
at java.base/java.lang.Thread.run(Thread.java:832)
User avatar
SuSavage
 
Posts: 50
Joined: Sun Jan 23, 2011 5:02 pm

Re: Ender Client

Postby czaper2 » Mon Apr 26, 2021 12:21 am

Bump on this weird error during compiling:

Code: Select all
resources:
     [exec] Processing resources in resources/src/local
     [exec] ATTEMPT => \gfx\fx\msrad.res
     [exec] Error loading file resources\src\local\gfx\fx\msrad.resATTEMPT => \gfx\hud\box\bl.res
     [exec] java.lang.reflect.InvocationTargetException
     [exec]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     [exec]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
     [exec]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
     [exec]     at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
     [exec]     at haven.Resource.loadfromdecode(Resource.java:1509)
     [exec]     at haven.Resource.<init>(Resource.java:1367)
     [exec]     at LayerUtil.rf(LayerUtil.java:184)
     [exec]     at LayerUtil.main(LayerUtil.java:112)
     [exec] Caused by: java.io.FileNotFoundException: resources\src\local\gfx\fx\msrad.res\code\..\..\..\..\..\..\classes\haven\res\gfx\fx\msrad\ShowSupports.class (The system cannot find the path specified)
     [exec]     at java.io.FileInputStream.open0(Native Method)
     [exec]     at java.io.FileInputStream.open(FileInputStream.java:195)
     [exec]     at java.io.FileInputStream.<init>(FileInputStream.java:138)
     [exec]     at haven.Utils.readBytes(Utils.java:455)
     [exec]     at haven.Resource$Code.<init>(Resource.java:1025)
     [exec]     ... 8 more


I just type ant on the command line to compile.
User avatar
czaper2
 
Posts: 389
Joined: Mon Aug 26, 2013 12:48 pm

Re: Ender Client

Postby mvgulik » Mon Apr 26, 2021 7:32 pm

Suggestion:

Instead of having a separate display setting "Draw hitbox on top" to change between "background" and "on top" mode for hitboxes.
Turning hitbox mode toggle into a cycling one stepping trough the 3 modes. ["on-background", "on-on top", "off"]
mvgulik
 
Posts: 3766
Joined: Fri May 21, 2010 2:29 am

Re: Ender Client

Postby Adri » Tue Apr 27, 2021 2:44 am

Thank you, Ender, for making this client.

For about a week now, whenever I right-click on a chicken coop, I crash with the following code:

Code: Select all
haven.Resource$LoadException: Weird version number on gfx/invobjs/hen (65535 > 2)
   at haven.Resource$Pool.load(Resource.java:540)
   at haven.Session$CachedRes.set(Session.java:183)
   at haven.Session$RWorker.handlerel(Session.java:343)
   at haven.Session$RWorker.getrel(Session.java:374)
   at haven.Session$RWorker.run(Session.java:460)


May I ask for help in fixing this? Is it a local issue?
User avatar
Adri
 
Posts: 29
Joined: Tue Apr 20, 2021 11:41 am

PreviousNext

Return to The Wizards' Tower

Who is online

Users browsing this forum: Claude [Bot] and 3 guests