|
Tanuki Novice
Joined: 06 Nov 2008 Posts: 38
|
Posted: Fri Jan 28, 2011 10:16 pm
Root Mapper Issue |
I've been trying to work with the mapper and have run into a number of issues with it. I think all of my issues stem from this issue.. I am simply trying to slow walk 4 east and 4 south by double clicking on a room. The Mapper is recieving GMCP data and updating the location on the map but the non GMCP data is lagging behind. The mapper is using the room name for the #OK which is out of sync and the slowwalk errors out when it falls behind. If I Disable Automatic Confirmation, slow walk will not work when I double click on a room.
Ideas, suggestions?
Tanuki
Code: |
| a Tanuki505-A |e
0.0022 | j Tanuki505-A >e
0.1842 | a Tanuki505-A #Telnet 201: room.info { "num": 32484, "name": "Darksoil Path", "zone": "aylor", "terrain": "trail_ew", "details": "", "exits": { "e": 32485, "w": 32479 }, "coord": { "id": 0, "x": 30, "y": 20, "cont": 0 } }
0.1555 | f Tanuki505-A | GMCP: room.info
0.0016 | c Tanuki505-A | exec : GMCP "room.info" : #var num %gmcp.Room.Info.num #var name...
0.0181 | a Tanuki505-A |e
0.0010 | j Tanuki505-A >e
0.0091 | a Tanuki505-A |Darksoil Path
0.0012 | f Tanuki505-A | Pattern: ^Darksoil Path
0.0015 | c Tanuki505-A | exec : Pattern "LocDaruma-Aardwolf" : #OK
0.0793 | a Tanuki505-A |{rdesc}
0.0016 | a Tanuki505-A | On close inspection of the smooth, seamless walkway that makes up
0.0015 | a Tanuki505-A |Darksoil Path, you notice that it is neither shiny nor slick. In fact,
0.0019 | a Tanuki505-A |there is a fine, gritty texture to the surface that gives it the quality of
0.0043 | a Tanuki505-A |dirt. Hence the name, Darksoil Path.
0.0018 | a Tanuki505-A |{/rdesc}
0.0013 | a Tanuki505-A |
0.0093 | a Tanuki505-A |e
0.0012 | j Tanuki505-A >e
0.0094 | a Tanuki505-A |[Exits: east west]
0.0016 | a Tanuki505-A |{roomchars}
0.0031 | a Tanuki505-A |{/roomchars}
0.0014 | a Tanuki505-A |
0.0018 | a Tanuki505-A ][435/435hp 200/200mn 700/700mv 28qt 1135tnl] > *[QUIET]* *[NOEXP]*
0.0792 | a Tanuki505-A #Telnet 201: room.info { "num": 32485, "name": "Darksoil Path", "zone": "aylor", "terrain": "trail_ew", "details": "", "exits": { "e": 32486, "s": 32493, "w": 32484 }, "coord": { "id": 0, "x": 30, "y": 20, "cont": 0 } }
0.2678 | f Tanuki505-A | GMCP: room.info
0.0017 | c Tanuki505-A | exec : GMCP "room.info" : #var num %gmcp.Room.Info.num #var name...
0.0099 | a Tanuki505-A #Telnet 201: room.info { "num": 32486, "name": "Darksoil", "zone": "aylor", "terrain": "trail_ew", "details": "", "exits": { "n": 32487, "e": 32488, "s": 32492, "w": 32485 }, "coord": { "id": 0, "x": 30, "y": 20, "cont": 0 } }
0.1145 | f Tanuki505-A | GMCP: room.info
0.0015 | c Tanuki505-A | exec : GMCP "room.info" : #var num %gmcp.Room.Info.num #var name...
0.0097 | a Tanuki505-A |[435/435hp 200/200mn 700/700mv 28qt 1135tnl] > *[QUIET]* *[NOEXP]* Darksoil Path
0.0023 | a Tanuki505-A |{rdesc}
0.0015 | a Tanuki505-A | The smooth surface of Darksoil Path continues to the east and west. A
0.0037 | a Tanuki505-A |small path trails off to the south and leads to a lake just in viewing
0.0016 | a Tanuki505-A |distance.
0.0015 | a Tanuki505-A |{/rdesc}
0.0013 | a Tanuki505-A |
0.0016 | a Tanuki505-A |[Exits: east south west]
0.0018 | a Tanuki505-A |{roomchars}
0.0035 | a Tanuki505-A |(Red Aura) This noble is walking quite quickly, probably to avoid you!
0.0017 | a Tanuki505-A |{/roomchars}
0.0013 | a Tanuki505-A |
0.0014 | a Tanuki505-A ][435/435hp 200/200mn 700/700mv 28qt 1135tnl] > *[QUIET]* *[NOEXP]*
0.0037 | a Tanuki505-A |[435/435hp 200/200mn 700/700mv 28qt 1135tnl] > *[QUIET]* *[NOEXP]* Darksoil
0.0020 | a Tanuki505-A |{rdesc}
0.0036 | a Tanuki505-A | The dark ground beneath your feet is not so much soil as a hard, thick,
0.0017 | a Tanuki505-A |dark brick that merges together seamlessly to form a flat, smooth surface.
0.0016 | a Tanuki505-A |To the north, the clatter of the masses continues in Grandmarket Boulevard.
0.0019 | a Tanuki505-A |To the south, a small lake is visible in the distance.
0.0015 | a Tanuki505-A |{/rdesc}
0.0014 | a Tanuki505-A |
0.0032 | a Tanuki505-A |[Exits: north east south west]
0.0016 | a Tanuki505-A |{roomchars}
0.0015 | a Tanuki505-A |{/roomchars}
0.0017 | a Tanuki505-A |
0.0014 | a Tanuki505-A ][435/435hp 200/200mn 700/700mv 28qt 1135tnl] > *[QUIET]* *[NOEXP]*
0.0000 |
|
|
|
|
|
Tanuki Novice
Joined: 06 Nov 2008 Posts: 38
|
Posted: Fri Jan 28, 2011 10:28 pm |
Here is an example with room descriptions and tags turned off... Just to simplify the issue. It's like I'm getting and #OK from GMCP and from the Room name.
Code: |
5.5712 | [435/435hp 200/200mn 700/700mv 11qt 1135tnl] > *[QUIET]* *[NOEXP]* w
0.0147 | j Daruma-A >w
0.1417 | a Daruma-A #Telnet 201: room.info { "num": 32475, "name": "Grandmarket Boulevard", "zone": "aylor", "terrain": "hellfountain", "details": "", "exits": { "n": 32472, "e": 32474, "s": 32487, "w": 32476 }, "coord": { "id": 0, "x": 30, "y": 20, "cont": 0 } }
0.1683 | f Daruma-A | GMCP: room.info
0.0051 | c Daruma-A | exec : GMCP "room.info" : #var num %gmcp.Room.Info.num #var name...
0.0214 | a Daruma-A |s
0.0036 | j Daruma-A >s
0.0113 | a Daruma-A |Grandmarket Boulevard
0.0035 | f Daruma-A | Pattern: ^Grandmarket Boulevard
0.0038 | c Daruma-A | exec : Pattern "LocDaruma-Aardwolf" : #OK
0.1625 | a Daruma-A |
0.0132 | a Daruma-A |w
0.0041 | j Daruma-A >w
0.0116 | a Daruma-A |[Exits: north east south west]
0.0055 | a Daruma-A #Telnet 201: room.info { "num": 32487, "name": "Flamespirit Alley", "zone": "aylor", "terrain": "city", "details": "", "exits": { "n": 32475, "s": 32486 }, "coord": { "id": 0, "x": 30, "y": 20, "cont": 0 } }
0.1622 | f Daruma-A | GMCP: room.info
0.0042 | c Daruma-A | exec : GMCP "room.info" : #var num %gmcp.Room.Info.num #var name...
0.0145 | a Daruma-A |Fullmoonwolf the Bandit is here.
0.0147 | a Daruma-A #Telnet 201: room.wrongdir "w"
0.0397 | a Daruma-A |w
0.0058 | j Daruma-A >w
0.0115 | a Daruma-A |(Red Aura) A decaying zombie looks for a replacement for his left arm.
0.0076 | a Daruma-A |
0.0072 | a Daruma-A ][435/435hp 200/200mn 700/700mv 11qt 1135tnl] > *[QUIET]* *[NOEXP]*
0.0234 | a Daruma-A |[435/435hp 200/200mn 700/700mv 11qt 1135tnl] > *[QUIET]* *[NOEXP]* Flamespirit Alley
0.0086 | a Daruma-A |
0.0237 | a Daruma-A |[Exits: north south]
0.0051 | a Daruma-A |(Golden Aura) On constant guard, this dignified elf patrols Aylor.
0.0068 | a Daruma-A |(Translucent) (Golden Aura) A large blue flame stands in the middle of the alley.
0.0058 | a Daruma-A #Telnet 201: room.wrongdir "w"
0.0421 | a Daruma-A |
0.0058 | a Daruma-A ][435/435hp 200/200mn 700/700mv 11qt 1135tnl] > *[QUIET]* *[NOEXP]*
0.0189 | a Daruma-A |[435/435hp 200/200mn 700/700mv 11qt 1135tnl] > *[QUIET]* *[NOEXP]* Alas, you cannot go that way.
0.0087 | f Daruma-A | Pattern: Alas, you cannot go that way.
0.0050 | c Daruma-A | exec : Pattern "Alas, you cannot go that way." : #nodir |
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Jan 31, 2011 5:50 pm |
I'll add that to the bug list and try to look into it. CMUD shouldn't be using a trigger for the #OK command with GMCP. Do you have any of your own scripts that are using the #OK command or the #TAG command or anything else that might be interfering with the mapper?
|
|
|
|
Tanuki Novice
Joined: 06 Nov 2008 Posts: 38
|
Posted: Fri Feb 18, 2011 7:43 pm |
Just an Update:
This line seems to the problem.
Code: |
0.0038 | c Daruma-A | exec : Pattern "LocDaruma-Aardwolf" : #OK |
The Extra #OK looks like it comes from a Trigger is automatically generated by CMUD. If you look at the out debugging info it only shows up for one of the rooms. When it fires I get an extra #OK and the next direction is Issued, which messes up the Slowwalk.
Tanuki
Here is the automaticly generated trigger. It shows up under my mapper class.
Code: |
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
<trigger name="Locdaruma" priority="5440" verbatim="true" enabled="false" copy="yes">
<pattern>The Aylorian Bank of Ivar$</pattern>
<value>#OK</value>
</trigger>
</cmud>
|
|
|
|
|
Tanuki Novice
Joined: 06 Nov 2008 Posts: 38
|
Posted: Sat Feb 19, 2011 1:36 am |
Deleting the Mapper Class and letting CMUD rebuild it seems to have solved the problem.
|
|
|
|
orphean Apprentice
Joined: 21 Oct 2008 Posts: 147 Location: Olympia, WA
|
Posted: Fri Feb 25, 2011 3:12 am |
I'm getting this too [3.33aPro] on Aardwolf. When I speed walk it'll go 3 or 4 rooms and just stop. It doesn't even abort the speedwalk, just stops which is really weird. I even tried #step'ing and it didn't do anything. I tried deleting the mapper class but am still getting this issue in a session with no triggers.
Let me know how I can help track this down. |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Tue Apr 19, 2011 7:13 pm |
I think orphean is getting a different problem than the original poster.
I just confirmed with the code that GMCP is working properly for me here. When slow walking and with auto-confirmation turned on, when the GMCP room.info data is received, the temporary #OK trigger gets deleted properly.
The only time I can see this failing is if the MUD displays the room name *before* sending the GMCP data. And this isn't supposed to happen with GMCP. If the MUD sends the normal room name before the GMCP packet, then the MUD needs to update how they are doing GMCP. GMCP data should always come first.
It looks like the issue with Tanuki above is that a temporary map trigger got stuck in his settings and he needed to remove the old Mapper Class to fix the problem. That makes sense. There isn't any way to stop CMUD from creating these temp #OK triggers, but they should be properly removed during the speedwalking step confirmation process.
At this point I'm closing this issue on my bug list unless somebody else can show the log files to reproduce this as still a problem. |
|
|
|
|
|
|
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
|
|