Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: semlar
Forum: WoD Beta API and Graphics Changes Yesterday, 12:26 PM
Replies: 39
Views: 3,012
Posted By semlar
I used CASCExplorer to extract mount.db2 from the...

I used CASCExplorer to extract mount.db2 from the dbfilesclient directory, then I used a python script I wrote to extract and format the data as a lua table.
Forum: General Authoring Discussion 10-29-14, 03:57 AM
Replies: 2
Views: 161
Posted By semlar
You can see the GUID of the mob that dropped each...

You can see the GUID of the mob that dropped each piece of loot in the loot window using GetLootSourceInfo(itemIndex), so you could count the number of mobs that actually dropped loot, it would not...
Forum: AddOn Search/Requests 10-28-14, 01:54 PM
Replies: 5
Views: 226
Posted By semlar
You can use UnitPower('player', 4) to return the...

You can use UnitPower('player', 4) to return the number of combo points the player has.
Forum: General Authoring Discussion 10-28-14, 12:40 PM
Replies: 8
Views: 299
Posted By semlar
Whatever you're thinking about doing isn't going...

Whatever you're thinking about doing isn't going to work, you can't have multiple minimaps on screen unless they are identical.

Not to mention that they're minimaps, they're not textures.
Forum: General Authoring Discussion 10-28-14, 10:43 AM
Replies: 8
Views: 299
Posted By semlar
There's a texture:SetMask(texturePath) function,...

There's a texture:SetMask(texturePath) function, but I've never managed to get it to work with a custom mask.
Forum: AddOn Search/Requests 10-27-14, 09:13 AM
Replies: 3
Views: 267
Posted By semlar
It likely doesn't work because most 1s and 0s in...

It likely doesn't work because most 1s and 0s in the interface have been changed to true/false and it's comparing "if( autoLoot == 1 ) then" when it should simply be "if autLoot then".

The places...
Forum: Lua/XML Help 10-26-14, 01:55 PM
Replies: 5
Views: 219
Posted By semlar
I would try doing something like this, to...

I would try doing something like this, to securely scale the frame when it gets shown..
SecureHandlerWrapScript(Boss1TargetFrame, 'OnShow', Boss1TargetFrame, 'self:SetScale(0.5)')

If you're scaling...
Forum: Lua/XML Help 10-26-14, 12:49 PM
Replies: 5
Views: 219
Posted By semlar
Setting the scale of secure frames wouldn't...

Setting the scale of secure frames wouldn't normally taint them, but overwriting functions like this will..
PlayerHitIndicator.SetText = function() end
PetHitIndicator.SetText = function() end
The ui...
Forum: General Authoring Discussion 10-26-14, 12:16 PM
Replies: 4
Views: 214
Posted By semlar
Distance is pretty much exactly what you're...

Distance is pretty much exactly what you're trying to sort by.

If you have a table like
{
{34132, 76.5, 63.5},
{34931, 21.7, 50.8},
{34133, 26.9, 31.9},
}
And you only want to sort by the X...
Forum: AddOn Search/Requests 10-24-14, 09:47 AM
Replies: 3
Views: 120
Posted By semlar
You can't disable mouse interaction for a...

You can't disable mouse interaction for a nameplate that way zork, it's not part of the frame it's an actual interactive hotspot on the WorldFrame.

You can jump through some crazy hoops to move the...
Forum: AddOn Search/Requests 10-21-14, 05:14 PM
Replies: 11
Views: 346
Posted By semlar
Yes, the problem is it blocks all key presses,...

Yes, the problem is it blocks all key presses, which generally is going to interfere with gameplay.
Forum: Lua/XML Help 10-21-14, 12:16 PM
Replies: 12
Views: 566
Posted By semlar
I would just call wipe() on the table. Also,...

I would just call wipe() on the table.

Also, "elapsed" from OnUpdate is the amount of time that has passed since the last frame/OnUpdate call.

To make a timer you need to create a variable outside...
Forum: AddOn Search/Requests 10-21-14, 10:46 AM
Replies: 11
Views: 346
Posted By semlar
Can't really test anything with the servers down...

Can't really test anything with the servers down but something like this..
local ShouldBlock = { -- [spellID] = spellName, List of spells to activate on
[111400] = 'Burning Rush',
[13877] =...
Forum: AddOn Search/Requests 10-21-14, 08:38 AM
Replies: 11
Views: 346
Posted By semlar
You couldn't really do this securely because you...

You couldn't really do this securely because you can't get any time information in the secure environment.

You could block the mouse from being able to click on the button temporarily after you...
Forum: General Authoring Discussion 10-20-14, 12:54 PM
Replies: 3
Views: 206
Posted By semlar
Use the return from GetInstanceInfo or...

Use the return from GetInstanceInfo or UnitPosition to identify what instance you're in, these don't rely on what the map is set to but rather your actual location.
Forum: WoD Beta AddOn Help & Feedback 10-20-14, 06:05 AM
Replies: 22
Views: 1,668
Posted By semlar
It might be exclusive to this mechanic, because...

It might be exclusive to this mechanic, because that certainly isn't normal behavior.

To sync up the combat rezzes between players, they may have simply overridden the normal behavior of the spells...
Forum: WoD Beta AddOn Help & Feedback 10-19-14, 08:30 PM
Replies: 22
Views: 1,668
Posted By semlar
If tooltip scanning or calling GetSpellCharges...

If tooltip scanning or calling GetSpellCharges works on a battle rez spell you don't have, then those are the methods to use for this.

There's no point jumping through hoops tracking anything else.
Forum: Lua/XML Help 10-19-14, 08:25 AM
Replies: 25
Views: 1,882
Posted By semlar
It doesn't even take its own alpha into account,...

It doesn't even take its own alpha into account, it's definitely bugged.

You can call cooldown:SetAlpha() directly and it won't have any effect on it.
Forum: General Authoring Discussion 10-19-14, 05:26 AM
Replies: 4
Views: 287
Posted By semlar
If the ui accesses any variable that was modified...

If the ui accesses any variable that was modified by an addon, everything after that point in the function will be tainted and will spread to other functions in the interface that use that function...
Forum: General Authoring Discussion 10-19-14, 04:44 AM
Replies: 4
Views: 287
Posted By semlar
Any time you modify a value that the default...

Any time you modify a value that the default interface reads or calls, it taints the entire execution path after that.

If you overwrite a global variable or a function or a method on a frame (like...
Forum: WoD Beta API and Graphics Changes 10-18-14, 10:10 AM
Replies: 5
Views: 239
Posted By semlar
Have you tried SetMultiline(true)?

Have you tried SetMultiline(true)?
Forum: AddOn Search/Requests 10-17-14, 05:04 PM
Replies: 7
Views: 240
Posted By semlar
It's not an infinite loop because it stops when...

It's not an infinite loop because it stops when you pass 0 to the function.
Forum: AddOn Search/Requests 10-17-14, 02:03 PM
Replies: 7
Views: 240
Posted By semlar
Alright, just paste that script into...

Alright, just paste that script into http://addon.bool.no and it'll generate an addon for you.
Forum: General Authoring Discussion 10-17-14, 02:00 PM
Replies: 6
Views: 169
Posted By semlar
There are two events with threat in their name on...

There are two events with threat in their name on wowprogramming's events list, just ctrl+F and search the page.

If you want exact threat percentages, then you should be using an OnUpdate script to...
Forum: AddOn Search/Requests 10-17-14, 01:56 PM
Replies: 7
Views: 240
Posted By semlar
It's built into the minimap. Your only option,...

It's built into the minimap. Your only option, aside from physically replacing the arrow texture (which I don't think even works), is to un-track the quest it's pointing to.

Try...
Showing results 1 to 25 of 500