Editing Commands

Posted by Tribulon on Sat 29 May 2004 04:39 AM — 6 posts, 21,795 views.

#0
On certain commands there is a code (fae4c), when I try to edit those Area Editor wants a function such as "do_something". Do you know what should go here? These all have to do with Immortal commands.

Also, a tool to make maps to use with the areas would be a nice addition to Area Editor.
USA #1
What do you mean by making maps? I've always wanted a graphical layout of an area to build with, and I would love to see an area editor that did that, but as a programmer I know how big of a task it is. To be honest with you I don't think Nick is charging enough to warrant something that cool. :-)
Australia Forum Administrator #2
The "code" is the memory address of that command in memory. It will be different every time, so what you need to put in is the *name* of the command handler.

eg, for "look" the handler is "do_look".
USA #3
If the code is shown as (fae4c) or something, that could also mean that you forgot the do_code in mud.h and tables.c
#4
When I say maps, I was talking more along the lines of text maps like the ones you buy at shops. Also, how do you make a "guide" or something that you can read?
USA #5
Text maps and guide are both done by giving objects extra descriptions, I believe. You would name the keyword the same as the object's keywords, so if you 'look guide' you see the right extra desc.

That being said, that is how we do it on our MUD which was derived from SMAUG 1.0 many, many years ago... things may have changed in the interim. :)