Mushclient Autobasher

by Esano

Back to Mechanic's Corner.

Esano2008-11-29 14:02:23
I've had several requests recently for help building an autobasher, so I finally decided to expand and release my own.

The system is fairly customizable. Type 'autobash' for a list of commands and what they do - and watch out, it's long. It will not attack if off-balance, off-eq, or prone, all of which are tracked by prompt. It can be set to track armbalance by prompt and will not attack unless it has both.

Credit donations are highly appreciated.

TO INSTALL:

Download the file below. Save it somewhere (remember where).

Open up Mushclient, and the world you use to connect to Lusternia.

Navigate to the Plugins section: File -> Plugins, OR press SHIFT+CTRL+P

Press "Add"

Navigate to where you saved the file you just downloaded and open it.

The plugin should install. In-game, type 'autobash' and set it up. Most importantly 'autobash set before '. Monks will need to use 'autobash set after ' as well. What you put in the before one goes before your target, what you put in the after one goes after. Simple enough.

Anyone who relies on arm balance may wish to use 'autobash armbalance on' (only use this if you report armbalance in prompt).

Warriors who use one-handed weapons may also wish to use 'autobash doubleswing on'.



If you have problems with .xml files and your browser, download the .txt file and rename it to .xml.



Sunday, 30th November: Added gagging and slowing timer for when target isn't present in the room.

Tuesday, 2nd December: Added highlighting and infobar for current target (toggleable).

27-Mar-2010 : fixed double swinging.
Unknown2008-11-29 14:07:58
If it's contained entirely within a plugin, you can use it with any world file, regardless of the main scripting language chosen. Each plugin has its own script engine, and so you're allowed to use any language you want when writing a plugin.
Esano2008-11-29 14:09:12
QUOTE(Zarquan @ Nov 30 2008, 01:07 AM) 587659
If it's contained entirely within a plugin, you can use it with any world file, regardless of the main scripting language chosen. Each plugin has its own script engine, and so you're allowed to use any language you want when writing a plugin.

It should be. Never knew that, so I'll cut that line out. Thanks.
Unknown2008-11-29 14:37:06
This works nifty! Only thing you'll have to watch for is prone (but I want to add in springup stuff anyways, so, I'll be dealing with that on my own soon enough).
Celina2008-11-29 22:54:50
nifty! I like it.

The only problem I'm having is when you have it on and your target isn't in your room, the autobasher spams the crap out of you.
Esano2008-11-29 23:09:31
QUOTE(Celina @ Nov 30 2008, 09:54 AM) 587745
nifty! I like it.

The only problem I'm having is when you have it on and your target isn't in your room, the autobasher spams the crap out of you.

I just turn it off, personally. Bind it to a key or another alias.

However, if this is a frequent enough issue, I'll look at either gagging or increasing the timer.
Esano2008-11-30 02:57:23
It seemed to be a fairly simple alteration, so I've added in a trigger that will slow down the timer if it doesn't find the target in the room. It might miss a few times, but it'll dramatically cut down on the spam.
Unknown2008-12-01 23:44:33
Is there anyway to add a small prompt somewhere with it to tell us what the target is under and highlight the target on screen? Love the bash system by the way
Esano2008-12-02 09:40:37
QUOTE(xavim @ Dec 2 2008, 10:44 AM) 588791
Is there anyway to add a small prompt somewhere with it to tell us what the target is under and highlight the target on screen? Love the bash system by the way

I think I've done what you asked. It now uses the infobar to display the current target (this may not work properly if you use the infobar for something else already, test it, it's toggleable), and highlights the target in red (once again toggleable, shouldn't interfere with other triggers).

Download again from the first post.
Iola2008-12-02 15:48:15
Trying this out now, it seems nice so far. Thanks! smile.gif

ETA: Any chance you could make it recognise when a mob shields?