Showing results 1 to 25 of 126
Search took 0.00 seconds.
Search: Posts Made By: siweia
Forum: oUF (Otravi Unit Frames) 11-27-22, 05:34 AM
Replies: 4
Views: 1,982
Posted By siweia
Could you provide an example for me, with...

Could you provide an example for me, with PostUpdateInfo?
Forum: oUF (Otravi Unit Frames) 11-15-22, 05:11 AM
Replies: 4
Views: 1,982
Posted By siweia
What I currently do is add a new attribute in...

What I currently do is add a new attribute in 'updateAura'.

button.spellID = aura.spellId

local BOLSTER_ID = 209859

local function PreUpdate(element)
element.numBolster = 0
end
Forum: oUF (Otravi Unit Frames) 11-15-22, 04:51 AM
Replies: 3
Views: 5,076
Posted By siweia
button.caster is removed as well

button.caster is removed as well
Forum: oUF (Otravi Unit Frames) 11-15-22, 02:59 AM
Replies: 4
Views: 1,982
Posted By siweia
Relationship between FilterAura and button?

Before oUF 11, I use customFilter to consolidate all bolster in mythic plus.

The code is what I did before, but in oUF 11, button no longer accessable in FilterAura.


local function...
Forum: Lua/XML Help 09-18-20, 08:03 PM
Replies: 1
Views: 5,810
Posted By siweia
ScrollFrame seems to have a limit height in the patch 9.0.2.35938

local _, ns = ...
local B, C, L, DB = unpack(ns)
if not C.Infobar.Guild then return end

local module = B:GetModule("Infobar")
local info = module:RegisterInfobar("Guild", C.Infobar.GuildPos)

local...
Forum: Lua/XML Help 08-23-20, 12:27 AM
Replies: 2
Views: 4,339
Posted By siweia
You may have a look at...

You may have a look at Tukui.
https://git.tukui.org/Tukz/Tukui/-/commit/32c3df7638edf4f6671113836b55e180744636cb
Forum: PTR General Discussion 08-14-20, 11:59 AM
Replies: 16
Views: 12,265
Posted By siweia
Actually the MultiBarBottomRightButton 1 to 6...

Actually the MultiBarBottomRightButton 1 to 6 grid issue is already there since bfa.
I have been using this code in retail since 8.0. See here....
Forum: PTR General Discussion 08-13-20, 08:44 PM
Replies: 16
Views: 12,265
Posted By siweia
This is weird. I use the code below in beta and...

This is weird. I use the code below in beta and it works perfectly fine.

local function buttonShowGrid(name, showgrid)
for i = 1, 12 do
local button =...
Forum: PTR General Discussion 08-12-20, 03:21 AM
Replies: 16
Views: 12,265
Posted By siweia
button:ShowGrid(ACTION_BUTTON_SHOW_GRID_REASON_CVA...

button:ShowGrid(ACTION_BUTTON_SHOW_GRID_REASON_CVAR)
Forum: PTR General Discussion 08-10-20, 11:31 AM
Replies: 4
Views: 6,788
Posted By siweia
And also, some quests I accepted from NPCs, their...

And also, some quests I accepted from NPCs, their quest titles went missing on the ObjectiveTrakcer.
Weird.
Forum: PTR General Discussion 08-10-20, 11:03 AM
Replies: 4
Views: 6,788
Posted By siweia
Chatbubble error in shadowlands beta

Attempt to access forbidden object from code tainted by an AddOn
Count: 1

Call Stack:
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function `CreateTexture'
[string...
Forum: PTR API and Graphics Changes 08-06-20, 09:10 PM
Replies: 4
Views: 11,536
Posted By siweia
hooksecurefunc(HelpTip, "Show",...

hooksecurefunc(HelpTip, "Show", function(self)
for frame in self.framePool:EnumerateActive() do
-- do what you need to do
end
end)
Forum: oUF (Otravi Unit Frames) 07-31-19, 10:14 PM
Replies: 2
Views: 7,574
Posted By siweia
Never mind, I figured it out myself. Add a new...

Never mind, I figured it out myself.
Add a new template to ouf.lua "SecureHandlerShowHideTemplate".

self:SetAttribute("_onshow", "self:ClearBindings();");
self:SetAttribute("_onhide",...
Forum: oUF (Otravi Unit Frames) 07-31-19, 07:01 AM
Replies: 2
Views: 7,574
Posted By siweia
[ self:SetAttribute("clickcast_onenter",...

[
self:SetAttribute("clickcast_onenter", [[
self:ClearBindings()
self:SetBindingClick(1, "MOUSEWHEELUP", self, "Button6")
self:SetBindingClick(1, "ALT-MOUSEWHEELUP", self,...
Forum: oUF (Otravi Unit Frames) 07-14-19, 10:47 PM
Replies: 2
Views: 7,574
Posted By siweia
Click cast on oUF raid frames

local wheelBindingIndex = {
["MOUSEWHEELUP"] = 6,
["ALT-MOUSEWHEELUP"] = 7,
["CTRL-MOUSEWHEELUP"] = 8,
["SHIFT-MOUSEWHEELUP"] = 9,
["MOUSEWHEELDOWN"] = 10,
["ALT-MOUSEWHEELDOWN"] =...
Forum: PTR General Discussion 06-26-19, 11:35 PM
Replies: 4
Views: 18,604
Posted By siweia
C stack overflow Count: 1 Call Stack: [C]:...

C stack overflow
Count: 1

Call Stack:
[C]: ?
[C]: ?
[C]: ?
[C]: ?
[C]: ?
[C]: ?
Forum: PTR General Discussion 06-20-19, 06:39 AM
Replies: 4
Views: 18,604
Posted By siweia
PTR nameplate addon bug

Has anyone seeing the error above on PTR?
I am using oUF nameplates, and it popups out with no reason, or the reason I don't know.
Forum: oUF (Otravi Unit Frames) 04-20-19, 06:59 PM
Replies: 2
Views: 6,228
Posted By siweia
Nope. I wonder this maybe an issue about blizz...

Nope.
I wonder this maybe an issue about blizz itself.
The offline update is not functioning for few members, not all.
Forum: oUF (Otravi Unit Frames) 04-18-19, 01:37 PM
Replies: 2
Views: 6,228
Posted By siweia
Tags won't update timely when some offline

oUF.Tags.Methods["color"] = function(unit)
local class = select(2, UnitClass(unit))
local reaction = UnitReaction(unit, "player")

if UnitIsDeadOrGhost(unit) or not UnitIsConnected(unit)...
Forum: AddOn Help/Support 04-09-19, 08:40 PM
Replies: 2
Views: 1,430
Posted By siweia
Try to disable addons one by one to test which...

Try to disable addons one by one to test which one is causing the problem.
Forum: General Authoring Discussion 04-09-19, 08:35 PM
Replies: 15
Views: 6,096
Posted By siweia
I have been using the texture show/hide way to...

I have been using the texture show/hide way to solve this problem lately, it works perfectly atm without taint issues.
Forum: Lua/XML Help 03-25-19, 01:19 PM
Replies: 10
Views: 2,615
Posted By siweia
hooksecurefunc(MultiBarRight, "SetScale",...

hooksecurefunc(MultiBarRight, "SetScale", function(self, scale)
if scale < 1 then self:SetScale(1) end
end)


I have been using this since 8.0, never meet a taint issue.
Forum: General Authoring Discussion 03-24-19, 03:04 AM
Replies: 15
Views: 6,096
Posted By siweia
I just came up with an idea, the code below does...

I just came up with an idea, the code below does fix the override buttons update as well. (for rActionbar)
Not sure whether it taints or not.

local updater =...
Forum: General Authoring Discussion 03-23-19, 08:15 PM
Replies: 15
Views: 6,096
Posted By siweia
The page state driver works for most of the time....

The page state driver works for most of the time. But it do have some update problem in some quests.
eg https://www.wowhead.com/quest=47261/how-to-train-your-direhorn
Forum: General Authoring Discussion 03-23-19, 08:11 PM
Replies: 15
Views: 6,096
Posted By siweia
I am using rActionbar atm, and do meet the...

I am using rActionbar atm, and do meet the overridebar update problem as you mentioned. But I need the button grids stay shown.
It is so weired that these code below actually work properly on vehicle...
Showing results 1 to 25 of 126