siweia / ndui Goto Github PK
View Code? Open in Web Editor NEWNDui for World of Warcraft
NDui for World of Warcraft
Here is Russian localization, as I promised. And about the filters in the bags, I would like to have at least a category of materials. I hope it is not too difficult.
ruRU.zip
根据我的理解,在 NDUI 里只有在 module:OnLogin()
后才能获取 SavedVariables 表里的值
比如说直接 print(NDuiDB["BFA"])
结果是 nil
必须这样
function module:OnLogin()
print(NDuiDB["BFA"])
end
才能得到这个值为 true
但是有些代码并没有在 module:OnLogin()
里面也能成功获取 SavedVariables 表里的某个值,为啥呢,研究了很久没搞懂 😢
比如在5人本,我是近战,队友有战士,那么如果我没有攻强buff就提醒 😍
Interface\AddOns\NDui\Modules\Misc\QuestNotifier.lua:20: bad argument #2 to 'format' (string expected, got nil)
Count: 1
Call Stack:
[C]: ?
[C]: ?
Interface\AddOns\NDui\Modules\Misc\QuestNotifier.lua:20: in function <Interface\AddOns\NDui\Modules\Misc\QuestNotifier.lua:18>
Interface\AddOns\NDui\Modules\Misc\QuestNotifier.lua:105: in function `func'
Interface\AddOns\NDui\Init.lua:23: in function <Interface\AddOns\NDui\Init.lua:18>
应该是海岛完成时候报错的。
Since you already can display a dynamic portrait spread across the healthbar, I'd like to ask if it would be too much trouble to add an option to display a static (+ dynamic?) character potrait next to the unitbars (left/right options for self/target)?
能否加入聊天栏上ctrl+左键点击人名直接举报玩家*扰的功能,默认的举报功能会弹出面板要选择理由再确认太麻烦了~
以前用的是下面这段,但是8.0以后举报系统有改动就失效了 😢
function ChatFrame_OnHyperlinkShow (chatframe,link,text,button)
if IsControlKeyDown() then
local line = string.match(link,"player:[^:]+:(%d+):");
if line then
ReportPlayer("spam",line);
return;
end
end
return _ChatFrame_OnHyperlinkShow (chatframe,link,text,button);
end
It would be nice to have an option to have a fixed chat window on the right side with the same features that the current one has (fading, styled borders etc.)
Hi, siweia
I have confirmed that the sound output issue of !BaudErrorFrame has been resolved in version 3.13.2 released on Github. Thank you very much.
But there is one more request.
Sound is disabled by default. If you enable in the config window, it will be disabled again every time you /reload.
So you can not change the default value? I beg you.
Was not able to find such a setting though I would enjoy this as a feature if this is something you would add. Thank you.
-- credit: EJedi42 https://www.curseforge.com/wow/addons/zoneabilitybinding
BINDING_HEADER_ZoneAbilityBinding = "ZoneAbilityBinding";
_G["BINDING_NAME_" .. "CLICK myZA:LeftButton"] = "Activate Zone Ability Button";
local myza = myZA or CreateFrame("button","myZA",nil,"SecureActionButtonTemplate");
myza:SetAttribute("type","click");
myza:SetAttribute("clickbutton",ZoneAbilityFrame.SpellButton);
可以放在extrabar.lua
里。
用法示例:
# 一个宏搞定各种特殊按钮
/click ExtraActionButton1
/click ExtraQuestButton
/click myZA
talentframe没有清理nineslice
OrderHallTalentFrame.NineSlice:Hide()
Notice on twitch the UI for BFA has not updated since 4.5.0. Will there be a push to that client soon?
...terface\FrameXML\FloatingGarrisonFollowerTooltip.lua:388: attempt to get length of field 'Properties' (a nil value)
Count: 2
Call Stack:
[C]: ?
...terface\FrameXML\FloatingGarrisonFollowerTooltip.lua:388: in function <...terface\FrameXML\FloatingGarrisonFollowerTooltip.lua:319>
[C]: in function GarrisonFollowerTooltipTemplate_SetShipyardFollower' Interface\FrameXML\GarrisonFollowerTooltip.lua:42: in function <Interface\FrameXML\GarrisonFollowerTooltip.lua:32> [C]: in function
GarrisonFollowerTooltip_ShowWithData'
Interface\FrameXML\GarrisonFollowerTooltip.lua:29: in function `GarrisonFollowerTooltip_Show'
...\Blizzard_GarrisonUI\Blizzard_GarrisonShipyardUI.lua:2191: in function <...\Blizzard_GarrisonUI\Blizzard_GarrisonShipyardUI.lua:2180>
[C]: ?
1、清除一些材质。
function F:CleanTextures(noIcon)
--if self.SetCheckedTexture then self:SetCheckedTexture("") end
if self.SetDisabledTexture then self:SetDisabledTexture("") end
if self.SetHighlightTexture then self:SetHighlightTexture("") end
if self.SetNormalTexture then self:SetNormalTexture("") end
if self.SetPushedTexture then self:SetPushedTexture("") end
local name = self:GetName()
local Left = self.Left or (name and _G[name.."Left"])
if Left then Left:Hide() end
local Right = self.Right or (name and _G[name.."Right"])
if Right then Right:Hide() end
local Top = self.Top or (name and _G[name.."Top"])
if Top then Top:Hide() end
local Bottom = self.Bottom or (name and _G[name.."Bottom"])
if Bottom then Bottom:Hide() end
local Middle = self.Middle or (name and (_G[name.."Middle"] or _G[name.."Mid"]))
if Middle then Middle:Hide() end
local TopLeft = self.TopLeft or (name and _G[name.."TopLeft"])
if TopLeft then TopLeft:Hide() end
local TopMiddle = self.TopMiddle or (name and (_G[name.."TopMiddle"] or _G[name.."TopMid"]))
if TopMiddle then TopMiddle:Hide() end
local TopRight = self.TopRight or (name and _G[name.."TopRight"])
if TopRight then TopRight:Hide() end
local MiddleLeft = self.MiddleLeft or (name and _G[name.."MiddleLeft"])
if MiddleLeft then MiddleLeft:Hide() end
local MiddleMiddle = self.MiddleMiddle or (name and (_G[name.."MiddleMiddle"] or _G[name.."MiddleMid"]))
if MiddleMiddle then MiddleMiddle:Hide() end
local MiddleRight = self.MiddleRight or (name and _G[name.."MiddleRight"])
if MiddleRight then MiddleRight:Hide() end
local BottomLeft = self.BottomLeft or (name and _G[name.."BottomLeft"])
if BottomLeft then BottomLeft:Hide() end
local BottomMiddle = self.BottomMiddle or (name and (_G[name.."BottomMiddle"] or _G[name.."BottomMid"]))
if BottomMiddle then BottomMiddle:Hide() end
local BottomRight = self.BottomRight or (name and _G[name.."BottomRight"])
if BottomRight then BottomRight:Hide() end
local track = self.Track or self.trackBG or self.Background or (name and (_G[name.."Track"] or _G[name.."BG"]))
if track then track:Hide() end
local top = self.ScrollBarTop or self.ScrollUpBorder
if top then top:Hide() end
local middle = self.ScrollBarMiddle or self.Border
if middle then middle:Hide() end
local bottom = self.ScrollBarBottom or self.ScrollDownBorder
if bottom then bottom:Hide() end
local bd = self.Border or self.border
if bd then bd:Hide() end
if noIcon then
local ic = self.icon or self.Icon
if ic then ic:Hide() end
end
end
2、美化HighlightTexture或者其他一些材质。
function F:ReskinTexture(relativeTo, classColor, isBorder)
if not self then return end
local r, g, b = 1, 1, 1
if classColor then r, g, b = cr, cg, cb end
local mult = C.mult
if isBorder then mult = -C.mult end
local tex
if self.SetHighlightTexture then
self:SetHighlightTexture(C.media.bdTex)
tex = self:GetHighlightTexture()
else
tex = self
tex:SetTexture(C.media.bdTex)
if isBorder then
tex.SetTexture = F.dummy
tex:SetDrawLayer("BACKGROUND")
end
end
if not isBorder then
tex:SetColorTexture(r, g, b, .25)
end
tex:SetPoint("TOPLEFT", relativeTo, mult, -mult)
tex:SetPoint("BOTTOMRIGHT", relativeTo, -mult, mult)
end
3、美化StatusBar,大部分情况都适用。
function F:ReskinStatusBar(classColor, stripTex)
F.StripTextures(self, stripTex)
F.CleanTextures(self, true)
self:SetStatusBarTexture(C.media.normTex)
if classColor then self:SetStatusBarColor(cr*.8, cg*.8, cb*.8) end
local lvl = self:GetFrameLevel()
local bg = F.CreateBDFrame(self, .25)
bg:SetFrameLevel(lvl == 0 and 1 or lvl - 1)
end
DBM和BW的开怪计时都可以用 /pull x 了,感觉团队工具里的开怪倒数可以统一一下了,如果用SlashCmdList的话,DBM有和BW一样的了。
SlashCmdList"DEADLYBOSSMODSPULL"
Hi, siweia
BaudErrorFrame When I looked at the Lua file, I get a sound when an error is output.
However, in the game there is no sound even if the Lua Error is output.
I even switched from "EnableSound=false to true"
Can I find out why there is no sound?
Could you put a screen shot of your UI in the github front page.
比如去刷幻化,刷了一堆低级装备和包里的当前版本装备都混一起了,卖店卖半天还容易卖错,现在的新物品闪光辨识度不够
能否让低级装备(比如ilvl<266)不进入装备分类,新增一个分类或者直接进入底层的主背包,或者直接像cargBags_Nivaya那样,新获得的东西都暂时放在一个新分类里
settins
Anyway to included ItemID for Auras would like to track a few items that are not in slot. Example would be Flight Master's Whistler
这里应该是 ToggleFriendsFrame(3)
在繁体本地化文件中的 430 行当前为
L["Azerite Item"] = "艾澤萊晶岩護甲"
而应该是
L["Azerite Armor"] = "艾澤萊晶岩護甲"
现在背包中护甲还是用英文分类的,可能是修改的时候忘记改了吧~
Not sure if this has happened before or not but figured I would post the error here.
4x NDui\Modules\Infobar\Friends-Friends.lua:365: bad argument #3 to 'format' (string expected, got nil)
[C]: ?
NDui\Modules\Infobar\Friends-Friends.lua:365: in function <NDui\Modules\Infobar\Friends.lua:314>
NDui\Modules\Infobar\Friends-Friends.lua:427: in function <NDui\Modules\Infobar\Friends.lua:401>
Locals:
(*temporary) = "%s%s"
(*temporary) = "|cff7b8489"
(*temporary) = nil
(*temporary) = "string expected, got nil"
我目前在怀旧服玩的是牧师,目标经常是Tank
如果有tot的castbar 我就能监视 boss的致命技能
如果有totot我就能快速切换boss的目标.
请作者考虑.
1、重构的SpecLevel.lua会报错,RL后依然会报错,但是触发条件不明。
Interface\AddOns\NDui\Modules\Tooltip\SpecLevel.lua:58: attempt to index field '?' (a nil value)
Count: 5
Call Stack:
[C]: ?
Interface\AddOns\NDui\Modules\Tooltip\SpecLevel.lua:58: in function `func'
Interface\AddOns\NDui\Init.lua:20: in function <Interface\AddOns\NDui\Init.lua:15>
2、AC设置面板的取消按钮宽度和其他按钮不一样(其他都是22)。
cancel:SetSize(100, 20)
I cant see the pet details about if it is happy or not, can you help me to fix it?
Sorry the problem is for the classic version
In same scenario, this frame might be set to movable
and userplaced
.
any reason why reset its position during startup?
-- init.lua
local _, ns = ...
local function BuildEnv(env, module)
if module then
if not env[module] then env[module] = {} end
setfenv(2, setmetatable(env[module], {__index = function(self, key)
if key == "_G" then return _G end
local value = rawget(env, key)
if value == nil then
value = _G[key]
rawset(self, key, value)
end
return value
end
}))
else
setfenv(2, setmetatable(env, {__index = function(self, key)
if key == "_G" then return _G end
rawset(self, key, _G[key])
return _G[key]
end
}))
end
end
BuildEnv(ns)
ns._meta = getmetatable(ns)
ns._meta.__call = BuildEnv
ns()
-- 其他文件
select(2, ...)("chat")
-- balabala
这样用过的全局变量就自动缓存了,稍微改一下还能避免拼错引用到空值
F.StripTextures(RolePollPopup)
比如 wod 版本的要塞每次都提示箱子
涌泉战场一直提示资源点
这些地图应该加入黑名单禁用警报
So when you party sync with someone depending on the person and their level you will get a unit frame icon and your downscaled level. Is it possible to receive the feature to show the downscaled level and the icon if party sync is active?
https://i.imgur.com/LaD3SFR.jpg
https://i.imgur.com/4ZONpGM.jpg
Is there a way to hide the totem bar in pet battles.
另外能否加入比较简单的分组功能,比如给 weakauras / actionbar 的冷却计时提供不同的位置和颜色设定 👍
满级后获取的物品没问题,满级前获取的物品很不准确
神器副手没有加上圣物提供的装等
For the Shaman Resto could the resource bar be removed and just have the Icon showing. Don't need to see my mana and heath as I can see it under my unit frame or raid frame. Now thinking about it could the unit frame also be hidden as a option too?
How would I go about adding additional bag filter. For example If I wanted to filter all by Heart Stone into if own filter or add an item to one.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.