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
misterbalrog
Apprentice


Joined: 26 Oct 2004
Posts: 108

PostPosted: Tue Dec 21, 2004 7:08 pm   

Automatically map an entire zone
 
I searched the forums for help on "automapper" but only came up with lots of inquiries about how it stores variables and room-related stuff automatically. But none that would "bot-like" record an entire zone...

The thing is, I want to map out an entire zone and store it by it's zone number... this is the output of a room in a zone...

Code:

[14754] The King's Highway [ !MOB ] [ Field]
This is the end of the King's Highway, the road no longer being the
property of the King, but of the Baroness Landestine who owns the land
north of here.  The way north is open and wide, an inviting direction
to travel.   
[ Exits: n s ]


It's standard view of a wizard on a CircleMUD.

The zone number can be retreived from the [XXX45] in the room name line. The last 2 are _always_ the room number. the numbers preceeding it is the zone number. Thus.. I want the mapper to restrict itself to mapping one zone at a time.

What I want it to do is to automatically check if any room has unchecked exits, or rather unexplored exits. And automatically fill these out. If it comes across an exit that leads elsewhere, it walks back into the zone it came from (the starting zone) and leaves it at that. As much info as possible to be saved would be nice.

The reason I need this to be done is cuz we have a HUUUUUGE Ocean-zone that needs to be mapped out and make a better visual over the locations of the different islands... so that when we make the ascii maps that we don't place a map that's supposed to be straight north of the starter island to the northwest and so on... Help to an already written post or with this would be much appreciated.

I've dabbled with zMUD for quite a few years, but I've always kept a distance from the mapper, cuz whenever I've tried, it goes beserk with "maze-like" zones where rooms are crossreferenced, but not having a two-way exits. This can occur in the ocean-zone, I wouldn't put it past it, so...

Anyway, if it helps, a wizard can use the "goto" command like, "goto <room number>" i.e. "goto 14754" (yes, zone num + room num gives the room vnum which you apply to the goto command)

- Balrog

Edit: Tried now with the mapper, and it bugged as usual. I don't think zMUD likes our MUD at all :P I made the auto-configure and it all looked ok, and I checked the info stored in the map after the first look and it looked ok. So I tested it by going south once, and going back north once. This should of brought me back to my original starting point on the map, however it did not. It made a new room overlaping the old one. And it kept bugging like that. And when I came to a section of a zone with lots of intersections, it mixed em up and went on a strike. It stopped in the middle of a four-way intersection and stopped following my movement. It's the same symptoms zMUD mapper have always had I'm sad to say...
Reply with quote
misterbalrog
Apprentice


Joined: 26 Oct 2004
Posts: 108

PostPosted: Thu Dec 23, 2004 4:18 am   
 
Bump.

And yes, I still need help with this. The edit I made does not mean that I dropped the project. It must be something else... probably that it's freaking out cuz of the brackets or something....
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5187

PostPosted: Thu Dec 23, 2004 10:44 am   
 
If you can get me limited wizard access on the mud, like wizinvis and goto only, I will log on and get the whole thing done for you. Then provide the scripts and map.

The automapper is simply so tuned for normal movement that scripting the goto command to work with the mapper is a little complex. Also because of all the mapper's different settings it is often impossible to help someone get them right when the autodetection doesn't work. In general the help is accurate in the order in which you should try to make manual tweaks to the detected settings, but nothing is perfect.

Another possible way to do this would be to script a parser for the area files. This is an involved proccess as well. I would be willing to do it, but my time is quite limited.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
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