Triggers and aliases, for the use in the realms of Achaea and Aetolia

Posted by Nick Gammon on Mon 12 Apr 2004 11:34 PM — 51 posts, 232,184 views.

Australia Forum Administrator #0

Submitted by Hathcock

This is a list of all the aliases that my system uses through mushclient. There are alot of them, but don't worry, most you may never use, I tried to put the more important ones near the top and place them all in their groups. If you have any troubles with the system, contact me (ISHAMAEL) to fix the problem. If you need to download a new copy of MUSHclient go to www.mushclient.com. Caps and/or lower-case can be used for these aliases, it doesn't matter.

These aliases can be found in the plugin at http://www.mushclient.com/plugins/HathcockReflexes.xml (right-click and save to disk to use this file). Documentation (an RTF version of this page) is at http://www.mushclient.com/plugins/HathcockReflexes.rtf.

Groups

Important aliases

x (target) Sets your target for attacks
l quick look
dh drink health
dm drink mana
defsk Turns on Fortify, Celerity, Ward, Potence, Lifevision
defup Prepares you for combat
tm touch mindseye
ts touch shield
ss smoke skullcap
tc touch cloak
\ writhe

Back to top

Basic aliases

\ writhe
cdd close door down
cde close door east
cdn close door north
cdne close door northeast
cdnw close door northwest
cds close door south
cdse close door southeast
cdsw close door southwest
cdu close door up
cdw close door west
odd open door down
ode open door east
odn open door north
odne open door northeast
odnw open door norhtwest
ods open door south
odse open door southeast
odsw open door southwest
odu open door up
odw open door west
cl1 clan switch 1
cl2 clan switch 2
cl3 clan switch 3
cl4 clan switch 4
cl5 clan switch 5
cl6 clan switch 6
clw clan who
com compose
con concentrate
de diag
en enter portal
pp probe pack
ppb probe pocketbelts
pgip put gold in pack
g (amount) get (x) gold from pack
sa stand
wearall wearall eq
kk stand and frenzy at target
ih info here
ii info inv
jfd join freeforall delos
hy drink health, eat moss, mend
wr wield rapier and shield
ws wield both shields

Back to top

Herbs

as sileris
ea ash
eb bloodroot
ebay bayberry
ebe bellwort
ec cohosh
eec echinacea
eg goldenseal
egi ginseng
ek kelp
eko kola
el lobelia
em moss

Back to top

Salves/vials

ac apply caloric
dh drink health
dm drink mana
ae apply epidermal
am apply mending
aml apply mending to leg
ama apply mending to arm
amt apply mending to torso
amh apply mending to head
ar apply restoration
arl apply restoration to leg
ara apply restoration to arm
art apply restoration to torso
arh apply restoration to head
dhm drink health, eat moss
dmm drink mana, eat moss
di drink immunity
df drink frost
dv drink venom
ds drink speed
dl drink levitation
amass apply mass
invial put salves and elixers in pack
outvial gets salves and elixers from pack

Back to top

Combat

fco frenzy/confusion
ffe frenzy/fear
fim frenzy/impatience
fpa frenzy/paranoia
fst frenzy/stupidity
fag frenzy/agoraphobia
fma frenzy/masochism
fpe frenzy/peace
fan frenzy/anorexia
fam frenzy/amnesia
fde frenzy/dementia
fre frenzy/recklessness
flo frenzy/loneliness
11 curare/stupidity w/rapier
22 eurypteria/masochism w/rapier
33 vernalius/amnesia w/rapier
44 prefarar/stupidity w/rapier
55 xentio/recklessness w/rapier
66 kalmia/amnesia w/rapier
77 gecko/anorexia w/rapier
88 monkshood/stupidity w/rapier
99 larkspur/stupidity w/rapier
00 euphorbia/anorexia w/rapier
[[ oculus/anorexia w/rapier
]] oculus/stupidity w/rapier
fff feed target
bb breath target, use dead breath on target
x (target) sets target for attacks
xs sets target for sergeant
xg sets target for goblin
xh set target for hobgoblin
xf sets target for foreman
xz sets target for zombie

Back to top

Pipes

fp fill pipes
lp light pipes
sall smoke all pipes
selm smoke elm
sv smoke valerian
ss smoke skullcap
emp empties all pipes of good herb
smup fills/lights/smokes all pipes

Back to top

Aliases added or forgotten

ff frenzy at target
yy tackle target

Back to top

Tattoos

tt touch tree
tm touch mindseye
ts touch shield
tw touch web, webs target
th touch hammer, destroys target's shield
sum touch brazier, summons target
zzz touch hourglass, puts target to sleep

Back to top

Skills

aa purify blood
ba (minion) blood affinity (minion)
baf blood affinity off
bb (minion) blood beckons (minion)
br (minion) blood rage (minion)
bs bloodsever
calmg order ghast passive,calm, follow
calmwi order wight passive,calm, follow
calmwr order wraith passive, calm, follow
ogf order ghast follow
owf order wraith follow
owif order wight follow
ogp order ghast passive
owp order wraith passive
owip order wight passive
ogk order ghast kill target
owk order wraith kill target
owik order wight kill target
si siphon target
an annihilate target
re restore
rghast (corpse) raise corpse as ghast
rwraith (corpse) raise corpse as wraith
rwight (corpse) raise corpse as wight
for fortify
cel celerity
pot potence
vit vitality
ls lifescent
meld earthmeld
mm mend
mf mistform
ns nightsight

Back to top

Quests

Hecah gives all corpses to hecah
Blaan gives corpses to blaan
gs give furs to Shanea
gt give rabbit to trapper

Back to top

Amended on Tue 13 Apr 2004 01:39 AM by Nick Gammon
Australia Forum Administrator #1
In addition to the aliases mentioned above, the plugin has 540 triggers which are designed to react to various circumstances.

The plugin size is 249 Kb. It is a nice illustration of what can be done with MUSHclient plugins. :)
#2
Thanks Nick :)

If you have any problems at all, please contact me in Aetolia as Pythona and I will help as best I can, this was all written from the ground up personally (so you may run into one or two bugs/problems), with help on the harder details from others within this forum, many thanks to Ked for his help and of course Nick.
#3
I know this sounds rather primitive since everyone here basically knows how to script and all BUT I'm really really REALLY interested in learning how to script triggers and aliases (or plugins?) for MUSHclient. Specifically for Iron Realms games (Aetolia, Achaea, Imperian). However, I have no idea how to start learning. And I'm talking about the absolute basics. Not intermediate knowledge or anything. I'm completely uncomprehending of how to set up a variable for MUSHclient. If anyone can help, I'd be ever so incredibly grateful!!! Just email me.
Australia Forum Administrator #4
There is so much we can cover, it is probably best to start with a specific example.

Also, I would start a new thread for that, so it doesn't get confused with this rather elaborate plugin that this thread describes.

However first do a search of this forum - examples of making a little script (or alias) to do something like setting up a target to attack have been done quite a few times.
#5
I noticed the triggers are using outb instead of outr, how old is this ?
USA #6
Found in file

 date_written="2004-03-26"

The file is a bit old, but nothing that cant be tweaked.


**EDIT<Reason:Forgot end code tag>**
Amended on Fri 05 Aug 2005 05:42 AM by Rakon
#7
Yeah, thats true - easiest way I found is to go through and use find/replace.
#8
Another thing I have noticed is the APPLY RESTORATION reflex to the monk combo attacks to the head kick in when someone is attacking someone else because it is reflexed on "He connects to the HEAD!" anyone know how to get around this?
USA #9
Does it say anything else when you're doing it (or I suppose it's being on the receiving end of it, yes?)? Like "he connects to your head!" or something?

Whats the situation? Most of us don't play these particular servers, so we need some background to adequately help with complicated things.
#10
This is the part of the script as it is now;

</trigger>
<trigger
custom_colour="9"
enabled="y"
match="He connects to the left arm!"
regexp="y"
sequence="10"
other_text_colour="black"
other_back_colour="black"
>
<send>apply restoration to arm
parry left arm</send>
</trigger>


That is why if I am in a room, my reflexes will also go off -

Soandso launches a powerful uppercut at soandso.
He connects to the head!

HOWEVER if I am fighting, the message is;

Soandso launches a powerful uppercut at you.
He connects to the head!

IT is the same, I suppose I need some kindo of multiline trigger ???
#11
I cannot change the specifics in this Plugin..
can i get the plugin to be listed by aliases, triggers, seperately? like when i make my own it comes out listed on the triggers menu
Australia Forum Administrator #12
Can you clarify this? The triggers and aliases are all in the plugin. You should be able to edit them with a text editor.
#13
well.. i cannot change pipe1, pipe2, and pipe3 variables (if that is what they are..) when i do LP
it says the specific number of the pipe.. where can i change that?
Australia Forum Administrator #14
I don't know myself, I didn't write the plugin.
#15
I would like to remove the entire set of combat aliases from this plug-in. Any advice on how I might do so without hurting any of the rest of the plug-in. I am completely inexperienced at this. Thanks.
#16
It seems I have answered my own question. I am simply using find to look for alias matches line by line. If anyone has a better solution I'm still all ears, but i will likely finish it tonight anyway. Thanks for your time and the great client!
Australia Forum Administrator #17
Your approach is what I would have suggested. Edit the plugin and look for:

<alias

...

</alias>

Australia Forum Administrator #18
I have received an update to the 'Hathcock Reflexes' by email. According to the author:

Quote:


I have written a MUSHclient/Achaean system in Python, and because this community has helped myself out so much, I am releasing it. If possible, it would be great if it could be listed on your Plugin page, as it is a more updated system for MUSHclient. I have included a short description and the link to the file below.


These files are available from (644 Kb - this includes a 504 Kb GIF picture which is a map):

http://www.gammon.com.au/mushclient/plugins/Achaea.zip

He adds:

Quote:

NOTE: This is a FREE system for your learning experience. If you have a question about it, try to use the built in SHELP function. If that doesn't answer the question, I'll try to explain if I feel like it and you ask nice.

NOTE2: The system is complex, and created with myself in mind. Aliases may not make sense, or even do anything useful. Change it if you want, or learn how it works.

NOTE3: Have fun. When you first start the world, before doing ANYTHING, you'll need to change the script path in GAME>CONFIGURE>SCRIPTING, to where you saved the Achaea.pys file at. After that, run racs_setup, or shelp install. It'll tell you what to do.


[EDIT]

Please see:

http://gammon.com.au/forum/?id=9844&page=2

That describes in some more detail how to use this file. Note that this is not a plugin.
Amended on Sat 23 Jan 2010 03:36 AM by Nick Gammon
USA #19
Nick,

Thanks for including this system here.

However, for those interested, this is a complete Achaean system written in python. It is NOT an update to Hathcocks system, but instead an entirely new one. I apollogize for not making that clear prior.

Please do not install this system, on a world that already has Hathcocks, or other reflexes.

The included zip has installation method, and it requires a fresh world/ empty settings.

Thank you.
-Rakon

*EDIT* Spelling
Amended on Wed 24 Jun 2009 11:22 PM by Rakon
Australia Forum Administrator #20
Ah, OK I misunderstood.

I have put the plugins page back to point to the older system, for those that are interested in that one.

I see now that the .zip file mentioned above is not in fact a plugin, but a world file, a Python script, a map, and some help files.

To use, I suggest downloading the .zip file (http://www.gammon.com.au/mushclient/plugins/Achaea.zip), unzipping it, and following the instructions in the Helps directory.
USA #21
I don't know about you guys, but I keep getting this lovely message:

Error number: -2147221005
Event: finding CLSID of scripting language "Python"
Description: Error -2147221005 occurred when finding CLSID of scripting language "Python":



Invalid class string


Called by:

I took out HathcockReflexes and any other plugins I had installed. What's going on?
Australia Forum Administrator #22
Template:faq=42
Please read the MUSHclient FAQ - point 42.
USA #23
I'm still having trouble getting the script to go...I downloaded Python, but I can't see any "Register DLL" button anywhere. What do I do now? I'm still getting the "can't find Python" message.
Australia Forum Administrator #24
I am not a Python expert, maybe someone else can help you better. Try searching this forum for "pyscript.py" and see if there is a post that helps you more. People have had this problem before, and running that script may register the DLL for you.
USA #25
Nick Gammon said:

I have received an update to the 'Hathcock Reflexes' by email. According to the author:

Quote:

Quote:

NOTE: This is a FREE system for your learning experience. If you have a question about it, try to use the built in SHELP function. If that doesn't answer the question, I'll try to explain if I feel like it and you ask nice.

NOTE2: The system is complex, and created with myself in mind. Aliases may not make sense, or even do anything useful. Change it if you want, or learn how it works.

NOTE3: Have fun. When you first start the world, before doing ANYTHING, you'll need to change the script path in GAME>CONFIGURE>SCRIPTING, to where you saved the Achaea.pys file at. After that, run racs_setup, or shelp install. It'll tell you what to do.

#26
Installing ActivePython should take care of the script engine woes. Other distributions of Python don't tie into the Windows Scripting Host properly.
#27
EDITING PLUGINS
#28
For reasons unknown to me, it won't keep me logged in long enough to edit my last post and put what I had meant to before I accidently hit Return. Anyway, round two:

EDITING PLUGINS

Editing plugins isn't hard. Download Notepad++(recommeneded) for starters. Save or copy the plugin, then open or paste it into a new Notepad. From there you can easily edit any triggers, aliases, or variables, so long as you leave the Plugin version, author, and verification intact(this is located at the top). The, save it under a differant file name, and install it. Keep the original for learning purposes, you never know if you're going to want to look back to remember just how they did that neat little trick. This is how I learned how to do ColourNote(very handy for affliction tracking) and DoAfter(very handy for affliction curings and deffing up). Hope this helped!
#29
Also, I went to edit this, and I keep getting: Line 2: Unsupported declaration inside <!DOCTYPE ...> (problem in this file)


Anyone know what the fix for this is?

EDIT:

Overlooked something. The above error is fixed, now I'm working on fixing this:

Line 151: Attribute name 'sleep' not followed by '=' (problem in this file)
Amended on Fri 22 Jan 2010 01:26 AM by Kresslack
USA #30
Change your scripting language to Python, from Lua.
USA #31
That shouldn't matter in a plugin, should it? The plugin language should work separately from the world language.
#32
I've been using Lua for years....and have never had a problem with plugins that involved having to change to Python.
USA #33
*sigh*

IF you're attempting to use my system. It's not a plugin. It's a WORLD FILE, with it's own script.

Read the textfile that comes with the ZIP PLEASE???
Thank you.
USA #34
Whoops! I assumed we were dealing with plugins because I heard someone say 'plugins'. *cough* Ignore me!
#35
What are you talking about? I thought this was Hathcock's. And the first post says it's a plugin. If I change it to Python is that going to mess anything else up, since I have everything in Lua?
Australia Forum Administrator #36
Page 1 of this thread mentions a plugin written by Hathcock, available from here:

http://www.mushclient.com/plugins/HathcockReflexes.xml

This is a *plugin* written in VBscript (not Lua or Python).

However on page 2, I received what I thought was an update to it, so it was added to this thread. This is this file:

http://www.gammon.com.au/mushclient/plugins/Achaea.zip

This is *not* a plugin but an entire world file (Achaea.mcl), plus a script file (Achaea.pys) written in *Python*.

The files in Achaea.zip are not a plugin, and are not intended to be used as one. The first couple of lines of Achaea.mcl are:


<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>


Since you reported an error message about <!DOCTYPE ...> I am assuming that you have tried to load the Achaea world file as a plugin, unsuccessfully.

You have two options here:

  1. Use the plugin on page 1 (the one written in VBscript). This is fairly old (March 2004), and I don't know how well it will work today.
  2. Use Rakon's Achaea world file and associated script file (page 2). You need to follow his instructions. Effectively you abandon your current world file and open his (obviously you enter your own character name and password). Read the help files that come in the Helps directory, in particular install.txt.

    If you do this then your main world file will be in Python, as that is what the script is designed for. However you can still install your own plugins in Lua. Plugins can be in different languages to the main world file.


Maybe someone will convert Rakon's script and associated triggers etc. into a plugin one day. That would make it a bit easier to use, particularly if they already have lots of triggers of their own, in an existing world file.
#37
Thanks everyone for explaining and helping me understand. If I get it working I'll convert it to a plugin and add some more stuff in. :)

BTW, I've been trying to install Hath's as a plugin, but I keep getting this like:


Line  400: Attribute name 'sit.' not followed by '=' (problem in this file)


Or I'll get one that says sleep instead of sit, but the same error.

EDIT:

Nevermind, I was able to figure it out!
Amended on Fri 22 Jan 2010 09:51 PM by Kresslack
#38
I'm trying to install Rakon's, and I've done all the steps with installing Python and the extentions, but then I get this:


Script error
World: Kresslack/Achaea
Execution of line 35 column 0
Immediate execution
Traceback (most recent call last):
  File "<Script Block >", line 35, in <module>
    __version__ = "-- Revision: 6.9c - %s$" % (string.upper(world.GetVariable("Name")))
  File "C:\Python26\Lib\string.py", line 235, in upper
    return s.upper()
AttributeError: 'NoneType' object has no attribute 'upper'

Line in error: 
__version__ = "-- Revision: 6.9c - %s$" % (string.upper(world.GetVariable("Name")))
Error context in script:
  31 : 
  32 : 
  33 : __author__ = "Chris Williams - Rakon - <rakon@penguincoder.com"
  34 : __date__ = "08 DEC 2008"
  35*: __version__ = "-- Revision: 6.9c - %s$" % (string.upper(world.GetVariable("Name")))
  36 : __meditversion__ = " - Ver 4.9 "
  37 : 
  38 : 
  39 : 


Any ideas?
Australia Forum Administrator #39
Template:post=9844
Please see the forum thread: http://gammon.com.au/forum/?id=9844.


It's all there. Even the error message is the same.
USA #40
Was pretty sure that error was fixed.

That error is just my script file looking to capitalize your characters name (from a mushclient variable). It doesn't exist though, until you run the racs_setup command.

Just add a variable 'name' with your characters name, 'Kresslack' into it. That'll fix the error.
#41
I've installed ActivePython, and did all that, but when I type racs_setup nothing happens and it asks me if I want to connect to Achaea. I put the name variable in, now it's nagging me for the maxsip variable. Hmm...I'll try looking over the guides again and double checking.

EDIT:

Ok seems to be working now. So the new window that the Achaea.mcl opens up will be my main save file from now on? Might take some getting used to, font is a lot smaller and stuff than what I was using.

Did get this though:

Quote:

<DEFENSE>: Script error
World: Achaea
Execution of line 140 column 0
Immediate execution
Traceback (most recent call last):
File "<Script Block 1289>", line 1, in <module>
al_defdwn("Mass")
File "<Script Block >", line 140, in al_defdwn
world.ColourNote("white","black", "%s DOWN!" % ((string.upper(str(wildcards[0])),(string.upper(st)))))
NameError: global name 'st' is not defined

Line in error:
world.ColourNote("white","black", "%s DOWN!" % ((string.upper(str(wildcards[0])),(string.upper(st)))))


I noticed when I turned on Enable, it cures good, but damn I was getting spammed with loops, the messages where you try to send a command to the world when it's not an action.

Damn nice system though. I'm liking it a lot.
Amended on Sat 23 Jan 2010 06:34 AM by Kresslack
USA #42

Type:
shelp contact

While the system is working

I'll try to help you fix a few things

IF THAT doesn't work,
AIM- rakonshuin
#43
Yeah it's not recognizing the directory for the help files.

6.0 SYSTEM HELP -- CONTACT INFORMATION


Crap! The help file (./\Helps\info.txt) wasn't found! Try reinstalling??

TraceBack:
[Errno 2] No such file or directory: './\\Helps\\info.txt'
No match found for "cures".
Trying a search...

Sorry, No match found.
USA #44
Hmm, yeah will need to fix that too.

I developed the system on my computer, obviously for me. (Linux here), so I'm not too sure what the proper directory / file calling format is for windows.

If the ZIP file has the 'helps' directory, move that entire folder to your MUSHclient directory instead. So if the MUSHclient folder is in your 'Program files' folder, the path to the Helps directory should be :
C:\Program Files\MUSHclient\Helps



Also, I don't know the font you're using, but the font I use on my computer for MUSH/ anything Mono is
Bitstream Vera Sans Mono.

You can download the fonts from - http://www.gnome.org/fonts/ -

Unpack the zip, and place the font files in your Windows/fonts file. Then restart MUSHclient. The proper font SHOULD be rendered then. If not, you can go to GAME>CONIFIGURE>OUTPUT, and change the font to it.
#45
I also noticed there seems to be an Aeon curing loop, where you just keep smoking elm and refilling your pipe.
USA #46
Need to register the pipes and what not.

Alias : aeon

Will completely pause the system and restart the aeon_curing if needed.
#47
I have the pipes set up. So if I hit Aeon, all I need to do it Unpause and it will stop wasting elm? Also, I noticed when I Enable for Battlemode, I get flooded by the messages the world sense when you put in a command that can't go through or doesn't make sense. It cures pretty good, but I can't keep up with anything because I'm constantly seeing those messages fly by, and it doesn't stop until I Disable. Any ideas?
USA #48
Kresslack, Email or AIM me.
#49
Hello, my system was wiped out recently and I came here to get the Hathcock reflexes back. The thread says that the old link was redirected to point at the original file but it doesn't seem to be so, it still downloads the new achaea.zip file. So, I have gone ahead and tried to use the new python system and receive this error message:

loading scripting engine
World: Achaea
Error -2147221164 occurred when loading scripting engine:

Class not registered


While this is a different message than the one discussed in the thread, I understand that it could be from not having my dll registered properly. I am on a 32 bit system and am under the impression that it should have been done automatically. So, I tried to manually register it and am having trouble changing the directory in my CMD menu. How is this done? Any help would be appreciated.

The original Hathcock reflexes were very good, and despite being old they were still very applicable to the current worlds. This new system looks impressive as well, possibly moreso. Thanks guys!