![](templates/Classic/images/spacer.gif) |
xekon Apprentice
Joined: 11 Oct 2007 Posts: 154
|
Posted: Sat Dec 15, 2007 7:12 am
[2.18] Wait for prompt when slow walking? |
I would like to note that immediately after updating from 1.38 today, I noticed that my mapper was acting odd. It was sending the directions immediately after the room name instead of waiting for the prompt. I do have the checkbox for "Wait for prompt in SLOW speedwalking" checked and my mapper is in SLOW speedwalking mode, as i have always had it, however it seems this feature has been broken and many of my scripts depend on the next direction not being sent until after the contents of the room have been scanned, which is why I used this option.
|
|
Last edited by xekon on Sat Dec 15, 2007 9:10 pm; edited 1 time in total |
|
|
![](templates/Classic/images/spacer.gif) |
Rorso Wizard
Joined: 14 Oct 2000 Posts: 1368
|
Posted: Sat Dec 15, 2007 7:51 am |
xekon wrote: |
I would like to note that immediately after updating from 1.38 today, I noticed that my mapper was acting odd. It was sending the directions immediately after the room name instead of waiting for the prompt. I do have the checkbox for "Wait for prompt in SLOW speedwalking" checked and my mapper is in SLOW speedwalking mode, as i have always had it, however it seems this feature has been broken and many of my scripts depend on the next direction not being sent until after the contents of the room have been scanned, which is why I used this option.
Does there happen to be an archive download location, i cant seem to find it, I would like to download older version after older version until I can find the version before this bug. |
What MUD does it occur on? |
|
|
![](templates/Classic/images/spacer.gif) |
xekon Apprentice
Joined: 11 Oct 2007 Posts: 154
|
Posted: Sat Dec 15, 2007 7:56 am |
aardwolf, below is some mud output:
Whitewind Avenue (G)
s
[Exits: north east south west up down]
Tarragon is resting here.
(C) A majestic and proud looking warhorse stands here.
[ 1962/1962hp 1937/1937mp 1485/1487mv 2278tnl 0qt ]
Phoenix Square (G)
s
[Exits: north east south west up down]
A large black and pink statue sprays streams of water into the air.
(W) Panzer is here.
[ 1962/1962hp 1937/1937mp 1484/1487mv 2278tnl 0qt ]
Whitewind Avenue (G)
s
[Exits: north south]
[ 1962/1962hp 1937/1937mp 1483/1487mv 2278tnl 0qt ]
North of the Grand Plaza
[Exits: north south west]
A gnomish incinerator bot is here, belching smoke and fire.
[ 1962/1962hp 1937/1937mp 1482/1487mv 2278tnl 0qt ]
AFTER DOWNGRADING TO VERSION 1.34, HERE IS THE OUTPUT OF THE SAME WALK WITH THE SAME MAP FILE AND SETTINGS:
Whitewind Avenue (G)
[Exits: north east south west up down]
Journa is here.
(W) Dassadec is here.
(W) Rumour is here.
(T)(W) Citali is here.
[ 1932/1932hp 1907/1907mp 1449/1457mv 2238tnl 0qt ]
s
Phoenix Square (G)
[Exits: north east south west up down]
A large black and pink statue sprays streams of water into the air.
(W) Shaar is here.
A woman makes her way through the crowd, her face covered by a hood.
[ 1932/1932hp 1907/1907mp 1447/1457mv 2238tnl 0qt ]
s
Whitewind Avenue (G)
[Exits: north south]
(W) Xaelyn is here.
(W) Mistress Marna, a lamian adventurer, polishes her armor.
[ 1932/1932hp 1907/1907mp 1445/1457mv 2238tnl 0qt ]
s
North of the Grand Plaza
[Exits: north south west]
A tiny red imp runs around collecting litter.
A gnomish incinerator bot is here, belching smoke and fire.
[ 1932/1932hp 1907/1907mp 1443/1457mv 2238tnl 0qt ] |
|
|
![](templates/Classic/images/spacer.gif) |
xekon Apprentice
Joined: 11 Oct 2007 Posts: 154
|
Posted: Tue Dec 18, 2007 8:16 pm |
anyone have any ideas?
|
|
|
![](templates/Classic/images/spacer.gif) |
Rorso Wizard
Joined: 14 Oct 2000 Posts: 1368
|
Posted: Tue Dec 18, 2007 9:02 pm Re: [2.18] Wait for prompt when slow walking? |
xekon wrote: |
I would like to note that immediately after updating from 1.38 today, I noticed that my mapper was acting odd. It was sending the directions immediately after the room name instead of waiting for the prompt.
|
I think this is correct behaviour in cMUD. This is from the help file:
"Both Safe and Slow modes use #OK triggers to update map position. The mapper uses the room name to create such a trigger unless you check the Match Room description during speedwalk box in the Speedwalk page of the mapper configuration. When this is checked the first line of the room description is used to determine if a walking step was successful. If the Send #OK on speedwalk box in room properties is unchecked then the automatically created trigger for that room will not include the #OK command. Also, OK triggers that you have set up in the Slow Walking page of the preferences will confirm the mapper movement."(Speedwalking with the Map)
So the mapper creates a trigger for the room name, which sends #ok when it matches the room name. According to the help file about #ok:
"Normally, when a direction is confirmed by #OK and the Mapper is being used, the next step will be sent to the MUD when the MUD Prompt is received. If an argument of 1 is given to #OK, that will force it to take the next step immediately without waiting for the MUD prompt."(#OK)
It states that the next step will only be sent when the MUD Prompt is received. From my tests it sends the next step after the room description, which is wrong. Or is it? After looking through the mapper settings I discovered the following in config->mud prompt:
"Allow blank line to trigger speedwalking as prompt"
Unchecking that causes the next step to be sent at the prompt, as described in the help file for #ok.
This was an odd error :-). The problem is that the documentation doesn't seem to mention this in the #ok helpfile which cause confusion. I have added a comment to the #ok help file to try clarify when the next step is sent, as well as how to fix it so it actually sends it at the prompt. |
|
|
![](templates/Classic/images/spacer.gif) |
xekon Apprentice
Joined: 11 Oct 2007 Posts: 154
|
Posted: Tue Dec 18, 2007 10:10 pm |
OH MY DEER LORD THANK YOU! It was that "Allow blank line to trigger speedwalking as prompt"
|
|
|
![](templates/Classic/images/spacer.gif) |
|
|