Showing results 1 to 15 of 15
Search took 0.00 seconds.
Search: Posts Made By: slizen
Forum: Lua/XML Help 12-13-08, 12:42 PM
Replies: 1
Views: 2,679
Posted By slizen
I think you either have to compare the members of...

I think you either have to compare the members of the group/raid before and after "RAID_ROSTER_UPDATE" / "PARTY_MEMBERS_CHANGED" or try reading the chat message.
Forum: General Authoring Discussion 12-04-08, 03:19 PM
Replies: 2
Views: 2,807
Posted By slizen
You need to use an OnUpdate handler...

You need to use an OnUpdate handler http://www.wowwiki.com/UIHANDLER_OnUpdate
Basically, it's a function that's called every time a frame is painted, which means if you have 60 fps, OnUpdate is...
Forum: General Authoring Discussion 11-28-08, 06:23 AM
Replies: 18
Views: 11,846
Posted By slizen
I don't know how Prat handles it's module system,...

I don't know how Prat handles it's module system, but isn't it impossible to make a module LoD without giving it an own toc?
Doing it without it's own toc and folder the game would still have to load...
Forum: General Authoring Discussion 11-15-08, 08:39 AM
Replies: 2
Views: 3,318
Posted By slizen
By using an OnUpdate...

By using an OnUpdate script
http://www.wowwiki.com/UIHANDLER_OnUpdate
Forum: General Authoring Discussion 11-13-08, 12:33 PM
Replies: 32
Views: 18,680
Posted By slizen
Yes, but if it's the case that all addons's saved...

Yes, but if it's the case that all addons's saved variables are loaded when the first ADDON_LOADED fires you can just skip the addon name check and unregister ADDON_LOADED right after it has fired...
Forum: General Authoring Discussion 11-13-08, 08:36 AM
Replies: 32
Views: 18,680
Posted By slizen
I'm pretty sure all enabled addon's saved...

I'm pretty sure all enabled addon's saved variables are ready by the time the first ADDON_LOADED fires, since p3lim says it works even without a addon name check.
Forum: General Authoring Discussion 11-12-08, 05:22 PM
Replies: 32
Views: 18,680
Posted By slizen
Yes, it runs once when the first addon loads,...

Yes, it runs once when the first addon loads, which might or might more likely not be pMinimap. It works fine though unless you need to do something that requires your specific addon to be loaded...
Forum: General Authoring Discussion 11-05-08, 12:17 PM
Replies: 32
Views: 18,680
Posted By slizen
Just checking your db table with: MYMODDB =...

Just checking your db table with:
MYMODDB = MYMODDB or defaults
is not enough.
The problem is it only checks if the table exists, not that all keys that are in the default table also exist in the...
Forum: General Authoring Discussion 10-06-08, 11:33 AM
Replies: 3
Views: 3,015
Posted By slizen
If you're making a theorycraft addon then there's...

If you're making a theorycraft addon then there's no need to theorycraft about spells the player using the addon hasn't got right?
Forum: General Authoring Discussion 10-03-08, 07:23 AM
Replies: 3
Views: 5,434
Posted By slizen
I think this is what's causing it not to...

I think this is what's causing it not to work
SlashCmdList["DKPFORMULA"] = DKPFormula_Command(var);

You need to specify a function that will be called when you type the slash command, instead of...
Forum: General Authoring Discussion 09-26-08, 08:36 AM
Replies: 4
Views: 3,690
Posted By slizen
I've also had thoughts on what is considered okey...

I've also had thoughts on what is considered okey to take, and what is considered to be something you need to ask the orginal author about.

For example textures and fonts, is it considered okey to...
Forum: Lua/XML Help 09-19-08, 04:10 PM
Replies: 3
Views: 3,343
Posted By slizen
Ah yeah, but it only works with...

Ah yeah, but it only works with spellLink/spellName if you know the spell, and there is no way to find out spellID's for unknown spells ingame.
It's the same for items, except there is GetItemIcon()...
Forum: Lua/XML Help 09-19-08, 03:31 PM
Replies: 3
Views: 3,343
Posted By slizen
Is there something equal to GetItemIcon for spells?

Since you can get the icon of any item by using GetItemIcon() even if you haven't got it cached it would be kinda logical that there would be something similar for spells. I've been searching forever...
Forum: General Authoring Discussion 09-07-08, 04:16 PM
Replies: 39
Views: 13,447
Posted By slizen
Why not use it and then just unregister it when...

Why not use it and then just unregister it when it has run once?
Forum: Lua/XML Help 09-04-08, 09:36 AM
Replies: 11
Views: 4,098
Posted By slizen
Remove the local arg1, arg2, arg3 = ... and it...

Remove the

local arg1, arg2, arg3 = ...
and it should work. The arg1,arg2 and arg3 will be set even without the above code.
Showing results 1 to 15 of 15