changing room area doeas not remove it from previous area rooms list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mudlet |
Fix Released
|
High
|
Chris |
Bug Description
version: Mudlet 3.0-rc1 compiled from repo
OS: Arch Linux, newest.
I think script and output will tell everything:
lua script
=====
local newroomid = createRoomID();
addRoom(newroomid);
echo("Before adding new room to area\n");
echo("Area 7 rooms:\n");
display(
echo("Area 8 rooms:\n");
display(
setRoomArea(
echo("\n\nAfter adding new room to area 7\n");
echo("Area 7 rooms:\n");
display(
echo("Area 8 rooms:\n");
display(
setRoomArea(
echo("\n\nAfter adding new room to area 8\n");
echo("Area 7 rooms:\n");
display(
echo("Area 8 rooms:\n");
display(
echo("^^^^^ I think this is bug, area 7 shoudn't have room "..newroomid.
echo("\n\nDeleting room "..newroomid.
deleteRoom(
echo("Area 7 rooms now:\n");
display(
echo("Area 8 rooms now:\n");
display(
echo("^^^^^ this is even more serious bug, room is removed only from the last area, non existing room still exist in previous area");
=====
OUTPUT:
Before adding new room to area
Area 7 rooms:
{}
Area 8 rooms:
{}
After adding new room to area 7
Area 7 rooms:
{
[0] = 43
}
Area 8 rooms:
{}
After adding new room to area 8
Area 7 rooms:
{
[0] = 43
}
Area 8 rooms:
{
[0] = 43
}
^^^^^ I think this is bug, area 7 shoudn't have room 43
Deleting room 43
Area 7 rooms now:
{
[0] = 43
}
Area 8 rooms now:
{}
^^^^^ this is even more serious bug, room is removed only from the last area, non existing room still exist in previous area
Changed in mudlet: | |
milestone: | none → 3.0 |
Changed in mudlet: | |
status: | Fix Committed → Fix Released |
This has been discussed in https:/ /bugs.launchpad .net/mudlet/ +bug/1226558 and would likely be fixed as a result of fixing that.