Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Molenir
Newbie


Joined: 21 Nov 2003
Posts: 3
Location: USA

PostPosted: Fri Nov 28, 2003 6:50 am   

ZMud Newbie
 
First time Poster, first time user of Zmud. I play Dragonrealms. I've heard about Zmud quite a bit, and finally decided to give it a try. Having a bit of trouble getting it set up though. Managed to connect, managed to figure out how to get various windows, to capture text, gag it in the main window and redirect it to the window of my choice. And finally how to dock the window where I want it. Even figured out the parse proplem. Now, on to what I need to figure out how to set up still.

1st. Need a compass and available direction indicator.

2nd. Stance indicator. Hiding, bleeding, laying down, Standing

3rd. Would like a way to add a time (Based on my computers clock) to text captured and redirected to a window. In this case...Molenir was
just struck down! 2:23 AM Currently no time is provided.

4th. Roundtime Indicator.

5th. Rest Mode. Using the Wizard I can have it input an exper command every 5 minutes or so to prevent autologoff. I know that Zmud will autoreconnect, but would rather not have to deal with this.

6th. Want to gag everything except certain specified entries in a window. To be more specific, in DR, lots of people log in and out. It becomes very distracting seeing all that scroll, so I redirected it to an arrival window. However I don't really care if MrX logs in, we've never met. I do care however if Mr. Y logs in. Hes a friend of mine. So I want go gag basically every one arriving except those I specify.

7th. Hand indicator. (What am I holding in my hands)

Any help appreciated. I'll keep trying to figure this stuff out, and will update this post as I do. (Assuming the forums here allow me to edit.)

Mole
Reply with quote
Jezuit
Beginner


Joined: 02 Nov 2002
Posts: 27
Location: USA

PostPosted: Fri Nov 28, 2003 9:17 am   
 
The problem with your problems, in essence, is that we need SO much more information to provide you with any help on these things. There are so many muds out there, each one has different messages for each thing.

Are you familiar with variables and aliases and triggers? Knowledge of such would help a lot.
Reply with quote
Molenir
Newbie


Joined: 21 Nov 2003
Posts: 3
Location: USA

PostPosted: Fri Nov 28, 2003 4:59 pm   
 
My knowledge of aliases and Triggers for Zmud is only what I've learned thus far from reading the help pages. So not much. I have used 3rd party programs to act as triggers in the past. And I understand scripting with the Wizard. I understand Aliases are essentially like scripts.

Mole
Reply with quote
Molenir
Newbie


Joined: 21 Nov 2003
Posts: 3
Location: USA

PostPosted: Fri Nov 28, 2003 5:37 pm   
 
Ok, you said you needed more information in order to help. So I've gone into a lot more detail. The order is the same that I listed them in my first post.

1st. The compass. Whenever I move, I get a room description. Same thing when I enter the look command
> look
Room Description: Followed by either Obvious paths: or Obvious exits: or even none. Paths can include up,down,n,ne,e,se,s,sw,w,nw In this case is just East and west.
Obvious paths: east, west.

2nd. Stance indicator. I'm honestly not sure how it does this. I believe it has to do with tags. Now the wizard can show them, but so far Zmud seems to ignore them, or at least parse them out. I'll look into this a bit more later, but for now am going to move on.

3rd. A way to add time. I thought I was pretty precise here with what I wanted. I get a message that a person was killed, currently it displays this way.
> * Senkurou was just struck down!
I have this captured and sent to a death window. What I want is to have a time appended so that if I glance away, for a few minutes, I can see if it just happened, or if it happened 10 minutes ago. I figure if I link it to my computers clock that will work out fine. Not sure how to do that though.

4th. Roundtime indicator. In this mud, certain actions incur RT delays. This is called Roundtime. So if I am in combat, and I want my character to circle a critter, I get a 4 second RT. Basically, 4 seconds before I can input another command. If I try before that time, I get the message ...wait In the wizard, there is a RT indicator with a red bar that counts down RT remaining. Its not perfect but it works pretty well. It occurs with a lot of commands from foraging to hiding. Not just combat.
Here is a log showing a RT in combat.
> draw
> < A dusk ogre neatly parries your war mattock.
A dusk ogre's cudgel rings out against your war mattock.
[You're nimbly balanced with no advantage.]
[Roundtime 7 sec.]
> * Moving well, a dusk ogre bashs a cudgel at you. You evade, just stepping out of harm's way.
[You're nimbly balanced and have slight advantage.]
> bash
> ...wait 1 seconds.
> bash
< A dusk ogre somewhat parries your war mattock, but you still manage a decent hit to the chest.
[You're nimbly balanced and in very strong position.]
[Roundtime 9 sec.]

5th. Rest Mode. This is harder to describe. In DR, if you do not input any command for about 10 minutes, the game automatically logs you out. So, to prevent this, I want to set up a script or a trigger to every 5 minutes or so to input a command. Perhaps link it to a macro, so that it isn't running all the time. (Although if I can run other scripts at the same time it would be ok)

6th. A way to partially gag a window.
> * Arcadion al'Drachenfels joins the adventure.
> * Soul Magus Lagerby Crimsonjaw joins the adventure.
> * Apprentice Linxe Termoil joins the adventure.
Ok, previously all this was showing up in the main window. I captured joins the adventure. set up an arrival window, and sent the text there, gagging it in the main window. However the problem is, I don't know Linxe or Arcadion. I do know Lagerby. I don't particularly care if 200 people show up, as long as I know and can tell when my in game friends do. So I want to gag everyone, with exceptions. In my case, Lagerby and a couple dozen others.

7th. Hand indicator. I'm not sure if this is based on tags as well or not. But here is some of the messaging.
> get scim
You get a scimitar from inside your thigh quiver
It is now being held in one of my hands. In the wizard, there is a hands indicator that shows which hand as well, so if I whip out a shield, it will either be in my right or left hand.
Now that I think a bit more about it, I think perhaps this is based on tags. I'll look into that a bit more and see.

Help appreciated.

Mole
Reply with quote
Danlo
Magician


Joined: 28 Nov 2003
Posts: 313
Location: Australia

PostPosted: Fri Nov 28, 2003 5:54 pm   
 
For the compass, you haven't said what you want it to do.
For the stance indicator, what I've done for myself is make aliases for commands like sleep, rest etc, and change a variable called stance to a different value whenever you change stance.
To add time, there is a system variable called %time, check it out. Easiest way is to just add it onto the end of the captured text.
Same as with the compass, what do you want the roundtime indicator to do that your mud does not already do?
For partially gagging the window, try this out:
Put the names of your friends into a variable, for example variable @friendlist. Then make a trigger like this:
#TRIGGER {(*) joins the adventure.} {#FORALL @friendlist {#IF (%pos(%i,%1)) {} {#gag}}}

By held, do you mean what's in your inventory, or what is actually being held as a piece of eq?

Hope this helps,
Danlo
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Fri Nov 28, 2003 6:08 pm   
 
Going mainly through the Finished Script Forums http://www.zuggsoft.com/forum/forum.asp?FORUM_ID=29 found at and I quickly see

1st. Need a compass and available direction indicator.
I thought a compass came with the DR mud file.
http://www.zuggsoft.com/forum/topic.asp?TOPIC_ID=10143
http://www.zuggsoft.com/forum/topic.asp?TOPIC_ID=9238

2nd. Stance indicator. Hiding, bleeding, laying down, Standing
I think this refers to those things:
http://www.zuggsoft.com/forum/topic.asp?TOPIC_ID=10148
http://www.zuggsoft.com/forum/topic.asp?TOPIC_ID=11726

3rd. Would like a way to add a time (Based on my computers clock) to text captured and redirected to a window. In this case...Molenir was
just struck down! 2:23 AM Currently no time is provided.
1) Make the window. #CAP WindowNameHere
2) Make triggers to capture/redirect what you want
#TR {Molenir was just struck down!} {:WindowNameHere:#SAYP %time(h:nn)" ";#CAP WindowNameHere;#GAG}

4th. Roundtime Indicator.
http://www.zuggsoft.com/forum/topic.asp?TOPIC_ID=9229

5th. Rest Mode. Using the Wizard I can have it input an exper command every 5 minutes or so to prevent autologoff. I know that Zmud will autoreconnect, but would rather not have to deal with this.
#ALARM PreventAutoLogoff *5:00 {exper}

6th. Want to gag everything except certain specified entries in a window. To be more specific, in DR, lots of people log in and out. It becomes very distracting seeing all that scroll, so I redirected it to an arrival window. However I don't really care if MrX logs in, we've never met. I do care however if Mr. Y logs in. Hes a friend of mine. So I want go gag basically every one arriving except those I specify.
1) Make the window. #CAP ArrivalWindow
2) Make a list of those you care about
#ADDITEM ArrivalWindowFriends MrY
#ADDITEM ArrivalWindowFriends Molenir
2) Make triggers to capture/redirect what you want
#TR {(%w) joins the adventure} {#IF (%ismember(%lower(%1),%lower(@ArrivalWindowFriends))) {:ArrivalWindow:#SAYP %time(h:nn)" ";#CAP ArrivalWindow};#GAG}

7th. Hand indicator. (What am I holding in my hands)
http://www.zuggsoft.com/forum/topic.asp?TOPIC_ID=10142
Reply with quote
Jerran
Apprentice


Joined: 10 Oct 2000
Posts: 157
Location: USA

PostPosted: Sat Nov 29, 2003 9:13 am   
 

There's an even easier way to prevent yourself from getting bounced every x mins of idle time: it's called the tick timer. You can access the dialogue box a bunch of ways, but I only know of two off the top o' my head: via the menu bar, or right-clicking the appropriate box in the status bar (if mem'ry serves, said box is located beside the botton scroll bar). One you've got the dialogue box up, enter the desired delay (in seconds) then put a command in the command box. Turn on the tick timer, close the dialogue box, and you're done. Counter will automatically reset after your command fires.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net