Anemone Client

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

Moderator: Phades

Re: Anemone Client

Postby Chemox » Thu Mar 20, 2014 8:10 pm

java -Xms512m -Xmx1024m -jar "C:\Users\***\Desktop\Games\anemone\maid.jar" moltke.seatribe.se -r "C:\Users\***\Desktop\Games\anemone\res"
Chemox
 
Posts: 17
Joined: Fri Dec 30, 2011 2:27 am

Re: Anemone Client

Postby Chemox » Thu Mar 20, 2014 8:13 pm

And no running with admin rights doesn't help ...
And it worked before until I reinstalled my win7 then it decided to stop working :3
Chemox
 
Posts: 17
Joined: Fri Dec 30, 2011 2:27 am

Re: Anemone Client

Postby borka » Thu Mar 20, 2014 9:36 pm

Is run.bat residing in Anemone folder? If so your run.bat should look like this:

Code: Select all
java -Xms512m -Xmx1024m -jar maid.jar moltke.seatribe.se -r /res


To use it you should check whether java is set in environment

If not set in environment your run.bat should look like this

Code: Select all
"C:\Program Files\Java\jre7\bin\java.exe" -Xms512m -Xmx1024m -jar maid.jar moltke.seatribe.se -r /res


If run.bat is not in Anemone folder move it there ...
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
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Anemone Client

Postby romovs » Fri Mar 21, 2014 3:34 am

Chemox wrote:
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)



Please download the update. It should be fixed now.

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.

It's an old code from the original client, just saves some client settings. Most of it needs to be removed really...
I actually had never ran the client on Windows, so not sure about the warnings. But as longs as it's just a warning and doesn't lead to a crash I guess it could be ignored. Or try what borka wrote.
User avatar
romovs
 
Posts: 1472
Joined: Sun Sep 29, 2013 9:26 am
Location: The Tabouret

Re: Anemone Client

Postby Chemox » Fri Mar 21, 2014 2:48 pm

borka wrote:Is run.bat residing in Anemone folder? If so your run.bat should look like this:

Code: Select all
java -Xms512m -Xmx1024m -jar maid.jar moltke.seatribe.se -r /res


To use it you should check whether java is set in environment

If not set in environment your run.bat should look like this

Code: Select all
"C:\Program Files\Java\jre7\bin\java.exe" -Xms512m -Xmx1024m -jar maid.jar moltke.seatribe.se -r /res


If run.bat is not in Anemone folder move it there ...


My run.bat can be anywhere I want it to be but whatever...

@romovs Tnx alot :)
Chemox
 
Posts: 17
Joined: Fri Dec 30, 2011 2:27 am

Re: Anemone Client

Postby caz » Fri Mar 21, 2014 2:52 pm

thanks for making this client and keeping it up to date
:D
Image
User avatar
caz
 
Posts: 435
Joined: Fri Jul 16, 2010 7:27 pm

Re: Anemone Client

Postby seksitalo » Tue Apr 01, 2014 8:27 pm

Hi

Awesome client, love the "multi play" feature
I even managed to make a bot that chops the trees down and removes the stump, very primitive but works for now :)
Now i need a bot that collects the log and takes them back to its hearth fire...
I have no idea how to go about it .. I tryed everything i could think of.. but i have no experience at all in coding :(

So my question is

1. how do i make my bot to pick up the log? i can find them , but just dont know how to interact with them...
2. how to teleport to heathfire
3. can i make the bot send key strokes?

I would be so happy if anyone could point me to right direction. I want to leaarn this stuff

Cheers
seksitalo
 
Posts: 2
Joined: Sun Jan 23, 2011 10:54 pm

Re: Anemone Client

Postby MrFreed » Tue Apr 01, 2014 8:40 pm

romovs wrote:Hello everyone,


CASSHERN!!!!
Image
User avatar
MrFreed
 
Posts: 133
Joined: Wed Mar 26, 2014 1:27 pm

Re: Anemone Client

Postby romovs » Tue Apr 01, 2014 9:21 pm

seksitalo wrote:1. how do i make my bot to pick up the log? i can find them , but just dont know how to interact with them...
2. how to teleport to heathfire
3. can i make the bot send key strokes?


Code: Select all
// setup drop location for logs. 2 tiles away from the HF.
hf = maid.doAreaFind(50, "hearth-play");
logDropCoord = hf.getc().sub(0, -11*2);

// list all objects in 50 radius
Gob[] gobs = maid.doAreaList(50)

for (Gob g : gobs) {
    String gobName = maid.getName(g);
    if (gobName != null && gobName.indexOf("trees/log") > 0) {

        // ignore logs at the drop location
        if (g.getc().equals(logDropCoord)) {
            continue;
        }

        // pathfind to the log
        hasPath = maid.pathFind(g.getc(), 4, false);
        if (!hasPath)
            continue;
       
        // lift it up
        maid.doAction("act", "carry");
        maid.doLeftClick(g);
        Thread.sleep(300);  // lifting up takes time...
       
        // teleport to the HF
        maid.doAction("act", "theTrav", "hearth");
        Thread.sleep(3500); // teleporting takes time..
       
        // drop it
        maid.doRightClick(logDropCoord);
        Thread.sleep(1500);  // walking to the drop location takes time...
    }
}


Not tested, but it's the gist of it.
Also pathfinder is buggy and may fail occasionally.

MrFreed wrote:
romovs wrote:Hello everyone,


CASSHERN!!!!


The One and only! 8-)
User avatar
romovs
 
Posts: 1472
Joined: Sun Sep 29, 2013 9:26 am
Location: The Tabouret

Re: Anemone Client

Postby seksitalo » Tue Apr 01, 2014 9:46 pm

Sweet ty :) ill try it out
seksitalo
 
Posts: 2
Joined: Sun Jan 23, 2011 10:54 pm

PreviousNext

Return to The Wizards' Tower

Who is online

Users browsing this forum: Claude [Bot] and 1 guest