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


Joined: 04 Mar 2002
Posts: 1

PostPosted: Mon Mar 04, 2002 2:25 pm   

scripting a map
 
I'm the admin of a large, established mud, and because it's been a few years since I've played mortals I've lost track of how all the zones fit together.

Is it actually possible, in zmud, to write a script that loops through rooms 1-30000, :go (to that room), :stat (that room), enter it all into a database, and come out with, at the end of the day, a map view of the entire world where exits and entries would all be matched, deathtraps would be in red, that you could point and click on and walk around the world with?

Thanks
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Mon Mar 04, 2002 5:38 pm   
 
Yes you can script it.

Best way I have done that in the past is
to track which room vnums I've been to and
then goto the exits vnum mapping it that way
and forcing the mapper to map as you go.

Using #TAG to add the room vnums to the
short room name works well as well. Helps
keep zones and your location easier in your
head when you are goto'ing everywhere.

If you have olc, you can even suck out all the
room specifics if you travel about in the olc
editor.

If you want an example of the triggers for
that, you'll have to post 2-3 rooms and
you goto'ing them. Choose your newbie zone
or your workroom maybe so to protect the
explorers :P

TonDiening
Beta Upgrading to 6.26
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