[Mudlet-makers] [Bug 782840] Re: deleteArea sometimes doesn't actually delete the area

2012-12-17 Thread Heiko
** Changed in: mudlet
   Status: In Progress => Fix Released

** Changed in: mudlet/2.0
   Status: In Progress => Fix Released

-- 
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:
  Fix Released
Status in Mudlet 2.0 series:
  Fix Released

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

___
Mailing list: https://launchpad.net/~mudlet-makers
Post to : mudlet-makers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mudlet-makers
More help   : https://help.launchpad.net/ListHelp


[Mudlet-makers] [Bug 782840] Re: deleteArea sometimes doesn't actually delete the area

2012-12-16 Thread Vadim Peretokin
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

___
Mailing list: https://launchpad.net/~mudlet-makers
Post to : mudlet-makers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mudlet-makers
More help   : https://help.launchpad.net/ListHelp


[Mudlet-makers] [Bug 782840] Re: deleteArea sometimes doesn't actually delete the area

2012-12-15 Thread Heiko
what chris said, just add a reverse getAreaTableSwap() function for
games that have duplicate area names. We can't just delete matching
areas as this leads to unexpected intransparent results

** Changed in: mudlet
   Importance: High => Low

-- 
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:
  Confirmed
Status in Mudlet 2.0 series:
  Fix Released

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

___
Mailing list: https://launchpad.net/~mudlet-makers
Post to : mudlet-makers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mudlet-makers
More help   : https://help.launchpad.net/ListHelp


[Mudlet-makers] [Bug 782840] Re: deleteArea sometimes doesn't actually delete the area

2012-12-14 Thread Heiko
** Changed in: mudlet
   Importance: Critical => High

-- 
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:
  Confirmed
Status in Mudlet 2.0 series:
  Fix Released

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

___
Mailing list: https://launchpad.net/~mudlet-makers
Post to : mudlet-makers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mudlet-makers
More help   : https://help.launchpad.net/ListHelp


[Mudlet-makers] [Bug 782840] Re: deleteArea sometimes doesn't actually delete the area

2012-07-22 Thread Chris
An obvious fix for this is to add a getAreaTableSwap() routine.  Though
I'm not exactly sure why you have areas with the same name.

-- 
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:
  Confirmed
Status in Mudlet 2.0 series:
  Fix Released

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

___
Mailing list: https://launchpad.net/~mudlet-makers
Post to : mudlet-makers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mudlet-makers
More help   : https://help.launchpad.net/ListHelp


[Mudlet-makers] [Bug 782840] Re: deleteArea sometimes doesn't actually delete the area

2012-04-27 Thread Steven Rose
Whoops - please ignore my last comment. I realized this bug has been
fixed (just getting used to launchpad).

Note:

The code:

for name, id in pairs(getAreaTable()) do
deleteArea(tonumber(id))
end

(Still) doesn't necessarily delete all areas. This is because
getAreaTable returns a table of {[ area name, area id ]}. So if there
are multiple areas with the same name, only one of those areas will be
deleted because getAreaTable returns a table where the area name is
unique.

-- 
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:
  Confirmed
Status in Mudlet 2.0 series:
  Fix Released

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

___
Mailing list: https://launchpad.net/~mudlet-makers
Post to : mudlet-makers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mudlet-makers
More help   : https://help.launchpad.net/ListHelp


[Mudlet-makers] [Bug 782840] Re: deleteArea sometimes doesn't actually delete the area

2012-04-27 Thread Steven Rose
I just had a quick look.
It seems that there are two maps that store area data.

One map is called areaNamesMap and this relates areaID's to area names.
The other is called areas and this relates areaID's to TArea.

So what should happen is that both these maps should always have the
same ID's in them (I assume).

But what is happening is that some IDs are in areaNamesMap that aren't
in the area map. The cause of which I haven't narrowed down yet.

-- 
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:
  Confirmed
Status in Mudlet 2.0 series:
  Fix Released

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

___
Mailing list: https://launchpad.net/~mudlet-makers
Post to : mudlet-makers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mudlet-makers
More help   : https://help.launchpad.net/ListHelp


[Mudlet-makers] [Bug 782840] Re: deleteArea sometimes doesn't actually delete the area

2012-04-24 Thread Heiko
** Changed in: mudlet
   Importance: High => Critical

-- 
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:
  Confirmed
Status in Mudlet 2.0 series:
  Fix Released

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

___
Mailing list: https://launchpad.net/~mudlet-makers
Post to : mudlet-makers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mudlet-makers
More help   : https://help.launchpad.net/ListHelp


[Mudlet-makers] [Bug 782840] Re: deleteArea sometimes doesn't actually delete the area

2012-04-19 Thread Heiko
** Changed in: mudlet/2.0
   Status: Confirmed => Fix Released

-- 
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:
  Confirmed
Status in Mudlet 2.0 series:
  Fix Released

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

___
Mailing list: https://launchpad.net/~mudlet-makers
Post to : mudlet-makers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mudlet-makers
More help   : https://help.launchpad.net/ListHelp


[Mudlet-makers] [Bug 782840] Re: deleteArea sometimes doesn't actually delete the area

2011-10-13 Thread Heiko
** Changed in: mudlet
   Importance: Undecided => High

-- 
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:
  Confirmed
Status in Mudlet 2.0 series:
  Confirmed

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

___
Mailing list: https://launchpad.net/~mudlet-makers
Post to : mudlet-makers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mudlet-makers
More help   : https://help.launchpad.net/ListHelp


[Mudlet-makers] [Bug 782840] Re: deleteArea sometimes doesn't actually delete the area

2011-08-07 Thread Vadim Peretokin
Another confirmation:
http://forums.mudlet.org/viewtopic.php?f=5&t=1874&p=10406#p10398

** Changed in: mudlet
   Status: New => Confirmed

** Changed in: mudlet/2.0
   Status: New => Confirmed

-- 
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:
  Confirmed
Status in Mudlet 2.0 series:
  Confirmed

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

___
Mailing list: https://launchpad.net/~mudlet-makers
Post to : mudlet-makers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mudlet-makers
More help   : https://help.launchpad.net/ListHelp


[Mudlet-makers] [Bug 782840] Re: deleteArea sometimes doesn't actually delete the area

2011-07-20 Thread drazik lokelinde
5993h (100%), 7868m (100%), 26160e (100%), 31200w (100%) cdbk|ex 
(09:55:14.929)-goto sang
(mapper): Which area would you like to go to?
  1.) the Sangre Plains
  2.) Sangre Plains, the (Ivory Tower)
mstop
(mapper): Stopped walking.
area delete Sangre Plains, the (Ivory Tower)
(mapper): Deleted Sangre Plains, the (Ivory Tower) (182).
goto sang
(mapper): Which area would you like to go to?
  1.) the Sangre Plains
  2.) Sangre Plains, the (Ivory Tower)
Casting off her final fetters, the luminous lady awakens fully, shedding her 
joyful light from horizon to horizon.
5993h (100%), 7868m (100%), 26160e (100%), 31200w (100%) cdbk|ex (09:56:25.572)

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

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

___
Mailing list: https://launchpad.net/~mudlet-makers
Post to : mudlet-makers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mudlet-makers
More help   : https://help.launchpad.net/ListHelp