Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 129
Search took 0.01 seconds.
Search: Posts Made By: kurapica.igas
Forum: Lua/XML Help 09-18-20, 08:32 PM
Replies: 1
Views: 1,388
Posted By kurapica.igas
When you done with refreshData, you need use...

When you done with refreshData, you need use scrollFrame:UpdateScrollChildRect() to update the scrollchild's height based on those roster buttons, or you could adjust the scroll child's height based...
Forum: Dev Tools 08-05-20, 12:03 AM
Replies: 5
Views: 19,091
Posted By kurapica.igas
A new system is added to apply dynamic values to...

A new system is added to apply dynamic values to the ui styles:

9464

The text of the label will be changed based on the player's health.


The real code of the Wow.UnitHealth("player") is
Forum: Lua/XML Help 07-15-20, 08:05 PM
Replies: 2
Views: 760
Posted By kurapica.igas
Try ChatFrame1EditBox:EnableMouse(false)

Try ChatFrame1EditBox:EnableMouse(false)
Forum: Lua/XML Help 07-01-20, 04:15 AM
Replies: 15
Views: 1,238
Posted By kurapica.igas
Task an example: Scorpio "ScorpioTest"...

Task an example:


Scorpio "ScorpioTest" ""

__Async__()
__SlashCmd__ "sct" "start" -- use `/sct start` to start the process
function bigCycle()
local time = GetTime()
local prev = 0
Forum: Lua/XML Help 06-30-20, 09:50 PM
Replies: 15
Views: 1,238
Posted By kurapica.igas
This could be done with the Lua's coroutine, and...

This could be done with the Lua's coroutine, and since the Lua is single thread, so you don't need worry about the thread lock. We can yield those coroutines to make sure they don't cost too much in...
Forum: Lua/XML Help 05-23-20, 07:23 PM
Replies: 6
Views: 1,556
Posted By kurapica.igas
This is not a taint, since the error message say...

This is not a taint, since the error message say the "listFrame" doesn't existed, so according to the code line

local listFrame = _G["DropDownList"..level];

The ui drop down menu provided by the...
Forum: Dev Tools 05-05-20, 07:29 AM
Replies: 5
Views: 19,091
Posted By kurapica.igas
Scorpio v36 released, the core ui & style system...

Scorpio v36 released, the core ui & style system is finished, and common widgets are released in the Scorpio.Widget lib.

You can find documenets in github.com/kurapica/Scorpio...
Forum: Dev Tools 04-19-20, 05:19 AM
Replies: 5
Views: 19,091
Posted By kurapica.igas
v035 released, the basic ui, template and several...

v035 released, the basic ui, template and several common widget features has been released. You can find an introduction at:

https://github.com/kurapica/Scorpio/blob/master/Docs/004.widget.md

The...
Forum: Lua/XML Help 04-13-20, 06:25 AM
Replies: 7
Views: 686
Posted By kurapica.igas
Using secure template doesn't mean you can use...

Using secure template doesn't mean you can use features like CastSpellByName, the template handle the OnClick for you, so you can only set attributes on the button.

For simple, we can bind the macro...
Forum: Dev Tools 03-08-20, 12:16 AM
Replies: 5
Views: 19,091
Posted By kurapica.igas
Not like the IGAS, the frames generate from the...

Not like the IGAS, the frames generate from the template class like Dialog, UIPanelButton is the same generated from the CreateFrame, there is no wrapper on them.

So there is no different to use...
Forum: Dev Tools 03-07-20, 08:18 AM
Replies: 5
Views: 19,091
Posted By kurapica.igas
Scorpio.UI - a new ui & skin system

After spending two years on web project with Openresty, finally I got time and the new ideas for the Scorpio lib's UI part. This is not an officially introduction, so I'm sorry I can't explain all...
Forum: Lua/XML Help 10-26-19, 08:25 PM
Replies: 3
Views: 911
Posted By kurapica.igas
Out of the combat, you can use...

Out of the combat, you can use


SetOverrideBindingClick(Your_button, true, "B", "Your_button_name", "LeftButton")


To bind key, and use


ClearOverrideBindings(Your_button)
Forum: Lua/XML Help 10-20-19, 06:03 AM
Replies: 7
Views: 1,247
Posted By kurapica.igas
Several years ago, I study the whole restrict...

Several years ago, I study the whole restrict code for three times to figure out all usages, here is the list and read order:

1. RestrictedInfrastructure.lua: Wrap the normal frame to secure...
Forum: Lua/XML Help 10-11-19, 10:31 PM
Replies: 7
Views: 1,247
Posted By kurapica.igas
It seems like a feature in my IGAS_UI/ActionBar...

It seems like a feature in my IGAS_UI/ActionBar (https://www.curseforge.com/wow/addons/igas_ui/pages/igas_ui/actionbar), you can find an example at the end of the page. Well, maybe not, you require...
Forum: Lua/XML Help 10-10-19, 03:21 AM
Replies: 3
Views: 877
Posted By kurapica.igas
Try table.insert(UISpecialFrames,...

Try table.insert(UISpecialFrames, "AzeriteEssenceUI"), I can't make sure if it would cause the taint, you can give it a try, it's the shortest way.

I prefer to use the secure button, but it's a...
Forum: Lua/XML Help 09-17-19, 08:15 PM
Replies: 6
Views: 1,173
Posted By kurapica.igas
You can use /fstack to check the bag addon's...

You can use /fstack to check the bag addon's frame name, and use frame:HookScript("OnShow", func) frame:HookScript("OnHide", func) to check them. It's more better than use secure hook.
Forum: Lua/XML Help 09-13-19, 06:22 AM
Replies: 2
Views: 921
Posted By kurapica.igas
I have a lib named Scorpio, it has a task...

I have a lib named Scorpio, it has a task schedule system works like:


Scorpio "TestAddon" "1.0.0"

-- __Async__ is used to wrap the target function, so when the
-- function is called, it'd be...
Forum: General Authoring Discussion 09-01-19, 07:52 PM
Replies: 4
Views: 2,240
Posted By kurapica.igas
You can register the COMBAT_LOG_EVENT_UNFILTERED...

You can register the COMBAT_LOG_EVENT_UNFILTERED to check combat event like SPELL_CAST_START, SPELL_CAST_SUCCESS, SPELL_MISSED, SPELL_CAST_FAILED, SPELL_INTERRUPT.

But blizzard has removed the...
Forum: General Authoring Discussion 08-29-19, 06:43 PM
Replies: 8
Views: 2,963
Posted By kurapica.igas
Try...

Try


GameTooltip:HookScript("OnTooltipSetSpell", function(self)
local name, id = self:GetSpell()
if id then
self:AddLine(" ")
self:AddLine("ID: " .. tostring(id), 1, 1,...
Forum: Lua/XML Help 08-27-19, 02:59 AM
Replies: 6
Views: 1,173
Posted By kurapica.igas
The hook secure part works fine, maybe you could...

The hook secure part works fine, maybe you could post more code, so we can find the real problem.

I don't think use BAG_OPEN/BAG_CLOSED is a good choice since open/close bag is an ui action, it...
Forum: Lua/XML Help 08-16-19, 07:37 PM
Replies: 4
Views: 931
Posted By kurapica.igas
No, you can't, there is no SetName method. But...

No, you can't, there is no SetName method. But normally there is no need to give a frame name unless it's a secure one.

If you need access it in _G, just use _G[name] = frame, it's not a good...
Forum: Lua/XML Help 07-14-19, 02:54 AM
Replies: 3
Views: 1,207
Posted By kurapica.igas
local function MyAddOn_BuildStanceListItem(f,...

local function MyAddOn_BuildStanceListItem(f, index, icon, name, active)
local StanceIconFrame = CreateFrame("Frame", nil, f);
f[index] = StanceIconFrame;

StanceIconFrame:SetSize(68,...
Forum: Lua/XML Help 07-14-19, 01:16 AM
Replies: 3
Views: 1,207
Posted By kurapica.igas
Since the first value of the...

Since the first value of the GetShapeshiftFormInfo is the texture, you should use
local texture = icon

instead of

local texture = GetSpellTexture(icon);

And about the scroll frame, since the...
Forum: Lua/XML Help 07-14-19, 01:04 AM
Replies: 2
Views: 1,426
Posted By kurapica.igas
I test with two PlayeModel, only the first is...

I test with two PlayeModel, only the first is clipped, try the scrollframe, also only clip the first model, so this should be a bug.

I fix it by using two frame at the same location with same size,...
Forum: Lua/XML Help 07-12-19, 10:40 AM
Replies: 12
Views: 2,526
Posted By kurapica.igas
In my addon Scorpio...

In my addon Scorpio (https://www.wowinterface.com/forums/showthread.php?t=55057), I try to solve the performance problem not by less operations, but with a task schedule system to smoothing the...
Showing results 1 to 25 of 129