Showing results 1 to 22 of 22
Search took 0.00 seconds.
Search: Posts Made By: Oppugno
Forum: Lua/XML Help 02-04-15, 05:56 AM
Replies: 5
Views: 5,628
Posted By Oppugno
I'm not saying to remove the OnUpdate, that's...

I'm not saying to remove the OnUpdate, that's definently needed for the core. I was just saying move unneeded stuff out of it. For instance, to make my core match yours this would be my entire core...
Forum: Lua/XML Help 02-04-15, 02:07 AM
Replies: 5
Views: 5,628
Posted By Oppugno
My preferred method is via the use of...

My preferred method is via the use of events/script handlers as opposed to polling (via OnUpdate).

A couple of facts that have already been mentioned but I'm going to mention them again as they're...
Forum: Lua/XML Help 08-18-14, 12:23 AM
Replies: 5
Views: 3,623
Posted By Oppugno
Although it has already been said this is the...

Although it has already been said this is the formal reason why it is happening:

As you would think this also applies when calling functions.

These two functions are identical

function...
Forum: AddOn Help/Support 03-20-14, 12:54 AM
Replies: 10
Views: 18,496
Posted By Oppugno
That's a very good point. Here's the single buff...

That's a very good point.

Here's the single buff version:

--[[
Each number corresponds to a specific raid buff type.
1 - Stats
2 - Stamina
3 - Attack Power
4 - Attack Speed
Forum: AddOn Help/Support 03-19-14, 05:26 AM
Replies: 10
Views: 18,496
Posted By Oppugno
If you could post whatever you have at the moment...

If you could post whatever you have at the moment it'd help.

I don't use WeakAuras myself but I am aware of the principles behind it so these may or may not work. For each of the following set the...
Forum: AddOn Help/Support 03-17-14, 06:44 PM
Replies: 10
Views: 18,496
Posted By Oppugno
GetRaidBuffTrayAuraInfo()...

GetRaidBuffTrayAuraInfo() (http://wowprogramming.com/docs/api/GetRaidBuffTrayAuraInfo) would probably be quite useful.
Forum: Lua/XML Help 03-10-14, 05:34 PM
Replies: 19
Views: 6,554
Posted By Oppugno
As for the resizing frames if you do increase...

As for the resizing frames if you do increase their size keep in mind that the area on which you can click a nameplate will be roughly the same as the original (smaller) area. Also, OnSizeChanged...
Forum: Lua/XML Help 03-10-14, 05:16 PM
Replies: 19
Views: 6,554
Posted By Oppugno
Sorry, what I meant was you do need everything...

Sorry, what I meant was you do need everything else other than lines 63-65 in your OnShow function (UpdatePlate). But you need to make a separate function that is called from your OnUpdate...
Forum: Lua/XML Help 03-09-14, 05:56 PM
Replies: 19
Views: 6,554
Posted By Oppugno
The tapped colour is set/reset every frame while...

The tapped colour is set/reset every frame while the nameplate is tapped. That is what is causing your flickering bar colour. I know of three 'solutions':

Set the bar colour every frame. (CPU...
Forum: Lua/XML Help 03-08-14, 12:09 PM
Replies: 19
Views: 6,554
Posted By Oppugno
(Although I'm pretty sure you understood this...

(Although I'm pretty sure you understood this part) To clarify, when I wrote 'active' I meant the nameplate is actually visible on the screen at this moment in time.

Say you've fought 50 mobs at...
Forum: Lua/XML Help 03-08-14, 11:14 AM
Replies: 19
Views: 6,554
Posted By Oppugno
Nameplates persist long after they've gone off...

Nameplates persist long after they've gone off screen / not visible anymore and are constantly being recycled. Which makes sense or else there would be alot of garbage being generated each time a...
Forum: Lua/XML Help 03-08-14, 08:06 AM
Replies: 19
Views: 6,554
Posted By Oppugno
So two hours later the website is stable enough...

So two hours later the website is stable enough so I can finally post:

As far as I'm aware it is unfeasible to get accurate threat information for nameplates other than from the supplied threat...
Forum: Lua/XML Help 02-24-14, 06:21 PM
Replies: 8
Views: 5,299
Posted By Oppugno
In the most recent revision I removed a...

In the most recent revision I removed a ClearAllPoints() call on the castbar's spell name (castBar.cname).

Overall I removed the events and handler that dealt with spell casts.

575: --...
Forum: Lua/XML Help 02-22-14, 01:12 AM
Replies: 8
Views: 5,299
Posted By Oppugno
I did indeed. I also just finished a SoO and...

I did indeed.

I also just finished a SoO and couldn't reproduce it during the raid. Are you getting any errors?

Give this version a go. If it still doesn't work there are probably half a dozen...
Forum: Lua/XML Help 02-21-14, 10:09 AM
Replies: 8
Views: 5,299
Posted By Oppugno
Did you replace the previous 'shNameplates.lua'...

Did you replace the previous 'shNameplates.lua' file in the addon folder with the attached one?
Does the cast time / remaining time still show up?

It was working fine during my tests. I'll need some...
Forum: Lua/XML Help 02-20-14, 09:09 PM
Replies: 8
Views: 5,299
Posted By Oppugno
Give this a whirl.

Give this a whirl.
Forum: Lua/XML Help 02-19-14, 09:19 AM
Replies: 24
Views: 6,943
Posted By Oppugno
It seems UnitPower("player",...

It seems UnitPower("player", SPELL_POWER_BURNING_EMBERS) returns a count of only full embers not total ember bits. Updated code.
Forum: Lua/XML Help 02-19-14, 08:50 AM
Replies: 24
Views: 6,943
Posted By Oppugno
I didn't realise you wanted a solution and not a...

I didn't realise you wanted a solution and not a hint (which is a good thing as I meant divide by 10 not modulo by it).

With changing as little as possible:


local numPrevious =...
Forum: Lua/XML Help 02-19-14, 07:36 AM
Replies: 24
Views: 6,943
Posted By Oppugno
As Haleth suggested the same can be done for...

As Haleth suggested the same can be done for warlocks with a slight adjustment. The only difference being that Warlock resources (possibly with the exception of Soul Shards) are generated...
Forum: Lua/XML Help 11-14-13, 05:51 AM
Replies: 21
Views: 10,214
Posted By Oppugno
No one has responded for awhile so I'll swoop in...

No one has responded for awhile so I'll swoop in and steal the glory.

Lua.org - Multiple Results (http://www.lua.org/pil/5.1.html)

The relevant part in this particular case is that return...
Forum: General Authoring Discussion 11-12-13, 05:27 AM
Replies: 7
Views: 14,232
Posted By Oppugno
@zork: Unfortunately just hooking OnShow won't...

@zork: Unfortunately just hooking OnShow won't work for this implentation. Your nameplates and therefore castbars are hidden and shown every frame so the OnShow handler is run on every frame the cast...
Forum: General Authoring Discussion 11-12-13, 12:54 AM
Replies: 7
Views: 14,232
Posted By Oppugno
Disclaimer: This is all just my...

Disclaimer: This is all just my observations/theory. I have no other evidence to back it up.

It seems there is some form of throttling/cut off point when recursion would occur in the "OnSizeChanged"...
Showing results 1 to 22 of 22