Thats because your prompt doesnt have a newline sent, you get this from the mud:
H:2536 M:3074 B:100% [csb -b]
when you NEED:
H:2536 M:3074 B:100% [csb -b]\n
since MC doesnt evaluate triggers without the newline.
You have a few options, if you can add a newline to your prompt, that will solve it, since your prompt will be:
H:2536 M:3074 B:100% [csb -b]\n
(empty line, no new line here, not yet)
There are also some other options, a lot of people like the onpartialline plugin callback. Which I think is an updated version. I think it can be found in this thread, along with help setting it up to work with your prompt.
im having some problems with my auto healer too, i believe ive got everything set out lovely, its just that i get this one little problem which screws the whole thing up. When the H:2300 M:3100 comes up it, wont set off drink mana straight away, it waits untill another output comes from the mud then it triggers the drink mana which results in me drinking twice. So ill try to put an example of what happens
You form a lash of fire, and send it to scorch the flesh of a water weird.
H:2536 M:3074 B:100% [csb -b]
As you see it gets below 3100 which the mud is ment to trigger off drink mana, but it sits there untill another command pops up.
So it goes like this
You form a lash of fire, and send it to scorch the flesh of a water weird.
H:2536 M:3074 B:100% [csb -b]
drink mana
A water weird hits you with a glancing cut.
it wouldnt of ever triggered unless that next command comes up or i send something, is there possibly a switch or something to stop this annoying accurance?
If you are using a version with OnPluginPartialLine callback instead of a prompt trigger (1.5-1.51) then you need to replace the value of the "re" script variable, near the very beginning of the plugin's <script> section, with:
You can set the minimum levels of health and mana for drinking elixir, you can also set a minimum level of health to eat moss at. Here are some aliases.
Amended on Thu 20 May 2004 03:02 AM (UTC) by Zendu
Message
Is there a way to set and alias for the % it heals at? 85% is a bit high (i have trollish regen) but when im fighting a person... id like that 85 again....
on a side note, anyway you can get it to do:
H: XXX%healthXXX
M: XXX%manaXXXXX
God im helpless
Currently using MushClient 3.46 on Win Xp pro on [url=www.aetolia.com]Aetolia[/url]
Yes, you can reduce the balance timing but it'll never be really accurate, since it's based on how often your prompt shows up and a Mushclient timer with 1 second precision. To change the timings you need to edit the values inside the TimingExpired function in the <script> section. Lines 367 and 378, I believe. The lines are commented to indicate where to change the timing values. Try setting them to 4.5, 4.6, 4.7 and see how it works.
As for changing the layout of StatusGauge bars from vertical to horizontal... Nope, can't do that right now, you can change the number of bars, but not the general layout. I plan to allow for a gauge with vertical bars:
X X
X X
X X
X X
X X
X X
H M
But that's likely to take some time, as I first want to finish an extra output window to replace Notepad, and then take a break from wxPython madness. But I'll think about your horizontal idea, if it can actually be done quicker than the vertical above than I might first do that instead.
Allright its working! both the bar and the healing! 2 quick questions?
1) can you change the layout of the health system from
H:XXXXXXXXX
M:XXXXXXXXX
to
H:XXXXXXXXX M:XXXXXXXXX
3 Does the timing of the healing zero down a bit more? it seems a tad long right now ( say .5 seconds to long or something? Hopefully the timing is the same as it is in achea.
Thanks for all your help! Id offer to give you what ive made, but its nothing all that impressive.
God im helpless
Currently using MushClient 3.46 on Win Xp pro on [url=www.aetolia.com]Aetolia[/url]
Check this post: http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=4190&page=999999
The link there takes you to a site with a zip which includes AutoHealer, that zip also contains a COM object - StatusGauge - used to display bar gauges, and used by AutoHealer 1.5 for displaying health/mana. If you aren't going to use StatusGauge then make sure you read the description of the AutoHealer plugin very carefully, especially the last bit about version 1.5, as it tells you how to disable StatusGauge support in the plugin - requires simply changing one number.
Also, it seems like I screwed up with the prompt trigger. Status flags in Aetolia take the form of '[ceb]', while I presumed that they were the same 'ceb-' as in Achaea. Use this line instead of the one I posted before:
Seems i found version 1.0 can you point me to 1.5?
all i have close to that is this:
<trigger
enabled="y"
keep_evaluating="y"
match="^(\d+)h, (\d+)m (\D{0,7})\-.*$"
name="prompt_trigger"
regexp="y"
script="DecipherPromptInfo"
sequence="1"
other_text_colour="black"
other_back_colour="black"
God im helpless
Currently using MushClient 3.46 on Win Xp pro on [url=www.aetolia.com]Aetolia[/url]
And paste it over the same line in the plugin. That will replace the regular expression for the Achaean prompt with a one for Aetolian format, and the plugin should start working.
You should be able to change the plugin to reflect the exact location of your constants.vbs file. It isn't a huge amount of work. Alternatively remove that line altogether, it sometimes isn't needed, or finally load the contants.vbs file into a word processor (eg. notepad) and paste it literally into the plugin at the start of the <scripts> section, so it is there in person, and not included.
If the plugin loaded OK it will be in the plugins list, otherwise not.
If you are playing Aetolia then the prompt trigger will be off, and the plugin won't work, since in order to heal your health and mana it needs to know what it is, and the only way to know that is through the prompt. Post your actual prompt here, and I'll give you instructions on where to put it in the plugin.
Have you moved MC from the default directory to somewhere else, or is the constants file just missing? If it's missing, you could reinstall MC to fix it, otherwise you would have to change the value in the registry... Or perhaps remove the <include "constants.vbs"> line from the script, it might work.
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.