+ Reply to Thread
Results 1 to 1 of 1

Thread: Anyone else having issues with Safe's Unit Library?

  1. #1
    Rift Disciple
    Join Date
    Jul 2013
    Posts
    148

    Default Anyone else having issues with Safe's Unit Library?

    This is the error I'm getting:

    Code:
    Error: Incorrect function usage.
      Parameters: "%s%s"
      Parameter types: string
    Function documentation:
    	Provides detailed information about a unit.
    		detail = Inspect.Unit.Detail(unit)   -- table <- unit
    		details = Inspect.Unit.Detail(units)   -- table <- table
    Parameters:
    		unit:	A unit, in either unit ID or unit specifier format.
    		units:	A table containing units to inspect.
    Return values:
    		detail:	Detail table for a single unit.
    		details:	Detail tables for all requested units. The key is the unit ID or unit specifier, the value is the unit's detail table.
    Returned members:
    		absorb:	The unit's damage absorption.
    		afk:	Signals that the unit is AFK. Provided only for the player and the player's groupmembers.
    		aggro:	Signals that this unit is being attacked. Provided only for groupmembers.
    		alliance:	The unit's alliance. "defiant", "guardian", or nil.
    		availability:	The unit's current availability. See Utility.Unit.Availability() for details.
    		blocked:	Signals that this unit is not in line of sight. Provided only for groupmembers.
    		calling:	The unit's calling. May be "mage", "rogue", "cleric", "warrior", or "primalist".
    		charge:	The unit's charge. Provided only for the player.
    		chargeMax:	The unit's maximum charge. Provided only for the player.
    		combat:	The unit's combat status.
    		combo:	The unit's combo points. Provided only for the player.
    		coordX:	The unit's current X coordinate.
    		coordY:	The unit's current Y coordinate.
    		coordZ:	The unit's current Z coordinate.
    		energy:	The unit's energy.
    		energyMax:	The unit's maximum energy.
    		factionId:	The unit's faction ID.
    		focus:	The unit's focus.
    		guaranteedLoot:	Signals that this unit guarantees loot on death. Shown in the user interface as a diamond above the portrait.
    		guild:	The unit's guild.
    		health:	The unit's health.
    		healthCap:	The unit's capped maximum health.
    		healthMax:	The unit's maximum health.
    		id:	The ID of the requested element.
    		level:	The unit's level. May be "??" if the unit is hostile and very high-level.
    		locationName:	The name of the unit's location. Provided only for friendly players.
    		loot:	The Unit ID that has looting rights to this corpse.
    		mana:	The unit's mana.
    		manaMax:	The unit's maximum mana.
    		mark:	The mark on this unit.
    		mentoring:	The unit's mentoring status.
    		name:	The unit's name.
    		nameSecondary:	The unit's secondary name.
    		offline:	Signals that the unit is offline. Provided only for the player's groupmembers.
    		planar:	The unit's available planar charges. Provided only for the player or groupmembers.
    		planarMax:	The unit's maximum planar charges. Provided only for the player or groupmembers.
    		player:	Signals that the unit is a player, not an NPC.
    		power:	The unit's power.
    		publicSize:	The unit's current public group size. nil if the group is not public. Provided only for friendly players.
    		pvp:	The unit's PvP flag.
    		race:	The unit's race. Provided only for players.
    		raceName:	The unit's race, localized. Provided only for players.
    		radius:	The unit's radius.
    		ready:	The unit's readycheck status.
    		relation:	The unit's relation to you. May be "hostile" or "friendly". Neutral targets will not have this member.
    		role:	The unit's role. May be "tank", "heal", "dps", "support", or nil. Provided only for the player and the player's groupmembers.
    		spirit:	The unit's spirit.
    		tag:	The unit's tags, space-separated.
    		tagName:	The unit's tags, localized.
    		tagged:	The unit's tagged status. true if the unit has been tagged by you, "other" if the unit has been tagged by someone else.
    		tier:	The unit's difficulty tier. nil, "group", or "raid".
    		titlePrefixId:	The unit's title prefix ID.
    		titlePrefixName:	The unit's localized title prefix.
    		titleSuffixId:	The unit's title suffix ID.
    		titleSuffixName:	The unit's localized title suffix.
    		type:	The unit type ID.
    		vitality:	The unit's vitality. Provided only for the player or groupmembers.
    		warfront:	Signals that the unit has temporarily left the group to join a warfront. Provided only for groupmembers.
    		zone:	The ID of the unit's current zone.
        In SafesUnitLib / Unit Combat Heal, event Event.Combat.Heal
    stack traceback:
    	[C]: ?
    	[C]: in function '_inspect'
    	SafesUnitLib/LibSUnit.lua:1251: in function '_stdHandler'
    	SafesUnitLib/LibSUnit.lua:1275: in function <SafesUnitLib/LibSUnit.lua:1271>
    Last edited by Karok; 12-25-2017 at 07:59 PM.

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts