← Back to team overview

mudlet-makers team mailing list archive

[Bug 1476764] Re: Speedwalk doesn't recognize down

 

Understood -

The doSpeedWalk() function is defined by me, but speedwalk() is defined
by mudlet.

http://wiki.mudlet.org/w/Manual:Mapper_Functions#speedwalk

The return value I receive from the mapper in speedWalkDir with the
above sample is

{
  "down",
  "n",
  "e",
  "s",
  "w"
}

I thought perhaps the value inserted in speedWalkDir should have been
'd' rather then 'down' so the speedwalk() command itself would work, but
if it's by design that's ok also.

-- 
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/1476764

Title:
  Speedwalk doesn't recognize down

Status in Mudlet:
  New

Bug description:
  OS: Windows7 Version: 3.0-delta

  The speedwalk command is not properly recognizing the down direction.
  It might be a problem with how speedWalkDir is built, rather then how
  speedwalk interprets it. The below code gives the following results:

  echo("Path we need to take: " .. table.concat(speedWalkDir, ", ") .. "\n")
  echo("Rooms we'll pass through: " .. table.concat(speedWalkPath, ", ") .. "\n")
  speedwalk(table.concat(speedWalkDir, ", "), false)

  
  Path we need to take: down, n, e, s, w
  Rooms we'll pass through: 48603, 48602, 48577, 48578, 84203
  d
  ow
  n
  n
  e
  s
  w

  For now, i'm getting around it by prefixing the call to speedwalk with
  the following:

  for k,v in pairs(speedWalkDir) do
  	if v == "down" then
  		speedWalkDir[k] = "d"
  	end
  end

To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/1476764/+subscriptions


References