IMM_OINDEX

Keywords: IMM_OINDEX, WIZ_OINDEX

Category: Building

=== STAFF MANUAL === Usage: oindex oindex <zone> Description: List every object prototype in a zone, annotated with its live instance count. Unlike olist, which is just a VID + name dump, oindex also shows how many copies of each prototype are currently spawned in the world -- the number in front of the VID is pulled from the prototype's GetCount. Use it to find objects that never load, objects that have leaked instances, or to verify that a fresh reset brought up everything a zone's reset script promises. Argument: <zone> ........ The zone tag to list. Omit to use the zone you are currently standing in. An unrecognized tag returns: '<arg>' is not a valid zone. Output: The listing is paged and sorted by VID. Each row has the form: <count> <vid> - <short desc> Where <count> is blank when no live instances exist, <vid> is the object's virtual ID, and <short desc> is the item's inline name. Unnamed prototypes fall back to "Unnamed". An empty zone shows "None!" after the header. If the listing would exceed the internal output buffer, it is truncated and terminated with: *** OVERFLOW *** In that case, drill down with olist <zone>:<namespace> to inspect a smaller slice. Restrictions: - Requires the OLC staff permission. - The argument is matched against the full zone tag -- partial or prefix matches are not accepted. Notes: - Prototypes flagged ITEM_DELETED still appear in the listing; check the item's flags in ostat if the instance count is always zero. - oindex iterates the full obj_index range for the zone, so listing large zones can be slightly slower than olist. Related Helpfiles: WIZ_MINDEX, WIZ_TINDEX, WIZ_ZLIST === END MANUAL ===