← Back to team overview

mudlet-makers team mailing list archive

[Bug 782840] [NEW] deleteArea sometimes doesn't actually delete the area

 

Public bug reported:

Not sure why, but sometimes it doesn't remove the area from the list. It
does delete the area though as in you can't get a room list of it
though.

lua getAreaTable()
table {
  'Lake Narcisse': 106
  'Cyrene, the City of (Brewery)': 67
}
lua deleteArea(106)

lua getAreaTable()
table {
  'Lake Narcisse': 106
  'Cyrene, the City of (Brewery)': 67
}

Sample script:
  for name, id in pairs(getAreaTable()) do
    deleteArea(tonumber(id))
  end
  dispaly(getAreaTable()

Should return {} at the end, but it doesn't.

** Affects: mudlet
     Importance: Undecided
         Status: New

** Affects: mudlet/2.0
     Importance: Undecided
         Status: New

** Also affects: mudlet/2.0
   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/782840

Title:
  deleteArea sometimes doesn't actually delete the area

Status in Mudlet the MUD client:
  New
Status in Mudlet 2.0 series:
  New

Bug description:
  Not sure why, but sometimes it doesn't remove the area from the list.
  It does delete the area though as in you can't get a room list of it
  though.

  lua getAreaTable()
  table {
    'Lake Narcisse': 106
    'Cyrene, the City of (Brewery)': 67
  }
  lua deleteArea(106)

  lua getAreaTable()
  table {
    'Lake Narcisse': 106
    'Cyrene, the City of (Brewery)': 67
  }

  Sample script:
    for name, id in pairs(getAreaTable()) do
      deleteArea(tonumber(id))
    end
    dispaly(getAreaTable()

  Should return {} at the end, but it doesn't.


Follow ups

References