Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: Rilgamon
Forum: Lua/XML Help Today, 06:21 AM
Replies: 2
Views: 99
Posted By Rilgamon
For the icons I use this local iconbase =...

For the icons I use this

local iconbase = "\124TInterface\\MoneyFrame\\UI-%sIcon:%d:%d:1:0\124t"
local iconSize = 14
local goldicon = format(iconbase, 'Gold', iconSize, iconSize)
local silvericon =...
Forum: General Authoring Discussion 09-24-21, 02:07 AM
Replies: 3
Views: 168
Posted By Rilgamon
Not possible. Lua is run in a sandbox and cant...

Not possible. Lua is run in a sandbox and cant connect. Your only hope is to put your content in your addons savedvariables file and after quitting wow you can read it from there.
Forum: Macro Help 08-04-21, 11:17 PM
Replies: 3
Views: 622
Posted By Rilgamon
no,each bracket [] is tested and the first that...

no,each bracket [] is tested and the first that is true is executed.
So you need group/nogroup in each bracket you want it to work.
Forum: Lua/XML Help 06-17-21, 09:52 AM
Replies: 1
Views: 413
Posted By Rilgamon
Best is always to check how other addons do what...

Best is always to check how other addons do what you're looking for :)
https://www.wowinterface.com/downloads/info9182-wowChess.html
Forum: Site help, bugs, suggestions/questions 05-31-21, 04:45 AM
Replies: 8
Views: 1,108
Posted By Rilgamon
Related to this ... when flagged classic or bcc...

Related to this ... when flagged classic or bcc compatible shouldn't an addon automaticly get the related "Optional Categories"-Entry set?
Forum: Lua/XML Help 05-24-21, 10:52 AM
Replies: 2
Views: 422
Posted By Rilgamon
See...

See https://www.wowinterface.com/forums/showpost.php?p=336419&postcount=8 for more ...
Something like this should do the trick ...
local f = CreateFrame("Frame", nil, self, BackdropTemplateMixin and...
Forum: Site help, bugs, suggestions/questions 05-21-21, 03:35 AM
Replies: 8
Views: 1,108
Posted By Rilgamon
Thats great news ... so great it should be a...

Thats great news ... so great it should be a wowinterface news-entry ;)
Forum: Lua/XML Help 05-17-21, 11:14 PM
Replies: 4
Views: 919
Posted By Rilgamon
My fault. Didn't read the part with tooltip after...

My fault. Didn't read the part with tooltip after shift clicking.
Forum: Lua/XML Help 05-17-21, 08:57 AM
Replies: 4
Views: 587
Posted By Rilgamon
CRAFT_SHOW fires for it. Should be easy to wait...

CRAFT_SHOW fires for it. Should be easy to wait for it.
Forum: Lua/XML Help 05-17-21, 03:49 AM
Replies: 4
Views: 587
Posted By Rilgamon
I'm confused. What frame and what error belong...

I'm confused. What frame and what error belong together?

For the Lua-Error "Message: Interface\AddOns\Lorti-UI-Classic\core\frames.lua:383: attempt to index global 'ChatFrame' (a nil value)"

Thats...
Forum: Lua/XML Help 05-17-21, 02:48 AM
Replies: 4
Views: 919
Posted By Rilgamon
Perhaps you can take a look at OnHyperlinkEnter,...

Perhaps you can take a look at OnHyperlinkEnter, OnHyperlinkLeave?


local function chatHoverIn(cf, link, text)
local typ = string.match(link, "^(.-):")
--[[ print(typ,link)
local tbl = {...
Forum: Lua/XML Help 04-11-21, 06:59 AM
Replies: 2
Views: 574
Posted By Rilgamon
Wouldnt it be easier to make him masterlooter?

Wouldnt it be easier to make him masterlooter?
Forum: General Authoring Discussion 03-19-21, 07:11 PM
Replies: 4
Views: 1,117
Posted By Rilgamon
When you run a script you don't need predefines....

When you run a script you don't need predefines.
The script could create a Lua-file that holds the list of files.
Forum: General Authoring Discussion 03-19-21, 04:32 PM
Replies: 4
Views: 1,117
Posted By Rilgamon
Not possible. Editing toc or xml is needed.

Not possible. Editing toc or xml is needed.
Forum: Lua/XML Help 03-09-21, 05:26 AM
Replies: 3
Views: 1,067
Posted By Rilgamon
For testing I use the old garrison. The role test...

For testing I use the old garrison.
The role test where you are put in a group is helpful.
Forum: Wish List 03-01-21, 09:37 AM
Replies: 6
Views: 10,782
Posted By Rilgamon
When you find a better way let me know ;) I try...

When you find a better way let me know ;) I try to have my own damagemeter and tracking the owner is difficult ... I use this monster ... (stolen from different sources)

local addonName, addon =...
Forum: General Authoring Discussion 01-31-21, 04:19 AM
Replies: 5
Views: 1,862
Posted By Rilgamon
Perhaps you can listen to ADDON_LOADED for...

Perhaps you can listen to ADDON_LOADED for Blizzard_NewPlayerExperience? Not sure if it is loaded as an addon ;)
Forum: Lua/XML Help 01-29-21, 03:59 AM
Replies: 5
Views: 2,024
Posted By Rilgamon
First of all enable Lua errors. And step by step...

First of all enable Lua errors. And step by step resolve them.
/console scriptErrors 1
A good interface for Lua errors is Bugsack/Buggrabber...
Forum: Lua/XML Help 01-19-21, 11:34 AM
Replies: 10
Views: 2,460
Posted By Rilgamon
There is no "hidden" magic. It's simply updating...

There is no "hidden" magic. It's simply updating not on event but onupdate. So it redraws with every single...
Forum: Lua/XML Help 01-19-21, 10:07 AM
Replies: 10
Views: 2,460
Posted By Rilgamon
I'm pretty sure there is an onupdate handler for...

I'm pretty sure there is an onupdate handler for them?
https://github.com/tomrus88/BlizzardInterfaceCode/blob/master/Interface/FrameXML/CompactUnitFrame.lua#L305
Forum: Lua/XML Help 01-17-21, 07:12 AM
Replies: 6
Views: 2,133
Posted By Rilgamon
https://wow.gamepedia.com/AddOn_loading_process#Or...

https://wow.gamepedia.com/AddOn_loading_process#Order_of_events_fired_during_loading
You might notice that the info is not available because of the order of events. (Some time ago I noticed the order...
Forum: Lua/XML Help 01-17-21, 05:48 AM
Replies: 6
Views: 2,133
Posted By Rilgamon
https://wow.gamepedia.com/PLAYER_ENTERING_WORLD Th...

https://wow.gamepedia.com/PLAYER_ENTERING_WORLD
This event gives you this info
PLAYER_ENTERING_WORLD: isInitialLogin, isReloadingUi
Forum: AddOn Help/Support 01-11-21, 10:29 AM
Replies: 2
Views: 1,502
Posted By Rilgamon
While the wiki is not yet documented the function...

While the wiki is not yet documented the function seem to exist.
GetQuestExpansion(questID)
https://wow.gamepedia.com/API_GetQuestExpansion
Forum: AddOn Search/Requests 01-09-21, 04:55 AM
Replies: 4
Views: 2,755
Posted By Rilgamon
what sezz says is true. I dont have the trader so...

what sezz says is true. I dont have the trader so I cant test but I highly doubt it works.
The code to do it would look like this ...

function stock:BAG_UPDATE_DELAYED()
if(not MerchantFrame or not...
Forum: Lua/XML Help 01-08-21, 05:19 PM
Replies: 2
Views: 1,352
Posted By Rilgamon
Take a look at...

Take a look at https://wow.gamepedia.com/API_AuraUtil.FindAuraByName

local name = AuraUtil.FindAuraByName("Shadowcore Oil", 'player')
if(name) then
print("Buff found.")
end

and

for i = 1,...
Showing results 1 to 25 of 500