Showing results 1 to 25 of 35
Search took 0.00 seconds.
Search: Posts Made By: Jonisaurus
Forum: Lua/XML Help 02-06-17, 05:34 PM
Replies: 4
Views: 3,137
Posted By Jonisaurus
Just letting you know that I'm working on it. The...

Just letting you know that I'm working on it. The addon's 'buff component' has some very obtuse code. Weirdly named functions, barely any documentation and manipulating/passing data in strange ways....
Forum: Lua/XML Help 02-02-17, 10:23 PM
Replies: 4
Views: 3,137
Posted By Jonisaurus
This ability is technically a buff, correct? How...

This ability is technically a buff, correct? How is it displayed in PerfectRaid? I can't make it out on the addon page. Is it an icon?
Does it display one of the icons for all stages of the...
Forum: Lua/XML Help 02-02-17, 12:09 PM
Replies: 10
Views: 2,419
Posted By Jonisaurus
The question regarding Ace was referring to...

The question regarding Ace was referring to myrroddin's explanation of the use case for his particular table. He mentioned using an AceOptions table and it being a numerically indexed table instead...
Forum: Lua/XML Help 02-02-17, 05:38 AM
Replies: 10
Views: 2,419
Posted By Jonisaurus
I'm not familiar with Ace, are you referring to...

I'm not familiar with Ace, are you referring to this?
https://www.wowace.com/projects/ace3/pages/ace-config-3-0-options-tables
Isn't that a hash table and not an array / integer-indexed...
Forum: Lua/XML Help 02-01-17, 10:21 AM
Replies: 10
Views: 2,419
Posted By Jonisaurus
You can do this in a nice way using a functional...

You can do this in a nice way using a functional approach. All you need is 2 functions: one sort function that returns a new, sorted copy of a list / array / integer-indexed table (for all intents...
Forum: Lua/XML Help 02-01-17, 09:29 AM
Replies: 0
Views: 1,239
Posted By Jonisaurus
Choppy animation on texture cropped with SetTexCoord

I'm trying to create an icon that scales smoothly relative to its cooldown.

The problem is: I crop the icon's texture using SetTexCoord to remove Blizzard's ugly mushy border, but when I do that,...
Forum: Lua/XML Help 01-25-14, 07:52 PM
Replies: 9
Views: 6,273
Posted By Jonisaurus
Reading alternative code like that really helps....

Reading alternative code like that really helps. I have a few questions:

1. The pairs() function. I don't quite understand it.
Earlier you declare 'events' to be the result of the...
Forum: Lua/XML Help 01-24-14, 11:29 PM
Replies: 9
Views: 6,273
Posted By Jonisaurus
My god what a stupid mistake. Thanks a lot for...

My god what a stupid mistake.
Thanks a lot for that though!

By complicated what do you mean specifically? A few things in there I wrote simply for syntax practice, but the whole thing is probably...
Forum: Lua/XML Help 01-24-14, 10:47 PM
Replies: 9
Views: 6,273
Posted By Jonisaurus
Instance methods and variables don't work - Metatable code faulty?

Hey!
This is my first OOP test with Lua and I'm a beginner so please be easy on me with bad, ugly code.
I'm mainly trying to test functionality in order to understand everything.

For my OOP practice...
Forum: oUF (Otravi Unit Frames) 10-22-13, 12:00 PM
Replies: 10
Views: 5,565
Posted By Jonisaurus
I wanted to give a kind of conceptual sample of...

I wanted to give a kind of conceptual sample of what I'm working on. :)
I'm building a paintbrush themed minimalistic interface. Inspired a bit by Guild Wars 2.

Those are my own textures but they...
Forum: oUF (Otravi Unit Frames) 10-22-13, 07:56 AM
Replies: 10
Views: 5,565
Posted By Jonisaurus
Your layout works wonderfully. I edited it...

Your layout works wonderfully.
I edited it according to my needs (for my own textures).
I have a few questions. :P


The Power font colours, are those the standard WoW resource type colours? I think...
Forum: oUF (Otravi Unit Frames) 10-21-13, 10:20 AM
Replies: 10
Views: 5,565
Posted By Jonisaurus
That would be great, I could see what I did wrong...

That would be great, I could see what I did wrong then. :)
Forum: oUF (Otravi Unit Frames) 10-21-13, 07:57 AM
Replies: 10
Views: 5,565
Posted By Jonisaurus
Hey Zork, thanks so much for taking time and...

Hey Zork,

thanks so much for taking time and coding all of that!
I read through it and I thought I understood it.

We create tag functions to attain information about HP, PP through the oUF...
Forum: oUF (Otravi Unit Frames) 10-20-13, 09:24 PM
Replies: 10
Views: 5,565
Posted By Jonisaurus
Minimalistic Text oUF

I don't have much programming ability and can't really figure this out myself...

I need some oUF code to make a super minimalistic player and target frame. It should not consist of any bars or...
Forum: Lua/XML Help 05-15-13, 07:50 AM
Replies: 10
Views: 7,179
Posted By Jonisaurus
Are table keys their own data type or do they...

Are table keys their own data type or do they belong to string, number etc.? Thanks for explaining. :)



Would something like
local _G = _G

be helpful to implement for performance reasons?

Also,...
Forum: Lua/XML Help 05-13-13, 11:41 AM
Replies: 10
Views: 7,179
Posted By Jonisaurus
If I understand correctly then the only way to...

If I understand correctly then the only way to look up a frame that is created with a local variable is if it was given a name through arg2 of the CreateFrame function.

And the CreateFrame arg2...
Forum: Lua/XML Help 05-13-13, 07:44 AM
Replies: 10
Views: 7,179
Posted By Jonisaurus
May I kiss you? This worked perfectly. The...

May I kiss you? This worked perfectly.

The CreateBorder function indeed does not accept frame names, only frames.

Sadly I don't quite understand what the reference to the global variable table does...
Forum: Lua/XML Help 05-13-13, 05:37 AM
Replies: 10
Views: 7,179
Posted By Jonisaurus
Concatenating a string+number to be an argument

Hello :)

I'm using Neal's wonderful !Beautycase addon that lets you create borders through a simple function.

CreateBorder(FrameName, Bordersize, r, g, b, Paddingamount)

Pretty simple.

I am using...
Forum: Lua/XML Help 11-17-12, 10:15 PM
Replies: 7
Views: 5,053
Posted By Jonisaurus
I circumvent that by not using any hide settings...

I circumvent that by not using any hide settings in Bartender itself but merely adjusting the Alpha of that Bartender bar in my own addon. That's how I have ultimate control over what shows...
Forum: Lua/XML Help 11-17-12, 08:54 PM
Replies: 7
Views: 5,053
Posted By Jonisaurus
Thank you, I've achieved exactly what I...

Thank you, I've achieved exactly what I wanted.

The Bartender bar is a pure cooldown display. I can select "Clickthrough" in the Bartender options and it's done. Thanks a lot!
Forum: Lua/XML Help 11-17-12, 01:49 PM
Replies: 7
Views: 5,053
Posted By Jonisaurus
Ah thanks for the answer! SetAlpha would be OK...

Ah thanks for the answer!

SetAlpha would be OK with me. Could you quickly show me how to do it?
Forum: Lua/XML Help 11-17-12, 01:05 PM
Replies: 7
Views: 5,053
Posted By Jonisaurus
I figured out what the problem is. It's...

I figured out what the problem is.

It's impossible to Show() or Hide() any of the Bartender buttons while in combat.
Is there any solution to this?



I wanted my Masque border texture around a...
Forum: Lua/XML Help 11-17-12, 12:41 PM
Replies: 7
Views: 5,053
Posted By Jonisaurus
Custom Aura Addon Breaks in Combat

I wrote an addon that hides or shows specific Bartender buttons in relation to specific auras (anyone wondering: I basically use it as part of a WeakAuras aura setup).

Anyway, it works perfectly...
Forum: AddOn Help/Support 04-13-12, 07:37 AM
Replies: 2
Views: 4,939
Posted By Jonisaurus
Thanks for your answer, it led me to the...

Thanks for your answer, it led me to the solution.

My UIScaling was disabled (which gives you a 1:1 ratio right?), but the SetPoint values were messed up.

I reset the Grid2 position and it worked...
Forum: AddOn Help/Support 04-13-12, 06:51 AM
Replies: 2
Views: 4,939
Posted By Jonisaurus
Pixel Perfect Grid (Grid2)

Hey.

I have a 1:1 WoW UIScale, but somehow addons still dont consistently give me pixel perfect borders and lines.

I have managed to find a sweetspot in Grid, but now that I want to set up Grid2,...
Showing results 1 to 25 of 35