View Single Post
03/09/15, 03:36 AM   #1
circonian
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 613
IsPOIPublicDungeon

Am I missunderstanding what IsPOIPublicDungeon(..) is supposed to do?
The rest of the IsPOIxxxx functions do what their names suggest, but either this one is bugged or it just does not do what its name suggests.

I've tested IsPOIPublicDungeon(..) on every public dungeon in every zone I have access to, they all have the words public dungeon in the icon path name, and I even reset the tutorials and entered one to verify that the game considers it a public dungeon:


But using:
Lua Code:
  1. IsPOIPublicDungeon(zoneIndex, poiIndex)
Returns false on every one I try it on.

EDIT: I even tried testing every POI in every zone by doing:
Lua Code:
  1. for zoneIndex=1, 1000 do
  2.     local numPOIs = GetNumPOIs(zoneIndex)
  3.     for poiIndex=1, numPOIs do
  4.         if IsPOIPublicDungeon(zoneIndex, poiIndex) then
  5.             d("Public Dungeon Found: "..zoneIndex..", "..poiIndex)
  6.         end
  7.     end
  8. end
and the only POIs it returns as public dungeons are in Craglorn.

Last edited by circonian : 03/11/15 at 01:30 PM.
  Reply With Quote