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
gth
Beginner


Joined: 17 Oct 2003
Posts: 19
Location: Australia

PostPosted: Tue Feb 10, 2004 12:23 am   

map "level offsets" / "select all rooms in zone" ?
 
Situation: teleport into a room, start a new map zone (level 0). Map a few rooms and levels up, only to find that you weren't on level 0 when you started -- actually more like level 3.

What I think you'd have to do: Select all rooms displayed at the current level (since you can't multi-select rooms across levels, can you?) and then use Edit/Move to move them up a level == repeat for each level.

What I'd prefer is just specify a level offset // or just plain modify all rooms, on all levels, at once...?
Reply with quote
Charbal
GURU


Joined: 15 Jun 2001
Posts: 654
Location: USA

PostPosted: Tue Feb 10, 2004 12:59 am   
 
I posted something that should help you in another topic and have modified it to only adjust the current zone:

#VARIABLE MapDatabase "map.mdb"
#VARIABLE Connection %comcreate( "ADODB.Connection")
#CALL @Connection.Open(%concat("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=", @MapDatabase))
#VARIABLE Recordset @Connection.Execute(%concat("UPDATE ObjectTbl SET Z = Z + 1 WHERE ZoneID = ", %zonenum()))
#CALL @Recordset.Close
#VARIABLE Recordset %null
#VARIABLE Connection %null
#SAY Done.

Of course, you'll want to change the map.mdb to whatever your map database is.
Reply with quote
Vodoc
Apprentice


Joined: 11 Apr 2003
Posts: 119
Location: Sweden

PostPosted: Tue Feb 10, 2004 10:24 am   
 
Yes, you can multi-select rooms across levels.

Select rooms on current level, change level, hold down SHIFT and select rooms on this level, repeat.
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