|
ReedN Wizard
Joined: 04 Jan 2006 Posts: 1279 Location: Portland, Oregon
|
Posted: Sun Sep 19, 2010 7:37 pm
[3.27] #look isn't creating exit stubs for non-standard exits |
In a room that had a new 'in' (non-standard, but defined) exit, I executed '#look' to update the exits. It didn't properly create an exit stub for the missing 'in' exit.
There is clearly an 'i' exit in the data from the server:
Data from GMCP: exits="e=636|d=634|i=6614"
I've defined the direction "i" below:
Code: |
<class name="Directions" id="2370">
<dir name="n" reverse="s" dir="n" id="2371">n|north|swim n|leap n|tumble n|crash n|burrow n|gallop n|mountjump n</dir>
<dir name="s" reverse="n" dir="s" id="2372">s|south|swim s|leap s|tumble s|crash s|burrow s|gallop s|mountjump s</dir>
<dir name="e" reverse="w" dir="e" id="2373">e|east|swim e|leap e|tumble e|crash e|burrow e|gallop e|mountjump e</dir>
<dir name="w" reverse="e" dir="w" id="2374">w|west|swim w|leap w|tumble w|crash w|burrow w|gallop w|mountjump w</dir>
<dir name="k" reverse="j" dir="sw" id="2375">sw|southwest|swim sw|leap sw|tumble sw|crash sw|burrow sw|gallop sw|mountjump sw</dir>
<dir name="j" reverse="k" dir="ne" id="2376">ne|northeast|swim ne|leap ne|tumble ne|crash ne|burrow ne|gallop ne|mountjump ne</dir>
<dir name="h" reverse="l" dir="nw" id="2377">nw|northwest|swim nw|leap nw|tumble nw|crash nw|burrow nw|gallop nw|mountjump nw</dir>
<dir name="l" reverse="h" dir="se" id="2378">se|southeast|swim se|leap se|tumble se|crash se|burrow se|gallop se|mountjump se</dir>
<dir name="i" reverse="o" dir="other" id="2379">in|swim in|leap in|tumble in|crash in|burrow in|gallop in|mountjump in</dir>
<dir name="o" reverse="i" dir="other" id="2380">out|swim out|leap out|tumble out|crash out|burrow out|gallop out|mountjump out</dir>
<dir name="u" reverse="d" dir="u" id="2381">u|up|swim u|leap u|tumble u|crash u|burrow u|gallop u|mountjump u</dir>
<dir name="d" reverse="u" dir="d" id="2382">d|down|swim d|leap d|tumble d|crash d|burrow d|gallop d|mountjump d</dir>
</class>
|
Upon executing #look it doesn't create the 'i' (other type) exit on the map. The command #look works perfectly fine with updating other exits like 'n' or 'e', but it doesn't work for 'i' or 'o' my 'other' type exits. |
|
|
|
Moo Apprentice
Joined: 10 Apr 2009 Posts: 145
|
Posted: Sun Sep 19, 2010 9:07 pm |
I've never managed to get that to work in any version. No GMCP here though.
|
|
|
|
ReedN Wizard
Joined: 04 Jan 2006 Posts: 1279 Location: Portland, Oregon
|
Posted: Sun Sep 19, 2010 9:16 pm |
This should have been fixed already, a while ago when Zugg addressed it from this post:
http://forums.zuggsoft.com/forums/viewtopic.php?t=33697
But the link above is for newly created rooms and I can't do that in the 3.27 version with the current room creation bug... However if the #look and new room creation code is operating differently from one another then that should be addressed. I'm tired of running into bugs with non-standard exits. |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Sep 20, 2010 5:22 pm |
Please show me the full GMCP record for the room that you are in so I can test this here.
|
|
|
|
ReedN Wizard
Joined: 04 Jan 2006 Posts: 1279 Location: Portland, Oregon
|
Posted: Mon Sep 20, 2010 5:29 pm |
%gmcp.room.info =
Code: |
num=635|name=Crest of the Cyclade|area=Ashtan|environment=Urban|coords|map=www.achaea.com/irex/maps/images/lost.png 2 2|details|exits="e=636|d=634|i=6614" |
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Sep 20, 2010 5:40 pm |
No, I mean can you go to the Script Debugger and turn on the Raw Input/Output messages and then paste the exact GMCP data record being sent by the MUD. I need the original JSON record data to test this.
|
|
|
|
ReedN Wizard
Joined: 04 Jan 2006 Posts: 1279 Location: Portland, Oregon
|
Posted: Mon Sep 20, 2010 6:18 pm |
Code: |
0.0052 | i Achaea >u<CR><LF>
0.9056 | i Achaea <<ESC>[4z<RNum 635><ESC>[4z<RName><ESC>[1;33mCrest of the Cyclade<ESC>[0;37m<ESC>[4z</RName><ESC>[1;33m.<CR><LF>
0.0002 | <ESC>[0;37m<ESC>[1;35mA runic totem is planted solidly in the ground.<ESC>[0;37m<ESC>[36m<CR><LF>
0.0001 | <ESC>[37m<ESC>[4z<EXPIRE "exits"><ESC>[4z<RExits><ESC>[1;31mYou see exits leading<ESC>[0;37m<ESC>[1;31m <ESC>[4z<COLOR #FF0000><ESC>[4z<SEND HREF="east" EXPIRE="exits">east<ESC>[4z</SEND><ESC>[4z</COLOR>, <ESC>[4z<COLOR #FF0000><ESC>[4z<SEND HREF="down" EXPIRE="exits">down<ESC>[4z</SEND><ESC>[4z</COLOR>, and <ESC>[4z<COLOR #FF0000><ESC>[4z<SEND HREF="in" EXPIRE="exits">in<ESC>[4z</SEND><ESC>[4z</COLOR> (closed door).<ESC>[0;37m<ESC>[4z</RExits><CR><LF>
0.0001 | <IAC><SB><201>Room.Info { "num": 635, "name": "Crest of the Cyclade", "area": "Ashtan", "environment": "Urban", "coords": "", "map": "www.achaea.com/irex/maps/images/lost.png 2 2", "details": [ "" ], "exits": { "e": 636, "d": 634, "i": 6614 } }<IAC><SE><IAC><SB><201>Char.Vitals { "hp": "8943", "maxhp": "8943", "mp": "8639", "maxmp": "8639", "ep": "40548", "maxep": "40550", "wp": "35600", "maxwp": "35600", "nl": "29", "string": "H:8943/8943 M:8639/8639 E:40548/40550 W:35600/35600 NL:29/100 " }<IAC><SE><ESC>[4z<PROMPT><ESC>[32m8943h, <ESC>[37m<ESC>[32m8639m, <ESC>[37m<ESC>[32m40548e, <ESC>[37m<ESC>[32m35600w <ESC>[37mexdb-<ESC>[4z</PROMPT><IAC><EOR>
0.0083 | a Achaea #Telnet 201: Room.Info { "num": 635, "name": "Crest of the Cyclade", "area": "Ashtan", "environment": "Urban", "coords": "", "map": "www.achaea.com/irex/maps/images/lost.png 2 2", "details": [ "" ], "exits": { "e": 636, "d": 634, "i": 6614 } }
0.1022 | a Achaea #Telnet 201: Char.Vitals { "hp": "8943", "maxhp": "8943", "mp": "8639", "maxmp": "8639", "ep": "40548", "maxep": "40550", "wp": "35600", "maxwp": "35600", "nl": "29", "string": "H:8943/8943 M:8639/8639 E:40548/40550 W:35600/35600 NL:29/100 " }
0.0074 | a Achaea |Crest of the Cyclade.
0.0035 | a Achaea |A runic totem is planted solidly in the ground.
0.0061 | a Achaea |You see exits leading east, down, and in (closed door). |
This what you needed? |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Sep 20, 2010 6:41 pm |
Thanks, I'll look into it. This is different than the previous bug that was reported and fixed a while back. This is a new bug related to how CMUD is sending the GMCP exit data to the mapper.
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Sep 20, 2010 9:24 pm |
This is the same as the issue with your custom "i" direction that I posted in a different thread. The Exits sent from the MUD via GMCP needs to match one of the *commands* defined for the exit. The MUD doesn't care what speedwalk direction character you assign to this direction. So again, you need to add "i" to the list of valid commands for your "i" custom direction. Then CMUD will create the proper stub exits.
|
|
|
|
ReedN Wizard
Joined: 04 Jan 2006 Posts: 1279 Location: Portland, Oregon
|
Posted: Mon Sep 20, 2010 10:33 pm |
Yep, that was definitely it. I never had 'i' or 'o' defined originally because I always used 'in' and 'out' before Achaea started specifying them as 'i' and 'o' in GMCP. Even if I had been staring at my direction definitions I wouldn't have guessed this as the reason because I would have thought the speedwalking portion would have been sufficient to let the mapper know that 'i' and 'o' were directions.
|
|
|
|
|
|
|
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
|
|