← Back to team overview

mudlet-makers team mailing list archive

[Bug 1476764] [NEW] Speedwalk doesn't recognize down

 

Public bug reported:

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

** Affects: mudlet
     Importance: Undecided
         Status: New

-- 
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


Follow ups