 |
charneus Wizard

Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: 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 |
|
|
 |
Tech GURU

Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: 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! |
|
|
 |
gamma_ray Magician
Joined: 17 Apr 2005 Posts: 496
|
Posted: 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.
|
|
|
 |
charneus Wizard

Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: 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 |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: 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. |
|
|
 |
gamma_ray Magician
Joined: 17 Apr 2005 Posts: 496
|
Posted: 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.
|
|
|
 |
|
|