Download
(2Kb)
Download
Updated: 01-25-09 01:46 AM
Pictures
File Info
Updated:01-25-09 01:46 AM
Created:01-22-09 08:49 PM
Downloads:1,612
Favorites:1
MD5:

Presence Check

Version: 1.1
by: Jelly [More]

This addon was created for people like, well, me. People don't want their stance bar shown but still want to be able to tell what stance they're in at a glance. I apologize for the zip as well as the files being called "Presence Change" however, originally I had planned on making it so when you right clicked the icon, it would scroll through your presences however, that's beyond my current ability (nor do I have time to learn this very second, with school and what not).

If you can give me a quicky tutorial on how to do it, by all means, message me and we'll get it working ... or just do it and upload it here.

If you rip the addon apart, I apologize for the code not being very pretty but it is functional. <3

/pcheck
/presencecheck

The frame is movable and in the screenshot, it's right above my mount's head and will change based on your (SURPRISE SURPRISE) presence.

Removed lots of spammy messages to chat.
Optional Files (0)


Post A Reply Comment Options
Unread 03-12-09, 05:18 PM  
Mike-N-Go
A Theradrim Guardian
 
Mike-N-Go's Avatar
AddOn Author - Click to view AddOns

Forum posts: 68
File comments: 147
Uploads: 18
Some recommendations

A few recommendations to the author:
1) Use a custom scrolling combat text, like MSBT, or the default UI errors frame for the messages; the chat frame has enough chat.

Here is a code sniplit from my Extended Shutdown Warning that uses MSBT. Note how it prefers MSBT if the user has it over the UIErrorsFrame. If you do use it, just give me a comment credit "--Code originally from Extended Shutdown Warning's ESW:ScrollingText() by MikeNGo" in your addon code.
Code:
function ESW:ScrollingText(message)
	if (MikSBT and (not (MikSBT.IsModDisabled()))) then
		MikSBT.DisplayMessage(message)
	else
		UIErrorsFrame:AddMessage(message)
	end
end
2) Instead of how you have it, use LDB text or icon. This is not too difficult, but is outside of the scope of my reply to explain and it would be simpler for me to code that into the addon in 10 minutes instead of explain it. Hit up the WoWUIDev IRC, forms, or search to see how to use LDB.
__________________
Currently contemplating coming back to Authorship.. been away for years. Please let me know you care, by commenting on what addon(s) of mine you want to see updated.

Author of Daily Bean Counter, MyNameTogglesWhenIAFKorDND, Extended Shutdown Warning, Auto Mail Director, Duel Nullify, Spec Transmiter, Say Again, Window Teller, Who Crafts, Ad Repeater, Privy Cork, Mac Backup, and more.
Report comment to moderator  
Reply With Quote
Unread 03-12-09, 05:18 PM  
Mike-N-Go
A Theradrim Guardian
 
Mike-N-Go's Avatar
AddOn Author - Click to view AddOns

Forum posts: 68
File comments: 147
Uploads: 18
To turn off text notifications.

Originally posted by omeglidan
I think this is a great start. There is however one problem that i'm running into with this mod: By default when I load game the icon is essentially blank. Only when I manually switch to another presence does the icon switch to the corresponding aura.

Also wish I could turn off the text notification.
You can turn off the text notification yourself.
1) Open up PresenceChange.lua in a text editor
2) Find the DEFAULT_CHAT_FRAME:AddMessage() functions on lines 26, 29, 32, 39, 42, 45. DEFAULT_CHAT_FRAME:AddMessage() is what you want to disable/remove.
3) One way to disable them is to comment them out; put a double hyphen so each line with said function looks like:
Code:
--DEFAULT_CHAT_FRAME:AddMessage(...)
4) Save the file

When you log into WoW, you will no longer see the messages.


I have not used this addon, but by looking at the code, I see it announces what presence you are in when you change it. Isn't that redundant? If I pressed the button to change to Unholy Presence, I would already know I was in Unholy Presence..

Edit: Grammar
__________________
Currently contemplating coming back to Authorship.. been away for years. Please let me know you care, by commenting on what addon(s) of mine you want to see updated.

Author of Daily Bean Counter, MyNameTogglesWhenIAFKorDND, Extended Shutdown Warning, Auto Mail Director, Duel Nullify, Spec Transmiter, Say Again, Window Teller, Who Crafts, Ad Repeater, Privy Cork, Mac Backup, and more.
Last edited by Mike-N-Go : 03-12-09 at 05:19 PM.
Report comment to moderator  
Reply With Quote
Unread 01-31-09, 06:22 AM  
omeglidan
A Kobold Labourer

Forum posts: 0
File comments: 86
Uploads: 0
I think this is a great start. There is however one problem that i'm running into with this mod: By default when I load game the icon is essentially blank. Only when I manually switch to another presence does the icon switch to the corresponding aura.

Also wish I could turn off the text notification.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: