> > another question.. does anyone have roomdig command? i couldn't > find it > >on the ftp.. thanx > [snip] > The file: > ftp://ftp.circlemud.org/pub/CircleMUD/contrib/olc/online/copyto.txt > contains the dig command, as well as a copyto command, which when > executed will copy the long description of the room your in to the > room you specify. Also, variants on this are: > ftp://ftp.circlemud.org/pub/CircleMUD/contrib/olc/online/buildwalk.patch > and also: > ftp://ftp.circlemud.org/pub/CircleMUD/contrib/code/zones/roomlink2.txt I should have included the original message, sorry all. First, if your getting the message "That room does not exist." Even if it does, you might take a look at the code in the middle of the do_oasis() proc. Check and make sure that you haven't altered the argument handling. As an error check, send yourself the room number, maybe formatted like so: sprintf(buf, "That room (%d) does not exist\r\n", r_num); Of course, you'll have to change r_num to whatever input buffer the atoi()'ed argument is supposed to be. I haven't messed with DG Scripts in a few years (hard to believe), but if the error check looks for something like real_room(rnum), check db.c to see if real_room() has been altered from the original and how. Now to your question. Yeah, I've got an rlink (like do_dig but creates the target room if it doesn't exist) but it's rudamentary and not for general consumption at this point. Before you go and grab the original, you should know that the handling procedures have changed dramatically since that snippet was released. I had to hack it up horribly to get it to properly check for rooms, and it's not really safe right now. I would suggest (as Ray did) grabbing buildwalk, a great snippet, and checking it out first. It's really neat, just not what I wanted. When I added ordinal directions to my MUD, buildwalk actually crashed the game whenever it tried to search for a new vnum (go figure!). I probably just installed the directions wrong. -FIRE ===== ************************************** * "Mommy! Make the bad man go away!" * ************************************** __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | | Newbie List: http://groups.yahoo.com/group/circle-newbies/ | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT