Anemone Client

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

Moderator: Phades

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

Re: Anemone Client

Post by borka »

Code: Select all

H and H


rename the folder to

Code: Select all

HandH
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
RubyRed
Posts: 206
Joined: Sat Apr 20, 2013 6:43 pm

Re: Anemone Client

Post by RubyRed »

I get a Connection Refused Connect Error when I try this client.
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Anemone Client

Post by borka »

you don't have the latest update of your Java version ...
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
wyzka
Posts: 25
Joined: Thu Dec 20, 2012 6:21 pm
Location: Lithuania

Re: Anemone Client

Post by wyzka »

Is there a way to get the bot to open a seedbag and get its inventory? maid.doRightClick doesn't work on items in inventory
Matt-x
Posts: 4
Joined: Wed Jan 11, 2012 11:54 am

Re: Anemone Client

Post by Matt-x »

wyzka wrote:Is there a way to get the bot to open a seedbag and get its inventory? maid.doRightClick doesn't work on items in inventory


Try to use maid.doInteract(i), where "i" is the seedbag. :)

Does anyone know how can I put an item back in my inventory once it is "in my hand" ? Say, I want to select a waterskin from my inventory, interact with a barrel next to me to fill it, then place it back in my bag. Is there a method for placing back items ? If not, how can I drop it and pick it off the ground ?

EDIT: Same thing should apply for refilling waterskin with a bucket from your inventory.
wyzka
Posts: 25
Joined: Thu Dec 20, 2012 6:21 pm
Location: Lithuania

Re: Anemone Client

Post by wyzka »

Doesn't work either...
Solution to your problem :D

Code: Select all

Inventory inv = maid.getInventory();
.
.
.
waterskin = maid.getItems(inv, "waterskin");
maid.doTake(waterskin[0]);
maid.waitForGrab();
maid.doInteract(....);
maid.doDrop(waterskin[0], (Widget)inv, new Coord(0,0));  // bottom left corner 
Matt-x
Posts: 4
Joined: Wed Jan 11, 2012 11:54 am

Re: Anemone Client

Post by Matt-x »

wyzka wrote:Doesn't work either...
Solution to your problem :D

Code: Select all

maid.doDrop(waterskin[0], (Widget)inv, new Coord(0,0));  // bottom left corner  


Hello, thank you for your reply !

From the Groovy thread:

Code: Select all

// Let's check every item.
for (def i in items) {
        // what's the item's name?
        def n = maid.getName(i);

        // If it is a Seedbag, open it!
        if ("Seedbag".equals(n)) {
                maid.doInteract(i);
        }       
}


Also, your solution: The code will place the waterskin in the top left 2 squares of my inventory ?
wyzka
Posts: 25
Joined: Thu Dec 20, 2012 6:21 pm
Location: Lithuania

Re: Anemone Client

Post by wyzka »

Two bottom left squares. You should experiment with new Coord(x,y) to get desired squares ;)
Matt-x
Posts: 4
Joined: Wed Jan 11, 2012 11:54 am

Re: Anemone Client

Post by Matt-x »

wyzka wrote:Two bottom left squares. You should experiment with new Coord(x,y) to get desired squares ;)


Does the same thing apply for boat/chest inventory ?
wyzka
Posts: 25
Joined: Thu Dec 20, 2012 6:21 pm
Location: Lithuania

Re: Anemone Client

Post by wyzka »

Chest - yes, boats - little bit complicated. To put things in:

Code: Select all

boat = maid.doAreaFind(10, "boat");
maid.doAction("act", "carry");
maid.doLeftClick(thing you want to put in);
Thread.sleep(some time to carry);
maid.doRightClick(boat);
window = maid.waitForWindow("Boat");

imgs = maid.getImgWidgets(window);
   for (Img i : imgs) {
      if (i.resName != null && i.c.equals(new Coord(0,0))) {
         i.mousedown(new Coord(0,0), 1);
      }
   }

Return to “The Wizards' Tower”