View Single Post
07/18/19, 10:48 AM   #4
Drakanwulf
 
Drakanwulf's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2017
Posts: 50
While Zone Index or Identifier tables may appear to be contiguous, they are not because, while the table index or identifier key (number) for either table is present, it's Zone name is not.

So I agree with everyone else who would like to know that there are 748 valid Zone entries in the Elsweyr release (100027) before one starts searching, because knowing beats the heck out of sequentially searching through a hypothetical table whose size has been hard-coded to 2000 entries.

I checked that by building a table via a "for loop" that inserted a "NAME IS MISSING" constant into every table entry whose index or identifier returned a nil value to the game's API function call. There were too many "NAME IS MISSING" entries to count...