Log in

View Full Version : [WoW] Soulstone reminder



Ughmahedhurtz
09-19-2007, 01:08 AM
For those of you that run rezzer+warlock groups, would you like better (read: more annoying) reminders to soulstone your priest/pally/shammy main? I've got something that works. ;)

http://wowui.incgamers.com/?p=mod&m=4617

This is AKS_BuffRemind: a mod that prints text in the middle of your screen and plays a sound when you are missing self-buffs. The bolded text is an important distinction in that it reminds you when the buffs are down. CT_Buffmod plays a sound when the buff is expiring but once it's gone, it's gone. (Yes, I know some other unit frame mods do this but not all of us want to use those other mods.)

Take AKS_BuffRemind from the link above and you'll need to do some surgery on it. ;)

Open \Games\World of Warcraft\Interface\AddOns\AKSBuffRemind\AKSBuffRem ind.lua and make the following changes:
-------------------
OPTIONAL (but highly recommended)
In function AKSBuffRemind:Timer, change the following line
dead = UnitIsGhost("player") or UnitIsDead("player")
to
dead = UnitIsGhost("player") or UnitIsDead("player") or IsResting()
to prevent warnings while in inns or capital cities
-------------------
OPTIONAL (you can find other sounds to use as the warning sound by replacing "QUESTADDED" with any of the sounds from this list: http://www.wowwiki.com/API_PlaySound )
In all functions (do a search/replace)
PlaySound("Deathbind Sound")
change to
PlaySound("QUESTADDED")
for personal preference
-------------------
REQUIRED (to make the soulstone reminder work for your main)
Right after:
[code:1]function AKSBuffRemind:ReadSpellBook()
local name
local i = 1
name = GetSpellName(i, BOOKTYPE_SPELL)
while name do
self:LoadSpellArray(name)
i = i + 1
name = GetSpellName(i, BOOKTYPE_SPELL)
end[/code:1]
Add this line:
self:LoadSpellArray("Soulstone Resurrection")
-------------------


The last change above adds the soulstone buff to the list of selectable buffs you can have it warn you about. :) Once you have these changes made, run the game, do a "/console reloadui" and then a "/br config" to enable warnings for the Soulstone Resurrection buff.

Hope someone finds this useful. It's a damn good mod for self/weapon buffs even if you don't care about the soulstone buff.

The IT Monkey
09-19-2007, 01:21 PM
Great find Ugh,
Haven't tried it yet. You only need to run this from your main right? Just checking.

Oh, and if you have a version that you have already hacked and wanted to pass it along to me I would be happy to host it on server for easy Dual-boxing.com member download.

I know most of us are pretty comfortable with code and hacking it up but just for the sake of those who aren't maybe for these special (multibox version) of these mods we should have our own code repository.

Just a thought.

-J (The IT Monkey)
www.theitmonkey.com

Ughmahedhurtz
09-19-2007, 01:57 PM
Yeah, lemme pull it together when I get home tonight.

Ughmahedhurtz
09-21-2007, 06:46 AM
OK, I've got a pre-modified package up for folks that don't want to mod this themselves. Not sure how often I'll keep it updated as I don't normally bother unless things are broken. :P

http://l00py.net/wow/AKSBuffRemind_SoulstoneMod.zip

The IT Monkey
09-21-2007, 02:05 PM
Yeah, think I'll try yours... I modified one myself....
Let's just say that "New Castle" + Monkey + Coding = Mod Not Working