Addon Info.
Change Log
Comments (20)
  Category: Outdated Mods
Addon Information
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
p3lim's Portal Bug Reports Feature Requests

This file is a Addon for oUF by haste. You must have that installed before this Addon will work.

Author:
Version:
20400.11
Date:
09-15-2008 10:24 AM
Size:
5.99 Kb
Downloads:
2,090
Favorites:
41
MD5:
Pictures
oUF DruidMana   Popular!
NO UPDATES FOR 3.0
Add this to your layout instead!
Code:
local function PreUpdatePower(self, event, unit)
	ifi(self.unit ~= 'player') then return end

	local _, powertype = UnitPowerType('player')
	local min = UnitPower('player', SPELL_POWER_MANA)
	local max = UnitPowerMax('player', SPELL_POWER_MANA)

	self.DruidMana:SetMinMaxValues(0, max)
	self.DruidMana:SetValue(min)

	if(min ~= max) then
		self.DruidMana.Text:SetFormattedText('%d%%', math.floor(min / max * 100))
	else
		self.DruidMana.Text:SetText()
	end

	self.DruidMana:SetAlpha((powertype ~= 0) and 1 or 0)
	self.DruidMana.Text:SetAlpha((powertype ~= 0) and 1 or 0)
end
  Change Log - oUF DruidMana
30000.12-Beta:
- Removed LibDruidMana
- Reworked for 3.0 changes

20400.11:
- Fixed error

20400.10:
- Fixed load errors

20400.8:
- Fixed so you can use only text

20400.4:
- Fixed folder structure for *nix

20400.3:
- Initial commit
  Comments - oUF DruidMana
Post A Reply
Author Comments Comment Options
Old 10-01-2008, 09:29 AM  
p3lim
A Chromatic Dragonspawn
 
p3lim's Avatar
Interface Author - Click to view interfaces

Forum posts: 181
File comments: 494
Uploads: 16
Quote:
Originally posted by Aranarth
You can now call UnitPower("player", SPELL_POWER_MANA) and UnitPowerMax("player", SPELL_POWER_MANA) inside the UNIT_MANA event when in cat/bear form. No need for LibDruidMana-1.0 anymore. Enjoy

EDIT: sorry i thought it was a WotLK addon :P
This addon is not updated to 3.0 (yet), but thanks for the heads up

Last edited by p3lim : 10-01-2008 at 09:31 AM.
p3lim is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-30-2008, 09:52 PM  
Aranarth
A Deviate Faerie Dragon
 
Aranarth's Avatar
Interface Author - Click to view interfaces

Forum posts: 10
File comments: 48
Uploads: 1
You can now call UnitPower("player", SPELL_POWER_MANA) and UnitPowerMax("player", SPELL_POWER_MANA) inside the UNIT_MANA event when in cat/bear form. No need for LibDruidMana-1.0 anymore. Enjoy

EDIT: sorry i thought it was a WotLK addon :P

Last edited by Aranarth : 09-30-2008 at 09:56 PM.
Aranarth is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-22-2008, 10:39 AM  
p3lim
A Chromatic Dragonspawn
 
p3lim's Avatar
Interface Author - Click to view interfaces

Forum posts: 181
File comments: 494
Uploads: 16
Quote:
Originally posted by Shirk
Your oUF P3lim update fixed it. I just assumed it was from the oUF DruidMana update.
Nope, oUF P3lim had a faulty string.

http://www.wowinterface.com/download...html#changelog
p3lim is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-22-2008, 02:35 AM  
Shirk
A Murloc Raider

Forum posts: 3
File comments: 17
Uploads: 0
Your oUF P3lim update fixed it. I just assumed it was from the oUF DruidMana update.

Last edited by Shirk : 09-22-2008 at 02:36 AM.
Shirk is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-21-2008, 08:54 AM  
p3lim
A Chromatic Dragonspawn
 
p3lim's Avatar
Interface Author - Click to view interfaces

Forum posts: 181
File comments: 494
Uploads: 16
That was an issue with oUF P3lim, not DruidMana. If you're not using oUF P3lim then I don't know whats your issue
p3lim is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-21-2008, 05:26 AM  
Shirk
A Murloc Raider

Forum posts: 3
File comments: 17
Uploads: 0
Hey p3lim, ever since r11 my mana percentage text has been blacked out.
Shirk is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-15-2008, 10:01 AM  
p3lim
A Chromatic Dragonspawn
 
p3lim's Avatar
Interface Author - Click to view interfaces

Forum posts: 181
File comments: 494
Uploads: 16
Quote:
Originally posted by Quokka
there is a error in r10

Interface\AddOns\oUF_DruidMana\oUF_DruidMana.lua:5: Attempt to find 'this' in non-table object (used '.' instead of ':' ?)
[C]: ?
[C]: in function `?'
Interface\AddOns\oUF_DruidMana\oUF_DruidMana.lua:5: in function <Interface\AddOns\oUF_DruidMana\oUF_DruidMana.lua:4>
Interface\AddOns\oUF_DruidMana\oUF_DruidMana.lua:11: in function `?'
Interface\AddOns\oUF\ouf.lua:82: in function <Interface\AddOns\oUF\ouf.lua:80>
Incoming update
p3lim is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-15-2008, 04:02 AM  
Quokka
A Theradrim Guardian
Interface Author - Click to view interfaces

Forum posts: 65
File comments: 56
Uploads: 4
there is a error in r10

Interface\AddOns\oUF_DruidMana\oUF_DruidMana.lua:5: Attempt to find 'this' in non-table object (used '.' instead of ':' ?)
[C]: ?
[C]: in function `?'
Interface\AddOns\oUF_DruidMana\oUF_DruidMana.lua:5: in function <Interface\AddOns\oUF_DruidMana\oUF_DruidMana.lua:4>
Interface\AddOns\oUF_DruidMana\oUF_DruidMana.lua:11: in function `?'
Interface\AddOns\oUF\ouf.lua:82: in function <Interface\AddOns\oUF\ouf.lua:80>
Quokka is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-14-2008, 07:10 AM  
p3lim
A Chromatic Dragonspawn
 
p3lim's Avatar
Interface Author - Click to view interfaces

Forum posts: 181
File comments: 494
Uploads: 16
Quote:
Originally posted by manix
Just one thing - If you wonder why the hell the druid mana bar is not showing, then you have to set some texture at that line:
Code:
self.DruidMana:SetStatusBarTexture(texture)
Its kinda obvious, and its only used as an example.
p3lim is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-13-2008, 11:31 AM  
manix
A Murloc Raider
 
manix's Avatar
Interface Author - Click to view interfaces

Forum posts: 5
File comments: 7
Uploads: 2
Just one thing - If you wonder why the hell the druid mana bar is not showing, then you have to set some texture at that line:
Code:
self.DruidMana:SetStatusBarTexture(texture)
manix is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-29-2008, 05:44 PM  
p3lim
A Chromatic Dragonspawn
 
p3lim's Avatar
Interface Author - Click to view interfaces

Forum posts: 181
File comments: 494
Uploads: 16
Quote:
Originally posted by yoyoo
Could you upload an older release please?
No, I dont have local backups of older files, try going back in the SVN changelog files to find the code you wish.
p3lim is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-29-2008, 05:11 PM  
yoyoo
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Could you upload an older release please?
yoyoo is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-29-2008, 03:31 PM  
eiszeit
A Deviate Faerie Dragon
 
eiszeit's Avatar
Interface Author - Click to view interfaces

Forum posts: 19
File comments: 167
Uploads: 9
Quote:
Originally posted by p3lim
Keep in mind that this addon is optimized for oUF v1.1, not the current stable release
okay, then I know why it doesnt work for me and yooyoo (or how he is called)
__________________
Jesus: "I can offer you eternal Salvation."
Disciples: "Can I get Might or Kings instead?"
eiszeit is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-29-2008, 03:06 PM  
p3lim
A Chromatic Dragonspawn
 
p3lim's Avatar
Interface Author - Click to view interfaces

Forum posts: 181
File comments: 494
Uploads: 16
Quote:
Originally posted by eiszeit
Tested it with:

oUF_Lyn - newest from wowi
oUF_DruidMana - newest from wowi
and oUF - newest from wowi

It just doesn't show anything. When I use the code you provide in the description of this plugin, it throws out an error

Code:
layout.lua:614 attempt to index field 'DruidMana' (nil value)
Dunno why it doesn't shows up anything.

Bad thing is: I am away whole saturday.. so can't fix it myself. :/
Keep in mind that this addon is optimized for oUF v1.1, not the current stable release
p3lim is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-29-2008, 01:28 PM  
eiszeit
A Deviate Faerie Dragon
 
eiszeit's Avatar
Interface Author - Click to view interfaces

Forum posts: 19
File comments: 167
Uploads: 9
Tested it with:

oUF_Lyn - newest from wowi
oUF_DruidMana - newest from wowi
and oUF - newest from wowi

It just doesn't show anything. When I use the code you provide in the description of this plugin, it throws out an error

Code:
layout.lua:614 attempt to index field 'DruidMana' (nil value)
Dunno why it doesn't shows up anything.

Bad thing is: I am away whole saturday.. so can't fix it myself. :/
__________________
Jesus: "I can offer you eternal Salvation."
Disciples: "Can I get Might or Kings instead?"

Last edited by eiszeit : 08-29-2008 at 01:37 PM.
eiszeit is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:



The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOUI | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


MMOInterface.com Copyright ©2008
World of Warcraft is a registered Trademark of Blizzard Entertainment.
vBulletin - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.