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 Jul 29, 2009 3:25 am   

[Fixed] %roomlink isn't working for 'other' type exits
 
Summary: %roomlink doesn't properly create 'other' type exits like it does with normal directions.

1) Create a new session, enter it off-line
2) Import the 'in' and 'out' directions:
Code:

<class name="directions" id="8">
  <dir name="i" reverse="o" dir="other" id="3">in</dir>
  <dir name="o" reverse="i" dir="other" id="4">out</dir>
</class>

3) Open the mapper with the map button
4) Change to edit mode and create two rooms.
5) Enter into the command line to attempt to create an 'in' and 'out' link between the two rooms:
Code:
%roomlink(1, "in", 2)

6) Examine the Room Properties window under the exits side tab to see how it did not properly create exit links between these two rooms.


Last edited by ReedN on Sat Oct 24, 2009 1:54 am; edited 1 time in total
Reply with quote
Zugg
MASTER


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

PostPosted: Wed Jul 29, 2009 4:28 pm   
 
Very odd. I'm not sure how it's working with normal directions since there really isn't much different between normal directions and your "other" directions. But I've confirmed the problem and added it to the bug list.
Reply with quote
ReedN
Wizard


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

PostPosted: Wed Jul 29, 2009 5:31 pm   
 
Initially I was thinking it was because with normal directions I'd do something like this:

%roomlink(1, "n", 2)

and it is using the direction definition's 'name' field. When doing the %roomlink in my example I used the 'id' field of "in" instead of the name field which is "i". However I tried:

%roomlink(1, "i", 2)

And that didn't work either. So my hypothesis proved wrong. But it remains in my mind the biggest difference in usage between normal exits and 'other' type exits.
Reply with quote
Zugg
MASTER


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

PostPosted: Wed Jul 29, 2009 8:20 pm   
 
Heh, we thought of the same thing. I was going to post about that too. I also tried it thinking that it might work. It was actually worse than using "in" ("i" didn't create any links at all). Good idea though.
Reply with quote
ReedN
Wizard


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

PostPosted: Sat Oct 24, 2009 1:54 am   
 
Confirmed fixed 3.11.
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