Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 133
Search took 0.01 seconds.
Search: Posts Made By: kurapica.igas
Forum: Dev Tools 10-15-20, 02:10 AM
Replies: 7
Views: 21,354
Posted By kurapica.igas
9498 Just finished the new Cube, it's browser is...

9498

Just finished the new Cube, it's browser is using the SimpleHtml to show the contents, the main problem is how to simply generate the contents, since we need a complex string concat to generate...
Forum: Dev Tools 10-02-20, 08:45 PM
Replies: 7
Views: 21,354
Posted By kurapica.igas
Working on a new Code Editor, the main part is...

Working on a new Code Editor, the main part is finished.

9484

The example code can be found at Cube/CubeEditor.lua (https://github.com/kurapica/Cube/blob/master/CubeEditor.lua), it's an example to...
Forum: Lua/XML Help 10-02-20, 08:10 PM
Replies: 14
Views: 3,120
Posted By kurapica.igas
The coroutine are common Lua functions, the main...

The coroutine are common Lua functions, the main cost of it compares to the normal Lua func is about two parts:

I. The cost of the coroutine's creation is much bigger than call a function, so I...
Forum: Lua/XML Help 10-02-20, 05:57 AM
Replies: 14
Views: 3,120
Posted By kurapica.igas
If you don't mind use a lib, you may check the...

If you don't mind use a lib, you may check the example for Continue() in the Scorpio - asynchronous framework...
Forum: Lua/XML Help 09-18-20, 08:32 PM
Replies: 1
Views: 3,431
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: 7
Views: 21,354
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: 860
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,355
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,355
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,581
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: 7
Views: 21,354
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: 7
Views: 21,354
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: 706
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: 7
Views: 21,354
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: 7
Views: 21,354
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: 927
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,307
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,307
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: 892
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,191
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: 945
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,302
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: 3,331
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,191
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: 958
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...
Showing results 1 to 25 of 133