Moderator: Phades
Veasst wrote:Hello!
It's again me. I have some questions.
1. Is it possible to get for example all kilns near Player?
2. Is it possible to use Ctrl+L to get all tiles in it to the bot?
3. Is it possible to get clicked Gob or get the Gob using the console?
Veasst wrote:How to check how much water is in WaterSkin?
Veasst wrote:How to check how much water is in WaterSkin?
try {
String name = maid.getName(waterflaskitem);
String waStr = name.substring(name.indexOf('(') + 1, name.indexOf('/'));
double waterAmount = Double.parseDouble(waStr);
} catch(Exception e) {
//...
}
borka wrote:always post whole error massage or a screenshot of it please...so we can look what caused it (use pause line in run.bat)
Exception in thread "Haven UI thread" java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at java.util.Properties.setProperty(Unknown Source)
at haven.Config.saveOptions(Config.java:839)
at haven.OptWnd$39.changed(OptWnd.java:453)
at haven.OptWnd.<init>(OptWnd.java:443)
at haven.SlenHud$9.<init>(SlenHud.java:476)
at haven.SlenHud.toggleopts(SlenHud.java:476)
at haven.SlenHud.wdgmsg(SlenHud.java:293)
at haven.Widget.wdgmsg(Widget.java:275)
at haven.Widget.wdgmsg(Widget.java:268)
at haven.IButton.click(IButton.java:77)
at haven.IButton.mouseup(IButton.java:96)
at haven.UI.mouseup(UI.java:350)
at haven.HavenPanel.dispatch(HavenPanel.java:348)
at haven.HavenPanel.run(HavenPanel.java:398)
at java.lang.Thread.run(Unknown Source)
WARNING: Could not open/create prefs root node Software\JavaSo
x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Chemox wrote:Wonder why you try to save registry keys though
- Code: Select all
WARNING: Could not open/create prefs root node Software\JavaSo
x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Users browsing this forum: Claude [Bot] and 1 guest