Ender Client

Forum for alternative clients, mods & discussions on the same.
Hickupp
Posts: 178
Joined: Thu Oct 15, 2020 6:33 am

Re: Ender Client

Post by Hickupp »

EnderWiggin wrote:That's really weird. And I still can't figure out a way to reproduce this. Is Mine Construction action on your default belt (the one glued to chat) or on custom one? If on custom one try renaming/removing belts.json file and then set it up again. If on default belt try logging in on default client and remove that action from the belt.
That's the thing ... I have nothing related to mining on any belt.

- Disable "belts.json" file.
- Disabled "radar.json" custom file.
In game:
- Cleared the default belts (alt+1..0)
- Cleared the ender belt (there is only one ender belt, right?)
Restart.
... I can still trigger it.

Here is a slightly different error version.

Code: Select all

haven.Resource$NoSuchResourceException: Failed to load resource paginae/bld/minecons (v5)
	at haven.Resource$Pool$Queued.get(Resource.java:558)
	at haven.Resource$Pool$Queued.get(Resource.java:526)
	at haven.MenuGrid$Pagina.res(MenuGrid.java:104)
	at haven.MenuGrid$Pagina.button(MenuGrid.java:118)
	at haven.MenuGrid$Pagina.parent(MenuGrid.java:132)
	at haven.MenuGrid.cons(MenuGrid.java:473)
	at haven.MenuGrid.consb(MenuGrid.java:441)
	at haven.MenuGrid.updlayout(MenuGrid.java:494)
	at haven.MenuGrid.tick(MenuGrid.java:681)
	at haven.Widget.tick(Widget.java:752)
	at haven.Widget.tick(Widget.java:752)
	at haven.GameUI.tick(GameUI.java:1444)
	at haven.Widget.tick(Widget.java:752)
	at haven.UI.tick(UI.java:385)
	at haven.GLPanel$Loop.run(GLPanel.java:380)
	at haven.JOGLPanel.run(JOGLPanel.java:246)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: haven.Resource$LoadException: Load error in resource paginae/bld/minecons(v5), from local res source (res)
	at haven.Resource$Pool.handle(Resource.java:619)
	at haven.Resource$Pool.access$1200(Resource.java:503)
	at haven.Resource$Pool$Loader.run(Resource.java:745)
	... 1 more
	Suppressed: haven.Resource$LoadException: Load error in resource paginae/bld/minecons(v5), from local res source (res-preload)
		... 4 more
		Suppressed: haven.Resource$LoadException: Load error in resource paginae/bld/minecons(v5), from filesystem res source (/home/mvg/Games/HnH/Ender/res)
			... 4 more
		Caused by: java.io.FileNotFoundException: paginae/bld/minecons
			at haven.Resource$FileSource.get(Resource.java:301)
			at haven.Resource$Pool.handle(Resource.java:604)
			... 3 more
		Caused by: java.nio.file.NoSuchFileException: /home/mvg/Games/HnH/Ender/res/paginae/bld/minecons.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:218)
			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:299)
			... 4 more
	Caused by: java.io.FileNotFoundException: Could not find resource locally: /res-preload/paginae/bld/minecons.res
		at haven.Resource$JarSource.get(Resource.java:321)
		at haven.Resource$Pool.handle(Resource.java:604)
		... 3 more
Caused by: java.io.FileNotFoundException: Could not find resource locally: /res/paginae/bld/minecons.res
	at haven.Resource$JarSource.get(Resource.java:321)
	at haven.Resource$Pool.handle(Resource.java:604)
	... 3 more
I tried to trigger this error by not using beds to logout the character(s). But could not.
... Instead of the bed I used ":lo" ... but that's not exactly the same thing as using a bed to logout a character.
Hickupp
Posts: 178
Joined: Thu Oct 15, 2020 6:33 am

Re: Ender Client

Post by Hickupp »

Just in case I also tried it after clearing the "data/mm-icons-2" files for both characters from the game cache folder. ... Still can trigger this error.

... I could get the mining skill on the other character, to see if that also starts to trigger this error on that character. But ... I don't really like to do that if its not really needed.
User avatar
EnderWiggin
Posts: 1156
Joined: Sat Mar 20, 2010 8:23 pm

Re: Ender Client

Post by EnderWiggin »

The only thing that comes to mind to try with this issue is to export your map, clear resource cache and then import map back. Maybe Mine Construction resource downloaded broken.
Hickupp
Posts: 178
Joined: Thu Oct 15, 2020 6:33 am

Re: Ender Client

Post by Hickupp »

Clearing the games cache did not get rid of the error. But ... it did make the error reproducible on demand (phew).

... after some more tinkering ...

The problem came from my custom ".../Ender/res/paginae/bld/minehole.res" res file.
Not sure why I ever put that one in "/bld/" ... probably forgot to remove it after some initial testing/experimenting a long time ago.

Anyway. Problem solved.
And thanks for at least trying to help.
User avatar
EnderWiggin
Posts: 1156
Joined: Sat Mar 20, 2010 8:23 pm

Re: Ender Client

Post by EnderWiggin »

Updated beta client:
* made custom tool belts store action same way default client does - on server side. This, unfortunately, means that all currently setup actions on custom belts will be empty and you'll need to add them again.
User avatar
tadeo
Posts: 55
Joined: Tue Jul 14, 2020 8:53 pm

Re: Ender Client

Post by tadeo »

Hey im new to ender , it is way to fill all curds from inventory to cheese trays in one click in ender. And 2th thing some shortcut to buy/sell more items than one in barter stands ? Ty for help in andvance
World 2-4 Small steps in hermitting nothing big ¦]
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
World 12 Ted Mega Chad Hermit
World 13 Ted Member of Kulwa Village / ( ͡° ͜ʖ ͡°)
World 14 Ted Member of Alpaca Farm
World 15 Ted Member of Tempest City
User avatar
EnderWiggin
Posts: 1156
Joined: Sat Mar 20, 2010 8:23 pm

Re: Ender Client

Post by EnderWiggin »

updated regular and beta clients:
  • fixed cattle window detection
  • fixed crash when picking up item with not-yet-loaded resource
  • fixed use: item filter not working
Hickupp
Posts: 178
Joined: Thu Oct 15, 2020 6:33 am

Re: Ender Client

Post by Hickupp »

"Item drop protection" is nice. But when enabled is there a way to open containers (like a crate) while holding something on your cursor (like a non empty bucket) ?

O, yea. With "Item drop protection" active. It seem you can't just walk away from your hart-fire after harting-home with something on your cursor.
Hickupp
Posts: 178
Joined: Thu Oct 15, 2020 6:33 am

Re: Ender Client

Post by Hickupp »

Error when trying to enter Valhalla.
- The first case, some time ago (2023, not included here) the character made it into Valhalla. While triggering the error after walking a bit.
- Now it seems the character can't even make it that far. (ie: Don't need to do any walking)
- Only seems to effect a particular character. (so far ... )
- Timing might play a part here. As in the chance of this error seem higher when trying to get to Valhalla fast. (from client startup)
- Beta.

Error.log (try-1) before closing the client (displayed at crash):

Code: Select all

java.lang.NullPointerException: Cannot invoke "haven.MapView.player()" because "this.ui.gui.map" is null
	at haven.MiniMap.drawview(MiniMap.java:1087)
	at haven.MiniMap.drawparts(MiniMap.java:754)
	at haven.MiniMap.draw(MiniMap.java:769)
	at haven.GameUI$CornerMap.draw(GameUI.java:1387)
	at haven.Widget.draw(Widget.java:784)
	at haven.Widget.draw(Widget.java:789)
	at haven.Widget.draw(Widget.java:784)
	at haven.Widget.draw(Widget.java:789)
	at haven.GameUI.draw(GameUI.java:1283)
	at haven.Widget.draw(Widget.java:784)
	at haven.Widget.draw(Widget.java:789)
	at haven.RootWidget.draw(RootWidget.java:121)
	at haven.UI.draw(UI.java:397)
	at haven.GLPanel$Loop.display(GLPanel.java:311)
	at haven.GLPanel$Loop.run(GLPanel.java:400)
	at haven.JOGLPanel.run(JOGLPanel.java:246)
	at java.base/java.lang.Thread.run(Thread.java:833)
Error.log(try-2) before closing the client (displayed at crash):

Code: Select all

java.lang.NullPointerException: Cannot invoke "haven.MapView.player()" because "this.ui.gui.map" is null
	at haven.MiniMap.setBiome(MiniMap.java:1146)
	at haven.MiniMap.tick(MiniMap.java:226)
	at haven.Widget.tick(Widget.java:752)
	at haven.Widget.tick(Widget.java:752)
	at haven.GameUI.tick(GameUI.java:1447)
	at haven.Widget.tick(Widget.java:752)
	at haven.UI.tick(UI.java:385)
	at haven.GLPanel$Loop.run(GLPanel.java:380)
	at haven.JOGLPanel.run(JOGLPanel.java:246)
	at java.base/java.lang.Thread.run(Thread.java:833)
Error.log after closing the client (same for both):

Code: Select all

haven.UI$CommandException: error during ui command-handling: #<cmd 693 #<addwdg 34 @ 32 [inv]> (deps 34 32) (bars 34 32)>
	at haven.UI$CommandQueue.run(UI.java:292)
	at haven.UI$CommandQueue.lambda$execute$0(UI.java:300)
	at haven.Loader.lambda$defer$0(Loader.java:240)
	at haven.Loader$Future.run(Loader.java:71)
	at haven.Loader$Future.access$400(Loader.java:42)
	at haven.Loader.loop(Loader.java:202)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.NullPointerException: Cannot invoke "haven.GameUI.addInventory(haven.Widget)" because "this.ui.gui" is null
	at haven.ExtInventory.added(ExtInventory.java:142)
	at haven.Widget.add0(Widget.java:251)
	at haven.Widget.add(Widget.java:266)
	at haven.Widget.add(Widget.java:272)
	at haven.GameUI.addchild(GameUI.java:1074)
	at haven.UI$AddWidget.run(UI.java:490)
	at haven.UI$CommandQueue.run(UI.java:288)
	... 6 more
Both (before and after) are from the same error. (as in "Error.log" is auto renamed just before client startup.)

...

- Figure its probably not really character related. At some (slowed down) try, I made it into Valhalla, and walked around a bit, but could not trigger the error in that case.
User avatar
Fr_Dae
Posts: 39
Joined: Sat Nov 11, 2023 5:44 pm

Re: Ender Client

Post by Fr_Dae »

new bug found
- https://github.com/EnderWiggin/hafen-client/issues/115

- still wait for merge my PR for fix issue with linux launcher and folder (tested and work )

Return to “The Wizards' Tower”