Showing results 1 to 25 of 105
Search took 0.00 seconds.
Search: Posts Made By: Terenna
Forum: Lua/XML Help 02-28-20, 11:33 PM
Replies: 3
Views: 1,539
Posted By Terenna
What about securehooking...

What about securehooking GameTooltip_SetBackdropStyle ?
Forum: Lua/XML Help 02-26-20, 11:34 PM
Replies: 0
Views: 1,098
Posted By Terenna
Debuff Skinning

As many of you may know, the wow code uses an overlay for debuffs that controls the color its border is. This border is really ugly. I wanted to reskin this border and wrote the following:

local...
Forum: AddOn Help/Support 12-12-19, 03:37 PM
Replies: 5
Views: 3,907
Posted By Terenna
For anyone who wants it, I was able to figure out...

For anyone who wants it, I was able to figure out the issue and successfully generated a nice 32x32 1 FFFFFF pixel border with transparent inner square for overlays. I found use in the Colored Debuff...
Forum: AddOn Help/Support 12-11-19, 04:13 PM
Replies: 5
Views: 3,907
Posted By Terenna
Hey Seerah, thanks for the suggestions. Ctrl...

Hey Seerah, thanks for the suggestions.

Ctrl clicking the layer selects the entire box. Magic wanding the border does work; however, the alpha channel still applies to the entire thing...
Forum: AddOn Help/Support 12-11-19, 11:54 AM
Replies: 5
Views: 3,907
Posted By Terenna
Thank you Kanegasi. I'm having a hard time...

Thank you Kanegasi.

I'm having a hard time creating a 32x32 TGA file with a 1 pixel white border and a transparent rest.

Here is a photo of my photoshop at the point where I've created a 32x32 1...
Forum: AddOn Help/Support 12-10-19, 11:50 PM
Replies: 5
Views: 3,907
Posted By Terenna
UI-Debuff-Overlays Square Shape with SetTexCoord

Hello,

I'm trying to get the canonical debuffType colored debuff overlay that uses the UI-Debuff-Overlays texture to fit a square rather than the rounded corner square. You'll often see code like...
Forum: Macro Help 11-19-19, 11:03 PM
Replies: 2
Views: 6,335
Posted By Terenna
In macros you can uses [mod:shift] which will...

In macros you can uses [mod:shift] which will work with any shift. Or [mod:lshift] which will only work with the left shift. Or [mod:rshift] which will only work with the right shift. The same is...
Forum: Lua/XML Help 11-11-19, 01:40 PM
Replies: 11
Views: 8,177
Posted By Terenna
You could try hooksecurefunc(ArenaEnemyFrame1,...

You could try hooksecurefunc(ArenaEnemyFrame1, 'SetPoint', function(self)
local a, b, c, d, e = self:GetPoint()
if (a ~= 'CENTER' or c ~= 'CENTER' or d ~= 343 or e ~= 44)...
Forum: oUF (Otravi Unit Frames) 11-04-19, 03:42 PM
Replies: 0
Views: 4,382
Posted By Terenna
oUF auras module improvements

I've added some code to my personal oUF auras.lua file to enable as many auras/buffs/debuffs element groups as a person wants per unit frame. In addition, I've added an option to allow "reverse fill"...
Forum: oUF (Otravi Unit Frames) 10-29-19, 11:36 PM
Replies: 0
Views: 4,675
Posted By Terenna
oUF:Factory SpawnHeader

I don't have any real code for this yet, as I'm trying to even determine if this is possible. If I want to have a "party" set of frames that shows up when I'm in a party or raid and there are 5 or...
Forum: AddOn Help/Support 10-14-19, 12:07 PM
Replies: 7
Views: 4,619
Posted By Terenna
Please post all of your code

Please post all of your code
Forum: AddOn Search/Requests 10-01-19, 06:29 PM
Replies: 6
Views: 8,772
Posted By Terenna
I think you might want to do something like...

I think you might want to do something like this:

--This block of code will move our minimap addon icons to below the minimap in a custom frame
local btnblklist = { --these are the children of the...
Forum: Lua/XML Help 08-21-19, 09:35 PM
Replies: 12
Views: 2,390
Posted By Terenna
The integer loop, it doesn't perform a function...

The integer loop, it doesn't perform a function call, pairs, which actually calls another function.
Forum: Lua/XML Help 08-21-19, 08:42 AM
Replies: 12
Views: 2,390
Posted By Terenna
Any instance of "in pairs" loops: for _, Frame...

Any instance of "in pairs" loops:

for _, Frame in pairs(MinimapButtons) do
Frame:SetAlpha(0)
end

should be written as:

for i = 1, #MinimapButtons do
MinimapButtons[i]:SetAlpha(0)
Forum: AddOn Help/Support 08-13-19, 07:35 AM
Replies: 3
Views: 3,186
Posted By Terenna
To answer your question, Yes. An addon can...

To answer your question, Yes. An addon can absolutely scan each chat message for phrases and then play a noise if it "sees" one. It does require the person typing it to match (spellingwise) a list of...
Forum: Lua/XML Help 07-11-19, 08:59 AM
Replies: 12
Views: 4,411
Posted By Terenna
I modified it ever so slightly to this: local...

I modified it ever so slightly to this: local GetBestMapForUnit = C_Map.GetBestMapForUnit
local MapRects = {}
local mapID
local UnitPosition = UnitPosition
local GetWorldPosFromMapPos =...
Forum: Lua/XML Help 07-10-19, 02:36 PM
Replies: 12
Views: 4,411
Posted By Terenna
I've been coding my UI casually for ~ 6 years....

I've been coding my UI casually for ~ 6 years. Turns out I'm still garbage at it compared to you all. It's incredible how absolutely complex you can get to squeeze every inch out of CPU/RAM if you...
Forum: Lua/XML Help 07-10-19, 09:13 AM
Replies: 12
Views: 4,411
Posted By Terenna
Absolutely brilliant, thank you so much!

Absolutely brilliant, thank you so much!
Forum: Lua/XML Help 07-10-19, 08:03 AM
Replies: 12
Views: 4,411
Posted By Terenna
Minimap Coordinates Memory Usage Optimization

The following code is used within my personal minimap addon. The code will cause a constant 3 kb/second gain of memory until garbage collection is run, and goes back down quite low. Is there a way to...
Forum: Lua/XML Help 07-08-19, 04:00 PM
Replies: 24
Views: 9,329
Posted By Terenna
Almost 48 hours and countless times typing /reload

Almost 48 hours and countless times typing /reload
Forum: Lua/XML Help 07-07-19, 01:00 PM
Replies: 3
Views: 2,183
Posted By Terenna
Seerah, Thank you for reading and replying! Noted...

Seerah, Thank you for reading and replying! Noted on eventTable and frames.

I am filtering all these events as it seemed to be the only way to modify the chat without tainting. Many chat addons...
Forum: Lua/XML Help 07-07-19, 12:06 AM
Replies: 3
Views: 2,183
Posted By Terenna
Chat Addon Optimization

Good evening all. I have written a pretty extensively tested chat addon that does a lot of cool things. It adds a lot of convenient hyperlinks, and colors player names in chat, even with punctuation....
Forum: Lua/XML Help 07-06-19, 04:17 PM
Replies: 24
Views: 9,329
Posted By Terenna
We could rattle off all the changes they made....

We could rattle off all the changes they made. And that may or may not click something in your brain as to the problem. But that assumes that this issue wasn't present before the patch, which may or...
Forum: Lua/XML Help 06-17-19, 11:03 AM
Replies: 0
Views: 1,037
Posted By Terenna
Druid Empowerment code optimization

Good afternoon,

The following code is within my oUF layout. It currently works exactly as intended. It is designed for balance druids to have visual markers of their empowerment stacks. I am curious...
Forum: Lua/XML Help 06-02-19, 09:36 PM
Replies: 9
Views: 2,005
Posted By Terenna
That code is literally doing 10,000 function...

That code is literally doing 10,000 function calls, 10,000-40,000 concatenates. Nearly 100,000 if checks and 100,000 table look ups. It doesn't matter how many options they've set, there's no check...
Showing results 1 to 25 of 105