Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 95
Search took 0.01 seconds.
Search: Posts Made By: Terenna
Forum: AddOn Help/Support 10-14-19, 12:07 PM
Replies: 7
Views: 246
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: 397
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: 757
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: 757
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: 285
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: 1,966
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: 1,966
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: 1,966
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: 1,966
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,255
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: 750
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: 750
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,255
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: 360
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: 495
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: 419
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: 357
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: 557
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: 557
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: 557
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: 506
Posted By Terenna
Post your code

Post your code
Forum: Lua/XML Help 03-26-19, 03:40 AM
Replies: 10
Views: 788
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...
Forum: General Authoring Discussion 03-23-19, 11:44 AM
Replies: 15
Views: 1,359
Posted By Terenna
If I'm understanding you correctly, you want your...

If I'm understanding you correctly, you want your paged action bar's buttons 7-12 to still show if you enter a vehicle/override bar state. If so, try replacing the _onAttributeChanged secure snippet...
Forum: General Authoring Discussion 03-23-19, 11:41 AM
Replies: 15
Views: 1,359
Posted By Terenna
That does make sense and your explanation was...

That does make sense and your explanation was both succinct and understandable. When I did try and hook each individual button with the 2nd block of code in the original post for this thread, I got...
Forum: Graphics Help 03-21-19, 07:36 AM
Replies: 11
Views: 937
Posted By Terenna
I'm pretty sure you can't use jpg and would need...

I'm pretty sure you can't use jpg and would need tga. But also try removing C:\\Program Files (x86)\\World of Warcraft\\_retail_\\ from your path file. All you need is the stuff including and after...
Showing results 1 to 25 of 95