mudlet-makers team mailing list archive
-
mudlet-makers team
-
Mailing list archive
-
Message #02262
[Bug 1081856] Re: getAreaRooms() can fail to return room list for valid areas
You're right, it's not getAreaRooms(). This was the new output:
7653h, 6138m, 35750e, 29254w cexkdbmap load custom
(mapper): Map loaded.
testrooms3
(mapper): No rooms were returned for area ID 237 - Near the remains of a gigantic crab
(mapper): No rooms were returned for area ID 241 - Isle of New Hope
(mapper): No rooms were returned for area ID 350 - Houses
(mapper): No rooms were returned for area ID 276 - Sentinels Estate
(mapper): No rooms were returned for area ID 357 - Great Hunt Caves
(mapper): No rooms were returned for area ID 67 - Cyrene, the City of (Brewery)
(mapper): No rooms were returned for area ID 236 - planetarium
(mapper): No rooms were returned for area ID 354 - Unknown world
(mapper): No rooms were returned for area ID 359 - Griesly family manor
(mapper): No rooms were returned for area ID 358 - Ghost ship
(mapper): No rooms were returned for area ID 356 - Haunted ruins of Thera
(mapper): No rooms were returned for area ID 355 - Altar of Sea Spirits
(mapper): No rooms were returned for area ID 352 - Rhodestrian Settlement
(mapper): No rooms were returned for area ID 351 - Karbaz Isle
(mapper): No rooms were returned for area ID 303 - Shamtota Tunnels
(mapper): No rooms were returned for area ID 239 - Nishnatoba
(mapper): No rooms were returned for area ID 353 - Frozen Tundra
(mapper): Now checking all rooms for a relation to the area...
(mapper): Test done.
Given this test:
local areas = getAreaTable()
local foundsomething = {}
for areaname, areaid in pairs(areas) do
if not getAreaRooms(areaid) then
mmp.echo("No rooms were returned for area ID "..areaid.." - "..areaname)
foundsomething[areaid] = {}
end
end
mmp.echo("Now checking all rooms for a relation to the area...")
for roomid, roomname in pairs(getRooms()) do
if foundsomething[getRoomArea(roomid)] then
mmp.echo(string.format("Found room %s in area #%s, even though getAreaRooms() said there weren't any rooms there.", roomid, getRoomArea(roomid)))
end
end
if not next(foundsomething) then mmp.echo("Test done, getAreaRooms() didn't fail on any rooms.")
else mmp.echo("Test done.") end
So for some reason the rooms into the area are not being loaded in? The person is definitely loading the given map that has the areas, and they're using the current SF code.
** Changed in: mudlet
Status: New => Invalid
--
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/1081856
Title:
getAreaRooms() can fail to return room list for valid areas
Status in Mudlet the MUD client:
Invalid
Bug description:
getAreaRooms() sometimes will return nil instead of returning all
rooms as it should.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/1081856/+subscriptions
References