Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 58
Search took 0.01 seconds.
Search: Posts Made By: Benalish
Forum: Lua/XML Help 07-19-16, 10:33 AM
Replies: 4
Views: 221
Posted By Benalish
Frames and metatables

If I have a frame, and the put a metatable on this all this methods, e.g. SetBackdropColor(), are overwritten. There's a solution to overcame this problem?


local frm = CreateFrame("Frame")

local...
Forum: Lua/XML Help 07-08-16, 02:30 PM
Replies: 5
Views: 277
Posted By Benalish
This HOWTO describes how to create a list view...

This HOWTO describes how to create a list view using the [DEPRECATED http://wowprogramming.com/utils/xmlbrowser/live/FrameXML/UIPanelTemplates.xml FauxScrollFrameTemplate] FrameXML class. An...
Forum: Lua/XML Help 07-07-16, 04:13 PM
Replies: 5
Views: 277
Posted By Benalish
Slider issues

Searching on the web I read the template "FauxScrollFrameTemplate" is now obsolete, you confirm? I have followed the advice of this page...
Forum: Lua/XML Help 06-30-16, 05:46 AM
Replies: 2
Views: 234
Posted By Benalish
Very well. You can mark this thread as solved

Very well. You can mark this thread as solved
Forum: Lua/XML Help 06-28-16, 01:48 PM
Replies: 2
Views: 234
Posted By Benalish
Minimap button highlight dragging

When I drag the minimap button along the edge, it remains the halo of highlight as you can see in the picture (http://imgur.com/KoxR0Da)

This is the code:

XML code (I used nopaste service to avoid...
Forum: Lua/XML Help 05-01-16, 02:04 PM
Replies: 3
Views: 436
Posted By Benalish
I need to know the texture coordinates :p

I need to know the texture coordinates :p
Forum: Lua/XML Help 05-01-16, 01:15 PM
Replies: 3
Views: 436
Posted By Benalish
Bag empty slot

Hi, I wish to know the texture of the bag empty slot. I did some research on the web but could not find anything about it. Can you help me?

Thank you in advance
Forum: Lua/XML Help 03-22-16, 04:31 PM
Replies: 1
Views: 312
Posted By Benalish
Retrieve media registered with LibSharedMedia-3.0

Hello everyone.
Since the explanation in the documentation is a little vague, I would like to know how I can do to recover a blackground registered with LibSharedMedia-3.0. Here's my method:


local...
Forum: Lua/XML Help 12-05-15, 09:10 AM
Replies: 0
Views: 953
Posted By Benalish
Cooldown switch blinking

Ok, I managed to solve my problems with Masque :D now I have another small that I'm sure you'll be able to help me solve it.
Foreword: I know there are many addons that do the same thing that I have...
Forum: Lua/XML Help 11-22-15, 08:15 AM
Replies: 11
Views: 2,315
Posted By Benalish
After several attempts, I found that the problem...

After several attempts, I found that the problem lies in the texture structure, but I don't know how to configure it properly so Masque is able to skin it correctly. Any advice is welcome :D
Forum: Lua/XML Help 11-19-15, 02:28 PM
Replies: 11
Views: 2,315
Posted By Benalish
This is my new attempt, and its results: The XML...

This is my new attempt, and its results:

The XML skeleton: https://gist.github.com/anonymous/2eebedd2141d3106f108

And the lua code:


function MyAddon:iconUpdate(total, frm) -- Icons (where buffs...
Forum: Lua/XML Help 11-13-15, 02:57 PM
Replies: 11
Views: 2,315
Posted By Benalish
MyAddon:iconLocation() is just an icon...

MyAddon:iconLocation() is just an icon reposizioning function

function MyAddon:iconLocation(idx) -- how the icons will be arranged according to the number of rows and columns
local row =...
Forum: Lua/XML Help 11-11-15, 05:44 AM
Replies: 11
Views: 2,315
Posted By Benalish
XML code: http://nopaste.linux-dev.org/?830226 (I...

XML code: http://nopaste.linux-dev.org/?830226 (I know I'm a bad person 'cause I use XML :()
Lua code: http://nopaste.linux-dev.org/?830227

I use nopaste service 'cause is a bit long code, and I did...
Forum: Lua/XML Help 11-10-15, 04:07 PM
Replies: 11
Views: 2,315
Posted By Benalish
Masque ButtonData

I am trying to assign a skin to my addon buttons with Masque, but there are some trouble with the cooldown layer. In fact, it often happens that the size of the cooldown are greater than those of the...
Forum: Lua/XML Help 11-07-15, 06:20 PM
Replies: 3
Views: 1,204
Posted By Benalish
The best solution of all would resort to the use...

The best solution of all would resort to the use of metatables. In a Lua language mailing list was suggested this: a table created once and for all for each string

local tok_meta = { __index = {...
Forum: Lua/XML Help 11-07-15, 05:31 PM
Replies: 3
Views: 1,204
Posted By Benalish
OnUpdate running function and memory saving

Disabling all add-ons and leaving active only the one created by me, I noticed large swings in memory consumption. This is probably because in OnUpdate event is launched this function, where tables...
Forum: Lua/XML Help 09-12-15, 05:56 PM
Replies: 0
Views: 594
Posted By Benalish
Cooldown frame overflow

I created a button with an icon showing a spell texture. If I hook a cooldown frame created "on the fly" to this button, there is a strange behavior: the cooldown overflow from the button as shown in...
Forum: Lua/XML Help 09-10-15, 03:16 AM
Replies: 4
Views: 862
Posted By Benalish
GetWeaponEnchantInfo()...

GetWeaponEnchantInfo() (http://wow.gamepedia.com/API_GetWeaponEnchantInfo) tell you the time remaining for the weapon enchant, as thousandths of seconds, not the duration :p
Forum: Lua/XML Help 09-02-15, 04:54 AM
Replies: 4
Views: 862
Posted By Benalish
Two frame Cooldown question

I have two questions about the frame Cooldown:

The first is: if I want monitor the duration of a temporary enchant weapon through APIs GetWeaponEnchantInfo() and cd:SetCooldown (start, duration),...
Forum: Lua/XML Help 08-25-15, 09:12 AM
Replies: 1
Views: 589
Posted By Benalish
Print message on the screen

Hello everyone
After much research on the web about how to print a message on the screen (not in the chat) game I did not find what I was interested. Can you tell me how?

Thank you in advance
Forum: Lua/XML Help 08-10-15, 07:11 PM
Replies: 1
Views: 624
Posted By Benalish
Retrieve buff id by name

Hi everyone, there is an API that allows, if I have for example the buff "Blood Shield," to give me his id? Not the spell ID, but the buff index that I can then use in the API GameTooltip:SetUnitBuff...
Forum: Lua/XML Help 05-07-15, 05:33 AM
Replies: 1
Views: 670
Posted By Benalish
Form for choosing settings

I've created a form to choose the settings. These settings are automatically saved from the client in this form:


["Setting"] = {
["track"] = "Water Shield",
["duration"] = {
...
Forum: Lua/XML Help 05-04-15, 05:53 AM
Replies: 2
Views: 897
Posted By Benalish
Concatenation problem

Hi all. This is a fuction of my code


function onAdvancedOptionClose()
local options = { 'duration', 'stack' }
for i=1, #options do
local option = options[i]

if not db[option]...
Forum: Lua/XML Help 02-17-15, 07:49 PM
Replies: 3
Views: 948
Posted By Benalish
OnTextChanged event just does what I want. You...

OnTextChanged event just does what I want. You cant add [SOLVED] to the thread's title.
Forum: Lua/XML Help 02-17-15, 04:08 PM
Replies: 3
Views: 948
Posted By Benalish
[SOLVED] OnKeyUp not working

On this editbox does not work the event OnKeyUp: there is something wrong?


<Frame name="testChooseDialog" parent="UIParent" toplevel="true" enableMouse="true"...
Showing results 1 to 25 of 58