#Lua errors on icons in Ignore Pain weakaura, pls help fix

71 messages · Page 1 of 1 (latest)

west nebula
#

Hello, i am looking for someone with knowledge on lua to help me fix the errors i get on this Ignore Pain weakaura. All the values and stuff are working fine but all versions of the icons are not.
https://wago.io/uWL8qWcH0
Thank you!!

Wago.io is a database of sharable World of Warcraft addon elements

thorn eagle
#

you didnt menton the error

west nebula
#

There are 11 different "version" of the lua errors, i tried to segment them

thorn eagle
#

just get rid of this.

#

thisis beyond help.

west nebula
#

Why so?

hard viper
#

The code it uses is severely outdated, and the approach to begin with is faulty

#

What do you want the aura to do?

west nebula
#

It worked for me before but i have come back from a few years break and now the icons are not working anymore

hard viper
#

Yes, because the code is severely outdated.
And as I said the approach to realize this is faulty to begin with and incredibly unperformant as opposed to what it could be

west nebula
#

It helps visually with a gradually changing icon instead of a static icon or a bar that some other weakauras use

hard viper
#

I don't know what the WA did back when it worked.
If you describe the exact things you want it to do/show, then I could make a new one for you later tonight when I got time

west nebula
#

That would be neat, i will try and find an old screenshot of it in action

west nebula
#

So here i found an old screenshot of it in action!

#

The "8" on the left is duration

#

The "1427" on the right is current amount of Ignore Pain

#

The "7%" is % of the cap on Ignore Pain buff, 100% meaning you are capped on the amount

#

And then the "Red Icons" are whats currently giving lua errors today. They change from red to yellow to green the closer to the cap you are

hard viper
#

if I read that right

west nebula
#

No stranger to pain increases the total damage pool by 20% from 1,8million

hard viper
#

which currently caps at 1,8 million

#

no, it's 30% of your max HP

#

that might be 1.8mil tho yes

west nebula
#

That would be correct

hard viper
#

yeah I just wanna know if no stranger to pain makes it:
~3 million (then it would be 50% of your max hp, so 20% additional of your max hp)
or ~ 2.16 million (then it would be * 1.2 of the previous, so 20% increase on what you have)

#

I don't have a max level warrior where I can check it

west nebula
#

So i swapped to Colossus and No stranger to pain and it still caps my IP buff at 1,8 million

#

So it does nothing? I dont know, i always play mountain thane 🙂

hard viper
west nebula
hard viper
#

huh, you'd expect it to do something KEKW

#

idk, I can just ingore it then if you're fine with it

west nebula
hard viper
#

that's it then, that looks like it at least no?

#

or did I forget smth

#

left is duration, right is current absorb amount, top is the % of the max absorb

west nebula
#

Yes! But you are missing the icons

#

That change color with % max absorb

hard viper
#

oh there are icons?

#

I just made the top text change colour

graceful roost
#

The red slashes that are hard to see

west nebula
#

The red "wings"

hard viper
#

ah yeah sure

#

was it gradual, or was it like "below 33% its red, till 66% its yellow, above 66% its green"

west nebula
#

Not gradual, just red - yellow - green

#

I think the triggers were below 30%, 30-60% and above 60%

hard viper
#

I refuse, it should obviously be 33 and 66

west nebula
#

Getting there but now you lost the color on the top one

hard viper
#

ah I didn't get that you also want the text to be coloured there

west nebula
#

I want it to be identical to what i had 🙂

#

Are the icons changeable? As in can i change them myself?

hard viper
#

sure

west nebula
#

Exciting!

hard viper
#

you can change the texture in the display tab to anything you want, and change the height and width etc. until it is how you like it

west nebula
#

This is awesome, i will definitely tweak it some but you did a great job!

west nebula
hard viper
#

you can just keep it as one aura and move the texts where you want them

#

if you click on any of the texts in the display tab and then on the "⚙️ anchors" thing

#

you can position them however you like

west nebula