Showing results 1 to 17 of 17
Search took 0.00 seconds.
Search: Posts Made By: Benalish
Forum: Lua/XML Help 07-29-13, 06:23 AM
Replies: 7
Views: 1,872
Posted By Benalish
because if WS is updated, as well the duration...

because if WS is updated, as well the duration needs to be updated :p
Forum: Lua/XML Help 07-29-13, 04:22 AM
Replies: 7
Views: 1,872
Posted By Benalish
API SetCooldown:()/OnUpdate trouble

I have a problem with the API SetCooldown: basically, when working in an OnUpdate script, I can't see the clock animation, while if it's started only once is displayed correctly. This is my script, a...
Forum: Lua/XML Help 03-24-13, 07:06 AM
Replies: 16
Views: 2,887
Posted By Benalish
Done, but the anomalies in memory usage persist...

Done, but the anomalies in memory usage persist :(
I also made ​​substantial changes
http://nopaste.dk/p23706
Forum: Lua/XML Help 03-22-13, 01:13 PM
Replies: 16
Views: 2,887
Posted By Benalish
As you prefer :D *SPOILER* It's very very very...

As you prefer :D

*SPOILER* It's very very very long, can result difficult for you to read whole

http://nopaste.dk/p23585, line 373, 380 e 504
Forum: Lua/XML Help 03-22-13, 12:06 PM
Replies: 16
Views: 2,887
Posted By Benalish
Is a DYNAMIC table I write an example of how it...

Is a DYNAMIC table

I write an example of how it should work my script


local foobar = {
[1] = "Welcome#To#My#World",
[2] = "Secret#To#The#End",
[3] = "My#Little#Universe",
}
Forum: Lua/XML Help 03-22-13, 11:19 AM
Replies: 16
Views: 2,887
Posted By Benalish
I tried this local meow function buffscan() ...

I tried this


local meow

function buffscan()
-- lines disabled
meow = { "a","b","c","d","e","f","g","h" }
-- more stuff
table.wipe(meow)
Forum: Lua/XML Help 03-22-13, 10:26 AM
Replies: 16
Views: 2,887
Posted By Benalish
Unusual memory usage

In my addon I noticed an unusual use of memory ranges from 200 kb to 1.10 mb. After several tests, I found the cause of this oscillation, located inside a function. I noticed that disabling...
Forum: Lua/XML Help 12-30-12, 08:58 AM
Replies: 0
Views: 1,208
Posted By Benalish
SetCooldown()

How do I display only the numerical value of the cooldown (what is seen through OmniCC) without the cooldown animation? Of course, I have OmniCC installed.
Forum: Lua/XML Help 12-29-12, 11:25 PM
Replies: 5
Views: 2,010
Posted By Benalish
I had not written this: local LSM =...

I had not written this: local LSM = LibStub("LibSharedMedia-3.0")
Forum: Lua/XML Help 12-21-12, 10:28 AM
Replies: 5
Views: 2,010
Posted By Benalish
Did not display the combobox! I solved the...

Did not display the combobox! I solved the problem ;D the documentation found about ACE libraries are very approximate :rolleyes:
Forum: Lua/XML Help 12-20-12, 10:26 AM
Replies: 5
Views: 2,010
Posted By Benalish
AceGUI-3.0-SharedMediaWidgets

I'm trying to include in my options panel the AceGUI-3.0-SharedMediaWidgets combobox to select the font. I've tried using these two codes, but does not work:


<Ui...
Forum: Lua/XML Help 12-16-12, 08:08 PM
Replies: 4
Views: 1,665
Posted By Benalish
The problem is that not a single frame that I...

The problem is that not a single frame that I would like to show or hide, but they are different. The frame that I want to hide is selected from a dropdown menu. The frames are created by this...
Forum: Lua/XML Help 12-16-12, 07:40 PM
Replies: 4
Views: 1,665
Posted By Benalish
Frame show/hide in different function

In a function I created a frame called US_Frame1, and in this I created a checkbutton that shows or hides the frame. If I write the function in this way the frame is shown/hidden properly


function...
Forum: Lua/XML Help 12-13-12, 09:17 AM
Replies: 1
Views: 1,198
Posted By Benalish
Extra controls

I'm building the options panel for my addon.
If I want add controls that are not available with xml as the trackbar (just like this (http://s13.postimage.org/p6o8umtx3/trackbar.png)) what can I do?
I...
Forum: Lua/XML Help 12-10-12, 10:39 PM
Replies: 12
Views: 3,221
Posted By Benalish
local addon = CreateFrame("Frame",...

local addon = CreateFrame("Frame", "MyAddon")
addon:RegisterEvent("ADDON_LOADED")
addon:SetScript("OnEvent", function(self, event, arg1)
if event == "ADDON_LOADED" and arg1 == "MyAddon" then
--...
Forum: Lua/XML Help 12-10-12, 06:43 PM
Replies: 12
Views: 3,221
Posted By Benalish
MyAddonSavedVariables is the file specified in...

MyAddonSavedVariables is the file specified in line ## SavedVariablesPerCharacter:?
Forum: Lua/XML Help 12-09-12, 11:41 AM
Replies: 12
Views: 3,221
Posted By Benalish
SavedVariablesPerCharacter

I was able to successfully create the file to save the variables of my addon.

## SavedVariablesPerCharacter: MyAddon_Settings

But if I want call these variables every time I load the addon, what...
Showing results 1 to 17 of 17