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
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Wed Apr 15, 2009 5:42 am   

(Fixed) [3.05] OnRoomEnter is being called twice upon entering a room
 
I thought I must have been double executing #ok somewhere, but I verified this with a clean session.

1) Create a blank session and open the map.
2) Create a room on the map.
3) Create the event OnRoomEnter and place in it: "#say OnRoomEnter" so you can see when it is executed.
4) Type: "#tele 1".

You should see OnRoomEnter execute twice.


Last edited by ReedN on Sat Apr 18, 2009 7:16 pm; edited 2 times in total
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Wed Apr 15, 2009 12:57 pm   
 
Interesting. This only happens with the #teleport command. Moving into a room with a direction command only raises it once.
Reply with quote
Zugg
MASTER


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

PostPosted: Wed Apr 15, 2009 5:29 pm   
 
This might also depend upon the Speedwalk mode. What mode (fast, safe, slow) are you in?

Edit: Oh, nevermind, I see you are starting from a blank session. Added to bug list.
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Wed Apr 15, 2009 7:30 pm   
 
I'm normally in slow mode, but I don't believe I changed it in the session I tested this in.
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Sat Apr 18, 2009 4:03 pm   
 
Confirmed Fixed in 3.06 (#teleport no longer executes onRoomEnter twice).
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