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
sirius096
Newbie


Joined: 06 Sep 2007
Posts: 2

PostPosted: Thu Sep 06, 2007 4:10 am   

Mass relinking
 
Is there anyway I can make zMud automatically link exits which are facing each other? Instead of having to link every single room by hand, or by walking through the room in each direction. For areas of 1000+ rooms with most cardinal dirs from each room, this is quite tedious. :p

-Siri
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5187

PostPosted: Thu Sep 06, 2007 4:34 am   
 
There is an option in the map configuration under the Interface section called Autoconnect that does just that. It should have been on by default.

If for some reason you have a large number of such stubs floating about you can search for script by me in the Finished Scripts forum. I believe I posted one about 3-4 years ago for connecting them up properly in batches. I recall that it required execution of a few different aliases seperately to give users a chance to look over all the things it was going to do. If need to use I would suggest backing up the map first since just in case.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
sirius096
Newbie


Joined: 06 Sep 2007
Posts: 2

PostPosted: Thu Sep 06, 2007 4:52 am   
 
Ah, thanks. Seems it wasn't on for me :p

Next question, can I get zmud to generate a path that goes through EVERY room on my map? not just the quickest path, but starts at x, ends at y but runs every single other room before doing so?
Reply with quote
Arminas
Wizard


Joined: 11 Jul 2002
Posts: 1265
Location: USA

PostPosted: Thu Sep 06, 2007 1:49 pm   
 
You can... But it would likely involve going through many of the rooms multiple times.
If Vijilante doesn't just write something off the top of his head that would completely blow away anything that would take me three days to write I'll try to get back to you with something this evening. Laughing
_________________
Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5187

PostPosted: Thu Sep 06, 2007 2:24 pm   
 
I would have to question what your actually looking to do by going through every room. It is quite doable, but there might be a better method, or other issues that would necessarily have to be handled for the script to be effective.

If this is something you want to do to check the map for accuracy then I would not want to rely on the mapper to detect the moves. I would want to have a seperate handler for successful movement and would need some sample rooms to do that. A continuous set of 3 rooms with the movements in between them would be nice.
_________________
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