(170 Kb)
Updated: 11-11-09 02:25 PM
File Info
Updated:11-11-09 02:25 PM
Created:08-17-09 02:41 AM


Version: 0.9b (quick-fix)
by: Rewad [More]

Current development stage: Beta
Your feedback is welcome!

Please delete all previous versions of SpellPriority before you update to version 0.9b.
All tacticfiles before version 0.9b are incompatible.
Mage and Hunter tacticfiles are removed temporarily.

What does it do?
SpellPriority shows you the next, and best spell to use, for max. DPS with a simple icon.
Watch this little demo movie on Youtube

Which classes are supported?
Warlock for 100% (I only play Warlock ), other similar classes (Priest, Mage, Hunter etc.) are also supported but not yet fully tested (and maybe no tacticfiles are created yet for them).
Support for "special" classes Rouge (combo points), Deathknight (runes and runicpower) have lower priority but are also planned.

What is the basic idea behind SpellPriority?
SpellPriority use diffrents "tacticsheets" for diffrent classes and talentbuilds, with little lua-coding skills are you able to create your own tacticfile ingame (with WoWLua) for your playstyle.

What is a tacticfile?
The tacticfile defines which action is likely the best for diffrent situations in combat. For example: Which spell you should use after you have finished your current spellcast when an important debuff expires on the target. The tacticfile is created and optimised for a specific class / talentbuild and glyphs, so you have to choose a tacticfile which is created for your talentbuild and glyphs.

Current included tacticfiles:
- Destruction Raid
- Affliction Raid
- Demonology Raid
- Life Tab Reminder
- Metamorphosis Reminder
- removed (temporarily)
- removed (temporarily)

This is a module, included in SpellPriority as a seperate addon, for people who:
- want to create their own tacticfile
- have some knowlege about Lua
- time and fun
- and for my guildies / friends to make tacticfiles for other classes
- and of course for myself, better workflow

I have documented DevTools as well as I can, but there are likely some points that are not clear enough or incomplete, someone needs to test it Maybe later I will create a little explanation movie.

For DevTools, you will need the addon WoWLua, you can get it here:
After this you can use the command /spdev to open the GUI, where you can start with the first few steps.

If you create a tacticfile which you want to share with the community, please contact me, and maybe I can include your tacticfile in the next release.


v0.9b- 10.11.09 (quick fix)
- fixed missing AceTimer-3.0
- fixed non-updating old saved-variables
- fixed Ace3 options-gui bug in modul: switcher
- fixed show/hide binding text

v0.9b - 08.11.09
- SpellPriority recoded, nearly everything changed
- added new feature, you can now select more than one tacticfile
- added update trigger (saves cpu ussage if necessary)
- changed options gui, better organised

- Tacticfiles:
-- tacticfiles older than v0.9v or template version v0.5 are not compatible with SpellPriority v0.9b
-- hunter and mage tacticfile are removed, we need new ones... sorry

- DevTools:
-- API changed, older functions works no longer, use the new one
-- many things are yet not documented, it is currently hard to make a tacticfile for other classes...
-- added spell database for warlocks, other classes will follow

v0.8.1b - 17.10.09
- fixed: description bug in the glyph-section
- event UNIT_AURA execute now max. every 0.2 sec
- the tacticfile: empty, shows no longer the skull icon, some people don't like bones
- added key bound text, the sp-icon can now show the current key binding of that spell
- changed / improved some loading functions for tacticfiles
- added modul Switcher, Switcher changes automatical your tacticfile
- added file known issues.txt

- DevTools:
-- added second argument (for non-player casts) to:
--- SP:get_playerbuff (buffid [, all])
--- SP:get_sp_playerbuff (buffid [, all])
--- SP:get_targetdebuff (debuffid [, all])
--- SP:get_sp_targetdebuff (debuffid [, all])
-- added SP:log(string) and removed old log(string) which is realy only for debugging

- Tacticfiles:
-- added demonology warlock by kragges
-- added 2x firemage tacticfiles by kragges

v0.8b - 02.10.09
- fixed get_targetdebuff, which cause that get_targetdebuff (debuffid) returned true when a debuff on the target is which are casted by another player
- fixed debuffstacks, they are now countet correctly with precasting / lag and flight calculation
- fixed not saved icon-position, icon position wasn't saved correctly before
- fixed showed classinfo as N/A when talentbuild also was N/A
- recoded some api-functions (there is still a lot to do...)
- changed / updated gui-options
- renamed some options
- added more "show icon when taget is a" options
- added show button which shows the detailed script of the selected tacticfile
- added spellflight and lag modifier options
- added icon lock and icon position reset option
- added cooldown-texture to the icon, which shows when this spell is ready to cast
-- according to this recoded some events, use now update_cooldown after spell_succseeded
- added latency considering
-- according to this, recoded handling of target_debuff_incoming (flying spells, and latency for non-flying spells)
- added how-to-add-tacticfiles, a little doc how this works

- DevTools:
-- added get_sp_playerbuff(buffid)
-- added get_unitmana(unit)
-- updated api-description

- Tacticfiles:
-- some updates because of the new function get_sp_playerbuff(buffid)
-- tacticfiles are now seperated, each class has now his own "sub-addon"
-- added two hunter-tacticfiles from Aimori for testing, thx!

v0.7.1b - 23.08.09
- a tacitcfile can now also be activated when the player doesn't fit the needed spells/glyphs
-- instead a error message, are now showed a little info text with all missed spells/glyphs
-- all errors should now be fixed if a tacticfile need some informations about a spell which can't the player cast
- changed glyphs, now are they identificated by spellid, no longer as a simple string
- added localisation to tacticfile description

- DevTools:
-- fixed a loading bug in DevTool, DevTools is now ready to use (hopefuly)
-- changed api
--- get_sp_targetdebuff(debuffid) also returns debuffstack as second argument
--- removed old function get_sp_targetdebuff_stack
--- get_playerbuff(buffid) also returns buffstack as second argument
--- added/changed get_unithealth(unit)
--- removed old function get_targethealth()
--- added get_targetdebuff(debuffid)
-- changed tacticfiletemplate version from 0.1 to 0.2

- Tacticfiles:
-- changed all tacticifiles....
-- take a look into it :)

v0.7b - 17.08.09
- recoded the core, use now spellid to get localised spellnames, which are used to identify all spells/debuffs (no longer icontracking)
- in this case also changed the way how getting buff/debuffs tracked, now only check for buffs, which request the tacticfile, no longer generating of the entire buff/debufftable
- added player-buff tracking
- added support for channel spells (not completly tested, but it shoud work well)
- added profile support from ace3
- added get_targethealth() to api
- added DevTools as seperate addon (basic idea behind devtools: create userdefined tacticfiles ingame)
-- devtools handels user-created tacticfiles
-- devtools brings a little gui with some commands for easier working
-- devtools need and work with WoWLua by using WoWLuas database (code-sheets)
-- devtools includes a little api descrition for SpellPriority
-- added api.txt tacticfilecreatorsheet.txt which includes the same informations like the ingame ones
-- api description moved to api_desc.lua its easier to update now
- changed debuging messages, they are maybe now more helpful
- once again changed the way which tacticfiles are loaded, included --SP:functionkey_holder!, this hepls to read tacticfile table informations without to acticate it
- changed tacticfile description
-- glyphs are now seperated
-- added a basic priority-list description of spells used in a tacticfile
- changed the gui where you select the tacticfile, now are more informations shown

- Tacticfiles:
-- added new tacticfiles for warlock (according to the player-buff tracking system)
-- changed tacticfile for destrowarlocks
-- one more time, all tacticfiles are once again updated

v0.6.1b - 07.08.09
- fixed once again a little ace3-libary loading bug... sorry

v0.6b - 05.08.09
- toc updated to version 3.2
- changed the options-gui
- changed tacticfile save place, they are now safed as script in a lua table, not anymore in a single lua-file (this allows us to edit tacticfiles ingame)
- changed tacticfile description for better handling
-- use now dictionarys instead of key-based tables (make it easier to update and change things)
-- use now intern SpellPriority class-id to identificate the correct class for each tacticfile
-- according to this major changes, rewritten some parts of the next spell calculation from core.lua
- rewritten api functions
- rewritten tacticfile creator template
- added some error-messages, make it better to understand whats missing by developing of tactifiles
- added simple_textbox.lua (a standalone, resizable and scrollable textbox for showing informations)
- added version system, maybe i need this later
- once again, according to all changes, updated all current included tacticfiles
- many, many things added for SpellPriority modul DevTools
- removed temporary german translation, keine sorge kommt wieder, ist einfach zu mühsam immer aufs neue zu übersetzen wenn was kleines geändert wurde
- removed some other files... uhm, i dont now which.. whatever

v0.5b - 23.06.09
- fixed ace3-libraries loading bug (which only appears if no other ace3 addons are loaded)
- changed the event-system for less cpu usage
-- collecting target debuffs now only when UNIT_AURA fires
-- collecting players spellcast only when needed
-- use now expirationttime for buff/spells/debuffs instead of remaining uptime
- added api functions which make the handling and writing of tacticfiles easier
-- according to this, updated current included tacticfiles for warlock
- splitted debuff and buff in seperated functions for better handling
- added core.lua
- added api.lua
- removed manipulate.lua

v0.4b - 15.06.09
- added enUS translation
- added readme.txt
- added version history.txt
- updated deDE
- event "PLAYER_TARGET_CHANGED" should now work as intend
- important error messages are now showed in the chatframe
- icon position are now seperatley saved per character
- tacticfile updated warlock_destruction_rewad

- using now "PLAYER_LOGIN" to initialize SpellPriority
- updated deDE

- initial beta release

- initial alpha release

- FIRST!!!!!1111111 :)
Optional Files (0)

Archived Files (3)
File Name
10-02-09 02:01 AM
08-22-09 03:43 PM
08-17-09 02:41 AM

Post A Reply Comment Options
Unread 08-18-09, 01:10 AM  
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 2
Re: error

thx for reporting
current available tacticfiles are only for lvl 80. maybe thats why it's allway says you have to use life tab because you haven't glyphe of life tab installed.
anyway, your error shouldn't occur. i cant reproduce it.
you tried the affliction file (without buff), started casting shadowbolt and the error appears?

Originally posted by lewal
im only 68 tried your mod i have both destro and aflic specs use talented mod for my talent interface . your first aff. loaded told me to use fell arm then to life tap and never did any rotationsayed on life tap .. tried the next spec all that appears was shadow bolt, is this an 80 lev. mod or something ...got this error useing the sec aff spec without fel arm or life tap have not even tried the destro side
@ lewal
need more information, you tried to load DevTools right?
Last edited by Rewad : 08-18-09 at 01:11 AM.
Report comment to moderator  
Reply With Quote
Unread 08-17-09, 03:29 PM  
A Kobold Labourer

Forum posts: 0
File comments: 155
Uploads: 0
2nd error with your dev tools

Date: 2009-08-17 16:27:45
ID: 1
Error occured in: Global
Count: 1
Message: ...y_DevTools\SpellPriority_DevTools_db_and_options.lua line 24:
attempt to index global 'SpellPriority_DevToolsDB' (a nil value)
(tail call): ?
...y_DevTools\SpellPriority_DevTools_db_and_options.lua:24: setup_db()
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9:
[string "safecall Dispatcher[1]"]:5
(tail call): ?
...face\AddOns\Titan\libs\AceAddon-3.0\AceAddon-3.0.lua:502: InitializeAddon()
Swatter, v5.6.4389 (KangaII)
Ace2, v
ActionButtonColors, v1.3
AlarBGHelper, v3.5.10 r48
AlphaMap, v3.76.30100
AlphaMapBattlegrounds, v
AlphaMapExteriors, v
AlphaMapInstances, v
AlphaMapPOIFlightMasters, v
AlphaMapPOIInstances, v
AlphaMapPOITravelAgents, v
AlphaMapPOIUtilities, v
AlphaMapWorldBosses, v
AraBrokerReputations, vr3
ArenaCalculator, v1.6.3
Atlas, v1.14.1
AtlasBattlegrounds, v1.14.1
AtlasDungeonLocs, v1.14.1
AtlasOutdoorRaids, v1.14.1
AtlasTransportation, v1.14.1
AtlasWorld, vv3.1.1.11
AucAdvanced, v5.6.4389 (KangaII)
AucDb, v5.1.DEV.3583
AucFilterBasic, v5.6.4389 (KangaII)
AucFilterOutlier, v5.6.4389.2531
AucMatchUndercut, v5.6.4389.2531
AucStatClassic, v5.6.4389 (KangaII)
AucStatHistogram, v5.6.4389 (KangaII)
AucStatiLevel, v5.6.4389 (KangaII)
AucStatPurchased, v5.6.4389 (KangaII)
AucStatSales, v5.6.4389.2842
AucStatSimple, v5.6.4389 (KangaII)
AucStatStdDev, v5.6.4389 (KangaII)
AucStatWOWEcon, v5.6.4389.2530
AucUtilAHWindowControl, v5.6.4389.3311
AucUtilAppraiser, v5.6.4389.2530
AucUtilAskPrice, v5.6.4389.3175
AucUtilAutoMagic, v5.6.4389.3142
AucUtilCompactUI, v5.6.4389.2530
AucUtilEasyBuyout, v5.6.4389.3583
AucUtilItemSuggest, v5.6.4389.3108
AucUtilPriceLevel, v5.6.4389.2545
AucUtilScanButton, v5.6.4389.2530
AucUtilScanFinish, v5.6.4389.2530
AucUtilScanProgress, v5.6.4389.2530
AucUtilSearchUI, v5.6.4389.3655
AucUtilSimpleAuction, v5.6.4389.0
AucUtilVendMarkup, v5.6.4389.2530
AvgItemLevel, vv1.0-beta10
AwesomePlayerPortrait, v1.1
azHideSpam, v1.2
Babylonian, v5.1.DEV.130
BeanCounter, v5.6.4389 (KangaII)
BloodyRare, v1.1d
BonusScanner, v5.2
BrokerHitCrit, v2.10.2-release
BUFX, v1.09
BuyEmAll, v
CattleProd, v2.3.0
Comix, v1.7
Compass, v1.0.2
Configator, v5.1.DEV.130
DBMBurningCrusade, v
DBMCore, v
DBMRaidLeadTools, v
DBMSpellTimers, v
DBMVictorySound, v
DeathDealer, v1.2
DebugLib, v5.1.DEV.130
DepositBox, v30000.2
DirtyGear, v1.2
Dominos, v1.10.4
DominosBuff, v
DominosCast, v
DominosRoll, v
DominosXP, v
Doomed, v1.0.1
ElkBuffBars, v2.2.5-150
EMLib, v
Enchantrix, v5.6.4389 (KangaII)
EnchantrixBarker, v5.6.4389 (KangaII)
EnhTooltip, v5.1.3715 (SnaggleTooth)
EquipCompare, v2.16
Examiner, v09.08.13
Fizzle, vv1.3.2
FlightMap, v
FocusFrame, v2.5.1
FuBarPlugin20, v2.0 $Revision: 66634 $
Gatherer, v3.1.14
GearDPS, v0.77b
GearScore, v2.2.09 - Release
GearScoreRecount, v
GemQuota, v
GetOpt, v
GFWLevelator, v3.2
GhostRecon, v0.10.5
Hush, v1.0.0
ImprovedMerchant, v3.6x5
InspectEquip, v1.5.0
Intel, v0.42
ItemRack, v
JebusMail, v2.4b
LanguageCycle, v
LastWords, v2.0.10
LibRareSpawns, v1.0.30100
LightHeaded, v297
MagicTargets, v2.0.89
MapNotes, v5.16.30200
MapNotesBrowser, vv1.00.30200
MapNotesForAtlas, v1.00.30200
MapNotesIconLib, v1.04.30200
MapNotesIconLibFancy, v
MapNotesIconLibLegacy, v
MapNotesIconLibNeptunia, v
MapNotesIconLibNumbers, v
MinimapButtonFrame, v3.0.7
MinimapButtonFrameSkinPack, v3.0
MinimapButtonFrameTitanPlugin, v2.2
MovableBags, v
MozzFullWorldMap, v3.34.30200
MrDamage, vr813
naiStats, v
Necrosis, v3.0 (r221)
OhNoesQueues, v1.1
Omen, v3.0.8
Overcharge, v3.1.2.2
Pawn, v1.1.12
Postal, v3.2.0
PVPtimer, v
QuickMountEquip, v
RareSpawnOverlay, v4.0.30100
RatingBuster, v
Rebar, v
Recount, v
Redeemer, v
sct, v6.2
sctd, v3.1
SharedMedia, v3.0
SlideBar, v5.6.4389 (KangaII)
SpellPriority, v
SpellPriorityDevTools, v
Stubby, v5.6.4389 (KangaII)
TankPoints, v
Titan, v4.2.8.30200 - Revision 302
WowLua, v31
BlizRuntimeLib_enUS v3.2.0.30200 <us>
Report comment to moderator  
Reply With Quote
Unread 08-17-09, 03:19 PM  
A Kobold Labourer

Forum posts: 0
File comments: 155
Uploads: 0

im only 68 tried your mod i have both destro and aflic specs use talented mod for my talent interface . your first aff. loaded told me to use fell arm then to life tap and never did any rotationsayed on life tap .. tried the next spec all that appears was shadow bolt, is this an 80 lev. mod or something ...got this error useing the sec aff spec without fel arm or life tap have not even tried the destro side

Date: 2009-08-17 15:59:37
ID: -1
Error occured in: Global
Count: 33
Message: ...nterface\AddOns\SpellPriority\SpellPriority_core.lua line 263:
attempt to perform arithmetic on local 'start' (a nil value)
(tail call): ?
...nterface\AddOns\SpellPriority\SpellPriority_core.lua:263: get_gcd()
SpellPriority\SpellPriority_api.lua:59: spellready()
[string "local setup = {..."]:56: update()
...nterface\AddOns\SpellPriority\SpellPriority_core.lua:102: update()
...erface\AddOns\SpellPriority\SpellPriority_events.lua:125: ?()
[string "safecall Dispatcher[5]"]:4:
[string "safecall Dispatcher[5]"]:4
[C]: ?
[string "safecall Dispatcher[5]"]:13: ?()
...tan\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:91: Fire()
Swatter, v5.6.4389 (KangaII)
Corpse, v3.2.0.1
Ace2, v
Last edited by lewal : 08-17-09 at 07:33 PM.
Report comment to moderator  
Reply With Quote
Unread 08-17-09, 10:18 AM  
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0

First of all, forgive my poor english.

I am a new comer, and this addon helps me a lot...thanks

Since I am noob to Lua and stuff, I cannot create a new tactical file...but then I find out I am a destro lock...so I am a happy lock now, Thanks again.
Last edited by itelene : 08-17-09 at 10:19 AM.
Report comment to moderator  
Reply With Quote
Post A Reply

Category Jump: