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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Tue Jan 13, 2009 3:54 am   

[3.03a]%maplocked bug
 
Not sure how long this has been going on for this particular issue, but...

#CALL %maplocked(1)
#CALL %maplocked(0)

neither puts the map into edit mode nor takes it out of edit mode. I've tried this by trying to create a new room while the 'follow' icon was selected and using #CALL %maplocked(0), nothing doing. Tried by putting it in edit mode and setting %maplocked(1)... still was able to create rooms.

Not too much of a big deal, but probably needs to be fixed anyway.

Charneus
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Tue Jan 13, 2009 4:51 am   
 
The function does actually do what it's supposed to, it just does not update the display as expected.

Consider
Code:

#show %maplocked(0)
#makeroom n Temple Temple
#show %maplocked(1)
#makeroom e Shrine Shrine
#show %maplocked(0)
#makeroom e Shrine Shrine
_________________
Asati di tempari!
Reply with quote
gamma_ray
Magician


Joined: 17 Apr 2005
Posts: 496

PostPosted: Tue Jan 13, 2009 4:53 am   
 
On the other hand, doing #show %maplocked(0) and then trying to click and drag to move a room on the map fails. It looks at least partially bugged to me.
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Tue Jan 13, 2009 6:13 am   
 
Tech wrote:
The function does actually do what it's supposed to, it just does not update the display as expected.

Consider
Code:

#show %maplocked(0)
#makeroom n Temple Temple
#show %maplocked(1)
#makeroom e Shrine Shrine
#show %maplocked(0)
#makeroom e Shrine Shrine


Then it would reason that I could type 'north' and the MUD would send me north and create a new room. This does not happen at all. :P

Charneus
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Jan 13, 2009 5:33 pm   
 
%maplocked is not exactly the same thing as the Follow/Map mode indicator. It is a way to lock changes made to your map for most map functions. In other words, it allows you to lock changes even when in "map mode". It is mainly designed to prevent changes to the map made by the user GUI and doesn't necessarily effect scripting commands. It mainly just prevents accidentally dragging/dropping of rooms in the map window.

But it's still possible that it's bugged.
Reply with quote
gamma_ray
Magician


Joined: 17 Apr 2005
Posts: 496

PostPosted: Tue Jan 13, 2009 5:59 pm   
 
The way you describe it makes it sound even more bugged, since setting %maplocked to 0 (unlocked state) still doesn't allow changes made using the GUI, like dragging and dropping.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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