Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: Rilgamon
Forum: AddOn Help/Support 01-22-23, 01:03 PM
Replies: 4
Views: 1,587
Posted By Rilgamon
Not sure. Never tried this. But when you declare...

Not sure. Never tried this. But when you declare zebra local in the first line then the second line dont know about it? So working as intended?
Forum: AddOn Help/Support 12-10-22, 12:31 PM
Replies: 8
Views: 2,488
Posted By Rilgamon
There is not much you can buy. It's mainly...

There is not much you can buy. It's mainly looking at other ppl code and trying to understand what they're doing.

A good source to find examples for certain things...
Forum: Lua/XML Help 10-09-22, 10:07 AM
Replies: 22
Views: 8,299
Posted By Rilgamon
local function...

local function ResetItem2(tooltip)
print("ResetItem")
end

local function SetItem2(tooltip)
local tooltipData = tooltip:GetTooltipData()
if(tooltipData and tooltipData.id and tooltipData.type ==...
Forum: AddOn Search/Requests 04-30-22, 07:29 AM
Replies: 5
Views: 1,422
Posted By Rilgamon
In addition CopyToClipboard is a protected...

In addition CopyToClipboard is a protected function. So it would need an extra button/keybind (hardware event) that you press yourself when a whisper comes in.
Forum: Lua/XML Help 01-06-22, 06:08 AM
Replies: 6
Views: 2,774
Posted By Rilgamon
From...

From https://github.com/tomrus88/BlizzardInterfaceCode/blob/master/Interface/SharedXML/C_TimerAugment.lua I'd guess the callback gets called with the right object to use cancel on. So this should...
Forum: Lua/XML Help 09-28-21, 06:21 AM
Replies: 2
Views: 1,724
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: 3,707
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: 2,772
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: 1,225
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: 2,183
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: 1,232
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: 2,183
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: 2,819
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: 1,553
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: 1,553
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: 2,819
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: 1,428
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: 2,730
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: 2,730
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: 4,226
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: 13,822
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: 3,755
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: 3,911
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: 5,078
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: 5,078
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
Showing results 1 to 25 of 500