Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 92
Search took 0.01 seconds.
Search: Posts Made By: siweia
Forum: Lua/XML Help 07-18-18, 07:06 AM
Replies: 8
Views: 469
Posted By siweia
1. You can now only get info via buff index. for...

1. You can now only get info via buff index.
for index = 1, 32 do
local buffName = UnitBuff(unit, index)
...
end

2. They are removed.
Forum: PTR API and Graphics Changes 07-07-18, 10:47 PM
Replies: 29
Views: 2,550
Posted By siweia
I found this in LeatixPlus by using "RunScript",...

I found this in LeatixPlus by using "RunScript", and it does not produce memory waste.


local pTimer = 0

local function UpdateCharacterCoords(self, elapsed)
pTimer = pTimer + elapsed
if pTimer >...
Forum: PTR UI Bugs 06-23-18, 10:23 PM
Replies: 8
Views: 665
Posted By siweia
If you do so in beta, you can only toggle the...

If you do so in beta, you can only toggle the mapframe with questlog collapsed.
Forum: PTR UI Bugs 06-23-18, 05:25 AM
Replies: 8
Views: 665
Posted By siweia
I tried to call "ToggleQuestLog()" twice on event...

I tried to call "ToggleQuestLog()" twice on event "PLAYER_LOGIN".
It did fix the problem.
But the tricky thing is, every time you toggle the map, the memory goes up.
Forum: PTR API and Graphics Changes 06-22-18, 10:59 PM
Replies: 29
Views: 2,550
Posted By siweia
I tried the code, the memory usage went up each...

I tried the code, the memory usage went up each time you switch zones on the worldmap.
Forum: PTR API and Graphics Changes 06-21-18, 12:14 AM
Replies: 29
Views: 2,550
Posted By siweia
Does anyone know how to scale the worldmap...

Does anyone know how to scale the worldmap properly?
If you just simple SetScale, you won't be able to switch zones by click on different part of the maps.
Forum: PTR API and Graphics Changes 06-17-18, 12:40 PM
Replies: 29
Views: 2,550
Posted By siweia
local mapID, position local formatText = ":...

local mapID, position
local formatText = ": %.1f, %.1f"

hooksecurefunc(WorldMapFrame, "OnMapChanged", function(self)
mapID = self:GetMapID()
end)

local function CoordsUpdate(player,...
Forum: PTR General Discussion 06-17-18, 02:23 AM
Replies: 0
Views: 192
Posted By siweia
Any idea to scale the new world map correctly?

In the BfA beta, if you simply scale the worldmap through "WorldMapFrame:SetScale(1.x)", the map frame would become unclickable and you can't switch maps though it.

It seems like the clicking area...
Forum: Lua/XML Help 05-16-18, 11:23 AM
Replies: 4
Views: 371
Posted By siweia
Did you check in all the default ui codes yet?

Did you check in all the default ui codes yet?
Forum: News 05-16-18, 08:03 AM
Replies: 18
Views: 16,808
Posted By siweia
Poor me, check the site once an hour.

Poor me, check the site once an hour.
Forum: oUF (Otravi Unit Frames) 04-26-18, 11:00 AM
Replies: 8
Views: 547
Posted By siweia
Hmmm, it works perfectly now. Although it is not...

Hmmm, it works perfectly now. Although it is not Bolstering this week in mythic +.

If someone interested about this and want to have a go, you can just change the customfilter as below to test...
Forum: oUF (Otravi Unit Frames) 04-26-18, 09:07 AM
Replies: 8
Views: 547
Posted By siweia
Thank you Rainrider, you wake me up. local...

Thank you Rainrider, you wake me up.


local function preUpdateForBolster(element)
element.bolster = 0
element.bolsterIndex = nil
end

local function customFilterForBolster(element, _, button,...
Forum: oUF (Otravi Unit Frames) 04-23-18, 06:09 AM
Replies: 8
Views: 547
Posted By siweia
Not working either :( The way I did in...

Not working either :(
The way I did in customFilter, not just show one icon as I thought.
Forum: oUF (Otravi Unit Frames) 04-23-18, 02:28 AM
Replies: 8
Views: 547
Posted By siweia
local function customFilter(element, _, _, name,...

local function customFilter(element, _, _, name, _, _, _, _, _, _, _, _, _, spellID)
element.bolster = element.bolster or 0

if name and spellID == 209859 then
element.bolster =...
Forum: oUF (Otravi Unit Frames) 04-23-18, 02:06 AM
Replies: 8
Views: 547
Posted By siweia
Kind of stuck, it seems like not affect anything.

Kind of stuck, it seems like not affect anything.
Forum: oUF (Otravi Unit Frames) 04-23-18, 02:03 AM
Replies: 8
Views: 547
Posted By siweia
local function postUpdateAura (element, unit) ...

local function postUpdateAura (element, unit)
element.bolster, element.bolsterIndex = 0, 0

local visibleBuffs = element.visibleBuffs
for i = 1 , visibleBuffs do
local name, _, _, _, _, _,...
Forum: oUF (Otravi Unit Frames) 04-22-18, 08:33 PM
Replies: 8
Views: 547
Posted By siweia
Any idea to consolidate the bolster buffs?

Is it possible to consolidate all the bolster (http://www.wowhead.com/spell=209859/bolster) buffs into one?
Forum: News 04-20-18, 10:18 PM
Replies: 18
Views: 16,808
Posted By siweia
Are we getting beta qualification this...

Are we getting beta qualification this time?:banana:
Forum: oUF (Otravi Unit Frames) 03-14-18, 07:38 PM
Replies: 13
Views: 1,020
Posted By siweia
It has to be in spawn callback as well. If you...

It has to be in spawn callback as well.
If you set the cvar nameplateMaxDistance in 40 yards, but you select a unit outside 40 yards, the highlight border would not show up properly.
Forum: oUF (Otravi Unit Frames) 03-14-18, 01:43 AM
Replies: 13
Views: 1,020
Posted By siweia
If I just add it in the spawn fieid, it would not...

If I just add it in the spawn fieid, it would not work properly for me. When I change units, the old mark won't go away.

This is what I currently do.

local function UpdateTargetMark(self)
local...
Forum: General Authoring Discussion 12-28-17, 10:30 AM
Replies: 8
Views: 794
Posted By siweia
I know, but the addon I want to access didn't use...

I know, but the addon I want to access didn't use this "_G[AddOnName] = Engine" as you do.
Currently, the only way I can do is to edit the file inside the addon.
Forum: General Authoring Discussion 12-28-17, 12:16 AM
Replies: 8
Views: 794
Posted By siweia
local A, C, L = select(2, ...):unpack() It is...

local A, C, L = select(2, ...):unpack()


It is only available for the files inside the addon.
For other addon, it should be fine to just "local A, C, L = select(YourAddonName):unpack()", because of...
Forum: General Authoring Discussion 12-27-17, 11:14 AM
Replies: 8
Views: 794
Posted By siweia
How to access an addon's function?

For example, an addon named "ABC" use title like:
local A, B, C = unpack(select(2, ...))

A.CreateFrame = function() end
B.CreateColor = function() end
C.CreateName = function() end


If I want to...
Forum: oUF (Otravi Unit Frames) 10-19-17, 12:15 PM
Replies: 4
Views: 919
Posted By siweia
https://github.com/greven/oUF_lumen/blob/master/co...

https://github.com/greven/oUF_lumen/blob/master/config/filters.lua

The addon you use hasn't completed its filter list.
Forum: oUF (Otravi Unit Frames) 10-15-17, 11:19 PM
Replies: 3
Views: 580
Posted By siweia
Thanks, it is working fine now.

Thanks, it is working fine now.
Showing results 1 to 25 of 92