Showing results 1 to 25 of 500
Search took 0.05 seconds.
Search: Posts Made By: Resike
Forum: Lua/XML Help 06-28-15, 04:52 PM
Replies: 16
Views: 351
Posted By Resike
You gonna need a hook again, something like...

You gonna need a hook again, something like this:


local setting
hooksecurefunc(GameMenuButtonHelp.Middle, "SetTexture", function(self)
if setting then
return
end
setting =...
Forum: Lua/XML Help 06-28-15, 03:47 PM
Replies: 2
Views: 87
Posted By Resike
Have you...

Have you tried:


FontString:SetJustifyH("LEFT")
FontString:SetJustifyV("TOP")
Forum: Lua/XML Help 06-28-15, 02:45 PM
Replies: 16
Views: 351
Posted By Resike
GameMenuButtonTemplate has another inherit...

GameMenuButtonTemplate has another inherit template:

https://github.com/Resike/BlizzardInterfaceCode/blob/master/Interface/FrameXML/UIPanelTemplates.xml#L91

Called UIPanelButtonTemplate which can...
Forum: Lua/XML Help 06-28-15, 12:48 PM
Replies: 16
Views: 351
Posted By Resike
Yeah it doable but it's much easier to extract...

Yeah it doable but it's much easier to extract the Blizzards interface code and just find thoose informations in the raw lua/xml code like...
Forum: Lua/XML Help 06-27-15, 10:35 AM
Replies: 4
Views: 175
Posted By Resike
This issue also happens on changing talents.

This issue also happens on changing talents.
Forum: Lua/XML Help 06-27-15, 08:40 AM
Replies: 1
Views: 116
Posted By Resike
Action charges

Since 6.2.0, GetActionCooldown no longer gives information about Action charges:

local cdstart, cdduration, enabled, charges, maxCharges = GetActionCooldown(action)

local cdstart, cdduration,...
Forum: Lua/XML Help 06-27-15, 07:01 AM
Replies: 4
Views: 175
Posted By Resike
Phasing health update

Phasing into a different phase, like entering/leaving garrison incorrenctly updates the players current and max health:


local frame =...
Forum: Lua/XML Help 06-27-15, 04:21 AM
Replies: 16
Views: 351
Posted By Resike
I use this two functions to get current/default...

I use this two functions to get current/default frame informations:

function GetFrameInfoFromCursor()
local fn = GetMouseFocus():GetName()
local f =...
Forum: Lua/XML Help 06-26-15, 01:54 PM
Replies: 16
Views: 351
Posted By Resike
I can point you...

I can point you to:

http://www.curse.com/addons/wow/move-anything
http://www.wowinterface.com/forums/showthread.php?t=49385

Which will do all the hassle for you.

If you want to use your own code:
Forum: Lua/XML Help 06-25-15, 12:52 PM
Replies: 5
Views: 133
Posted By Resike
I was about to cut the numbers, but it's not...

I was about to cut the numbers, but it's not needed works fine.
Forum: Lua/XML Help 06-25-15, 11:50 AM
Replies: 5
Views: 133
Posted By Resike
It would probably work, but it's even better just...

It would probably work, but it's even better just to remove/ignore the poi frame.
Forum: Lua/XML Help 06-25-15, 10:58 AM
Replies: 5
Views: 133
Posted By Resike
Map POI Tracking

I have create a small hook, to hide the stuck Draenor treasures from the world map:


hooksecurefunc("WorldMapFrame_Update", function(self)
for i = 1, GetNumMapLandmarks() do
local poi =...
Forum: Lua/XML Help 06-25-15, 08:39 AM
Replies: 8
Views: 219
Posted By Resike
== Atlas == Atlases are textures with mappings...

== Atlas ==

Atlases are textures with mappings onto standard textures that include normalized texture coordinates.

useAtlasSize - Use the actual pixel size of the sub-texture as the in-game...
Forum: Wish List 06-25-15, 07:05 AM
Replies: 12
Views: 4,904
Posted By Resike
Try to login with the game with 5k "L" tables in...

Try to login with the game with 5k "L" tables in every localization, then try to log in with only one set of tables, then compare the memory usage:


local AddonName, Addon = ...

local L =...
Forum: Lua/XML Help 06-24-15, 05:03 PM
Replies: 8
Views: 219
Posted By Resike
I played some with this, and if you want to...

I played some with this, and if you want to replica the same textures then:


local frame = CreateFrame("Frame", nil, UIParent)
frame:SetPoint("Center", 0, 0)
frame:SetSize(30, 30)

local icon =...
Forum: Lua/XML Help 06-24-15, 04:27 PM
Replies: 8
Views: 232
Posted By Resike
How about the XML then?

How about the XML then?
Forum: Wish List 06-24-15, 04:16 PM
Replies: 12
Views: 4,904
Posted By Resike
I'm pretty sure it could be done tho, lets say in...

I'm pretty sure it could be done tho, lets say in CurseClient/Minion you set the language you want to use your addons, then the client comments out every other language files from the toc or even...
Forum: Lua/XML Help 06-24-15, 03:10 PM
Replies: 8
Views: 219
Posted By Resike
I don't think any of this are new functions. At...

I don't think any of this are new functions. At least i'm familiar with most of them.
Forum: Wish List 06-24-15, 03:05 PM
Replies: 12
Views: 4,904
Posted By Resike
It's kinda irrelevant now with SSD performances,...

It's kinda irrelevant now with SSD performances, however it's still kinda bugging me that 50% of your addon's memory usage are useless locale files thats for sure.

And yes the game loads those files...
Forum: Lua/XML Help 06-24-15, 03:00 PM
Replies: 8
Views: 232
Posted By Resike
Then it's definately stored in another global...

Then it's definately stored in another global like table, would be nice to know it's name if it's accessible for lua.
Forum: General Authoring Discussion 06-24-15, 02:58 PM
Replies: 19
Views: 1,467
Posted By Resike
It can still matter, on no-fps lock animations or...

It can still matter, on no-fps lock animations or very spammy combat log events, you can easily get 200-300k calls under just a minute.
Forum: Lua/XML Help 06-24-15, 09:15 AM
Replies: 8
Views: 232
Posted By Resike
I'm pretty sure it's added the the global table,...

I'm pretty sure it's added the the global table, since you can only reach it with that reference. But i could be wrong.
Forum: Lua/XML Help 06-24-15, 07:07 AM
Replies: 8
Views: 232
Posted By Resike
XML virtual object

Is it possbile to only create a virtual object if it's does not exists with that global name?
Forum: General Authoring Discussion 06-23-15, 05:35 PM
Replies: 19
Views: 1,467
Posted By Resike
The real question is it really worth to use xml...

The real question is it really worth to use xml besides the virtual tags? The time you gain with the faster executing is probably lost on the global calls.
Forum: General Authoring Discussion 06-23-15, 02:59 PM
Replies: 19
Views: 1,467
Posted By Resike
The dark xml rises again.

The dark xml rises again.
Showing results 1 to 25 of 500