Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 98
Search took 0.01 seconds.
Search: Posts Made By: Terenna
Forum: Lua/XML Help Yesterday, 01:40 PM
Replies: 8
Views: 295
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: 96
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: 104
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: 370
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: 605
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: 809
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: 809
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: 333
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: 2,030
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: 2,030
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: 2,030
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: 2,030
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: 2,337
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: 792
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: 792
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: 2,337
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: 386
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: 533
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...
Forum: Lua/XML Help 05-08-19, 06:23 PM
Replies: 3
Views: 449
Posted By Terenna
It's polling the combat log for events from...

It's polling the combat log for events from enemies. Once it sees an enemy is engaged, it logs its unique guid and the health of that GUID. It then likely compares the players target, focus, or...
Forum: Lua/XML Help 05-02-19, 05:08 PM
Replies: 2
Views: 391
Posted By Terenna
RIP mate. Can't help you here.

RIP mate. Can't help you here.
Forum: AddOn Help/Support 04-30-19, 06:45 PM
Replies: 8
Views: 601
Posted By Terenna
You're better off writing an OnUpdate function...

You're better off writing an OnUpdate function that runs until they're learned. That may not be optimal, because you haven't posted all of your code, just some random snippet out of context
Forum: AddOn Help/Support 04-30-19, 06:44 PM
Replies: 8
Views: 601
Posted By Terenna
Ya, but you're in an infinite loop if they don't,...

Ya, but you're in an infinite loop if they don't, so literally if there's like a millisecond where that function runs and it's not true, you'll enter an infinite loop you can't get out of because you...
Forum: AddOn Help/Support 04-30-19, 06:04 PM
Replies: 8
Views: 601
Posted By Terenna
Any time a, b, c, or d is not true you'll enter...

Any time a, b, c, or d is not true you'll enter an infinite loop causing the crash
Forum: AddOn Help/Support 03-27-19, 07:30 AM
Replies: 8
Views: 559
Posted By Terenna
Post your code

Post your code
Forum: Lua/XML Help 03-26-19, 03:40 AM
Replies: 10
Views: 865
Posted By Terenna
I'm not sure what's going on, but the reason...

I'm not sure what's going on, but the reason you're last code causes a stack overflow is because you essentially enter an infinite loop.

You hook into the setscale function, and then SetScale within...
Showing results 1 to 25 of 98