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

Joined: 07 Feb 2002
Posts: 333
Location: Central Virginia

PostPosted: Wed Sep 15, 2010 6:54 am   

[3.26] Package Editor: Mapper Room Scripts Object - Disable won't work fully.
While trying to figure out what is causing my English directions package to fail, I noticed the following. In the Package editor, if you disable the mapper object (where your room scripts are in the tree) room scripts will still when you enter a room.

How I reproduced:

1. Open untitled session.
2. Open mapper.
3. Create two rooms.
4. Go to properties of one room and edit scripts for that room.
5. In the enable script tab enter #beep and save.
6. Click on the main map object of in the package editor (the little piece of parchment with squares on it) and disable it.
7. Close Package editor.
8. Go to the map and set current position in each of the two rooms a time or two till you hear the beep.

It looks like to me if you disable the main mapper object this should not be happening. Any triggers or aliases you have in that's rooms folder do seem to be disabled however.
Reply with quote

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

PostPosted: Wed Sep 15, 2010 4:16 pm   
Confirmed and added to the bug list. The mapper is enabling and disabling the room objects (which execute their OnEnable and OnDisable scripts) without checking to see if they are within any other disabled class or map object.
Reply with quote

Joined: 10 Apr 2009
Posts: 145

PostPosted: Wed Sep 15, 2010 9:35 pm   
That could explain why my OnEnable scripts in a different session were firing before I moved them all into a shared package.
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