Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(10 Kb)
Download
Updated: 08-18-10 10:48 AM
Pictures
File Info
Updated:08-18-10 10:48 AM
Created:08-04-10 07:49 AM
Downloads:2,161
Favorites:9
MD5:

oUF Anubis

Version: 1.4.2
by: Xruptor [More]

THIS ADDON IS OUTDATED! IT HAS BEEN ABANDONED! I DON'T PLAN TO UPDATE IT!


oUF_Anubis requires oUF 1.4 (or higher)!!

This layout is meant to be extremely small and efficient!

This layout is based off oUF_zp. I have made some heavy modifications to it. This is my personal layout, but I'm sharing it with the community. Suggestions are welcomed! Not all feature requests will be added.

Features

  • Several easy to modify settings.
  • Vehicle support.
  • Combo points support.
  • Druid power support.
  • AFK ,DND, OFFLINE and DEAD support.
  • Class, Level, Race, Classification identifiers supported.
  • LFD (Looking for Dungeon) Role icons supported.
  • Death Knight Runes supported.
  • Portraits are supported. (can be disabled in settings)
  • Health bars are colored by class.
  • Separate non-obtrusive bar with Health percent, total health, and total mana.
  • Player and Target casting bars supported.
  • Raid icons supported.
  • Party Leader, Master Looter, PVP, In Combat icons supported.
  • Target Buffs and Debuffs supported.
  • Automatic casting bar adjustments if the casting bar hasn't been moved by /anubis.
  • Checks for ROGUE and DRUID and move the debuffs on the target accordingly.

Slash Commands
  • /anubis (use this to move custom frames not support by oUF_MovableFrames)
    • Casting Bar Support

Supported Frames
  • Player
  • Pet
  • Target
  • Focus
  • Target Target
  • Party
  • Party Pets
  • Vehicle

Plugin Support
Move Frames
  • oUF_MovableFrames (Move all the frames!)
  • Use the slash command /anubis to move other frames not supported by oUF_MovableFrames


Settings
The settings can be found in AddOns\oUF_Anubis\oUF_Anubis.lua on the top.
--I'm NOT responsible for anything that gets broken visually if you edit these settings.
--If you are compelled to edit these settings, then do so at your own risk. I WILL NOT PROVIDE ASSISTANCE!!!


Code:
--Settings
--I'm NOT responsible for anything that gets broken visually if you edit these settings.
--If you are compelled to edit these settings, then do so at your own risk.  I WILL NOT PROVIDE ASSISTANCE!!!
local setScaleVal = 1
local playerTargetWidth = 220
local enableShortName = true
local shortNameLength = 15
local enablePartyFrames = true
local enablePartyPets = true
local showPlayerPortait = true
local showTargetPortait = true
local showPartyPortait = true
local showPlayerCastBar = false
local showTargetCastBar = true
local showTargetBuffs = true
local showTargetDebuffs = true
local maxNumTargetBuffs = 10
local maxNumTargetDebuffs = 40
local targetDebuffSize = 20
local targetBuffSize = 20
local playerCastBarPos = -60
local targetCastBarPos = -62
local spellRangeAlpha = 0.6
local partyFramesYOffset = -50
local partyPetXOffset = 118
local showBuffDebuffCooldowns = true

--enable oUF_CombatFeedback on the following frames
local cfs = {
	["player"] = true,
	["target"] = true,
	["pet"] = false,
	["focus"] = true,
	["targettarget"] = false,
	["party"] = true,
	["partypets"] = false,
}

oUF.colors.power = {
	["MANA"] = {26/255, 139/255, 255/255 },
	["RAGE"] = {255/255, 26/255, 48/255 },
	["FOCUS"] = {255/255, 150/255, 26/255 },
	["ENERGY"] = {255/255, 225/255, 26/255 },
	["HAPPINESS"] = {0.00, 1.00, 1.00 },
	["RUNES"] = {0.50, 0.50, 0.50 },
	["RUNIC_POWER"] = {0.00, 0.82, 1.00 },
	["AMMOSLOT"] = {0.80, 0.60, 0.00 },
	["FUEL"] = {0.0, 0.55, 0.5 },
}

oUF.colors.happiness = {
	[1] = {182/225, 34/255, 32/255},
	[2] = {220/225, 180/225, 52/225},
	[3] = {143/255, 194/255, 32/255},
}

oUF.colors.reaction = {
	[1] = {182/255, 34/255, 32/255},
	[2] = {182/255, 34/255, 32/255},
	[3] = {182/255, 92/255, 32/255},
	[4] = {220/225, 180/255, 52/255},
	[5] = {143/255, 194/255, 32/255},
	[6] = {143/255, 194/255, 32/255},
	[7] = {143/255, 194/255, 32/255},
	[8] = {143/255, 194/255, 32/255},
}

oUF.colors.smooth = { 1, 0, 0, 1, 1, 0, 1, 1, 1}
oUF.colors.runes = {{0.77, 0.12, 0.23};{0.70, 0.85, 0.20};{0.14, 0.50, 1};{.70, .21, 0.94};}

Special thanks to thatguyzp for oUF_zp. His layout gave me the inspiration to do oUF_Anubis. (I have contacted him and he gave me his approval to make these modifications.)
Special thanks to oUF_lily (Haste), and oUF_Lumen (neverg), lyn and p3lim's work.


You can view Alpha Builds at my Github tracker.

Version 1.4.2:
-Fixed an error with SmoothUpdate.

Version 1.4.1:
-Short names now enabled by default.

Version 1.4:
-Made the player and target frame shorter!
-Added the slash command /anubis to move around the casting bars if available.
-Added automatic casting bar adjustments if the casting bar hasn't been moved.
-Fixed an issue with debuff/buff background coloring and texture
-Changed maxNumTargetDebuffs to 40
-Added a setting to adjust target debuff size
-Added a setting to adjust target buff size
-Adjusted the default targetCastBarPos to reflect new changes.
-Added an option showBuffDebuffCooldowns.
-Added a setting to adjust the player/target frame size. (WARNING EDIT AT YOUR OWN PERIL)
-Added a setting to set the scale of all frames.
-Fixed a few random issues here and there.
-Added a toggle to enable short names.
-Added a setting for the short name length.
-Added checks for ROGUE and DRUID and move the debuffs on the target accordingly.
-Combo points should only be created if player is ROGUE or DRUID now.

Version 1.3:
-Fixed an issue with oUF_SmoothUpdate

Version 1.2:
-Fixed an issue with oUF_PowerSpark.
Optional Files (0)


Archived Files (5)
File Name
Version
Size
Author
Date
1.4.1
10kB
Xruptor
08-08-10 07:33 AM
1.4
10kB
Xruptor
08-06-10 12:32 PM
1.3
8kB
Xruptor
08-04-10 01:26 PM
1.2
8kB
Xruptor
08-04-10 10:50 AM
1.1
8kB
Xruptor
08-04-10 07:49 AM


Post A Reply Comment Options
Unread 08-04-10, 10:09 AM  
weasoug
A Flamescale Wyrmkin
 
weasoug's Avatar
AddOn Author - Click to view AddOns

Forum posts: 128
File comments: 313
Uploads: 15
Code:
Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:378: attempt to index global 'spark' (a nil value)
Count: 1

Call Stack:
[C]: ?
Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:378: in function <Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:372>
Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:881: in function `styleFunc'
Interface\AddOns\oUF\ouf.lua:448: in function <Interface\AddOns\oUF\ouf.lua:414>
(tail call): ?
Interface\AddOns\oUF\ouf.lua:675: in function `Spawn'
Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:900: in main chunk
a shame I wanted to take a look
Last edited by weasoug : 08-04-10 at 10:10 AM.
weasoug is offline Report comment to moderator  
Reply With Quote
Unread 08-04-10, 10:27 AM  
csamolot
A Kobold Labourer
 
csamolot's Avatar

Forum posts: 1
File comments: 19
Uploads: 0
Not loading

I wanted to try this layout as I loved the look of it unfortunatly it isn't loading at all. I still get blizz's original frames and I do have ouf loaded. I'm not getting any error messages at all so I don't know what's wrong.

Well I disabled all my addons but this one and it loads so now I need to track down which one(s) are preventing it from loading.
Last edited by csamolot : 08-04-10 at 10:41 AM.
csamolot is offline Report comment to moderator  
Reply With Quote
Unread 08-04-10, 10:46 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 583
Uploads: 37
Originally posted by csamolot
I wanted to try this layout as I loved the look of it unfortunatly it isn't loading at all. I still get blizz's original frames and I do have ouf loaded. I'm not getting any error messages at all so I don't know what's wrong.

Well I disabled all my addons but this one and it loads so now I need to track down which one(s) are preventing it from loading.
I need to know the error. It appears that one of your addons is prevent the oUF layout from loading. If this is your first time using one then that could be the issue. Otherwise I need to know what's causing the conflict. The layout is pretty simple.


Originally posted by weasoug
Code:
Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:378: attempt to index global 'spark' (a nil value)
Count: 1

Call Stack:
[C]: ?
Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:378: in function <Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:372>
Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:881: in function `styleFunc'
Interface\AddOns\oUF\ouf.lua:448: in function <Interface\AddOns\oUF\ouf.lua:414>
(tail call): ?
Interface\AddOns\oUF\ouf.lua:675: in function `Spawn'
Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:900: in main chunk
a shame I wanted to take a look
It's just an issue with oUF_PowerSpark. I'll put up a fix for it quick. Version 1.2 should fix the issue.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Last edited by Xruptor : 08-04-10 at 10:51 AM.
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 08-04-10, 11:18 AM  
csamolot
A Kobold Labourer
 
csamolot's Avatar

Forum posts: 1
File comments: 19
Uploads: 0
Error messages

Okay I disabled all addons but ouf and when I enabled each addon for ouf like ouf spark and ouf smooth I got errors one of which you noticed already from a previous post but here is the one with just ouf smooth and healcom added


Message: Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:235: attempt to call method 'SmoothBar' (a nil value)
Time: 08/04/10 13:16:31
Count: 1
Stack: Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:235: in function <Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:229>
Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:886: in function `styleFunc'
Interface\AddOns\oUF\ouf.lua:448: in function <Interface\AddOns\oUF\ouf.lua:414>
(tail call): ?
Interface\AddOns\oUF\ouf.lua:675: in function `Spawn'
Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:900: in main chunk

Locals: self = oUF_oUF_AnubisPlayer {
0 = <userdata>
Combat = <unnamed> {
}
__tags = <table> {
}
PLAYER_ENTERING_WORLD = <function> defined @Interface\AddOns\oUF\ouf.lua:315
Leader = <unnamed> {
}
unit = "player"
Resting = <unnamed> {
}
PARTY_LEADER_CHANGED = <function> defined @Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:129
RaidIcon = <unnamed> {
}
__elements = <table> {
}
PARTY_MEMBERS_CHANGED = <function> defined @Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:129
Power = <unnamed> {
}
HealCommOthersOnly = false
HealCommBar = <unnamed> {
}
allowHealCommOverflow = false
PostCreateAuraIcon = <function> defined @Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:208
LFDRole = <unnamed> {
}
PvP = <unnamed> {
}
style = "oUF_Anubis"
PARTY_LOOT_METHOD_CHANGED = <function> defined @Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:129
MasterLooter = <unnamed> {
}
Portrait = <unnamed> {
}
menu = <function> defined @Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:70
Health = <unnamed> {
}
}
(*temporary) = nil
(*temporary) = oUF_oUF_AnubisPlayer {
0 = <userdata>
Combat = <unnamed> {
}
__tags = <table> {
}
PLAYER_ENTERING_WORLD = <function> defined @Interface\AddOns\oUF\ouf.lua:315
Leader = <unnamed> {
}
unit = "player"
Resting = <unnamed> {
}
PARTY_LEADER_CHANGED = <function> defined @Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:129
RaidIcon = <unnamed> {
}
__elements = <table> {
}
PARTY_MEMBERS_CHANGED = <function> defined @Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:129
Power = <unnamed> {
}
HealCommOthersOnly = false
HealCommBar = <unnamed> {
}
allowHealCommOverflow = false
PostCreateAuraIcon = <function> defined @Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:208
LFDRole = <unnamed> {
}
PvP = <unnamed> {
}
style = "oUF_Anubis"
PARTY_LOOT_METHOD_CHANGED = <function> defined @Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:129
MasterLooter = <unnamed> {
}
Portrait = <unnamed> {
}
menu = <function> defined @Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:70
Health = <unnamed> {
}
}
(*temporary) = <unnamed> {
0 = <userdata>
}
(*temporary) = "attempt to call method 'SmoothBar' (a nil value)"
csamolot is offline Report comment to moderator  
Reply With Quote
Unread 08-04-10, 11:26 AM  
weasoug
A Flamescale Wyrmkin
 
weasoug's Avatar
AddOn Author - Click to view AddOns

Forum posts: 128
File comments: 313
Uploads: 15
your update worked on PowerSpark

but not SmoothBar

Code:
Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:233: attempt to call method 'SmoothBar' (a nil value)
Count: 1

Call Stack:
[C]: in function `SmoothBar'
Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:233: in function <Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:229>
Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:886: in function `styleFunc'
Interface\AddOns\oUF\ouf.lua:448: in function <Interface\AddOns\oUF\ouf.lua:414>
(tail call): ?
Interface\AddOns\oUF\ouf.lua:675: in function `Spawn'
Interface\AddOns\oUF_Anubis\oUF_Anubis.lua:902: in main chunk
i have added all the other plugins your "support" that seems to be the last of the errors. from the plug ins. totembar not sure. but not errors on load.
Last edited by weasoug : 08-04-10 at 11:33 AM.
weasoug is offline Report comment to moderator  
Reply With Quote
Unread 08-04-10, 01:27 PM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 583
Uploads: 37
Update:
Fixed an issue with oUF_SmoothUpdate in 1.3
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 08-04-10, 01:58 PM  
weasoug
A Flamescale Wyrmkin
 
weasoug's Avatar
AddOn Author - Click to view AddOns

Forum posts: 128
File comments: 313
Uploads: 15
not getting any errors now.

good job on the layout. i cant wait to see what you do to this.

a few things I would like to see.

castbar may need a better place.
player buffs/debuffs (one I would like to see)
party buff.debuffs.
party pet maybe moved. with a taget or a tank target maybe at lest. for them Raids hehe.
shorter frames
maybe a shortname tag also. "for them long names npc's and mob's

debuffs needs to come up a bit. see photo



"is this low due to make space for the rune and such bars.
if so maybe add a "if" doe them. but not a big deal.

look forward to a real update. hehe.
Last edited by weasoug : 08-04-10 at 01:59 PM.
weasoug is offline Report comment to moderator  
Reply With Quote
Unread 08-04-10, 02:23 PM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 583
Uploads: 37
Originally posted by weasoug
not getting any errors now.

good job on the layout. i cant wait to see what you do to this.

a few things I would like to see.

castbar may need a better place.
player buffs/debuffs (one I would like to see)
party buff.debuffs.
party pet maybe moved. with a taget or a tank target maybe at lest. for them Raids hehe.
shorter frames
maybe a shortname tag also. "for them long names npc's and mob's

debuffs needs to come up a bit. see photo



"is this low due to make space for the rune and such bars.
if so maybe add a "if" doe them. but not a big deal.

look forward to a real update. hehe.
It's for the combo bar yeah. I can add checks for it later I guess. Spacing never really seemed that far apart on my monitor. Then again I run at a ridiculously huge resolution lol.

Party Debuffs are active. Party buffs are not.

You can move the frames using oUF_MovableFrames. This includes the party pets I think.

I don't think I'm going to shorten the frames. I guess it would be nice. But I seriously don't want to add every feature request or option. Things get bloated and then I end up with a layout that isn't the one I normally had. I do take suggestions, but since is this is my personal layout I may not incorporate everything. However, I'll keep the shorter frames in mind.

>.> I guess I could add shortname. Will look into it. Can't promise you though.

BTW thanks I'm glad the errors were resolved. I intend to add some updates and such to the layout little by little. So keep looking from time to time. I'm going to finish off the raid frames
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Last edited by Xruptor : 08-04-10 at 02:25 PM.
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 08-04-10, 02:57 PM  
csamolot
A Kobold Labourer
 
csamolot's Avatar

Forum posts: 1
File comments: 19
Uploads: 0
Awesome!!

No more errors here either!!. Great layout!! Keep up the great work!
csamolot is offline Report comment to moderator  
Reply With Quote
Unread 08-04-10, 03:08 PM  
weasoug
A Flamescale Wyrmkin
 
weasoug's Avatar
AddOn Author - Click to view AddOns

Forum posts: 128
File comments: 313
Uploads: 15
like i said i was just pointing out a few things,. i cant wait for the raid frames. as ive been putting off any pvp till then. as I like to play a layout for a week.

so updates are good. keeps me busy. since my accident.

but i would like to see an option for the player buffs.

and the short npc mob names you should take a look at Dawns oUF Nivea
As that has what you could look over. in her tag lua.

all the best.

ps. i like as just like one of my 1st layouts. before pearl came out. its gone now. to out of date. i never did one like it with Ouf. as my ouf layout did not last to long. always the way when others come out wiht somthing better. so all you can do. is go with it hehe
weasoug is offline Report comment to moderator  
Reply With Quote
Unread 08-04-10, 03:12 PM  
Jabar
Premium Member
 
Jabar's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 40
Uploads: 1
If you want to achieve very easily a "shortname" effect, you can just put a SetPoint("RIGHT",...) to your name's FontString.
It's just one line in your code.
Last edited by Jabar : 08-04-10 at 03:14 PM.
Jabar is offline Report comment to moderator  
Reply With Quote
Unread 08-04-10, 03:17 PM  
weasoug
A Flamescale Wyrmkin
 
weasoug's Avatar
AddOn Author - Click to view AddOns

Forum posts: 128
File comments: 313
Uploads: 15
Originally posted by Jabar
If you want to achieve very easily a "shortname" effect, you can just put a SetPoint("RIGHT",...) to your name's FontString.
It's just one line in your code.
ahh there he is. been hiding there Jabar. not seen you about for a few days or more.

that is a good way indeed ""sh dont tell anyone"
weasoug is offline Report comment to moderator  
Reply With Quote
Unread 08-04-10, 03:59 PM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 583
Uploads: 37
Originally posted by Jabar
If you want to achieve very easily a "shortname" effect, you can just put a SetPoint("RIGHT",...) to your name's FontString.
It's just one line in your code.
Yeah was already working on that actually. Was putting a setting for it though Thanks!
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 08-05-10, 08:51 AM  
Xruptor
A Black Drake
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 87
File comments: 583
Uploads: 37
Originally posted by weasoug
not getting any errors now.

castbar may need a better place.
player buffs/debuffs (one I would like to see)
party buff.debuffs.
party pet maybe moved. with a taget or a tank target maybe at lest. for them Raids hehe.
shorter frames
maybe a shortname tag also. "for them long names npc's and mob's

debuffs needs to come up a bit. see photo
Working on version 1.4 updates. So far I've added the following.
-Shorter Names (disabled on default, check oUF_Anubis.lua for settings)
-Target debuffs are now positioned properly based if the player is a ROGUE/DRUID and if the DRUID is in catform.


Not really sure how to tackle player debuffs/buffs since positioning on the player frame can be messy. I don't like things being cluttered together. It drives me crazy. So if I'm going to implement this I need to figure out proper placements that look attractive and don't screw up the player frame.

The party debuffs already work :P The party buffs do not. Again not sure how to tackle this without putting in a clutter-fest of crap. Thinking of adding that tooltip that blizzard uses to show you buffs on the party frame.

You can move the party pets and pretty much any frame with oUF_MovableFrame.

I'm working on shorter frames. It's experimental and I'm disabling it by default.

Also working on a better way to do settings. That stay regardless of oUF layout updates That way people don't have to constantly edit the .lua. So expect this soonish.

As always....
You can view Alpha Builds at my Github tracker.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Last edited by Xruptor : 08-05-10 at 08:52 AM.
Xruptor is offline Report comment to moderator  
Reply With Quote
Unread 08-05-10, 11:14 AM  
Tagnar31
A Kobold Labourer
 
Tagnar31's Avatar

Forum posts: 0
File comments: 21
Uploads: 0
Aye

Yes it would be good to keep this OuF layout as clutter free as possible(the clutter being the main reason why I don't use Xperl or SuF)...however I would like to be there a options to set the target's DEBUFFS size....the way the debuffs are on your Ouf layout is anoiyngly....microscopic
I would like to see a options to increase the size of them with a debuff scaler in .lua. Thank you in advance
Last edited by Tagnar31 : 08-05-10 at 11:16 AM.
Tagnar31 is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: