Anemone Client

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

Moderator: Phades

Anemone Client

Postby romovs » Sun Dec 01, 2013 3:24 am

Hello everyone,

I've been working on improving/extending Groovy Maid + Ender`s fork and here is what I ended up with so far.
At this stage the improvements include:

- Multi-Session support.
- On-screen FEP bar.
- Targeting.
- Geolocation (somewhat works..)
- Sound alarms.
- Login screen for remembering passwords.
- Graphical bars for buckets/flasks/bottles.
- Path-finding framework.
- Object health
- Auto-aggro
- A lot of new functions in the scripting API.
- Miscellaneous bug fixes and tweaks.
- ...

Multi-Session:
Alt+Insert or Ctrl+S - Starts a new session.
Alt+PageUp / Alt+PageDown - Switches between sessions.
If you want to close a session just logout. It will keep the login window in the session list so you can switch back to it later again.

Geolocation:
See viewtopic.php?f=27&t=34570&p=466834#p466834

NOTES:
Due to some stuff that relies on changes made both to Groovy Maid and the client code base, the Groovy Maid engine cannot be extracted and used with other clients as was possible with the original one.
Also old Groovy Maid scripts which made use of Meter event mechanism will need to be adapted to the new API.

Binaries
Requires Java 7 or 8! In case of any issues on Windows - execute run_debug.bat and post the output.

Linux 32bit - https://dl.dropboxusercontent.com/u/371 ... x-i586.zip
Linux 64bit - https://dl.dropboxusercontent.com/u/371 ... -amd64.zip
Windows 32bit - https://dl.dropboxusercontent.com/u/371 ... s-i586.zip (use run.bat to run it)
Windows 64bit - https://dl.dropboxusercontent.com/u/371 ... -amd64.zip (use run.bat to run it)
Mac OS X - https://dl.dropboxusercontent.com/u/371 ... versal.zip

Or you can update from any previous version of Anemone with: https://dl.dropboxusercontent.com/u/371 ... .03.15.zip

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


Additional example scripts: https://dl.dropboxusercontent.com/u/371 ... cripts.zip

NOTE: Passwords are saved in "passwd" file. Make sure to delete it if giving your client folder to someone else!!!

Source code
https://github.com/romovs/anemone
Last edited by romovs on Tue Mar 24, 2015 8:18 pm, edited 31 times in total.
User avatar
romovs
 
Posts: 1473
Joined: Sun Sep 29, 2013 9:26 am
Location: The Tabouret

Re: Anemone Client

Postby NOOBY93 » Sun Dec 01, 2013 12:02 pm

So... What do I type into the run.bat?
Jalpha wrote:I believe in my interpretation of things.
User avatar
NOOBY93
 
Posts: 6529
Joined: Tue Aug 09, 2011 1:12 pm

Re: Anemone Client

Postby romovs » Sun Dec 01, 2013 3:06 pm

Sorry there are no executables at the moment.
The client doesn't have any new features that might be useful outside of the scripting scope (this will change. I am working on some new features for regular users too...), so I figured it wasn't worth the effort to make runnable packages right now.
I will upload them once more of some basic stuff is finished.
User avatar
romovs
 
Posts: 1473
Joined: Sun Sep 29, 2013 9:26 am
Location: The Tabouret

Re: Anemone Client

Postby romovs » Mon Dec 02, 2013 4:21 am

Uploaded binaries.
User avatar
romovs
 
Posts: 1473
Joined: Sun Sep 29, 2013 9:26 am
Location: The Tabouret

Re: Anemone Client

Postby robous » Mon Dec 02, 2013 7:51 pm

Interesting enough. Would you care to explain in more detail what needs to be changed in existing scripts for Maid to be compatible with this version?
robous
 
Posts: 29
Joined: Fri Jun 07, 2013 3:44 am

Re: Anemone Client

Postby romovs » Tue Dec 03, 2013 1:07 pm

The only breaking change is in meter (hunger/stamina/etc) event mechanism.
So if setMeterListener()/getMeterListener() functions weren't used the script should work without any changes.


Example of using the new meter events mechanism:

Code: Select all
maid.setMeterListener(new MeterAdapter(binding));
....
class Meter implements MeterListener {
    Maid m;

    public MeterAdapter(Binding bind) {
        this.m = (Maid)bind.getVariable("maid");
    }

   public void onStaminaChange(MeterEvent meterEvent) {
       m.doSay("Stamina: " + meterEvent.getValues());
   }

   public void onHungerChange(MeterEvent meterEvent) {
      if (((MeterEventObjectHunger)meterEvent.getEventObject()).type == MeterEventObjectHunger.HungerType.VERY_HUNGRY) {
          m.doSay("I am very hungry: " + meterEvent.getValues());
   }
}
User avatar
romovs
 
Posts: 1473
Joined: Sun Sep 29, 2013 9:26 am
Location: The Tabouret

Re: Anemone Client

Postby romovs » Wed Dec 04, 2013 2:27 am

Added multi-session support!
Using it consumes much less resources than running multiple clients. Actually, the difference is quite drastic. With multiple clients I could run at most 2-3 alts with huge lag. With multi-session no lag have been noticed even with 10 :D

As the next step, I gonna try adding avatars/buttons for session switching. So you could click an avatar/button and switch to that session. This might take some time though.
User avatar
romovs
 
Posts: 1473
Joined: Sun Sep 29, 2013 9:26 am
Location: The Tabouret

Re: Anemone Client

Postby ChildhoodObesity » Wed Dec 04, 2013 5:51 am

nieec pretty cool m8
User avatar
ChildhoodObesity
 
Posts: 4158
Joined: Tue Apr 10, 2012 8:16 am

Re: Anemone Client

Postby NOOBY93 » Wed Dec 04, 2013 6:55 am

If session switching is what I think it is... This is my favourite client for alts.
Jalpha wrote:I believe in my interpretation of things.
User avatar
NOOBY93
 
Posts: 6529
Joined: Tue Aug 09, 2011 1:12 pm

Re: Anemone Client

Postby Xcom » Thu Dec 05, 2013 3:46 pm

Very interesting client. I always wanted to multi thread the client but always thought it would be to much work. Interesting things can be made with a stable version if you manage to pull it off. I might take a sneak peek and see the progress.
User avatar
Xcom
 
Posts: 1105
Joined: Wed Dec 14, 2011 1:43 pm

Next

Return to The Wizards' Tower

Who is online

Users browsing this forum: No registered users and 3 guests