Ok, just to be doing it created something to go through and get a map of the area your currently in and just wanted to see if anyone had some suggestions/ways of making it work alot better. mapper.c file
Just thought I'd see if anyone knows of a way to get it all correct or anything. Notice that it doesn't take into account up/down yet and it just mixes up the rooms since i haven't decided on a good way yet of handling it to make it handle everything correctly. On the bright side took only a little bit of changes to get it to show correctly so it did help out on making the map some lol :)
What we really need is a freestanding program that can directly read in the area files folder and output maps (ascii, ansi, or a common image format) at the area and world levels that can be inclusive for administrative planning purposes as well as a bit less revealing for posting to a web site or forum for the benefit of players.
For that reason the mapper system I use is immortal only. Players cannot get the mini map like that, and the imms have it for planning and logistical reasons only.
Yea that is immortal only or well for now 2nd highest permission is required to use it :)
06 Jan, 2008, David Haley wrote in the 5th comment:
Votes: 0
I think the problem is incredibly difficult unless you make some assumptions about how your area is laid out. If you assume that things are basically "logical" with the occasional exit stretch (as you have), you could probably just apply stretch where necessary. For instance, you have one case where going down from one row and up from the row below doesn't land you in the same place; so you'd need to introduce filler there. I haven't really thought at all about how to implement such a thing, though. But, in general, I think this is an extremely difficult problem to solve, especially if you need to start invoking a layout engine to deal with funky cross-over of exits and stuff. (You could try outputting the room graph to dot and see what it does with it. That should be very easy to do automatically.)
mapper.c file
Output on the mud when testmap is used and I'm in the square (where the @ is)
actual way the area is
Just thought I'd see if anyone knows of a way to get it all correct or anything. Notice that it doesn't take into account up/down yet and it just mixes up the rooms since i haven't decided on a good way yet of handling it to make it handle everything correctly. On the bright side took only a little bit of changes to get it to show correctly so it did help out on making the map some lol :)