Anemone Client

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

Moderator: Phades

Chemox
Posts: 17
Joined: Fri Dec 30, 2011 2:27 am

Re: Anemone Client

Post by Chemox »

The latest 64-bit version trows a nullpoint exception when you try to open the option menu
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Anemone Client

Post by borka »

always post whole error massage or a screenshot of it please...so we can look what caused it (use pause line in run.bat)
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
Veasst
Posts: 4
Joined: Mon Mar 03, 2014 5:50 pm

Re: Anemone Client

Post by Veasst »

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?
User avatar
romovs
Posts: 1472
Joined: Sun Sep 29, 2013 9:26 am
Location: The Tabouret

Re: Anemone Client

Post by romovs »

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?


1. doAreaFind(search_radius, "kiln"). Also doAreaList can be used to list all the visible gobs.
2. Nope. I was planning to implement if I have any free time.
3. Nope. If you need it for selecting specific gobs in a persistent way between sessions you could use a reference point as a work around.
Put a basket or something near the kilns, find all kilns in the area. number them by their relativity to the basket and save their real coordinates. e.g. kiln x:20 y:-45 subtiles from the basket will be assigned "1", another kiln "2" etc.
later on you can do something like ":bot kiln_load 2" to use a specific kiln (which will find the buscket first and work from there..)
Arguments to scripts can be extract from this.args.
Or just do doAreaFind with some small radius and use that kiln as reference for the rest.
Also if you start a script from the same exact player position you don't need any additional reference points as gobs returned with findArea will be in the same order iirc.
Veasst
Posts: 4
Joined: Mon Mar 03, 2014 5:50 pm

Re: Anemone Client

Post by Veasst »

How to check how much water is in WaterSkin?
User avatar
bartkammel
Posts: 83
Joined: Sat May 11, 2013 10:46 pm

Re: Anemone Client

Post by bartkammel »

Veasst wrote:How to check how much water is in WaterSkin?

mouseover waterskin
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Anemone Client

Post by borka »

Guess he asks for doing it in a script
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
User avatar
romovs
Posts: 1472
Joined: Sun Sep 29, 2013 9:26 am
Location: The Tabouret

Re: Anemone Client

Post by romovs »

Veasst wrote:How to check how much water is in WaterSkin?

Can be extracted from the item's name. Something like:

Code: Select all

   try {
       String name = maid.getName(waterflaskitem);
       String waStr = name.substring(name.indexOf('(') + 1, name.indexOf('/'));
       double waterAmount = Double.parseDouble(waStr);
   } catch(Exception e) {
       //...
   }
Chemox
Posts: 17
Joined: Fri Dec 30, 2011 2:27 am

Re: Anemone Client

Post by Chemox »

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)


I know that... Anyway

Code: Select all

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)


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.
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Anemone Client

Post by borka »

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.

http://www.havenandhearth.com/forum/vie ... 94#p452706

What's the run.bat?
Are you using a VPN to play?
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head

Return to “The Wizards' Tower”