Giter Club home page Giter Club logo

ardclient's Introduction

This is unstable version.
Downloads

Public community client start... Everyone who can - can help in creating. New Render Client coming soon.

Developers can't - we can. We will help developers make Client Great Again.

ardclient's People

Contributors

ardenneslol avatar cediner avatar lachlaan avatar vareckeska avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ardclient's Issues

U can't hide frogs

In minimap in icon setting, even if i have unchecked to show frogs they still are showing on minimap.

SeedCropFarmer.java: Hemp and flax not putting seed in barrel right before stockpiling stage

Is your feature request related to a problem? Please describe.
SeedCropFarmer problem. When script harvest last crop, it move to barrel, it put them to barrel and then start picking up ground object and stockpiling. But this not works for flax and hemp, if you harvesting them, script start picking ground items just after last crop harvest, with inventiry full of seeds. And if you inventory have only a few slots for fibres, it is easier to stop script and run StockpileFiller.java instead.
I browsed repo and found, that it could be becasue this commit
https://github.com/Cediner/ArdClient/commit/7679e8b3cdd099841ba8535db87d27d8e9a022c6
But i`m not sure

Describe the solution you'd like
Have no idea, because skipping flax and hemp could be workaroung fix for some bigger bug from that commit.

Additional context
And also it would be cool if after harvest stage would be something like https://github.com/Cediner/ArdClient/tree/Unstable/src/haven/automation/EquipSacks.java

l10n update and messages in console

Hello Cediner.
I have a few questions.

  1. Do you plan update l10n files? Some parameters are missed. There aren't for skills: Landscaping, Ancestral Worship, Charcoal Burning, Glass Blowing. I found for 1 and 2 - paginae/skills/ancw and paginae/skills/landscaping . I have no idea what should be for other two. Also, doesn't match parameters for Action Menu.
  2. When client starts throw console there are these messages:
    Wrong res version (24 != 25) gfx/borka/body(v25)
    Wrong res version (13 != 15) gfx/borka/idle(v15)
    Wrong res version (20 != 24) gfx/borka/male(v24)
    Wrong res version (3 != 4) gfx/hud/chr/fev/con(v4)
    Wrong res version (3 != 5) gfx/hud/chr/fev/dex(v5)
    Wrong res version (3 != 5) gfx/hud/chr/fev/int(v5)
    Wrong res version (3 != 5) gfx/hud/chr/fev/prc(v5)
    Wrong res version (1 != 2) gfx/invobjs/bucket(v2)
    Wrong res version (14 != 15) sfx/tiles/step(v15)
    Wrong res version (6 != 7) gfx/terobjs/herbs/blueberry(v7)
    Wrong res version (77 != 80) gfx/terobjs/pow(v80)
    Wrong res version (15 != 20) gfx/terobjs/trees/pine(v20)
    Wrong res version (8 != 9) lib/plants(v9) ......
    and many other.
    Seems some res files needs update too, isn't it?

I will be glad to help but I don't know how.

Thank you for your future response.
WBR

Option to revert study window back to real time?

Discussed in #58

Originally posted by Er-o-ck September 13, 2022
Does this option exist I can't find it anywhere if it does. Not liking that my curios are displaying in-game time. Very confusing and has no real practical use for me.

Unclear behavior with smoked meat cuts & fish

  1. Given 0 entries with desired smoked food in database https://food.hearthlands.net/
    (for ex. name:Smoked plaice;from:olive)
  2. Smoked plaice with olive tree has been made, taken and placed in cupboard.
  3. Client sends nothing.
  4. No entries added to database.

Same happened with other 15 fish cuts smoked with olive tree
And probably with raw meat too.
But sausages work well!

Trees and decorations

Trees are not moving, elven lights on stage grown trees are not showing right, and yule star stuck in middle height of tree.
ARDClient -
c5de3f9b1de33147f4e231c0b5733639
307d765e0c45b650679159bb11d459d6
NativeClient -
a60a2e0bcba63b1d6e48d1e136b7de39
b932cc361b60d5595c325a145602ed92

Newest Version Broken

Newest version throwing
java.lang.NoSuchMethodError: com.jogamp.common.util.SecurityUtil.doPrivileged(Ljava/security/PrivilegedAction;)Ljava/lang/Object;

To Reproduce

  1. Launch run_console.bat

Expected behavior
Files run, game launches

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
Windows 10
Java 1.8.0_144

Crash on start

First crash report comes then the game opens.

20210326.171f800f
Windows 10 10.0 x64, 1.8.0_281 amd64
null

org.armedbear.lisp.IntegrityError
at org.armedbear.lisp.Primitives$pf_error.execute(Primitives.java:1577)
at org.armedbear.lisp.Primitive.execute(Primitive.java:113)
at org.armedbear.lisp.Symbol.execute(Symbol.java:803)
at org.armedbear.lisp.Lisp.error(Lisp.java:383)
at org.armedbear.lisp.Stream.readToken(Stream.java:1199)
at org.armedbear.lisp.Stream.processChar(Stream.java:595)
at org.armedbear.lisp.Stream.readList(Stream.java:755)
at org.armedbear.lisp.LispReader$3.execute(LispReader.java:88)
at org.armedbear.lisp.Stream.processChar(Stream.java:588)
at org.armedbear.lisp.Stream.readPreservingWhitespace(Stream.java:557)
at org.armedbear.lisp.Stream.readPreservingWhitespace(Stream.java:566)
at org.armedbear.lisp.Stream.read(Stream.java:501)
at org.armedbear.lisp.Load.loadStream(Load.java:625)
at org.armedbear.lisp.Load.loadFileFromStream(Load.java:597)
at org.armedbear.lisp.Load.loadFileFromStream(Load.java:477)
at org.armedbear.lisp.Load.loadSystemFile(Load.java:375)
at org.armedbear.lisp.Interpreter.initializeLisp(Interpreter.java:172)
at org.armedbear.lisp.Interpreter.createInstance(Interpreter.java:72)
at haven.sloth.script.LispScript.(LispScript.java:10)
at java.lang.Thread.run(Unknown Source)

"Cannot create food info: oname" for smoked food

I made different smoked sausages with Golden chain tree (no one on food service still).
Started client with console window.
When my smoked sausages are in view, client outputs error in console "Cannot create food info: oname" instead of sending data.

java.lang.RuntimeException: Pagina in <q:paginae/act/landscape(v5)> lacks action

Describe the bug
A clear and concise description of what the bug is.

After world is loaded the MenuGrid is not created as normal and the exception is thrown.
The exception is repeated every few seconds in a loop.

To Reproduce
Steps to reproduce the behavior:
**1. Start client
2. Login
3. Choose character
4. Waiting for word loading
5. Exception will be thrown during MenuGrid creation

This behavior is not every time, this happens sometimes! It feels like a timing/thread thing.**

Expected behavior
A clear and concise description of what you expected to happen.

After world is loaded the MenuGrid should be created in the indeeded fashion and no exception should be thrown.

Screenshots
If applicable, add screenshots to help explain your problem.

image

image

Desktop (please complete the following information):

  • OS: Windows 11
  • OpenJDK

Additional context
Add any other context about the problem here.

15:38] java.lang.RuntimeException: Pagina in <q:paginae/act/landscape(v5)> lacks action
[15:38] at haven.MenuGrid.cons(MenuGrid.java:480)
[15:38] at haven.MenuGrid.updlayout(MenuGrid.java:1263)
[15:38] at haven.MenuGrid.tick(MenuGrid.java:1517)
[15:38] at haven.Widget.tick(Widget.java:833)
[15:38] at haven.Widget.tick(Widget.java:833)
[15:38] at haven.GameUI.tick(GameUI.java:1430)
[15:38] at haven.Widget.tick(Widget.java:833)
[15:38] at haven.RootWidget.tick(RootWidget.java:98)
[15:38] at haven.UI.tick(UI.java:235)
[15:38] at haven.HavenPanel.run(HavenPanel.java:762)
[15:38] at java.base/java.lang.Thread.run(Thread.java:1589)

Client crashes, after choosing a character

Describe the bug
Latest updated client.
When I click the character button, the client crashes with the following error message:
2021.05.19.c602926c
Windows 10 10.0 x64, 1.8.0_121 amd64
Intel (Intel(R) UHD Graphics 630) - 4.4.0 - Build 23.20.16.4944

java.lang.NullPointerException
at haven.sloth.gui.ForageHelperWnd.removed(ForageHelperWnd.java:188)
at haven.UI.removeid(UI.java:410)
at haven.UI.removeid(UI.java:418)
at haven.UI.removeid(UI.java:418)
at haven.UI.destroy(UI.java:672)
at haven.HavenPanel.run(HavenPanel.java:849)
at java.lang.Thread.run(Unknown Source)

To Reproduce
Steps to reproduce the behavior:

  1. Run the client
  2. Log in
  3. Click the character button :)
  4. See error

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Java Version: Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

PBotCheckbox is using the wrong base constructor.

public PBotCheckbox(String lbl, boolean val) {
super(lbl, val);
}

val is supposed to be the initial value (I guess), but in base constructor it's the size of checkbox

public CheckBox(String lbl, boolean lg, final Consumer<Boolean> onChange) {
this.lbl = Text.std.render(Resource.getLocString(Resource.BUNDLE_LABEL, lbl), java.awt.Color.WHITE);
if (lg) {
type = "chkbox/large";
} else {
type = "chkbox/small";
}
final Coord boxsz = Theme.timg(type, 0).sz;
sz = new Coord(boxsz.x + 5 + this.lbl.sz().x, Math.max(boxsz.y, this.lbl.sz().y));
this.onChange = onChange;
}
public CheckBox(String lbl, boolean lg) {
this(lbl, lg, null);
}

Render.

Rewrite to new render system, that could increase FPS.

Crash

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Run the Runme.bat file. and click on the character.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
2022.01.14.92ce471b
Windows 10 10.0 x64, 1.8.0_281 amd64
NVIDIA Corporation (NVIDIA GeForce RTX 3080/PCIe/SSE2) - 4.6.0 NVIDIA 497.09

java.lang.NoSuchMethodError: java.nio.ShortBuffer.rewind()Ljava/nio/ShortBuffer;
at haven.FastMesh$VAOState.bindindbo(FastMesh.java:209)
at haven.FastMesh$VAOState.apply(FastMesh.java:230)
at haven.GLState$Applier.apply(GLState.java:571)
at haven.FastMesh$VAOCompiler$VAOCompiled.draw(FastMesh.java:280)
at haven.FastMesh.draw(FastMesh.java:387)
at haven.RenderList.render(RenderList.java:448)
at haven.RenderList.render(RenderList.java:520)
at haven.PView.draw(PView.java:265)
at haven.Avaview.draw(Avaview.java:290)
at haven.Widget.draw(Widget.java:849)
at haven.Widget.draw(Widget.java:865)
at haven.Charlist.draw(Charlist.java:141)
at haven.Widget.draw(Widget.java:849)
at haven.Widget.draw(Widget.java:865)
at haven.Widget.draw(Widget.java:849)
at haven.Widget.draw(Widget.java:865)
at haven.RootWidget.draw(RootWidget.java:82)
at haven.UI.draw(UI.java:228)
at haven.HavenPanel.rootdraw(HavenPanel.java:459)
at haven.HavenPanel.run(HavenPanel.java:761)
at java.lang.Thread.run(Unknown Source)

Flickering.

When mining, screen started to flicker, like it reloads screen or something like that.

Latest client won't start

Describe the bug
After an update, using "RunMe.bat" the client does not start.
When using the "Run_console.bat", the following is shown:
C:\H&H\Ard>java -Xss1024k -Xms512m -Xmx1024M -jar build/hafen.jar -U https://game.havenandhearth.com/hres/ game.havenandhearth.com
Base URL: https://game.havenandhearth.com/hres/
Weird version number on gfx/hud/chr/melee (4 > 3)Mar 01, 2021 11:29:04 PM haven.sloth.io.Storage create
SEVERE: failed to create dynamic storage jdbc:sqlite:static.sqlite
org.sqlite.SQLiteException: [SQLITE_BUSY] The database file is locked (database is locked)
at org.sqlite.core.DB.newSQLException(DB.java:941)
at org.sqlite.core.DB.newSQLException(DB.java:953)
at org.sqlite.core.DB.execute(DB.java:854)
at org.sqlite.core.CoreStatement.exec(CoreStatement.java:80)
at org.sqlite.jdbc3.JDBC3Statement.execute(JDBC3Statement.java:53)
at org.sqlite.SQLiteConfig.apply(SQLiteConfig.java:152)
at org.sqlite.SQLiteConnection.(SQLiteConnection.java:65)
at org.sqlite.jdbc3.JDBC3Connection.(JDBC3Connection.java:28)
at org.sqlite.jdbc4.JDBC4Connection.(JDBC4Connection.java:21)
at org.sqlite.JDBC.createConnection(JDBC.java:115)
at org.sqlite.SQLiteDataSource.getConnection(SQLiteDataSource.java:410)
at haven.sloth.io.Storage.mkcon(Storage.java:109)
at haven.sloth.io.Storage.(Storage.java:71)
at haven.sloth.io.Storage.create(Storage.java:59)
at haven.DefSettings.init(DefSettings.java:377)
at haven.MainFrame.main2(MainFrame.java:445)
at haven.MainFrame.access$100(MainFrame.java:54)
at haven.MainFrame$7.run(MainFrame.java:489)
at java.lang.Thread.run(Thread.java:748)

SImilar issue is seen with other users, on another machines.

Getting Crash help to fix ...

Client was working well until i started to get this issue,i can play but seems like everytime i try to see a batwings or use a cape it is just crash client ,same issue with smoked shed.Any help?

Java 1.8.0_291-b10
OS Windows 10 10.0 amd64
GPU NVIDIA Corporation (NVIDIA GeForce GTX 1050/PCIe/SSE2) - 4.6.0 NVIDIA 466.27
java.lang.RuntimeException: Delayed error in resource gfx/invobjs/batwings (v1), from forking source backed by HTTP res source (https://game.havenandhearth.com/hres/)
at haven.Resource$Pool$Queued.get(Resource.java:507)
at haven.Resource$Pool$Queued.get(Resource.java:472)
at haven.Session$CachedRes$Ref.get(Session.java:143)
at haven.Session$CachedRes$Ref.get(Session.java:136)
at haven.GItem.spr(GItem.java:203)
at haven.GItem.tick(GItem.java:232)
at haven.Widget.tick(Widget.java:787)
at haven.Widget.tick(Widget.java:787)
at haven.Widget.tick(Widget.java:787)
at haven.GameUI.tick(GameUI.java:1318)
at haven.Widget.tick(Widget.java:787)
at haven.UI.tick(UI.java:187)
at haven.HavenPanel.run(HavenPanel.java:753)
at java.lang.Thread.run(Unknown Source)
Caused by: haven.Resource$LoadException: Load error in resource gfx/invobjs/batwings(v1), from forking source backed by HTTP res source (https://game.havenandhearth.com/hres/)
at haven.Resource$Pool.handle(Resource.java:569)
at haven.Resource$Pool.access$1200(Resource.java:449)
at haven.Resource$Pool$Loader.run(Resource.java:715)
... 1 more
Suppressed: haven.Resource$LoadException: Load error in resource gfx/invobjs/batwings(v1), from cache source backed by HashDirCache(https://game.havenandhearth.com/hres/)
... 4 more
Suppressed: haven.Resource$LoadException: Load error in resource gfx/invobjs/batwings(v1), from local res source (res-preload)
... 4 more
Suppressed: haven.Resource$LoadException: Load error in resource gfx/invobjs/batwings(v1), from local res source (res)
... 4 more
Caused by: java.io.FileNotFoundException: Could not find resource locally: /res/gfx/invobjs/batwings.res
at haven.Resource$JarSource.get(Resource.java:355)
at haven.Resource$Pool.handle(Resource.java:553)
... 3 more
Caused by: java.io.FileNotFoundException: Could not find resource locally: /res-preload/gfx/invobjs/batwings.res
at haven.Resource$JarSource.get(Resource.java:355)
at haven.Resource$Pool.handle(Resource.java:553)
... 3 more
Caused by: java.io.IOException: Ошибка в данных (CRC)
at java.io.RandomAccessFile.read0(Native Method)
at java.io.RandomAccessFile.read(Unknown Source)
at java.io.RandomAccessFile.readByte(Unknown Source)
at haven.HashDirCache.readhead(HashDirCache.java:117)
at haven.HashDirCache.lookup(HashDirCache.java:241)
at haven.HashDirCache.fetch(HashDirCache.java:336)
at haven.Resource$CacheSource.get(Resource.java:306)
at haven.Resource$Pool.handle(Resource.java:553)
... 3 more
Caused by: java.io.IOException: Ошибка в данных (CRC)
at java.io.RandomAccessFile.read0(Native Method)
at java.io.RandomAccessFile.read(Unknown Source)
at java.io.RandomAccessFile.readByte(Unknown Source)
at haven.HashDirCache.readhead(HashDirCache.java:117)
at haven.HashDirCache.lookup(HashDirCache.java:241)
at haven.HashDirCache.store(HashDirCache.java:311)
at haven.Resource$1Caching.fork(Resource.java:858)
at haven.Resource$TeeSource.get(Resource.java:287)
at haven.Resource$Pool.handle(Resource.java:553)
... 3 more

PBot multithreading not wotking

Creating a new thread for PBotButton and PBotCheckbox throws an error. (And for PBotCheckbox, this causes the client to crash as there is no try..catch block)
java.lang.IllegalStateException: Multi threaded access requested by thread Thread[Thread-25,5,Haven client] but is not allowed for language(s) js.

As far as I researched that error: concurrent access to JavaScript objects is not allowed: any JavaScript object cannot be accessed by more than one thread at a time. (https://www.graalvm.org/reference-manual/js/Multithreading/)

SeedCropFarmer.java: big piles stockpiling bug

Describe the bug
Straw piles are big, the size of pile is more than 1 tile. So before, when you was using "stockpile" checkbar in cropfarmer, piles was created every 2 tiles, like this:
Screenshot_4
Steps was like this:
1 Place first pile on first tile
2 Move and check second tile
3 Second tile is occupied(by a pile on first tile)
4 Move and check third tile
5 Tile is empty, place pile
and then repeat untill stock area ends
But now steps like that:
1 Place first pile on first tile
2 Move and check second tile
3 Second tile is occupied(by a pile on first tile)
4 Farmer finished work
It is placing one pile and even not filling it with straw from inventory, just break the cycle.
Screenshot_3

To Reproduce
Steps to reproduce the behavior:
1 Take at least 2 straw items and 1 empty barrel
2 Run farmer, check "stockpile" checkbox
3 Select random empty "selec area" and 1x3 empty "stockpile area" zones
4 Press any straw crop button, barley for example, alt-click on empty barrel
5 Press that straw crop button again and wait untill the bug

SeedCropFarmer.java: script goes to infinite loop with new pocket gild system

Describe the bug
New pocket gilds allows to increase inventory size. But each gild adds only one slot to inventory. So now game have non-rectange inventories. For exmaple, i have backpack, bought game and merchants robe, so my inventory is 7x5. I wear two linen pants with 3 pockets each, which add me 6 pockets. 5 pockets counts as new column, so i have 8x5 inv, and last pockest start new row with only one cell on it. And script seems to use only rectangle, so it thinks that my inventory not 8x5+1, but 8x6. So when inventory is full, script thinks that there is some free space and infinitley try to harvest crop.
Screenshot_2

To Reproduce
Steps to reproduce the behavior:

  1. Take off all inventory slots gear
  2. Wear gear with atleast one pocket
  3. Run script on a field with enough crops to fill 1 inventory
  4. See infinite loop

Lanternpost

Building lantern posts, and adding rope to them.
ARDClient -
3fa5c52a43cbd527dd45996353fca26e

NativeClient -
eab97b102e8c32a316babe12d38eb5a3

Change UI size?

Either missing feature or im totally blind (yeah thats the reason why i need bigger UI :P)

Session Multi-Client Feature memory leak

Using the Sessions multi-client feature seems to invariably lead to issues with memory leaks consistently, particularly when creating and logging into a new session where one character is inside of another instanced area (such as a building, in a cave, etc) while the other is outside in the overworld. Can't exactly list any error logs with this since it doesn't lead to crashes, but at this point the game becomes more or less unplayable due to constant buffering framerates (jumps from playable to about 3 or 4 before getting back to regular framerates) every few seconds. Only way to fix the problem at this point is just to launch a new instance of the client and log back in again.

Minimap

  1. Minimap don't have cliff outline anymore.
  2. This kinda mess.
    037c41778e72203c486a6283dd454784

"Farmer" bot throws an error on placing stage

Describe the bug
Farmer bot "SeedCropFarmer.java" have an error on the stage of placing piles

To Reproduce
Steps to reproduce the behavior:

  1. Use script "Farmer" from automation
  2. Wait till script start placing
  3. See error

Expected behavior
Piles should be placed right

Screenshots

Windows 10 10.0 x64, 1.8.0_341 amd64
NVIDIA Corporation (NVIDIA GeForce GTX 1650/PCIe/SSE2) - 4.6.0 NVIDIA 512.15

java.lang.NoSuchFieldError: placing
	at haven.purus.pbot.PBotGobAPI.placeThing(PBotGobAPI.java:555)
	at haven.purus.SeedCropFarmer.run(SeedCropFarmer.java:846)
	at java.lang.Thread.run(Unknown Source)

Java 8 341

Additional context
Searched in repository, MapView.java file says that placing var exists in that map class

message from client

[15:48] Tick of QuestList sun.misc.Launcher$AppClassLoader@55f96302 cause a java.lang.NullPointerException Look at debug channel. Please contact the developer!

Selecting Character and then crash

20210221.1cd1fc0d
Windows 10 10.0 x64, 1.8.0_261 amd64
NVIDIA Corporation (GeForce GTX 750 Ti/PCIe/SSE2) - 4.6.0 NVIDIA 460.79

java.lang.ArrayIndexOutOfBoundsException: 17
at haven.Equipory.addchild(Equipory.java:178)
at haven.UI.newwidget(UI.java:210)
at haven.RemoteUI.run(RemoteUI.java:66)
at haven.MainFrame.run(MainFrame.java:369)
at java.lang.Thread.run(Unknown Source)

Crash after enabling the new Butcher bot

Describe the bug
Near live pigs, butchering pigs' corpses, using the butcher knife. The Butcher bot was ran and failed.
Pigs' corpses were skinned and the "Skin" option was checked in the bot window.

To Reproduce
Happened only once, haven't reproduced it yet.
Dump below.

Expected behavior
A clear and concise description of what you expected to happen.

Desktop:
Dell Latitude 5400, Intel Grafix card

Additional context
20210221.b7d13fbc
Windows 10 10.0 x64, 1.8.0_265 amd64
Intel (Intel(R) UHD Graphics 620) - 4.4.0 - Build 26.20.100.8141

java.lang.IllegalStateException: Multi threaded access requested by thread Thread[Thread-27,5,Haven client] but is not allowed for language(s) js.
at com.oracle.truffle.polyglot.PolyglotContextImpl.throwDeniedThreadAccess(PolyglotContextImpl.java:602)
at com.oracle.truffle.polyglot.PolyglotContextImpl.checkAllThreadAccesses(PolyglotContextImpl.java:521)
at com.oracle.truffle.polyglot.PolyglotContextImpl.enterThreadChanged(PolyglotContextImpl.java:440)
at com.oracle.truffle.polyglot.PolyglotContextImpl.enter(PolyglotContextImpl.java:401)
at com.oracle.truffle.polyglot.PolyglotContextImpl.enterIfNeeded(PolyglotContextImpl.java:378)
at com.oracle.truffle.polyglot.PolyglotContextImpl.eval(PolyglotContextImpl.java:748)
at org.graalvm.polyglot.Context.eval(Context.java:335)
at org.graalvm.polyglot.Context.eval(Context.java:361)
at haven.purus.pbot.gui.PBotWindow$2$1.run(PBotWindow.java:70)
at java.lang.Thread.run(Thread.java:748)

Crash

2022.01.14a.ba25695e
Windows 10 10.0 x64, 1.8.0_311 amd64
ATI Technologies Inc. (AMD Radeon(TM) Vega 6 Graphics) - 4.4.13596 Compatibility Profile Context 20.10.35.02 27.20.1034.6

java.lang.RuntimeException: Delayed error in resource gfx/terobjs/bushes/poppycaps (v13), from forking source backed by HTTP res source (https://game.havenandhearth.com/hres/)
at haven.Resource$Pool$Queued.get(Resource.java:505)
at haven.Resource$Pool$Queued.get(Resource.java:470)
at haven.Session$CachedRes$Ref.get(Session.java:147)
at haven.Session$CachedRes$Ref.get(Session.java:140)
at haven.ResDrawable.getres(ResDrawable.java:173)
at haven.Gob.getres(Gob.java:1640)
at haven.Gob.res(Gob.java:1629)
at haven.Gob.resname(Gob.java:1619)
at haven.Gob.ctick(Gob.java:584)
at haven.OCache.ctick(OCache.java:164)
at haven.Glob.ctick(Glob.java:198)
at haven.HavenPanel.run(HavenPanel.java:750)
at java.lang.Thread.run(Unknown Source)
Caused by: haven.Resource$LoadException: Load error in resource gfx/terobjs/bushes/poppycaps(v13), from forking source backed by HTTP res source (https://game.havenandhearth.com/hres/)
at haven.Resource$Pool.handle(Resource.java:564)
at haven.Resource$Pool.access$1200(Resource.java:447)
at haven.Resource$Pool$Loader.run(Resource.java:710)
... 1 more
Suppressed: haven.Resource$LoadException: Load error in resource gfx/terobjs/bushes/poppycaps(v13), from cache source backed by HashDirCache(https://game.havenandhearth.com/hres/)
... 4 more
Suppressed: haven.Resource$LoadException: Load error in resource gfx/terobjs/bushes/poppycaps(v13), from local res source (res-preload)
... 4 more
Suppressed: haven.Resource$LoadException: Load error in resource gfx/terobjs/bushes/poppycaps(v13), from local res source (res)
... 4 more
Caused by: java.io.FileNotFoundException: Could not find resource locally: /res/gfx/terobjs/bushes/poppycaps.res
at haven.Resource$JarSource.get(Resource.java:355)
at haven.Resource$Pool.handle(Resource.java:551)
... 3 more
Caused by: java.io.FileNotFoundException: Could not find resource locally: /res-preload/gfx/terobjs/bushes/poppycaps.res
at haven.Resource$JarSource.get(Resource.java:355)
at haven.Resource$Pool.handle(Resource.java:551)
... 3 more
Caused by: haven.Message$EOF: Required 16 bytes, got only 0
at haven.Message.rensure(Message.java:114)
at haven.Message.bytes(Message.java:197)
at haven.Resource.load(Resource.java:1964)
at haven.Resource.access$700(Resource.java:94)
at haven.Resource$Pool.handle(Resource.java:554)
... 3 more
Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodError: java.nio.FloatBuffer.rewind()Ljava/nio/FloatBuffer;
at haven.Utils.construct(Utils.java:2115)
at haven.VertexBuf$1.cons(VertexBuf.java:633)
at haven.VertexBuf$VertexRes.(VertexBuf.java:674)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at haven.Resource$LayerConstructor.cons(Resource.java:940)
at haven.Resource.load(Resource.java:1989)
at haven.Resource.access$700(Resource.java:94)
at haven.Resource$Pool.handle(Resource.java:554)
... 3 more
Caused by: java.lang.NoSuchMethodError: java.nio.FloatBuffer.rewind()Ljava/nio/FloatBuffer;
at haven.VertexBuf$FloatArray.(VertexBuf.java:178)
at haven.VertexBuf$TexelArray.(VertexBuf.java:365)
at haven.VertexBuf$TexelArray.(VertexBuf.java:369)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at haven.Utils.construct(Utils.java:2107)
... 13 more

Map import error

Describe the bug
Null error when trying to import a map

To Reproduce
Steps to reproduce the behavior:

  1. Import a map
  2. Wait for the data validation to complete
  3. About 2% into the import you get the error

Expected behavior
The map to be imported

The error itself

[17:13] java.lang.NullPointerException
 
[17:13] 	at haven.MapFile$Importer.importgrid(MapFile.java:2405)
 
[17:13] 	at haven.MapFile$Importer.reimport(MapFile.java:2475)
 
[17:13] 	at haven.MapFile.reimport(MapFile.java:2499)
 
[17:13] 	at haven.MapFile.reimport(MapFile.java:2503)
 
[17:13] 	at haven.MapFileWidget.lambda$importmap$3(MapFileWidget.java:954)
 
[17:13] 	at java.base/java.lang.Thread.run(Thread.java:833)

Object inventory

Can you make option, that shows an free/full(who got content inside) wheelbarrows, chest and other stuff who got inventory, to show in wagons, knars, snekjas. To make colors like green/red.
1ec0619b323e31d781f14e273e3befa2

NullPointerException after character selection / world loading

Describe the bug
A clear and concise description of what the bug is.

NullPointerException after character selection / world loading

To Reproduce
Steps to reproduce the behavior:

1. Start client
2. Login
3. Select character
4. waiting until world loaded
5. open debug channel
6. read exceptions

Expected behavior
A clear and concise description of what you expected to happen.

No exceptions after world loaded

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
**- OS: Windows 11

  • OpenJDK**

Additional context
Add any other context about the problem here.

[12:47] java.lang.NullPointerException: Cannot invoke "java.awt.Color.getRed()" because "c" is null
[12:47] at haven.Utils.c2fa(Utils.java:1877)
[12:47] at haven.States$ColState.(States.java:50)
[12:47] at haven.GOut.chcolor(GOut.java:788)
[12:47] at haven.CharWnd$GlutMeter.draw(CharWnd.java:295)
[12:47] at haven.Widget.draw(Widget.java:874)
[12:47] at haven.Widget.draw(Widget.java:906)
[12:47] at haven.Widget.draw(Widget.java:874)
[12:47] at haven.Widget.draw(Widget.java:906)
[12:47] at haven.Widget.draw(Widget.java:874)
[12:47] at haven.Widget.draw(Widget.java:906)
[12:47] at haven.sloth.gui.MovableWidget.draw(MovableWidget.java:216)
[12:47] at haven.Window.draw(Window.java:690)
[12:47] at haven.Widget.draw(Widget.java:874)
[12:47] at haven.Widget.draw(Widget.java:906)
[12:47] at haven.GameUI.draw(GameUI.java:1366)
[12:47] at haven.Widget.draw(Widget.java:874)
[12:47] at haven.Widget.draw(Widget.java:906)
[12:47] at haven.RootWidget.draw(RootWidget.java:90)
[12:47] at haven.UI.draw(UI.java:241)
[12:47] at haven.HavenPanel.rootdraw(HavenPanel.java:463)
[12:47] at haven.HavenPanel.run(HavenPanel.java:771)
[12:47] at java.base/java.lang.Thread.run(Thread.java:1589)

Client crash while seeding a field

20210221.b7d13fbc
Windows 10 10.0 x64, 1.8.0_265 amd64
Intel (Intel(R) UHD Graphics 620) - 4.4.0 - Build 26.20.100.8141

java.lang.OutOfMemoryError: GC overhead limit exceeded
at haven.sloth.script.pathfinding.GobHitmap$HitTile.(GobHitmap.java:32)
at haven.sloth.script.pathfinding.GobHitmap$HitTile.(GobHitmap.java:30)
at haven.sloth.script.pathfinding.GobHitmap.fillspace(GobHitmap.java:219)
at haven.sloth.script.pathfinding.GobHitmap.fill(GobHitmap.java:257)
at haven.sloth.script.pathfinding.GobHitmap.add(GobHitmap.java:131)
at haven.Gob.move(Gob.java:845)
at haven.OCache.move(OCache.java:263)
at haven.OCache.move(OCache.java:271)
at haven.OCache.receive(OCache.java:1003)
at haven.Session$RWorker.getobjdata(Session.java:320)
at haven.Session$RWorker.run(Session.java:489)

Happened, while planting Barley seeds.

Petal selection in script.

There is a script that automatically applies first petal from r-click menu to all items in opened inventories. While its cool we can now select something else than the first one (important for lettuce for example), the single petal actions should go without the need to manually choosing it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.