GithubHelp home page GithubHelp logo

ouf's People

Contributors

adirelle avatar bastianh avatar belzaru17 avatar clamsoda avatar dependabot[bot] avatar drae avatar ennie avatar evl avatar freebaser avatar gethe avatar github-actions[bot] avatar haste avatar j4kubs avatar jabernat avatar jukx avatar ls- avatar manriel avatar memborsky avatar nevcairiel avatar p3lim avatar phanx avatar pondidum avatar rainrider avatar sbaildon avatar tekkub avatar thatmemedk avatar turkoid avatar wetxius avatar zariel avatar zorker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ouf's Issues

(Death)runes not updating properly

the rune module works fine as long as no deathrunes are created. when deathrunes are created the runes fill up and dont show their cooldown anymore. if they are used they revert to the color they used to have but do not regain their ability to track cooldowns.

realUnit

realUnit in tags always return nil.

LFDRole API changes (Cataclysm)

Cataclysm has changed the API for UnitGroupRolesAssigned(unit)

the new API is:
role = UnitGroupRolesAssigned(Unit)

the return value role is of type string, with possible values of "NONE", "TANK", "HEALER", "DAMAGER"

(return values are what I have seen on the beta and read in Blizzard UI code)

Issues with runebar module

Interface\AddOns\oUF\elements\runebar.lua:94: CreateFrame: Couldn't find 'this' in parent object

[C]: ?
[C]: in function `CreateFrame'
Interface\AddOns\oUF\elements\runebar.lua:94: in function `enable'
Interface\AddOns\oUF\ouf.lua:442: in function `EnableElement'
Interface\AddOns\oUF\ouf.lua:289: in function <Interface\AddOns\oUF\ouf.lua:231>
Interface\AddOns\oUF\ouf.lua:307: in function <Interface\AddOns\oUF\ouf.lua:304>
Interface\AddOns\oUF\ouf.lua:357: in function `Spawn'

Got this while trying to spawn a simple runebar.

There are also other issues that are to be brought up with this module, see other issues

Blizzard Raid Frame Show in raid.

Party and Raid seem to work fine now with your lastest commits.

Now, Blizzard raid frame are show while in raid, the container frame is named "CompactRaidFrameContainer". There is also a "CompactRaidFrameManager" frame show with the container.

edit: also clicking party/raid unit to target it seem to work randomly. Sometime we need to click it 2, 3 or 4 times before targeting it.

Runebar not updating

As the title says, using runes doesnt update it.

On a side note, shouldn't it be .Runes instead of .runes, to match the rest of the elements?

Castbar.casting / Castbar.channeling for the units with suffix.

Could you add some checks like this?

local castbar = self.Castbar
local name, rank, text, texture, startTime, endTime, _, castid, interrupt = UnitCastingInfo(unit)
if(not name) then
    castbar.casting = nil -- here!
    castbar:Hide()
    return
end

It seems units with suffix (ex. targettarget, focustarget) need it.

1.4 tag bug

According to the new code, tag syntax is [prefix>tagname<suffix], where it was [(prefix)tagname(suffix)] with 1.3. So [( <)status(>)] should now be written [ <>status<>]. This fails, oUF keeps telling me the tag is invalid. I suspect the getTagName function not to be robust enough to handle it.

I'd think a pattern like ^%[(.-)>(.-)<(.-)%]$ would help parsing these tags but this is not what is used.

New UNIT_CONNECTION event (Cataclysm)

From official Blizz change announcement:

  • The new event UNIT_CONNECTION is fired if a unit comes back online after a disconnect.

This new event can be registered for elements that check UnitIsConnected to give improved feedback

Portrait issue with ouf 1.3.28

What steps will reproduce the problem?

  1. Target for example a male Royal Dreadguard
  2. Switch target to a female Royal Dreadguard
  3. The Portrait is still the one from the male guard

What version of the product are you using?
ouf 1.3.28 tested with ouf_Adirelle and ouf_Nivaya

Please provide any additional information below.
The problem occurs only on targets that have the same name but different races, gender etc.

['perhp'] and ['perpp'] use Max/Max

['perhp'] and ['perpp'] in tags.lua call UnitHealthMax(u) and UnitPowerMax(u) twice, comparing it to itself, rather than UnitHealth(u) and UnitPower(u) respectively.

Branches: 1.4, experimental

-- Thrae

Target of Target Hide Code in 3.3

You may have already seen this but I figured I would post something just to make sure. In the 3.3 patch the code from line 185-192 in oUF.lua to hide the Target of Target frame will no longer be needed and will create an error if unchanged. I tested it out just by commenting out the code and it is working fine without it.

Latest bug fix breaks auras

Since the latest bug fix addressing aura issues, the 'aura' buff mode (combining buffs and debuffs) is no longer functional. It will only display debuffs, not buffs.

various issues in runebar module

line 82: trying to get width of a table
line 83: trying to get height of a table
line 84: trying to get texture out of a texture

Thats just the ones I found now

Repeated error in raids

I get the following error occasionally while in raids, only tested in Wintergrasp so far though. The error is triggered at seemingly a random moment and continues to stack rapidly until a reload.

As you can see I've embedded oUF but I've done it properly and that's never given me issues before. I don't think the error is in my layout, I've updated it according to your example in oUF_Lily.

Message: Interface\AddOns!FreeUI\oUF\ouf.lua:112: attempt to call field '?' (a nil value)
Time: Sat Oct 16 14:52:10 2010
Count: 900
Stack: Interface\AddOns!FreeUI\oUF\ouf.lua:112: in function <Interface\AddOns!FreeUI\oUF\ouf.lua:110>

Locals: self = oUF_FreePartyRaidUnitButton24 {
0 =
MasterLooter = {
}
PARTY_LOOT_METHOD_CHANGED = defined @interface\AddOns!FreeUI\oUF\elements\masterlooter.lua:30
ReadyCheck = {
}
Leader = {
}
UNIT_SPELLCAST_CHANNEL_START = defined @interface\AddOns!FreeUI\oUF\elements\castbar.lua:166
UNIT_SPELLCAST_INTERRUPTIBLE = defined @interface\AddOns!FreeUI\oUF\elements\castbar.lua:100
disallowVehicleSwap = false
Power = {
}
DebuffHighlight = {
}
Health = {
}
RAID_TARGET_UPDATE = defined @interface\AddOns!FreeUI\scripts\unitframes.lua:200
UNIT_SPELLCAST_START = defined @interface\AddOns!FreeUI\oUF\elements\castbar.lua:15
unit = "raid23"
UNIT_SPELLCAST_DELAYED = defined @interface\AddOns!FreeUI\oUF\elements\castbar.lua:128
PARTY_LEADER_CHANGED = defined @interface\AddOns!FreeUI\oUF\elements\leader.lua:13
UNIT_SPELLCAST_STOP = defined @interface\AddOns!FreeUI\oUF\elements\castbar.lua:148
UNIT_SPELLCAST_CHANNEL_STOP = defined @interface\AddOns!FreeUI\oUF\elements\castbar.lua:235
UNIT_FACTION =

{
}
PARTY_MEMBERS_CHANGED =
{
}
Threat = {
}
Range =
{
}
__tags =
{
}
id = "23"
UNIT_SPELLCAST_CHANNEL_UPDATE = defined @interface\AddOns!FreeUI\oUF\elements\castbar.lua:212
UNIT_SPELLCAST_INTERRUPTED = defined @interface\AddOns!FreeUI\oUF\elements\castbar.lua:82
bg = {
}
UNIT_SPELLCAST_NOT_INTERRUPTIBLE = defined @interface\AddOns!FreeUI\oUF\elements\castbar.lua:114
__elements =
{
}
colors =
{
}
Castbar = {
}
RIcon = {
}
menu = defined @interface\AddOns!FreeUI\scripts\unitframes.lua:26
style = "Free - Party"
UNIT_SPELLCAST_FAILED = defined @interface\AddOns!FreeUI\oUF\elements\castbar.lua:64
}
event = "UNIT_AURA"
(_temporary) = nil
(_temporary) = oUF_FreePartyRaidUnitButton24 {
0 =
MasterLooter = {
}
PARTY_LOOT_METHOD_CHANGED = defined @interface\AddOns!FreeUI\oUF\elements\masterlooter.lua:30
ReadyCheck = {
}
Leader = {
}
UNIT_SPELLCAST_CHANNEL_START = defined @interface\AddOns!FreeUI\oUF\elements\castbar.lua:166
UNIT_SPELLCAST_INTERRUPTIBLE = defined @interface\AddOns!FreeUI\oUF\elements\castbar.lua:100
disallowVehicleSwap = false
Power = {
}
DebuffHighlight = {
}
Health = {
}
RAID_TARGET_UPDATE = defined @interface\AddOns!FreeUI\scripts\unitframes.lua:200
UNIT_SPELLCAST_START = defined @interface\AddOns!FreeUI\oUF\elements\castbar.lua:15
unit = "raid23"
UNIT_SPELLCAST_DELAYED = defined @interface\AddOns!FreeUI\oUF\elements\castbar.lua:128
PARTY_LEADER_CHANGED = defined @interface\AddOns!FreeUI\oUF\elements\leader.lua:13
UNIT_SPELLCAST_STOP = defined @interface\AddOns!FreeUI\oUF\elements\castbar.lua:148
UNIT_SPELLCAST_CHANNEL_STOP = defined @interface\AddOns!FreeUI\oUF\elements\castbar.lua:235
UNIT_FACTION =
{
}
PARTY_MEMBERS_CHANGED =
{
}
Threat = {
}
Range =
{
}
__tags =
{
}
id = "23"
UNIT_SPELLCAST_CHANNEL_UPDATE = defined @interface\AddOns!FreeUI\oUF\elements\castbar.lua:212
UNIT_SPELLCAST_INTERRUPTED = defined @interface\AddOns!FreeUI\oUF\elements\castbar.lua:82
bg = {
}
UNIT_SPELLCAST_NOT_INTERRUPTIBLE = defined @interface\AddOns!FreeUI\oUF\elements\castbar.lua:114
__elements =
{
}
colors =
{
}
Castbar = {

An layout option for faster updates of invalid units.

There are certain bosses like The Lich King, which switch targets only for a fraction of a second (0.5 in LK's case). Now with bad fps and oUFs current 0.5s OnUpdate it's possible that a target-switch doesn't show up on the targettarget-frame.

I would propose an unit-specific option for layouts to define this update frequency.

HolyPower Not Updating

HolyPower doesn't seem to be updating. Here is the thread with everything I was talking about on the WoWI forums: http://www.wowinterface.com/forums/showthread.php?t=34833

here is my code: http://pastie.org/1143643

It is not updating and showing three upon logging in or reloading UI even though I only have zero or 1 holypower. But, if I use Crusader Strike, or Holy Shock, or what Have you, it corrects itself and shows that i have 1, or 2 or the like. And if I use Word of Glory or what ever spell that consumes my HolyPower, it appropriately shows all my HolyPower Runes dissapearing, but if I log in and out or reload UI it shows all three active even though I don't.

Unit Tooltips

Tooltips are no longer displayed upon mousing-over a unit.

Header unit1button1 hides

The first unit in the group or raid randomly disappears with no errors. I get "Interface action failed because of an AddOn" as a chat message at the same time.

Ready check + Blizzard frames issue

Getting this ready check error when forming a raid.

Message: Interface\AddOns\oUF\elements\readycheck.lua:9: Usage: GetPartyMember(1-4)
Time: Wed Oct 13 20:20:25 2010
Count: 1
Stack: [C]: in function `GetPartyMember'
Interface\AddOns\oUF\elements\readycheck.lua:9: in function <Interface\AddOns\oUF\elements\readycheck.lua:4>
(tail call): ?
(tail call): ?

Locals: (*temporary) = 0

Also, the Blizzard party and raid frames don't hide when there are oUF party or raid frames.

P.S. Can you show an example on how to set individual frame sizes in unit specific options?

cpoints.lua should react to UNIT_TARGET, maybe more

As when you switch or lose targets your combo points should be hidden until the same target is regained. Right now it only reacts to UNIT_COMBO_POINTS.

It may also need to react to any or all of these too: "UNIT_ENTERED_VEHICLE UNIT_ENTERING_VEHICLE UNIT_EXITED_VEHICLE UNIT_EXITING_VEHICLE"

As you already have the check for vehicles that can make combo points but don't switch.

Current Branches: ALL

self.CPoints logic should use its own player-based frame

While I don't know of any pets that can build combo points you can get with GetComboPoints('pet', 'target'), and I'm pretty sure you can't see enemy combo points, it makes sense to centralize cpoints.lua with one player frame for all instances. That way you're assured the unit passed is always 'player' getting combo points for something no matter what oUF spawn is using self.CPoints.

Of course this frame would work with vehicle swapping too.

Power event changes (Cataclysm)

From official Blizz change announcement:

  • The UNIT_{MANA|RAGE|ENERGY|FOCUS|HAPPINESS|RUNIC_POWER} events, and their associated UNIT_MAX* counterparts are now deprecated in favor of the single UNIT_POWER and UNIT_MAXPOWER event. The first argument is the unit, the second is the power type, etc.

This affects the power and tag elements

3D Portraits to close

On some chars the 3D portraits are to close to the head (eg. i've got problems with undead heads). I'm using v1.3.24.

Power & Health updating issues (1.4)

In the frequentUpdate function(s) you are trying to forward and check 'self.Power|Health.unit' instead of 'self.unit', thus making the update functions hang up (especially on vehicles and pets).

Also, if swapping and not using frequentUpdates it also hangs up the power/health bars (missing event update perhaps)

Just found out by testing it on vehicles in Ulduar (swap from one seat to another)

Consolidated buffs not hidden

oUF does not hide buffs which are meant to be consolidated if the interface option "Consolidate Buffs" is enabled.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.