mudlet-makers team mailing list archive
-
mudlet-makers team
-
Mailing list archive
-
Message #02444
[Bug 782840] Re: deleteArea sometimes doesn't actually delete the area
This patch adds this function for easy inclusion (also exists in chris'
repo).
** Patch added: "0001-added-getAreaTableSwap.patch"
https://bugs.launchpad.net/mudlet/+bug/782840/+attachment/3461166/+files/0001-added-getAreaTableSwap.patch
** Changed in: mudlet/2.0
Status: Fix Released => In Progress
** Changed in: mudlet
Status: Confirmed => In Progress
** Changed in: mudlet
Assignee: (unassigned) => Vadim Peretokin (vperetokin)
** Changed in: mudlet/2.0
Assignee: (unassigned) => Vadim Peretokin (vperetokin)
--
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:
In Progress
Status in Mudlet 2.0 series:
In Progress
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/782840/+subscriptions
References