• Runes of Magic Addons
  • Runes of Magic
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

DevTools

 

Project Updated:
Files Updated: Thu, Oct 1 2009
Supports Game Version: 2.0.11.1872
Category: Libraries, and Development Tools
Tags:

[Edit Tags]

Project Manager: Digitalxero
Additional Authors: No additional authors
Current Version: DevTools 1.4
License: BSD License
Development Site: CurseForge.com
Avg Daily DL (last 30 days): 20
Downloads Total: 6,903
Favorites: 8
Comments: 0
  • Curse Giveaways
  • Alganon

    Alganon

    Alganon Open Beta Key Giveaway Alganon is an upcoming fantasy-based MMORPG that allows thousands of people to play together in a virtual world that features a rich history dominated by commanding deities...

    Get Key

  • Contests
  • About DevTools
  •  

DevTools:

This Addon is a collection of tools that I find useful for Addon Development

Commands

/dt help

/dt reload

  • Reloads the UI

Features

DevTools:add(command)

  • Add a new command (command must be an instance of DTCommand

DevTools:remove(command_name)

  • Removes the command

error_log(msg):

  • function that prints ERROR: msg in all red to the General Tab

printf(format_string, ...):

  • A format function that prints the text to the General Tab

cprintf(hex_color, format_string, ...):

  • A format function that prints the text to the General Tab

sprintf( format_string, ...):

  • A format function that returns the formated string

include(file):

  • Lets you include a lua file

unpack2(...):

  • returns a table of the varargs and the number of args

unpack_args(args):

  • expands a tables into varargs

Code to work with xml files

  • untested

Timers

Code to work with timers

Timers:registerDelayed(name, delay, func, ...)

  • will register func to be called once after delay (in ms)

Timers:registerTimer(name, delay, func, ...)

  • will register func to be called repeatedly after delay (in ms)

Timers:cancelTimer(name)

  • will cancel the named timer

Timers:isRegistered(name)

  • will tell you if it was registered or not

SkillTools

Tool for Working with skills

GetSkillUsableByName(skill_name)

  • Returns true or false if the Skill is Usable or not

GetSkillCooldownByName(skill_name)

  • Returns cooldown, remaining for the named skill

CastSpellIfUsable(spell_name)

  • will cast the spell if it is usable, returns true or false if it cast the spell or not

PlayerHasBuff(buff_name)

  • returns true/false if the player has the specified Buff

TargetHasBuff(buff_name)

  • returns true/false if the target has the specified Buff

UnitHasBuff(unit, name)

  • returns true/false if the unit [player, target, party1-5, focus1-12, mouseover, mouseovertarget, targettarget] has the specified Buff

PlayerHasDebuff(buff_name)

  • returns true/false if the player has the specified Debuff

TargetHasDebuff(buff_name)

  • returns true/false if the target has the specified Debuff

UnitHasDebuff(unit, name)

  • returns true/false if the unit [player, target, party1-5, focus1-12, mouseover, mouseovertarget, targettarget] has the specified Debuff

ItemTools

Tool for working with Items

GetItemUsableByName(item_name)

  • Returns true or false if the Item is Usable or not

GetItemCooldownByName(item_name)

  • Returns cooldown, remaining for the named Item

UseItemIfUsable(item_name)

  • will use the Item if it is usable, returns true or false if it used the Item or not

UnitTools

Tools for working with Units

UnitIsValid(unit_id)

  • Checks if the Unit exists, has a name, is not dead and if the unit_id is a party1-5 it makes sure the unit is in range and is online

GetUnitId(name)

  • Checks the party, raid or focus for the specified name and returns where they are
  • Downloads (6)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  File Name Release Type Game Version Downloads Date  
  DevTools 1.4 Release 2.0.11.1872 1,754 10/1/2009
  DevTools 1.3 Release 1825 4,656 4/18/2009
  DevTools 1.2 Release 1825 252 3/31/2009
  DevTools 1.1 Beta 1810 78 3/21/2009
  DevTools 1.0 Beta 1810 60 3/18/2009
  • Comments

Add Comment  

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • Similar Addons
  •  

Average downloads per day

  1. 293 StatRating Tooltip, Bags & Inventory...
  2. 133 AddonManager Map & Minimap, and Development...
  3. 25 BossHelperMod Quests & Leveling, Libraries...
  4. 19 ABugCatcher Development Tools, Chat &...
  5. 15 Sol Libraries, and Development...