Bloodrose Family Forums Archive


Public Board

-

Scripts

-

Mushclient Curing system

Poted by Broly on 07 Feb 2006 17:41 -
Ok, here are my triggers and aliases for mush, if you think they be of any help:

http://www.yourfilelink.com/get.php?fid=20790

If you want to use them, go to  game -> configure ->triggers -> load and select the triggers file.

Same for aliases.

And in game->configure -> scripting set the script file to newbroly.js(it's in the archive) and the scripting language to JScript.

If you don't load the script and load the triggers, you'll get a bunch of error messages, i'm afraid...So, load the script first.

If you want to use any of the plugins in the scripting section of the forum, you have to copy the code in a new text document, save it(as txt or xml), then go to file -> plugins -> Add, select the type of file and the plugin to load.
Poted by Yreogh on 14 Feb 2006 02:16 -
You mean newbroly.js is in the forum archives?

And if you set JS as scripting thingy, how do you get it to recognize a .rar file?  Which is a file extention I don't think I recognize.
Poted by Broly on 14 Feb 2006 08:40 -
.rar is a WinRAR archive. The file you download is an archive, and inside it you'll find the rest of the files. To extract them, you need some sort of archiver program (WinACE, WinZIP, something).

Anyway, to make it easier, here are the files:

Variables:http://www.yourfilelink.com/get.php?fid=25525

My aliases: http://www.yourfilelink.com/get.php?fid=25522
My triggers:http://www.yourfilelink.com/get.php?fid=25523

And the script file:http://www.yourfilelink.com/get.php?fid=25526

Again, first load the script and variables, then load the triggers and aliases.

You'll probably find it very confusing at first, i suggest you look through the triggers and aliases to get an idea of what each of them does(look at their label and group). Most of them are useless, unless you decide to fight... You can use the autosipper and harvester though.
Poted by Yreogh on 14 Feb 2006 15:15 -
Autoharvester=cheating
*nodme*
And I knew this trip to Ulangi was a good idea.
Poted by Indiana on 14 Feb 2006 15:18 -
Everyone uses auto-harvester, forging, ratting and so on .. nothing new .. I am fairly sure auto-ratter is a bit illegal although nobody checks .. the rest are very much normal .. and common
Poted by Yreogh on 14 Feb 2006 15:43 -
So's murder.  Harrumph.

Moot point anyway, as I can only do immunity refills as of yet.
Poted by Yreogh on 14 Feb 2006 15:48 -
and why do they all have different file endings?!

Edit: Okay, figured it out.  *eye*
Poted by Yreogh on 14 Feb 2006 16:12 -
when I enabled scripting this happened
There was a problem in script file "C:\Program Files\MUSHclient\scripts\newbroly.js":

The trigger (afl_mangledra) subroutine named "xmgra" could not be found.
The trigger (afl_mangledla) subroutine named "xmgla" could not be found.
The trigger (afl_mangledla1) subroutine named "xmgla" could not be found.
The trigger (afl_mangledla2) subroutine named "xmgla" could not be found.
The trigger (afl_mangledra1) subroutine named "xmgra" could not be found.
The trigger (afl_mangledra2) subroutine named "xmgra" could not be found.

*flap*
Poted by Broly on 14 Feb 2006 18:55 -
I uploaded an older version of the script   Sorry.

try this one: http://www.yourfilelink.com/get.php?fid=25872
Poted by Avian on 14 Feb 2006 18:58 -
I have an auto-harvester...

I could make an auto-ratter and an auto-basher. Not hard.

Not totally legal but... not hard.
Poted by Yreogh on 16 Feb 2006 00:05 -
Okay, so, apparently you have a something for lighitng your pipes.  and it still has your pipe numbers, not mine.  How do I go about changing that?
Poted by Broly on 16 Feb 2006 10:20 -
Game->configure->variables, search in the list for pipe_elm, pipe_valerian, pipe_skullcap and edit them.
Poted by Yreogh on 17 Feb 2006 21:58 -
I don't see a pipe anything.
Poted by Indiana on 18 Feb 2006 05:52 -
I have a feeling he forgot to export the variables as well.
Poted by Yreogh on 18 Feb 2006 13:33 -
As Jaha would say:

'Kay.
Poted by Broly on 19 Feb 2006 12:08 -
No i didn't.

Anyway, to make it easier, here are the files:

Variables:http://www.yourfilelink.com/get.php?fid=25525


Load that file in the variables window.

Only thing i didn't export are my timers, but those aren't really important.
Poted by Yreogh on 20 Feb 2006 04:06 -
Yeah, I downloaded them, but didn't load them into the client.  My mistake.
Poted by Yreogh on 20 Feb 2006 04:21 -
Why, in the Arena, do you constantly apply caloric?

(Is clueless)
Poted by Broly on 20 Feb 2006 05:37 -
It shouldn't apply caloric constantly (unless you're confusing it with mass, which it does apply every time it dissappears). If it constantly sends apply caloric to the world, something is broken (one of the variables is probably messed up). Next time you use it, try this, after connecting:

/resetdvars -> resets defenses(don't forget the slash on these two)
/resetcvars -> resets afflictions
def -> to get current defenses
diag -> to get afflictions (but unfortunately, i don't have all the diag messages... anyway, if you use it after connecting, you shouldn't have any afflictions).

Or, to make it easier, you might want to add this to Game->Configure->Scripting: in the world events section, type onConnect in the Connect field. And then reconnect to the world, and it will do the above things automatically.

Here's a list of commands, if you haven't figured them out yet:

con/coff -> curing on/off
son/soff -> sipper on/off
mosson/mossoff -> eating moss on/off(you have to have sipping on if you want to use this)
defon/defoff ->automatic deffing on/off(you must have curing on if you want this to work)
ain ->turns curing, sipping, defing on, gets herbs out of your cache
aout ->resets afflictions and defenses, turns moss eating and defing off, puts your herbs back in your cache

And you should set the prompt to: H: <value> M: <value> and Endurance <percentage> for all that stuff to work.
Poted by Yreogh on 20 Feb 2006 16:45 -
Yeah, I was sparring Keros, and got a slew of error messages.

Both times.
Poted by Broly on 20 Feb 2006 17:26 -
What error messages? Anyway, before trying the curing, see if the sipper works. son, score to get your maxhealth, set your prompt to what i said in the previous post and see if it automatically sips when you are under 80% of your max health.
Poted by Yreogh on 20 Feb 2006 18:22 -
I unno, there were a lot.

And yeah, the auto sipper works.  *nod*
Poted by Yreogh on 22 Feb 2006 00:10 -
It seems to happen most when a Sentinel entourage is attacking me.

I can't get it to stop applying restoration without turning curing off.  I tried aout, but it still keeps applying restoration.
Poted by Broly on 22 Feb 2006 07:33 -
Hmm. For the restoration problem, check these variables: xmgl, xmgll, xmgrl, xmga, xmgla, xmgra. If any of them is 1, there's your problem. Set all of them to 0. For the sentinel entourage, probably one of my triggers is broken, but i don't know which one. (xmgl - mangled leg, xmgll - mangled left leg, xmga - mangled arm etc.)

aout doesn't stop autocuring, since you can get afflictions even outside of the arena. It stops autodeffing, so you don't waste your herbs and salves.

Poted by Yreogh on 23 Feb 2006 00:21 -
Thought you said it resets afflictions?
Poted by Broly on 24 Feb 2006 07:58 -
it does, but I forgot to add those variables to the function that resets them.

If you want to reset them on aout, you must edit the script, go to  function resetcvars(a, b, c) (it's right at the top of the file) and add these lines to it:

world.SetVariable("xmgll", 0);
 world.SetVariable("xmgrl", 0);
 world.SetVariable("xmgla", 0);
 world.SetVariable("xmgra", 0);
 world.SetVariable("xmgl", 0);
 world.SetVariable("xmga", 0);


Just paste those anywhere inside the function.

And for the sentinel problem, it might be the lemming...go to general->configure->triggers, search for the trigger labeled losedef_caloric2 (group defences) and edit it. In the send to field, select script.
Poted by Yreogh on 24 Feb 2006 22:18 -
I don't see a general, so I went to the list of triggers via game>configure, and searched for losedef_caloric2, and didn't find it.  Should I add it, or did I go about finding it the wrong way?

Added the variables in the script, though.
Poted by Broly on 25 Feb 2006 11:20 -
Yeah, that's where it was supposed to be.

<triggers>
 <trigger
  enabled="y"
  group="defences"
  match="^A small brown lemming scurries around you furiously\, stripping your caloric $"
  name="losedef_caloric2"
  regexp="y"
  send_to="12"
  sequence="100"
 >
 <send>world.SetVariable("defca", 0);
curing_off_prompt = 1;</send>
 </trigger>
</triggers>

copy/paste this in the trigger window to add it.
Poted by Yreogh on 25 Feb 2006 22:03 -
But, there's like eighty gajillion boxes!  *flap*

Edit:  Oh, there's a paste button.  Crisis averted, I think.
Poted by Yreogh on 25 Feb 2006 23:06 -
So, I went to spar Naahul, and got error msg'ed so bad I got DC'ed.  I didn't manage to save the error messages themselves, as there was a string of about a gajillion, But I'd like to share this snippet with you all.

H:3246 M:3280 E:99% [sdb e-]
A fox snarls and lunges at Naahul, biting him viciously.
A small brown lemming scurries around you furiously, stripping your third eye
A fox snarls and lunges at Naahul, biting him viciously.
A small brown lemming scurries around you furiously, stripping your third eye
A fox snarls and lunges at Naahul, biting him viciously.
A small brown lemming scurries around you furiously, stripping your third eye
A fox snarls and lunges at Naahul, biting him viciously.
A small brown lemming scurries around you furiously, stripping your third eye
A fox snarls and lunges at Naahul, biting him viciously.
A small brown lemming scurries around you furiously, stripping your third eye
A fox snarls and lunges at Naahul, biting him viciously.
A small brown lemming scurries around you furiously, stripping your third eye
A fox snarls and lunges at Naahul, biting him viciously.
A small brown lemming scurries around you furiously, stripping your third eye
A fox snarls and lunges at Naahul, biting him viciously.
A small brown lemming scurries around you furiously, stripping your third eye
--- Disconnected on Saturday, February 25, 2006, 4:55 PM ---
--- Connected for 1 hour, 20 minutes, 26 seconds ---
Poted by Indiana on 26 Feb 2006 07:01 -
Me think you have too many (third) eyes -sagenod-
Poted by Broly on 26 Feb 2006 15:35 -
i know why that's happening!  Go to the trigger labeled losedef_echinacea1 (the pattern looks like this: * stripping your third eye *) and, in the send field you have this:

world.SetVariable(defec", 0);
curemain();

replace it with this:

world.SetVariable("defec", 0);
curemain();


Notice the " in the second one.

For a little improvement, you might also want to replace curemain(); with curing_off_prompt = 1;

Oh, and if you get any other errors, it is better if you give me the string that produced the error, the error code and what is says isn't that important.
Poted by Yreogh on 26 Feb 2006 18:04 -
When the lemming strips the deafness defence, it's not yellow like when it strips the others, by the way.

So, when I made the first change, this happened:
A small brown lemming scurries around you furiously, stripping your caloric
world.SetVariable("defca", 0);
curing_off_prompt = 1;
salve defence.


So, I made the change to it stripping thirdeye, and it didn't seem to do anything.  It stripped it just fine, nothing happened.  I did expect it to try to get it back up, but I don't suppose it's all that important, unless you're fighting someone with shrouding-thingy.
Poted by Indiana on 26 Feb 2006 19:28 -
Make sure you send the output to Script, not to the world (edit that trigger and there is a drop-down box with Send to).
Poted by Yreogh on 26 Feb 2006 20:31 -
that'd make a big difference, wouldn't it?  *mumble*
Poted by Broly on 27 Feb 2006 15:07 -
I'm afraid the problem with this system is that i haven't really tested it.    . I'd spar more, but i hate the PvP skills we have in Meta, and i have next to nothing in woodlore. Metamorphosis in general is great, but as far as fighting goes, it looks more like a support skill than a main fighting skill. (only stuff useful: sting, maul, incinerate...ambush, stampede or shred if you are in a team or you want to surprise your opponent).

Anyway, i'll work on fixing what errors i can find.

 
Poted by Yreogh on 27 Feb 2006 15:23 -
Hehe.  At least I'm finding some of the bugs for ya.

And I still can't figure out how to use the targetting thingy.
Poted by Broly on 27 Feb 2006 19:41 -
st <target> -  set target; you won't get any note when you set the target, but if you don't get any errors, everything is ok.
ma - alias for maul target
tr - trip target

Some other aliases for attacking your target, look in the alias list for aliases ending in target.
Poted by Yreogh on 28 Feb 2006 18:00 -
Actually went out harvesting the other day.  I figured out why you use an autoharvester.
Poted by Avian on 28 Feb 2006 19:09 -
Auto-harvesting is so boring. You just stare at a scrolling screen.
Poted by Yreogh on 28 Feb 2006 19:20 -
Or, you can talk to Jaha on AIm.  that's what I do.
Poted by Avian on 28 Feb 2006 19:31 -
Yeah, then get destroyed by a mosquito.

Besides, I don't have Jaha's AIM. And Sarkis would get jealous. Then again, he can't do anything to me.
Poted by Yreogh on 01 Mar 2006 00:01 -
I don't have the chat window maximized, dorkus.
Poted by Sarkis on 01 Mar 2006 17:09 -
Avian...the day I'm jealous of you...is the day I lose all my self respect and will to live.

I loves ye'...but not that much.

...annnnd...I have worries about anything between you and Jahara.  If it isn't obvious already, try asking her IG about what she thinks about Avian.
Poted by Avian on 01 Mar 2006 18:53 -
I actually don't care so...
Poted by Yreogh on 20 Mar 2006 06:46 -
Broly, you know how you have
stands up and stretches his arms out wide.
highlighted?  You failed to do the same for Her arms out, I just realized that.  *eye*
Poted by Broly on 20 Mar 2006 16:12 -
...oops? I have both of them highlighted on my daru file though . I've already said i haven't tested alot...If you want both of them highlighted, delete the trigger labeled opponent_stand and copy this trigger:

<triggers>
 <trigger
  custom_colour="11"
  enabled="y"
  group="misc"
  match="stands up and stretches (her|his) arms out wide\.$"
  name="opponent_stand"
  regexp="y"
  sequence="100"
 >
 </trigger>
</triggers>
Poted by Yreogh on 20 Mar 2006 17:53 -
Hehe.

Me breaking it counts as testing, right?  *eye*

Back to main forum archive

View normal forum version