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,686
Favorites:
32
MD5:
Pictures
oUF DruidMana
NO UPDATES FOR 3.0
Add this to your layout instead!
Code:
local function PreUpdatePower(self, event, unit)
	if(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 Comment Options
Old 11-04-2009, 08:27 AM  
leizeQ
A Kobold Labourer
 
leizeQ's Avatar

Forum posts: 1
File comments: 45
Uploads: 1
minor bugs

hi, i was building an ouf layout and found two bugs in the druidmana config in description:

1. there is 'ifi' in place of 'if'
2. UnitPowerType funtion now returns powerType as the first argument so you have to remove the _, in the row where its used

edit: now its updated

Last edited by leizeQ : 11-05-2009 at 03:58 AM.
leizeQ is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-01-2008, 09:29 AM  
p3lim
A Molten Giant
 
p3lim's Avatar
Interface Author - Click to view interfaces

Forum posts: 558
File comments: 838
Uploads: 19
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 offline 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: 12
File comments: 208
Uploads: 6
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 Molten Giant
 
p3lim's Avatar
Interface Author - Click to view interfaces

Forum posts: 558
File comments: 838
Uploads: 19
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 offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-22-2008, 02:35 AM  
Shirk
A Defias Bandit

Forum posts: 3
File comments: 24
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 Molten Giant
 
p3lim's Avatar
Interface Author - Click to view interfaces

Forum posts: 558
File comments: 838
Uploads: 19
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 offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-21-2008, 05:26 AM  
Shirk
A Defias Bandit

Forum posts: 3
File comments: 24
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 Molten Giant
 
p3lim's Avatar
Interface Author - Click to view interfaces

Forum posts: 558
File comments: 838
Uploads: 19
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 offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-15-2008, 04:02 AM  
Quokka
A Warpwood Thunder Caller
Interface Author - Click to view interfaces

Forum posts: 90
File comments: 83
Uploads: 9
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 Molten Giant
 
p3lim's Avatar
Interface Author - Click to view interfaces

Forum posts: 558
File comments: 838
Uploads: 19
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 offline 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: 7
File comments: 11
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 Molten Giant
 
p3lim's Avatar
Interface Author - Click to view interfaces

Forum posts: 558
File comments: 838
Uploads: 19
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 offline 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 Fallenroot Satyr
 
eiszeit's Avatar
Interface Author - Click to view interfaces

Forum posts: 29
File comments: 200
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)
__________________
IF HOME IS WHERE THE HEART IS... WHERE DO YOU GO WHEN YOU DON'T HAVE A HEART?
ALSO KNOWN AS: LYN
eiszeit is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-29-2008, 03:06 PM  
p3lim
A Molten Giant
 
p3lim's Avatar
Interface Author - Click to view interfaces

Forum posts: 558
File comments: 838
Uploads: 19
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 offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.




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


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.