Showing results 1 to 25 of 57
Search took 0.00 seconds.
Search: Posts Made By: sticklord
Forum: Lua/XML Help 09-25-18, 02:43 PM
Replies: 7
Views: 2,947
Posted By sticklord
Im pretty sure it's impossible to hook the mixin,...

Im pretty sure it's impossible to hook the mixin, so you need to hook the frame. Maybe this will work (untested)

local function ShowBountyTooltip(self, bountyIndex)
print(bountyIndex)
end

for...
Forum: oUF (Otravi Unit Frames) 10-02-16, 04:38 PM
Replies: 18
Views: 13,935
Posted By sticklord
Neat! Should be easy to add support for...

Neat!

Should be easy to add support for nameplates in oUF.
Forum: oUF (Otravi Unit Frames) 10-02-16, 12:27 PM
Replies: 18
Views: 13,935
Posted By sticklord
Yeah the UNIT_HEALTH on nameplates work badly....

Yeah the UNIT_HEALTH on nameplates work badly. Blizzard registers both UNIT_HEALTH and the frequent one (forgot the name). I'm using the frequent one only on mine.

If you get the OnEvent onevent of...
Forum: AddOn Search/Requests 09-30-16, 06:26 PM
Replies: 19
Views: 7,526
Posted By sticklord
Try to...

Try to replace:
self.ActivityName:SetFormattedText("%s[%s]|r %s", ORANGE_FONT_COLOR_CODE, realmLang:sub(3), self.ActivityName:GetText())
with:
self.ActivityName:SetFormattedText("%s[%s]|r %s",...
Forum: Lua/XML Help 09-30-16, 05:50 PM
Replies: 6
Views: 1,552
Posted By sticklord
These are from what I've noticed and are my...

These are from what I've noticed and are my personal opinions the best way to do it (could be wrong though)

1: Put them in private table, so that it doesn't clutter the global namespace mostly. It...
Forum: Lua/XML Help 09-30-16, 05:23 PM
Replies: 11
Views: 3,874
Posted By sticklord
Hey. The reason why it's not working is because...

Hey.

The reason why it's not working is because you made your "combatcheck" local inside the onevent function. So every time the UNIT_AURA event fires, combatcheck will be false. Also, there a...
Forum: AddOn Search/Requests 09-17-16, 07:23 PM
Replies: 2
Views: 4,966
Posted By sticklord
It's pretty much just another nameplate, but the...

It's pretty much just another nameplate, but the nameplate is not static so you gotta take this into account . The manabar (ClassNameplateManaBarFrame) is static though.
Forum: Legion Beta archived threads 09-17-16, 05:41 AM
Replies: 61
Views: 56,330
Posted By sticklord
I've been working on my own nameplate mod for...

I've been working on my own nameplate mod for abit and I noticed that blizzard uses both 'UNIT_HEALTH_FREQUENT' and 'UNIT_HEALTH'. Anyone know why they do that? This makes the nameplate update twice...
Forum: Legion Beta archived threads 09-09-16, 12:12 PM
Replies: 2
Views: 5,077
Posted By sticklord
You can find many of them here....

You can find many of them here. (https://github.com/tekkub/wow-ui-source/blob/live/AddOns/Blizzard_NamePlates/Blizzard_NamePlates.xml#L289)

What you're looking for is ClassificationFrame and...
Forum: Legion Beta archived threads 08-04-16, 11:23 AM
Replies: 12
Views: 7,196
Posted By sticklord
Ah I understand, didn't think of that...

Ah I understand, didn't think of that possibility:)
Forum: Legion Beta archived threads 08-03-16, 11:13 AM
Replies: 12
Views: 7,196
Posted By sticklord
I'm pretty sure that is what Ereki did, to stop...

I'm pretty sure that is what Ereki did, to stop the Runeframe being hidden by addons that hide the Playerframe. That's why the unit was missing,.
Forum: Legion Beta archived threads 08-03-16, 07:08 AM
Replies: 12
Views: 7,196
Posted By sticklord
What she said:P

What she said:P
Forum: Legion Beta archived threads 08-02-16, 02:17 AM
Replies: 12
Views: 7,196
Posted By sticklord
Sorry, tried to explain in proper terms and all...

Sorry, tried to explain in proper terms and all but ended up overcomplicating it:p What I mean is this, where the frame is the one you're parenting the runeframe to:

your_frame.unit = "player"
Forum: Legion Beta archived threads 08-01-16, 01:15 PM
Replies: 12
Views: 7,196
Posted By sticklord
Have you tried to give the .unit key the value...

Have you tried to give the .unit key the value "player" on the frame you're parenting the runeframe to?
Forum: AddOn Help/Support 07-27-16, 02:29 PM
Replies: 3
Views: 3,420
Posted By sticklord
Hey, I haven't tested this or anything but its...

Hey, I haven't tested this or anything but its just a gut feeling. Swap the bottom part with this:

CastingBarFrame:HookScript('OnUpdate', function(self, elapsed)
if not self.timer then return...
Forum: Graphics Help 10-08-15, 04:12 PM
Replies: 2
Views: 8,177
Posted By sticklord
I guess you mean it all works, but the...

I guess you mean it all works, but the SetPortraitTexture() doesn't add the player to the portrait on first startup? If so it might be because for some reason you can't get the texture at startup....
Forum: Lua/XML Help 10-03-15, 08:13 PM
Replies: 3
Views: 2,416
Posted By sticklord
I'm not entirely sure, especially when it comes...

I'm not entirely sure, especially when it comes to metatables, but it seems like it stores the functions to the table DEFAULT_OBJECTIVE_TRACKER_MODULE and then creates a link to these with the...
Forum: Lua/XML Help 09-30-15, 04:49 PM
Replies: 5
Views: 4,453
Posted By sticklord
It is possible, it just wouldn't work 100%. Same...

It is possible, it just wouldn't work 100%. Same problem as auras on nameplates have.
Forum: UI Screenshots, Feedback and Design Discussion 09-30-15, 03:21 PM
Replies: 25
Views: 30,801
Posted By sticklord
Well probably not, my 6 month subsrciption was...

Well probably not, my 6 month subsrciption was rolling and I've got some free time lately so figured I could try fix some bugs etc. Just ask if you got any questions ;)
Forum: UI Screenshots, Feedback and Design Discussion 09-30-15, 03:00 PM
Replies: 25
Views: 30,801
Posted By sticklord
Looks great, raidframes look familiar xd

Looks great, raidframes look familiar xd
Forum: Lua/XML Help 04-19-15, 02:53 AM
Replies: 12
Views: 4,206
Posted By sticklord
Your problem is that you have registered an event...

Your problem is that you have registered an event and all, but there is nothing happening when it triggers. What you need is EventFrame:SetScript("OnEvent", your function).
Forum: Lua/XML Help 04-03-15, 09:57 AM
Replies: 6
Views: 2,977
Posted By sticklord
You're welcome =)

You're welcome =)
Forum: Lua/XML Help 04-03-15, 08:40 AM
Replies: 6
Views: 2,977
Posted By sticklord
When you repeatedly call hooksecurefunc you will...

When you repeatedly call hooksecurefunc you will hook the function alot of times, it doesn't overwrite the earlier hooks. I'm not sure what order they're called in but it isn't a good way to do it...
Forum: oUF (Otravi Unit Frames) 03-11-15, 04:32 PM
Replies: 3
Views: 6,174
Posted By sticklord
Thanks for the tip, I'll try to add a check for...

Thanks for the tip, I'll try to add a check for the texture and duration so it hopefully will happen alot less frequently.

For the other bits it works with UnitBuff aswell, this:
UnitDebuff =...
Forum: oUF (Otravi Unit Frames) 03-09-15, 01:09 PM
Replies: 3
Views: 6,174
Posted By sticklord
Script ran too long

Hello!

I'm looking for some help regarding a script ran too long error. It's a module based off PortraitTimers (basically show an aura icon if the unit has a whitelisted aura on them). I'm pretty...
Showing results 1 to 25 of 57