Issues with menus

Posted by Codemonkeycoryn on Sun 02 Mar 2003 10:41 AM — 6 posts, 18,316 views.

#0
I recently downloaded 1.4a for windows, and it compiles fine, runs fine, no problems there. I've even added some snippets for housing and such, and it still keeps chugging away. My problem though is the menus; rmenu, mmenu, omenu. I haven't messed with cmenu yet, I assume it'll have the same issue. Basically, when a menu is displayed to my screen, it has the top part of the menu cut off. I'm using Zmud (sorry Nick), and so do many of the admins that will be running the mud. Here's an example of the rmenu:


|--------'                                                                  |
|a]Name:                                                                    |
|The Parlour of the Immortals                                               |
|b]Description:                                                             |
|You are lounging in a quiet cosy parlour, warmed by a gentle magical f...  |
|                                                                           |
:---------------------+-----------------------------------------------------'


The funny thing is, it seems to show up fine in telnet . . .
Any ideas?
Amended on Sun 02 Mar 2003 10:44 AM by Codemonkeycoryn
Australia Forum Administrator #1
Man: Doctor - it hurts when I do this!
Doctor: Well, don't do it!

Try seeing what happens to that menu when you use MUSHclient. It might make it more obvious what is going wrong.

zMUD has a habit of interpreting "tags" even when not in MXP mode.

Can you paste what the menu looks like from telnet (or MUSHclient)? It might help solve the problem. I would be looking for < or > symbols - that will probably throw it.
#2
Well, glancing at the code, I don't see anything that I think would set it off, but I may be blind =P Here's what it's supposed to look like (according to telnet):


.------------[Rmenu Help Page]----[ 1200:The Parlou]-----[N]--------.
|    Page Contents                    |        COMMANDS.            |
|                                     |   (s=Section#, i=id)        |
|                                     |   ------------------        |
| PAGE     CONTENTS                   | -a thru -h: Select Page     |
|------|------------------------------|                             |
|  a   | Name & Description           | s i: Toggle Checked items   |
|  b   | Room flags & Sector type     |                             |
|  c   | Exits                        | s i arg: Change numbers     |
|  h   | Help                         |          and Strings        |
|-------------------------------------| Quitmenu: Abort Menu        |
| Also see 'help rmenu'.              | Savemenu: Save & quit Menu  |
`-------------------------------------------------------------------'  


I'd like to point out that I disabled the special characters such as '.' on ZMUD. Bah *beats zmud with a stick, and switches to MUSH*

Note: That's for ResortMUD, but it's having the exact same issues.
Amended on Thu 06 Mar 2003 03:06 AM by Codemonkeycoryn
Australia Forum Administrator #3
I can't see what is wrong with that, but if I may respectfully suggest, if MUSHclient works, and zMUD doesn't, post a query on the zMUD forum.
Australia Forum Administrator #4
Maybe zMUD is interpreting "& Description " as an MXP entity (eg. like &lt; ). That might account for why part of that line disappears, but I can't account for the other ones.
#5
Heh, I actually did post one on the zmud forums. I posted one here because it was dealing with the smaug code base, and this seems to be the best place to get smaug information. For anyone watching at home (=P) the problem is definitely with ZMud. So, if you want another reason to recommend MUSH over ZMud, here ya go. ZMud does not properly support VT100 codes, apparently. MUSH displays the menus funky too, but at least they're all there =P

Thanks for the help, sorry to have taken up bandwith =)