Anyone needing/wanting help with zMUD?

... A place to ask for help on any topic whether it be starting out to player killing to IT issues.
Taziar
Posts: 961
Joined: Sat Mar 21, 2015 10:28 pm

Anyone needing/wanting help with zMUD?

Post by Taziar » Sun Nov 08, 2015 3:34 pm

Lately I have had a lot of fun writing, re-writing, and modifying scripts for zMUD. If anyone has any need for help, or has an idea they want a script written for, or anything else relating to zMUD please feel free to mail me here on the forums and I will help as much as I can.

I have a post on wotmudarchives.org forums in the zMUD section with a bunch of scripts also.

Happy mudding!

Taziar Medakan [Rising Sun Blademaster]

Ragyn
Posts: 327
Joined: Mon Jul 20, 2015 11:50 am

Re: Anyone needing/wanting help with zMUD?

Post by Ragyn » Mon Nov 09, 2015 6:45 am

Any chance you have a simple door script, that aliases a key for close/open when you either look direction or run into a door?

Just something like
"look east
the woodendoor is open.
alias 4 open woodendoor
alias 5 close woodendoor" ?

Taziar
Posts: 961
Joined: Sat Mar 21, 2015 10:28 pm

Re: Anyone needing/wanting help with zMUD?

Post by Taziar » Mon Nov 09, 2015 4:46 pm

This is from my post in the zMUD section on wotmudarchives.org forums...

Door Script, originally copied from Zain? and changed to personal preference.

Code: Select all

#CLASS {Doors}
#ALIAS kd {knock @door1}
#ALIAS ud {unlock @door1}
#ALIAS pd {pick @door1}
#VAR door1 {}
#TRIGGER {The %1 seems to be closed.} {#VAR door1 %1;#ECHO %1 is now set as door1}
#TRIGGER {You skillfully discover a hidden %1.} {#VAR door1 %1;#ECHO %1 is now set as door1}
#TRIGGER {The %1 is closed.} {#VAR door1 %1;#ECHO %1 is now set as door1}
#TRIGGER {The %1 is open.} {#VAR door1 %1;#ECHO %1 is now set as door1}
#TRIGGER {The %1 is obviously open.} {#VAR door1 %1;#ECHO %1 is now set as door1}
#TRIGGER {The %1 is quite visible.} {#VAR door1 %1;#ECHO %1 is now set as door1}
#CLASS 0
type kd to knock @door1
type ud to unlock @door1
type pd to pick @door1

You could add an alias to open and close @door1 or setup a macro.

Alias example:

Code: Select all

#ALIAS od {open @door1}
#ALIAS cd {close @door1}
I set up a macro for both opening and closing @door1

Macro example:

Code: Select all

#KEY ADD open {@door1}
#KEY SUB close {@door1}

Yeri
Posts: 109
Joined: Sat May 23, 2015 4:26 am

Re: Anyone needing/wanting help with zMUD?

Post by Yeri » Mon Nov 09, 2015 6:49 pm

This is a variant of the same script (also attributed to Zain!).

sd1 and sd2 to set doors, x and xx to open/close ones that you find. It's not as good as Taziar's, doesn't have the same flexibility and case coverage that it does, but I thought I'd share. I've kind of adjusted to it at this point.

Code: Select all

#CLASS {doors}
#ALIAS sd1 {
  #VAR door %1
  #ECHO %1 is now set as door 1.
  }
#ALIAS sd2 {
  #VAR door2 %1
  #ECHO %1 is now set as door 2.
  }
#ALIAS x {open @door3}
#ALIAS xx {close @door3}
#ALIAS z {open @door}
#ALIAS p {close @door}
#ALIAS 2 {close @door2}
#ALIAS 1 {open @door2}
#TRIGGER {The %1 seems to be closed.} {
  #var door3 %1
  #echo %1 is now set as door3
  }
#TRIGGER {The %1 is closed.} {
  #var door3 %1
  #echo %1 is now set as door3
  }
#TRIGGER {The %1 is open.} {
  #var door3 %1
  #echo %1 is now set as door3
  }
#CLASS 0

Ragyn
Posts: 327
Joined: Mon Jul 20, 2015 11:50 am

Re: Anyone needing/wanting help with zMUD?

Post by Ragyn » Wed Nov 11, 2015 7:32 am

thanks guys, I'll see which one I find to my liking. Maybe I'll just stick with manually assigning aliases

Spyder
Posts: 201
Joined: Wed Mar 25, 2015 5:51 am
Location: Australia

Re: Anyone needing/wanting help with zMUD?

Post by Spyder » Wed Nov 11, 2015 5:24 pm

Does anyone have a script that helps to highlight offensive weaves and status effects?

For example

Fear/Chill/Contagion etc (coloured in bright red)
Spikes/fball/hoa/fstrike/zing (coloured in like fluro yellow or something)

I can make a trigger to do this anyways but i don't know anything about scripting in that fashion
I am getting over re triggering these everytime my pc dies or a hdd brick. If someone can show me the framework i'll happily finish the product :)

Naerin
Posts: 313
Joined: Sat May 23, 2015 12:29 pm

Re: Anyone needing/wanting help with zMUD?

Post by Naerin » Wed Nov 11, 2015 6:00 pm

Yeah, this is very doable. The only part I don't have is the message you get when you've been woven along with the variations (enormous fireball, melty spikes, etc), but here's the form.

#CLASS {WeaveHighlighting}
#TRIGGER {Your body is pierced by razor sharp ice spikes sent by} {#CW yellow}
....
#CLASS 0

In general: #TRIGGER {WeavePattern} {#CW <color>} for everything you want to color

Colors you can use: black, blue, green, cyan, Red, magenta, brown, gray, yellow, white

Thore
Posts: 443
Joined: Sun Mar 22, 2015 2:06 am

Re: Anyone needing/wanting help with zMUD?

Post by Thore » Wed Nov 11, 2015 8:16 pm

Here are some I use. I'm not a pro at this stuff, but I color mine like this: {#COLOR #FFFFFF,#FF2255} using hex colors because heck if I can figure out what all the color names are. Not sure if it works in ZMUD, but does in CMUD. Also, what pattern do you use to make sure that the string comes on a new line so someone can't accidentally trigger the color? I color a bunch of other stuff to but these are mostly the weave ones plus some other randoms...

Code: Select all

You gasp in pain as streaks of fire from * burn your body!
Your body is pierced by razor sharp ice spikes sent by
Your body is pierced by sharp but melting ice spikes sent by
calls lightning from the sky to strike you, sizzling your insides!
The impact of an unseen force sends you sprawling!
Your body is burned by a tremendous fireball sent by
Your body is burned by a weakened fireball sent by
A violent storm erupts and fierce winds blow through the area.

~*%w~* gazes deeply into your soul.. very chilling.
*KERBOOM* The explosion rips you from the ground and tosses you through the air.
The air around your eyes seems to catch fire, blinding you!
A strangled cough racks your lungs, causing agony!
You shiver from an icy cold force sent by
waves at you, and a cold sweat begins attacking your every muscle.
gestures and you begin to lose your balance.
You feel isolated from the Source!
You lose all sense of the True Source here.
You fumble * as you are struck.
* is thrown from your hands on your way down.
* defense, flooring him with one swift strike.

Arrrgggh!!! Your body is on FIRE! You have precious few moments to save your sorry life!
The ancient greatsword, Justice of * begins to glow...
Malfeasor, the twin bladed scythe of blood ebony of * begins to glow...

Naerin
Posts: 313
Joined: Sat May 23, 2015 12:29 pm

Re: Anyone needing/wanting help with zMUD?

Post by Naerin » Thu Nov 12, 2015 1:11 am

Thore wrote:Here are some I use. I'm not a pro at this stuff, but I color mine like this: {#COLOR #FFFFFF,#FF2255} using hex colors because heck if I can figure out what all the color names are. Not sure if it works in ZMUD, but does in CMUD. Also, what pattern do you use to make sure that the string comes on a new line so someone can't accidentally trigger the color? I color a bunch of other stuff to but these are mostly the weave ones plus some other randoms...

Code: Select all

You gasp in pain as streaks of fire from * burn your body!
Your body is pierced by razor sharp ice spikes sent by
Your body is pierced by sharp but melting ice spikes sent by
calls lightning from the sky to strike you, sizzling your insides!
The impact of an unseen force sends you sprawling!
Your body is burned by a tremendous fireball sent by
Your body is burned by a weakened fireball sent by
A violent storm erupts and fierce winds blow through the area.

~*%w~* gazes deeply into your soul.. very chilling.
*KERBOOM* The explosion rips you from the ground and tosses you through the air.
The air around your eyes seems to catch fire, blinding you!
A strangled cough racks your lungs, causing agony!
You shiver from an icy cold force sent by
waves at you, and a cold sweat begins attacking your every muscle.
gestures and you begin to lose your balance.
You feel isolated from the Source!
You lose all sense of the True Source here.
You fumble * as you are struck.
* is thrown from your hands on your way down.
* defense, flooring him with one swift strike.

Arrrgggh!!! Your body is on FIRE! You have precious few moments to save your sorry life!
The ancient greatsword, Justice of * begins to glow...
Malfeasor, the twin bladed scythe of blood ebony of * begins to glow...
I didn't know this, so I looked it up! ^ is Zmud's operator for forcing pattern recognition only on newlines. One sec and I'll add all that stuff..

Naerin
Posts: 313
Joined: Sat May 23, 2015 12:29 pm

Re: Anyone needing/wanting help with zMUD?

Post by Naerin » Thu Nov 12, 2015 1:23 am

#CLASS {WeaveHighlighting}
#TRIGGER {^Your body is pierced by razor sharp ice spikes sent by} {#CW yellow}
#TRIGGER {^You gasp in pain as streaks of fire from * burn your body!} {#CW yellow}
#TRIGGER {^Your body is pierced by sharp but melting ice spikes sent by} {#CW yellow}
#TRIGGER {^You gasp in pain as streaks of fire from * burn your body!} {#CW yellow}
#TRIGGER {^~*%w~* calls lightning from the sky to strike you, sizzling your insides!} {#CW yellow}
#TRIGGER {^%w calls lightning from the sky to strike you, sizzling your insides!} {#CW yellow}
#TRIGGER {^The impact of an unseen force sends you sprawling!} {#CW yellow}
#TRIGGER {^Your body is burned by a tremendous fireball sent by} {#CW yellow}
#TRIGGER {^Your body is burned by a weakened fireball sent by} {#CW yellow}
#TRIGGER {^~*%w~* gestures and you begin to lose your balance.} {#CW yellow}
#TRIGGER {^%w gestures and you begin to lose your balance.} {#CW yellow}
#TRIGGER {^~*%w~* gazes deeply into your soul.. very chilling} {#CW red}
#TRIGGER {^%w gazes deeply into your soul.. very chilling} {#CW red}
#TRIGGER {^The air around your eyes seems to catch fire, blinding you!} {#CW red}
#TRIGGER {^A strangled cough racks your lungs, causing agony!} {#CW red}
#TRIGGER {^%w waves at you, and a cold sweat begins attacking your every muscle.} {#CW red}
#TRIGGER {^~*%w~* waves at you, and a cold sweat begins attacking your every muscle.} {#CW red}
#TRIGGER {^You fumble * as you are struck.} {#CW red}
#TRIGGER {^You lose all sense of the True Source here.} {#CW red}
#TRIGGER {^You feel isolated from the Source!} {#CW red}
#TRIGGER {^Arrrgggh!!! Your body is on FIRE! You have precious few moments to save your sorry life!} {#CW magenta}
#CLASS 0

Try it out, lemme know where it breaks?

Post Reply