Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Fri Jul 18, 2008 4:56 pm   

no map refresh when changing room Z with COM objects
 
In eager anticipation of the new mapper work, here is a problem to examine:

(This only should only work in conjunction with zmapper, or maybe with Cmud Pro?)
In and untitled session:
Open the mapper
Use the manual tools to draw a couple rooms
Click on one room, and Set Current Position
In the command line, type:
Code:

#var thisroom %map.CurRoom
#var thisroom.Z (@thisroom.Z + 1)

The room correctly disappears from level 0 and shows on level 1. But the display of level 0 does not show the "shadow" of the room on the level above. Also, it would be good if the display automatically changed to display the new level when the currently marked room is moved up or down in this way. When manually moving a room up and down with the Edit|Move menu, the display does change to the new level.
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Fri Jul 18, 2008 6:35 pm   
 
To expand on this, the problem seems to happen only when the level to which the room is moved has not previously been mapped. I think there may be a couple of other display problems also related to that. If you look at the new level to which the room has been moved, the map does not display the level number.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Fri Jul 18, 2008 9:04 pm   
 
You should also be doing a "#CALL @thisroom.Update" or "#CALL @thisroom.Save". As I see it the bug is that the display changed in any fashion without that part.
Quote:
Also, it would be good if the display automatically changed to display the new level when the currently marked room is moved up or down in this way.
I have to agree when the current location is moved the mapper display should move with it. For any room other then the current location the display should remain fixed wherever it is.
_________________
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 » CMUD 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