getAreaRooms fails to work on a valid room ID

Bug #799397 reported by Vadim Peretokin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mudlet
Fix Released
High
Unassigned

Bug Description

See area ID 67 being valid, but getAreaRooms not working on it:

table {
  '': 0
  'Lodi, the Valley of': 9
  'Shallam, the City of (University)': 39
  'Petra, the Village of (Inn)': 132
  'Pachacacha River, the': 71
  'Mhojave Desert, the (Northeast)': 177
  'Vasnari Mountains, the (Northern)': 210
  'Creville Asylum': 90
  'Cyrene, the City of': 57
  'Cyrene, the City of (Garden of the Arts)': 62
  'Dungeon of the Beastlords, the': 20
  'Genji, the Village of': 137
  'Tasur'ke': 2
  'Eastern Shore, the': 29
  'Moghedu': 115
  'Savannah, the (Central)': 42
  'Dun Valley': 155
  'Ulangi (Rapo'kir Hive)': 94
  'Qurnok, the Village of': 30
  'Mhaldor, the City of (Museum)': 52
  'Shallam, the City of (Museum)': 35
  'Ashtan, the City of': 49
  'Zaphar River, the': 81
  'Mesmerium, the': 116
  'Darkenwood, the': 124
  'Isaia': 99
  'Mhaldor, the City of (Brothel)': 45
  'New Thera, the Village of': 3
  'Shala-Khulia, the City of': 165
  'Arcadia, the City of (Palace)': 153
  'Bitterflow River': 121
  'Cyrene, the City of (Court)': 70
  'Rheodad, the Forest of': 202
  'Azdun Dungeon, the': 27
  'Jaru': 24
  'Actar, the Valley of': 17
  'Gheladan, Mount': 10
  'Delos, the Isle of (Fronck's Furniture)': 18
  'Forest Watch': 82
  'Dakhota Hills, the': 104
  'Cyrene, the City of (Sewers)': 58
  'Pash Valley (East)': 148
  'Aalen Forest, the (Tsol'aa Kingdom)': 96
  'Northreach, the': 123
  'Tapoa Island': 162
  'Mhaldor, the City of (Worm and Grub)': 46
  'Hriddan Settlement': 101
  'Mhojave Desert, the (Southwest)': 175
  'Blackrock, the Halls of': 128
  'Arcadia, the City of': 154
  'Enverren Marsh': 119
  'Southern Old Road': 37
  'Shamtota Hills, the (East)': 151
  'Minia, the Land of (Pixie Village)': 11
  'Urubamba River, the': 36
  'Nimick, the Village of': 152
  'Mhaldor, the City of': 44
  'Bopalopia': 176
  'North Road, the': 83
  'Mhaldor, the City of (Temple)': 48
  'Prime Wilderness Material Plane': 235
  'Shamtota Hills, the (West)': 186
  'Minia, the Land of (Libra Dungeon)': 8
  'Temple of Justice, the': 211
  'Matsuhaman Arena, the': 233
  'Ainghaeal's Nest': 232
  'Mysia, the Port of (Tavern)': 100
  'Collosea edn Duir, the': 231
  'Shala-Khulia, the Rainforest of': 161
  'Ashtan, the City of (Sewers)': 60
  'Wegava Valley': 213
  'El'Jazira': 88
  'Stadia Coronae, the': 230
  'Coloseum Diabolus, the': 229
  'Aalen Forest, the (Path)': 112
  'Theatrum Mortalis, the': 228
  'Tenwat Prison': 74
  'Shallam, the City of': 19
  'Harae, the Isle of': 102
  'The Maran La'Saen Memorial Arena': 227
  'Minos, the Isle of': 224
  'Underworld, the (South)': 166
  'Orilla': 141
  'Iskadar, the Mines of': 217
  'Daoric Plains, the': 216
  'Shallam, the City of (Palace)': 38
  'Valho Coast': 214
  'Dreamspear, the': 212
  'Sparrow's Rest': 173
  'Ageiro, the Isle of': 209
  'Eastern Road, the': 84
  'Chapel of All Gods': 208
  'Tuar, the Island of': 207
  'Suliel Island': 206
  'Mhaldor Isle': 50
  'Pash Valley (West)': 149
  'Enverren Marsh (Caverns of Chiada)': 118
  'Mysia, the Port of': 98
  'Lake Narcisse': 106
  'Morindar, the Ruins of': 204
  'Caverns of Nuskuwe, the': 203
  'Caer Witrin': 201
  'Aureliana Forest, the': 32
  'Vashnar Mountains, the': 25
  'Aalen Forest, the': 95
  'Saoghal Valley': 200
  'Tundra, the': 199
  'Tir Murann, the Village of': 145
  'Petra, the Village of (Sangre Keep)': 135
  'Minia, the Land of (Ember Tower)': 12
  'Aerinewild, the': 198
  'Aran'riod, the Village of': 197
  'Kasmarkin, the City of': 196
  'Lake Vundamere': 43
  'Green Lake': 31
  'Eirenwaar Island': 195
  'Ilyrean': 194
  'Mhaldor, the City of (Casino)': 47
  'Bitterfork': 122
  'Delmarin, the Caves of': 125
  'Zaphar Isle': 193
  'Ka'doloki, the Village of': 5
  'Enverren Marsh (Castle)': 117
  'Clockwork Isle': 191
  'Siroccian Mountains, the': 139
  'Savannah, the (South)': 183
  'Parthren Gare, the': 190
  'Shala'jen, the Monastery of': 187
  'Dryad Garden': 105
  'testy': 234
  'Mhojave Desert, the (Nomad Encampment)': 185
  'Tir Murann, the Fortress of': 146
  'Savannah, the (West)': 184
  'Shallam, the City of (Medina)': 23
  'Sangre Plains, the (Ivory Tower)': 182
  'New Hope, the Isle of (Hills)': 143
  'Maim's Mansion': 7
  'Bagwar's Copse': 89
  'Umbrin, the Port of': 181
  'Colchis, the Island of': 180
  'Shallam, the City of (Basilica)': 6
  'Riparium (Palace)': 114
  'Mhaldor, the City of (Cathedral)': 40
  'Annwyn (Unsidhe Court)': 171
  'Vashnar Mountains, the (South)': 78
  'Harae, the Isle of (Village)': 129
  'Annwyn (Sidhe Court)': 170
  'Ashtan, the City of (Library of Nicator)': 53
  'Northern Ithmia, the': 80
  'Annwyn (Lake)': 168
  'Piraeus, Mount': 167
  'Kamleikan, the Village of': 108
  'Shala-Khulia, the Rainforest of (Caves)': 164
  'Underworld, the': 163
  'Dun Valley (Fortress)': 159
  'Aeraithian Falls, the': 160
  'Dun Valley (Swamp)': 158
  'Dun Valley (Village)': 156
  'Dun Valley (Path)': 157
  'Erymanthus, the Isle of': 150
  'Inbhir Ness': 147
  'Siroccian Mountains, the (Orc Outpost)': 144
  'Mannaseh swamp': 72
  'Shastaan': 28
  'Sangre Plains, the': 136
  'Chaghut Encampment': 218
  'New Hope, the Isle of (Mountains)': 140
  'Ceylon, the Golden Land': 34
  'New Hope, the Isle of (Village)': 138
  'Siroccian Mountains, the (Dwarven Camp)': 142
  'Belladona, the Keep of': 134
  'Cyrene, the City of (Garden)': 68
  'Cyrene, the City of (Imperium)': 59
  'Belladona, the Keep of (Fens)': 133
  'Muurn River Valley': 110
  'Hashan, the City of (Sewers)': 61
  'Adryn's Keep': 205
  'Manusha': 103
  'Ashtan, the City of (Lake Balaton)': 54
  'Shallam, the City of (Sewers)': 65
  'Portals, the Ring of': 15
  'Black Forest, the': 33
  'Delos, the Isle of': 14
  'Mhojave Desert, the (Central)': 178
  'Prelatorian Highway, the': 22
  'Xhaiden Dale, the Valley of': 130
  'Minia, the Land of (Pygmy Village)': 13
  'Hashan, the City of': 55
  'Quartz Peak': 69
  'Blackrock, the Underhalls of': 127
  'Dardanic Plains, the': 120
  'Great Rock, the': 21
  'Phereklos, the Ruins of': 66
  'Cyrene, the City of (Inn)': 64
  'Vashnar Mountains, the (North)': 79
  'Hashan, the City of (Seneschal Complex)': 56
  'Mhaldor, the City of (Sewers)': 75
  'Raphaelan Highway, the': 26
  'Ulangi': 92
  'Ulangi (Cloud Forest)': 93
  'Tomacula': 41
  'Western Ithmia, the': 77
  'Petra, the Village of': 131
  'Cyrene, the City of (Pantheon)': 63
  'Annwyn (Forest)': 169
  'Granite Hills, the': 85
  'Sea Lion Cove': 87
  'Polyargos, the Isle of': 91
  'Cyrene, the City of (Brewery)': 67
  'Polyargos, the Isle of (Volcano)': 97
  'Tasur'ke (Port)': 179
  'Zanzibaar': 192
  'Goblin Village, the': 107
  'Kamleikan, the Village of (Ice Floes)': 109
  'Lake Muurn': 174
  'Eastern Ithmia, the': 76
  'Riparium': 113
  'Sarave Foothills, the': 215
  'Delos, the Isle of (Scarlattan Theatre)': 16
  'Blackrock, the Mines of': 126
}
lua local s,m = pcall(getAreaRooms, 67) if not s then display(m) end

'getAreaRooms ERROR: no such area ID'

Changed in mudlet:
status: New → Confirmed
importance: Undecided → High
milestone: none → trunk
Revision history for this message
Heiko (koehnheiko) wrote :

cannot be reproduced

Changed in mudlet:
status: Confirmed → Invalid
Revision history for this message
Vadim Peretokin (vperetokin) wrote :

It does seem to be fine now.

Revision history for this message
Vadim Peretokin (vperetokin) wrote :
Download full text (8.2 KiB)

This is still an issue.

table {
  '': 0
  'Lodi, the Valley of': 9
  'Suliel Island (Barricades)': 294
  'Chapel of All Gods': 208
  'Ivory Temple': 269
  'Temple of Vengeance': 299
  'Vasnari Mountains, the (Northern)': 210
  'Creville Asylum': 90
  'Cyrene, the City of': 57
  'Cyrene, the City of (Garden of the Arts)': 62
  'Dungeon of the Beastlords, the': 20
  'Genji, the Village of': 137
  'Sea Lion Cove': 87
  'Vashnar Mountains, the (North)': 79
  'Moghedu': 115
  'Temple of the Cataclysm': 238
  'Temple of the Seasons': 296
  'Goblin Village, the': 107
  'Mhaldor, the City of (Museum)': 52
  'Shallam, the City of (Museum)': 35
  'Ashtan, the City of': 49
  'Zaphar River, the': 81
  'Lake Muurn': 174
  'Caverns of Nuskuwe, the': 203
  'Near the remains of a gigantic crab': 237
  'Shala-Khulia, the City of': 165
  'Arcadia, the City of (Palace)': 153
  'Bitterflow River': 121
  'Cyrene, the City of (Court)': 70
  'Jaru': 24
  'Actar, the Valley of': 17
  'Delos, the Isle of (Fronck's Furniture)': 18
  'Wilderness': 255
  'Dakhota Hills, the': 104
  'Lupine Hunting Grounds': 273
  'Aalen Forest, the (Tsol'aa Kingdom)': 96
  'Tapoa Island': 162
  'Mhaldor, the City of (Worm and Grub)': 46
  'Blackrock, the Halls of': 128
  'Arcadia, the City of': 154
  'Enverren Marsh': 119
  'Nishnatoba Deadlands': 249
  'Phereklos, the Ruins of': 66
  'Bopalopia': 176
  'Clouds': 253
  'The Fortress': 292
  'Mysia, the Port of (Tavern)': 100
  'Shala-Khulia, the Rainforest of': 161
  'Ashtan, the City of (Sewers)': 60
  'Wegava Valley': 213
  'Hashan, the City of': 55
  'Tenwat Prison': 74
  'Shallam, the City of': 19
  'Iskadar, the Mines of': 217
  'Crafters Guild Hall': 274
  'Eastern Road, the': 84
  'Mhaldor Isle': 50
  'Mysia, the Port of': 98
  'Isle of New Hope': 241
  'Istarion': 243
  'Aalen Forest, the': 95
  'Minia, the Land of (Ember Tower)': 12
  'Dun Valley (Swamp)': 158
  'Delmarin, the Caves of': 125
  'Hashan, the City of (Sewers)': 61
  'Siroccian Mountains, the': 139
  'Savannah, the (South)': 183
  'Dryad Garden': 105
  'Bagwar's Copse': 89
  'Harae, the Isle of (Village)': 129
  'The Maran La'Saen Memorial Arena': 227
  'Caverns of Riagath': 261
  'Saoghal Valley': 200
  'Gulf of Nilakantha': 286
  'Eleusis': 51
  'Chaghut Encampment': 218
  'Siroccian Mountains, the (Orc Outpost)': 144
  'Siroccian Mountains, the (Dwarven Camp)': 142
  'Cyrene, the City of (Garden)': 68
  'Umbrin, the Port of': 181
  'Orilla': 141
  'Polyargos, the Isle of (Volcano)': 97
  'Shallam, the City of (Sewers)': 65
  'Sentinels Estate': 276
  'Mhaldor, the City of (Sewers)': 75
  'Enverren Marsh (Caverns of Chiada)': 118
  'Quartz Peak': 69
  'Eirenwaar Island': 195
  'Bog of Ashtan': 263
  'Cyrene, the City of (Inn)': 64
  'Hashan, the City of (Seneschal Complex)': 56
  'Raphaelan Highway, the': 26
  'Temple of Gaia': 268
  'Ulangi (Cloud Forest)': 93
  'Mhaldor, the City of (Cathedral)': 40
  'Halls of Battle': 279
  'Shala'jen, the Monastery of': 187
  'Dreamspear, the': 212
  'Shallam, the City of (Citadel)': 38
  'Cyrene, the City of (Brewery)': 67
  'Tasur'ke (Port)': 179
  'Temple of Concordia': 270
  'Sarave Foothills, the': 215
  'Delos, the Is...

Read more...

Changed in mudlet:
status: Invalid → Confirmed
Revision history for this message
Heiko (koehnheiko) wrote :

You need to explain what you mean by this report.

Revision history for this message
Vadim Peretokin (vperetokin) wrote : Re: [Bug 799397] Re: getAreaRooms fails to work on a valid room ID

Look at the list of areas 239 is a valid id, but func gave nil.
On Apr 21, 2012 6:05 AM, "Heiko" <email address hidden> wrote:

> You need to explain what you mean by this report.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/799397
>
> Title:
> getAreaRooms fails to work on a valid room ID
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mudlet/+bug/799397/+subscriptions
>

Revision history for this message
Heiko (koehnheiko) wrote : Re: [Mudlet-makers] [Bug 799397] Re: getAreaRooms fails to work on a valid room ID

This issue is related to broken map export files that are downloaded
from the MUD. They create an area and an area ID, but this area doesn't
really exist on the map because there are no rooms attached to it.

Added those to the area pool now if the area id does not yet exist.

Am 20.04.2012 22:45, schrieb Vadim Peretokin:
> Look at the list of areas 239 is a valid id, but func gave nil.
> On Apr 21, 2012 6:05 AM, "Heiko"<email address hidden> wrote:
>
>> You need to explain what you mean by this report.
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/799397
>>
>> Title:
>> getAreaRooms fails to work on a valid room ID
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/mudlet/+bug/799397/+subscriptions
>>

Heiko (koehnheiko)
Changed in mudlet:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.