Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 67
Search took 0.01 seconds.
Search: Posts Made By: elcius
Forum: Lua/XML Help 08-23-19, 06:42 PM
Replies: 4
Views: 368
Posted By elcius
the first issue is probably a layering problem,...

the first issue is probably a layering problem, make sure the button texture is attached to something on a higher frame level than whatever the background...
Forum: Lua/XML Help 08-22-19, 09:26 PM
Replies: 10
Views: 609
Posted By elcius
I see, some auctions do get removed, most likely...

I see, some auctions do get removed, most likely due to the fact character names of the posters get resolved when querying GetAuctionItemInfo, which in turn causes the auction list to refresh/update...
Forum: Lua/XML Help 08-22-19, 06:50 PM
Replies: 10
Views: 609
Posted By elcius
it's a common misunderstanding that GetAll...

it's a common misunderstanding that GetAll delivers the auctions all at once, that's why most people still listen for the event, or even worse they wait until everything as arrived and then lock up...
Forum: Lua/XML Help 08-22-19, 05:28 PM
Replies: 10
Views: 609
Posted By elcius
Not exactly sure what the problem you're having...

Not exactly sure what the problem you're having is, but the most efficient way to handle a GetAll response is to ignore the event. just scan and keep track of your position in the results with...
Forum: oUF (Otravi Unit Frames) 08-17-19, 05:58 AM
Replies: 2
Views: 330
Posted By elcius
most likely caused by floating point errors on a...

most likely caused by floating point errors on a parent frames position or size.
doing this may work:
self:SetSize(220.1, 41.1)
Forum: General Authoring Discussion 06-28-19, 08:31 AM
Replies: 5
Views: 2,402
Posted By elcius
As of 8.2 addons are only allowed to access...

As of 8.2 addons are only allowed to access textures inside ./Interface, Minimap textures are in the ./World subdirectory.
Most likely the addon will need to be updated to include copies of the...
Forum: Lua/XML Help 06-18-19, 12:24 AM
Replies: 3
Views: 621
Posted By elcius
It's probably not a simple task to do it in a...

It's probably not a simple task to do it in a single click, as both the cancelaura and the interact commands both require hardware events, and since interacting with npc's is an action that must be...
Forum: Lua/XML Help 06-10-19, 06:38 AM
Replies: 5
Views: 505
Posted By elcius
just mouse over the pin and type "/dump...

just mouse over the pin and type "/dump GetMouseFocus().pinTemplate", then find that template file.
Forum: Lua/XML Help 06-09-19, 05:13 AM
Replies: 5
Views: 505
Posted By elcius
if you can determine which DataProvider...

if you can determine which DataProvider (https://github.com/tomrus88/BlizzardInterfaceCode/tree/master/Interface/AddOns/Blizzard_SharedMapDataProviders) the pin comes from (you can check by calling...
Forum: General Authoring Discussion 06-01-19, 05:23 PM
Replies: 8
Views: 670
Posted By elcius
The problem is that it uses GetCursorPosition,...

The problem is that it uses GetCursorPosition, but does not account for frame scale. if you override the handler it may work.

WorldMapFrame.ScrollContainer.GetCursorPosition = function(f)
local x,y...
Forum: AddOn Search/Requests 04-13-19, 04:11 PM
Replies: 3
Views: 535
Posted By elcius
Everything except the inventory, followers and...

Everything except the inventory, followers and possibly transmog can be obtained through the Community Platform API.
Forum: AddOn Help/Support 04-06-19, 04:35 PM
Replies: 3
Views: 436
Posted By elcius
https://wow.gamepedia.com/SecureActionButtonTempla...

https://wow.gamepedia.com/SecureActionButtonTemplate

If you want the blizzard art and stuff you can inherit from ActionButtonTemplate again, but you'll need to do most of the event handlers...
Forum: AddOn Help/Support 04-06-19, 03:11 PM
Replies: 3
Views: 436
Posted By elcius
make it a CheckButton and inherit from...

make it a CheckButton and inherit from ActionBarButtonTemplate instead, it contains all the action bar event handlers.
but action slots only go to like 120, if you need more you'll have to simulate...
Forum: Lua/XML Help 03-19-19, 11:16 PM
Replies: 4
Views: 510
Posted By elcius
most api functions that provide data about the...

most api functions that provide data about the character or account will return data from the previously logged in character if called before PLAYER_LOGIN.
If you close the game you'll probably find...
Forum: AddOn Help/Support 03-17-19, 12:32 PM
Replies: 9
Views: 1,001
Posted By elcius
Since i'm pretty sure PlayerModel derived objects...

Since i'm pretty sure PlayerModel derived objects can't be masked, i'm assuming you're working with non-animated 3D portraits, which iirc only come from SetPortraitTextureFromCreatureDisplayID, which...
Forum: AddOn Help/Support 02-24-19, 08:11 PM
Replies: 8
Views: 903
Posted By elcius
you need to create your frame as a secure action...

you need to create your frame as a secure action button, and then bind it with either the "target" or "macro" actions.

https://wow.gamepedia.com/SecureActionButtonTemplate
Forum: General Authoring Discussion 11-29-18, 01:02 AM
Replies: 2
Views: 742
Posted By elcius
this addon...

this addon (https://wow.curseforge.com/projects/allthesets) exists, not well known but it does what you're trying to achieve i think.
Forum: General Authoring Discussion 11-29-18, 12:56 AM
Replies: 2
Views: 554
Posted By elcius
The npc id is the 5th value in the pet...

The npc id is the 5th value in the pet guid
Pet-0-3888-1220-15-89689-0102621669
I think in bfa they added some new systems to query npc info, if not you can resolve the name through scraping a...
Forum: General Authoring Discussion 07-11-18, 10:39 PM
Replies: 5
Views: 1,709
Posted By elcius
Most of the sub pixel issues in wow stem from...

Most of the sub pixel issues in wow stem from loss of precision on frame dimensions & position, check the actual position and size of whatever you're having issues with, most likely there will be...
Forum: PTR API and Graphics Changes 06-21-18, 12:57 AM
Replies: 31
Views: 12,182
Posted By elcius
WorldMapFrame.ScrollContainer.GetCursorPosition =...

WorldMapFrame.ScrollContainer.GetCursorPosition = function(f)
local x,y = MapCanvasScrollControllerMixin.GetCursorPosition(f);
local s = WorldMapFrame:GetScale();
return x/s, y/s;
end
Forum: PTR API and Graphics Changes 06-15-18, 09:38 PM
Replies: 31
Views: 12,182
Posted By elcius
local MapRects = {}; local TempVec2D =...

local MapRects = {};
local TempVec2D = CreateVector2D(0,0);
function GetPlayerMapPos(MapID)
local R,P,_ = MapRects[MapID],TempVec2D;
if not R then
R = {};
_, R[1] =...
Forum: Macro Help 06-11-18, 11:40 AM
Replies: 2
Views: 1,302
Posted By elcius
Post for i=1,GetAchievementNumCriteria(12497)do local...

for i=1,GetAchievementNumCriteria(12497)do
local t,_,c=GetAchievementCriteriaInfo(12497,i)
print(t,'- \124cFF'..(c...
Forum: General Authoring Discussion 09-14-16, 11:49 PM
Replies: 7
Views: 1,835
Posted By elcius
woops, local worldx, worldy = x2+(x1-x2)*px,...

woops, local worldx, worldy = x2+(x1-x2)*px, y2+(y1-y2)*py; is correct, i forgot they put the top-left offset 2nd.
Forum: General Authoring Discussion 09-10-16, 09:44 PM
Replies: 7
Views: 1,835
Posted By elcius
GetCurrentMapZone()

GetCurrentMapZone()
Forum: General Authoring Discussion 09-07-16, 07:59 PM
Replies: 7
Views: 1,835
Posted By elcius
Don't use GetWorldLocFromMapPos, it doesn't work...

Don't use GetWorldLocFromMapPos, it doesn't work correctly, just calculate the world position manually:
local f,x1,y1,x2,y2 = GetCurrentMapDungeonLevel();
local px,py =...
Showing results 1 to 25 of 67