Showing results 1 to 25 of 29
Search took 0.01 seconds.
Search: Posts Made By: Jonisaurus
Forum: Lua/XML Help 01-25-14, 07:52 PM
Replies: 9
Views: 1,204
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: 1,204
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: 1,204
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: 1,446
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: 1,446
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: 1,446
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: 1,446
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: 1,446
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: 1,850
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: 1,850
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: 1,850
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: 1,850
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: 2,178
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: 2,178
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: 2,178
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: 2,178
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: 2,178
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: 2,349
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: 2,349
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,...
Forum: General Authoring Discussion 01-03-12, 12:30 PM
Replies: 10
Views: 4,160
Posted By Jonisaurus
Using it in Bartender so I dont need a macro just...

Using it in Bartender so I dont need a macro just two keybindings, but thanks for trying to help :)

It's not so much that I can't watch out for the Holy Fire cooldown, it's more than I have to waste...
Forum: General Authoring Discussion 01-03-12, 11:17 AM
Replies: 10
Views: 4,160
Posted By Jonisaurus
Yes, it's obvious now that what I tried to do...

Yes, it's obvious now that what I tried to do isn't possible.
I wanted to basically replace my stupid castsequence macro for Holy Fire / Smite with an addon that changes actionbars according to Holy...
Forum: General Authoring Discussion 01-03-12, 04:22 AM
Replies: 10
Views: 4,160
Posted By Jonisaurus
If the macro itself can change the action bar,...

If the macro itself can change the action bar, can an addon running a macro through a slash command then also change the action bar or can't it?
I'm not that smart in these things.
Forum: General Authoring Discussion 01-03-12, 02:47 AM
Replies: 10
Views: 4,160
Posted By Jonisaurus
Sending raw slash command.

local frame =...
Forum: General Authoring Discussion 01-03-12, 02:42 AM
Replies: 14
Views: 5,027
Posted By Jonisaurus
Thank you. Of course I will listen to...

Thank you.
Of course I will listen to PLAYER_TOTEM_UPDATE and not to UNIT_POWER, that was just a substitute because I wasn't aware of that event's existence. That would also eliminate the need for...
Forum: General Authoring Discussion 12-27-11, 05:54 AM
Replies: 14
Views: 5,027
Posted By Jonisaurus
local frame =...

local frame =...
Showing results 1 to 25 of 29