Showing results 1 to 25 of 479
Search took 0.03 seconds.
Search: Posts Made By: Akryn
Forum: AddOn Help/Support 04-14-13, 12:54 AM
Replies: 14
Views: 3,849
Posted By Akryn
Thanks for catching that. :)

Thanks for catching that. :)
Forum: AddOn Help/Support 04-14-13, 12:49 AM
Replies: 14
Views: 3,849
Posted By Akryn
I think it makes more sense to wait for the addon...

I think it makes more sense to wait for the addon to load, rather than forcing it to load as soon as you log in. It may help your error as well:

local frame =...
Forum: Lua/XML Help 11-17-12, 03:52 PM
Replies: 3
Views: 1,523
Posted By Akryn
If you want a table from a space-delimited...

If you want a table from a space-delimited string, you can do this:

args = {strsplit(" ", args)}
Forum: General Authoring Discussion 06-04-10, 12:36 PM
Replies: 7
Views: 4,046
Posted By Akryn
I don't have a shaman but can't you just do...

I don't have a shaman but can't you just do something like:

/castsequence reset=howeverLongTheCooldownIs heroism,nothing,nothing,nothing,nothing,nothing,nothing,nothing,nothing,nothing,nothing
Forum: General Authoring Discussion 05-12-10, 04:51 PM
Replies: 4
Views: 3,011
Posted By Akryn
http://www.wowwiki.com/API_SendAddonMessage or...

http://www.wowwiki.com/API_SendAddonMessage

or create a custom chat channel and then hide it, for things that addon messages can't do.
Forum: Chit-Chat 05-05-10, 10:04 PM
Replies: 1,142
Views: 175,030
Posted By Akryn
The previous image's horizontal size is 969...

The previous image's horizontal size is 969 pixels. :)
Forum: Lua/XML Help 04-21-10, 09:11 PM
Replies: 19
Views: 6,380
Posted By Akryn
http://www.wowwiki.com/API_Frame_SetUserPlaced (o...

http://www.wowwiki.com/API_Frame_SetUserPlaced

(or alternatively, save the position(s) in a PLAYER_LEAVING_WORLD event handler and restore on VARIABLES_LOADED or similar.)

Edit: I missed that you...
Forum: Lua/XML Help 04-20-10, 11:49 AM
Replies: 15
Views: 3,328
Posted By Akryn
You can use ReloadUI(), but I believe the...

You can use ReloadUI(), but I believe the execution path must originate with a hardware event (keyboard/mouse). If you call it in an update/event handler it will just fail.
Forum: Lua/XML Help 04-19-10, 05:36 PM
Replies: 15
Views: 3,328
Posted By Akryn
The () are actually optional in that...

The () are actually optional in that situation.

To the OP, could you post the actual code that you're trying to get to work, in the context of the addon that you're trying to modify?
Forum: General Authoring Discussion 04-12-10, 08:03 PM
Replies: 22
Views: 6,565
Posted By Akryn
While it would be impossible to actually draw...

While it would be impossible to actually draw onto the 3D space, I think he's asking about drawing a texture to emulate the appearance based on camera angle. A good example of that in practice...
Forum: Lua/XML Help 03-18-10, 04:05 PM
Replies: 1
Views: 1,378
Posted By Akryn
Are you passing that function to a frame's...

Are you passing that function to a frame's SetScript method?


local f=CreateFrame("frame")
local myOnUpdate = function(self, elapsed)
self.t = self.t and self.t - elapsed or 1
if self.t < 0...
Forum: nUI: Community Chat 03-16-10, 08:43 PM
Replies: 28
Views: 7,074
Posted By Akryn
Pathping (or just tracert) to some internet site...

Pathping (or just tracert) to some internet site is a good tool to check where latency is coming from (e.g. make sure it's not coming from the network and happened to coincide with upgrading the PC)....
Forum: Lua/XML Help 03-14-10, 05:02 PM
Replies: 12
Views: 2,844
Posted By Akryn
Oh, based on your OP it sounded like it was just...

Oh, based on your OP it sounded like it was just being applied to the minimap. If you're using it for multiple frames you're certainly correct that you don't want to use that code. However the same...
Forum: Lua/XML Help 03-14-10, 12:53 PM
Replies: 12
Views: 2,844
Posted By Akryn
What breaks the layout? Reusing the objects? I'm...

What breaks the layout? Reusing the objects? I'm not sure why that would be.
Forum: Lua/XML Help 03-14-10, 12:36 PM
Replies: 12
Views: 2,844
Posted By Akryn
You shouldn't create new instances of those every...

You shouldn't create new instances of those every time you call the function though, which I think was the point being made earlier:


local bg, bd
function CreateBG(parent)
if not bg then
...
Forum: Tech Chat 03-12-10, 05:59 PM
Replies: 6
Views: 3,699
Posted By Akryn
That's because you're really booting off the CD...

That's because you're really booting off the CD and the CD's bootloader is picking the Win7 part. after you don't press a key. You can probably fix it by marking the Win7 part. as active. You'd then...
Forum: General Authoring Discussion 02-20-10, 08:20 PM
Replies: 6
Views: 1,953
Posted By Akryn
You can just add that to config.wtf But if you...

You can just add that to config.wtf

But if you wanted to do it as an addon:


local f = CreateFrame("frame")
f:RegisterEvent("VARIABLES_LOADED")
f:SetScript("OnEvent", function()
...
Forum: Lua/XML Help 02-14-10, 08:58 AM
Replies: 7
Views: 2,261
Posted By Akryn
For that to work, you will of course have to...

For that to work, you will of course have to register that event and set your local function as an OnEvent handler.
Forum: General Authoring Discussion 02-13-10, 10:03 PM
Replies: 2
Views: 1,864
Posted By Akryn
For the TOC: "##" changes require a full...

For the TOC:
"##" changes require a full restart.
Removing files just requires a UI reload.
Adding files that were in the addon folder when WoW launched just takes a UI reload. Adding entirely new...
Forum: Lua/XML Help 02-11-10, 06:35 PM
Replies: 23
Views: 7,437
Posted By Akryn
Efficienter should be the comparative of...

Efficienter should be the comparative of efficient. "More efficient" is less efficient.
Forum: Lua/XML Help 02-10-10, 07:35 PM
Replies: 23
Views: 7,437
Posted By Akryn
That's a better explanation than I could have...

That's a better explanation than I could have given. :p

To be completely accurate, it's searching for a string of lowercase letters of length >=1 both before and after the single capital letter; but...
Forum: Lua/XML Help 02-10-10, 05:36 PM
Replies: 2
Views: 1,701
Posted By Akryn
Unfortunately, message() is still broken in the...

Unfortunately, message() is still broken in the default UI. I don't think Bliz cares enough to fix it. Addons that use it generally fix it themselves. Basically, if you want to just output text in...
Forum: Lua/XML Help 02-09-10, 09:58 PM
Replies: 23
Views: 7,437
Posted By Akryn
Edit: Oh I should've noticed that too, :D

Edit: Oh I should've noticed that too, :D
Forum: Macro Help 02-04-10, 09:35 PM
Replies: 2
Views: 3,818
Posted By Akryn
/cast [party, nodead][@focus, nodead,...

/cast [party, nodead][@focus, nodead, party][@INSERTNAMEHERE] intervene
Forum: Lua/XML Help 01-31-10, 11:16 AM
Replies: 3
Views: 1,491
Posted By Akryn
Why do you need to store per-character settings...

Why do you need to store per-character settings in the per-account variable, even though you've already set up a per-character variable?
Showing results 1 to 25 of 479