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
QuartetmanIA
Novice


Joined: 21 Feb 2002
Posts: 49
Location: USA

PostPosted: Thu Mar 14, 2002 5:31 am   

Can't Continue Displaying Help Files
 
I'm in a mud and trying to read a help file. The lines stop after a dozen or so, and prompts me with : Hit Return to Continue or Any Other Key to Quit. I blank out my command line but I get "ABORTED" from the mud and the remaining help file lines don't display. I think zMud is sending a character even tho my command line is blank. What can I do about this? The mud doesn't have a "pagelength" option where I can tell it how many lines to display before Prompting me to continue.

Help is appreacated.


QuartetmanIA
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Thu Mar 14, 2002 5:36 am   
 
#TR {Hit Return to Continue or Any Other Key to Quit} {#SEND %cr} "" {nocr|prompt}
Reply with quote
QuartetmanIA
Novice


Joined: 21 Feb 2002
Posts: 49
Location: USA

PostPosted: Thu Mar 14, 2002 5:50 am   
 
Thanks for the quick response but I have no idea of what you told me .. what do I do with that?

#TR {Hit Return to Continue or Any Other Key to Quit} {#SEND %cr} "" {nocr|prompt}


QuartetmanIA
Reply with quote
QuartetmanIA
Novice


Joined: 21 Feb 2002
Posts: 49
Location: USA

PostPosted: Thu Mar 14, 2002 6:23 am   
 
Still having problems... if this is a trigger.. why should I need one? other muds have continuing pages and all I do is clear the line and press enter.. Why is this different? The IMMs say a character is being sent with my "cleared line"

HELP!!!
I can't read a full help tutorial with out this.


QuartetmanIA
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Thu Mar 14, 2002 12:37 pm   
 
Did they say which character or did they not even bother to check. Perhaps zMUD is sending CR and the MUD expects NL, zMUD is sending NL and the MUD expects CR, or zMUD is sending both and the MUD expects just one.

What Vijilante suggested is a trigger, you can enter this in the command line exactly as it appears in the forum and then hit enter to create it.

Kjata
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Thu Mar 14, 2002 4:05 pm   
 
As you said yourself
quote:
other muds have continuing pages and all I do is clear the line and press enter
so it's clearly a peculiarity of this particular MUD, not something wrong with zMUD. And that's the reason you need a trigger for this particular MUD -- because it's coders have decided to be different.

LightBulb
All scripts untested unless otherwise noted
Reply with quote
QuartetmanIA
Novice


Joined: 21 Feb 2002
Posts: 49
Location: USA

PostPosted: Thu Mar 14, 2002 5:31 pm   
 
I tried the trigger given by Vilgilante and it didn't work. (Just paste it on the command line and press enter? That's what I tried. Thanks for the help but don't assume people know what you're talking about; not all of us program in zMud.) If zMud is sending a character, isn't there a switch I can turn off (like ECHO) or something in a Preference Screen so I don't have to program zMUD? What is that #TR thing doing anyway and why would that be different than me sending a "blank" command line response. zMud is so hard. Why can't a blank command line sent be a blank line received? The MUD developers could not determine what character was being sent.


PS. I get this problem in other muds where I'm suppose to enter "M" or a line number for more to continue and it doesn't continue the display. On those MUDS I can set a PageLength to 1000 and get around it, but this mud doesn't have that command.

QuartetmanIA
Reply with quote
dracx
Beginner


Joined: 14 Oct 2000
Posts: 26
Location: USA

PostPosted: Thu Mar 14, 2002 5:57 pm   
 
Let's try loosening that trigger a little and see if it helps. Paste this in your commandline.

#TR {Hit Return to Continue or Any Other Key to Quit} {#SEND %cr}

The original just fired on a prompt. This will fire on a newline as well... I'm not exactly sure what distinguishes a newline from a prompt, but zmud seems to think there's a difference. And it doesn't really matter if you disagree with it's findings. So try that and see if that doesn't help. If it doesn't, get a paste of the whole output that it bothering you and post it here. This is really a pretty simple problem.

Dracx
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Thu Mar 14, 2002 7:52 pm   
 
The problem lies in that blank line from me may not be a blank line from you. When you hit enter, the character that represents that enter is different in different systems. Some systems send what is called a newline or linefeed, others send a carriage return, and others send both. Perhaps your MUD is expecting one or the other or both, and zMUD is not sending exactly this. Since I didn't program zMUD, I'm not exactly sure what it sends, only Zugg knows this for sure. However, I have worked with MUD code bases before, and I know for a fact that it is fairly trivial for a coder to know exactly what you are sending to the MUD. It doesn't even have to be a coder that does it, but it can also be one of the immortals that have physical access to the server running the MUD or some access otherwise that lets them see what the server receives.

But, for your case, I believe that macros are a better solution than triggers. Try creating these macros (by entering the commands below in the command line):
#MACRO F10 {#SEND %cr}
#MACRO F11 {#SEND %lf}
#MACRO F12 {#SEND %crlf}

I'm not sure if the middle one will work, but create all three anyway. Now, the next time you get the prompt to hit Enter to continue, try hitting either F10, F11, or F12 in your keyboard to see if any of these work.

Kjata
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Thu Mar 14, 2002 8:11 pm   
 
What is the name of the MUD? Its address and port would be helpful too, if you know them, but the name will probably be enough to look them up.

LightBulb
All scripts untested unless otherwise noted
Reply with quote
QuartetmanIA
Novice


Joined: 21 Feb 2002
Posts: 49
Location: USA

PostPosted: Fri Mar 15, 2002 1:18 am   
 
That fixed it:

#TR {[Send Return to continue, anything else to quit]:} {#SEND %cr}

Thank you very much for the help. It's unnerving to know it took something like this to make zMud to work with this MUD though.



QuartetmanIA
Reply with quote
QuartetmanIA
Novice


Joined: 21 Feb 2002
Posts: 49
Location: USA

PostPosted: Fri Mar 15, 2002 1:31 am   
 
Oops.. spoke too soon... it didn't work on the next Help file I was to read. It worked on the first one but now it doesn't.

Mud site is Hrielith at organelle.org 4045 It's a pain to login, cause you need to be approved first. I wouldn't try it unless you really wanna play the mud. Plan on using Telnet though unless you can get by without help files.

QuartetmanIA
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Fri Mar 15, 2002 1:58 am   
 
Hrm, just looking back over this mess I realized we all forgot one important thing...
#SEND will attach a carrige return to the end of what is being sent. The correct command to use would be SENDPROMPT

Hence I suggest clean out any extraneous settings from the testing of this and using this one, now that you provided the correct text. I am figuring the brackets are part of the muds actual prompt.

#TR {~[Send Return to continue, anything else to quit~]~:} {#SENDPROMPT %cr}
Reply with quote
QuartetmanIA
Novice


Joined: 21 Feb 2002
Posts: 49
Location: USA

PostPosted: Fri Mar 15, 2002 2:21 am   
 
That did it! This problem is solved.

Thanks.

QuartetmanIA
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Fri Mar 15, 2002 1:46 pm   
 
This solved your problem, but stating my opinion on this, I believe that it is not Zugg's job to make sure zMUD sends newlines like one particular MUD might expect it. This is the first time I have seen this problem come up in the forums so it is safe to assume that most people do not have this problem (myself included.) So, I believe it is more the MUD coders responsibility to make sure that they accept different possibilities for different systems.

Kjata
Reply with quote
Darker
GURU


Joined: 24 Sep 2000
Posts: 1237
Location: USA

PostPosted: Fri Mar 15, 2002 2:54 pm   
 
I think this has come up before - and is why zMUD lets you select whether Enter sends a CR or LF in it's preferences (it's under Connection in the latest beta).

It has been a very long time since I've seen that as the source of a problem.



zMUD 6 Online Help: All the power you'll ever need.
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