Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: semlar
Forum: Lua/XML Help Today, 06:07 PM
Replies: 4
Views: 87
Posted By semlar
local bg = CreateFrame("Frame", UIParent) <- this...

local bg = CreateFrame("Frame", UIParent) <- this isn't creating a frame with UIParent as the parent, it's trying to name it whatever the value of UIParent is.
Forum: Lua/XML Help 11-21-14, 05:41 PM
Replies: 5
Views: 215
Posted By semlar
Don't make another library for this, if there's...

Don't make another library for this, if there's something wrong with astrolabe it will be fixed.

What exactly is wrong with astrolabe?
Forum: AddOn Search/Requests 11-17-14, 05:21 PM
Replies: 24
Views: 1,194
Posted By semlar
Modifying a value that the interface later...

Modifying a value that the interface later accesses taints the function that accessed the value, it doesn't matter whether you set it to nil or something else.
Forum: AddOn Search/Requests 11-17-14, 03:41 PM
Replies: 24
Views: 1,194
Posted By semlar
Removing the key from that table taints whatever...

Removing the key from that table taints whatever codepaths access it.

For the most part this is only an issue if at some point that affects a secure action. However it can spread so deviously that...
Forum: AddOn Search/Requests 11-13-14, 12:39 AM
Replies: 24
Views: 1,194
Posted By semlar
You have it on the bar in both specs? It...

You have it on the bar in both specs? It shouldn't be coming back.

It's in the screenshot, it's called DraenorZoneAbilityFrame.
Forum: AddOn Search/Requests 11-12-14, 11:35 PM
Replies: 24
Views: 1,194
Posted By semlar
It goes away if you put it on your action bar.

It goes away if you put it on your action bar.
Forum: AddOn Help/Support 11-09-14, 12:27 PM
Replies: 2
Views: 3,132
Posted By semlar
It's not even a new concept. I essentially just...

It's not even a new concept.

I essentially just rewrote MacroSequence which has been around since 2007 and was written by an MVP on the blizzard ui & macro forum, so if they decided to remove the...
Forum: Tech Chat 11-09-14, 02:52 AM
Replies: 67
Views: 19,325
Posted By semlar
Mouse screws are often covered by their...

Mouse screws are often covered by their feet/glide pads.
Forum: Lua/XML Help 11-07-14, 12:40 PM
Replies: 3
Views: 222
Posted By semlar
Strip the realm out of their name, eg....

Strip the realm out of their name, eg. arg2:match('^[^-]+')
Forum: Lua/XML Help 11-07-14, 12:33 PM
Replies: 3
Views: 222
Posted By semlar
A player's name is not a valid unitID unless...

A player's name is not a valid unitID unless they're in your group.

In other words.. you can run FollowUnit on an arbitrary player name, but you can't run CheckInteractDistance on someone's name who...
Forum: AddOn Search/Requests 11-06-14, 03:31 PM
Replies: 12
Views: 330
Posted By semlar
You can't set the alpha of the minimap indoors,...

You can't set the alpha of the minimap indoors, and making it just transparent isn't really very close to the diablo minimap, which basically just shows the outline of walls.

I think the closest...
Forum: WoD Beta AddOn Help & Feedback 11-06-14, 11:25 AM
Replies: 25
Views: 2,206
Posted By semlar
http://wowace.com/addons/broker_battleres/

http://wowace.com/addons/broker_battleres/
Forum: AddOn Search/Requests 11-06-14, 11:16 AM
Replies: 12
Views: 330
Posted By semlar
You can't just style the existing minimap to look...

You can't just style the existing minimap to look like diablo's, you'd have to manually create your own textures for every map which would be a ton of work either doing it by hand or writing a...
Forum: AddOn Help/Support 11-03-14, 06:16 PM
Replies: 6
Views: 434
Posted By semlar
It is not useless; there are many situations in...

It is not useless; there are many situations in raids where transferring threat to a tank is necessary or at least beneficial, since they can't be in two places at once.

Sending bats to the tank...
Forum: WoD Beta API and Graphics Changes 10-30-14, 12:26 PM
Replies: 39
Views: 3,981
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: 238
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: 329
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: 428
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: 428
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: 5
Views: 564
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: 344
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: 344
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: 285
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: 180
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: 511
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.
Showing results 1 to 25 of 500