Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 162
Search took 0.02 seconds.
Search: Posts Made By: jeruku
Forum: Lua/XML Help 07-30-18, 04:11 PM
Replies: 13
Views: 413
Posted By jeruku
A safe way to help prevent taint and keep...

A safe way to help prevent taint and keep UIParent working as intended.


local OnShow = function(frame)
frame:Hide()
end

local list = {"TargetFrameBuff", "TargetFrameDebuff", "FocusFrameBuff",...
Forum: PTR API and Graphics Changes 06-18-18, 10:58 AM
Replies: 31
Views: 7,577
Posted By jeruku
Arguments are reserved(?)

In the old days of scanning for nameplates JamPlates used the method of declaring variables as arguments to reserve memory.

Edit: Think there was a misunderstanding. The global function was...
Forum: AddOn Help/Support 06-11-18, 07:37 AM
Replies: 2
Views: 449
Posted By jeruku
Try disabling all addons and if the problem stops...

Try disabling all addons and if the problem stops enable them one by one until it happens again. Are you using Petship or HonorKillTab by any chance?

And both experience/Blizzard shows that...
Forum: Lua/XML Help 01-15-18, 04:09 PM
Replies: 67
Views: 21,409
Posted By jeruku
That does work. as hooksecurefunc is more like a...

That does work. as hooksecurefunc is more like a callback and is called immediately after the global function is called.


local globalIndexName = "SetCVar"
hooksecurefunc(globalIndexName,...
Forum: General Authoring Discussion 12-19-17, 11:46 AM
Replies: 24
Views: 1,143
Posted By jeruku
Sorry about the confusion with ReloadUI. I had...

Sorry about the confusion with ReloadUI. I had thought Petship used ReloadUI but I was wrong. (Answered your question shortly after a reformat of Windows.)

My overall solution is to load...
Forum: General Authoring Discussion 12-17-17, 08:38 AM
Replies: 24
Views: 1,143
Posted By jeruku
Something like...

Something like this?

http://wowprogramming.com/docs/api/DisableAddOn

if select(2, UnitClass("player")) ~= "ROGUE" then
DisableAddOn(AddonName, CharacterName)
-- ReloadUI()
return;
end
Forum: Lua/XML Help 05-23-17, 08:13 AM
Replies: 7
Views: 1,026
Posted By jeruku
In the snippet provided there are a few things...

In the snippet provided there are a few things you could improve upon, you will find them below. I have included many notes of which I have found to work while working on JamPlates Auras in the...
Forum: Lua/XML Help 05-13-17, 05:18 PM
Replies: 8
Views: 892
Posted By jeruku
Here is a sample of how it might be done, I threw...

Here is a sample of how it might be done, I threw it together real quick so it is without guarantee.

It will wait 1.5 seconds, global cooldown, after a spell cast waiting to see if you had entered...
Forum: Lua/XML Help 05-02-17, 07:08 PM
Replies: 10
Views: 1,344
Posted By jeruku
Answer to your first question, it is possible. ...

Answer to your first question, it is possible. Local variables are not deleted right away, a method to get around it is to declare the function with the variables inline and simply use them from...
Forum: Lua/XML Help 04-26-17, 03:39 PM
Replies: 42
Views: 3,318
Posted By jeruku
For this particular use, since you are scanning...

For this particular use, since you are scanning the bag anyway, I would recommend using the event BAG_UPDATE_DELAYED (http://wow.gamepedia.com/Events/B) instead of BAG_UPDATE.
Forum: General Authoring Discussion 04-25-17, 03:16 PM
Replies: 20
Views: 4,600
Posted By jeruku
Well, if you can use GetPoint and GetSize you can...

Well, if you can use GetPoint and GetSize you can get its center point. If you cannot anchor things you may yet be able to put things in the same location on an OnUpdate script, thereby imitating an...
Forum: General Authoring Discussion 04-25-17, 01:36 PM
Replies: 20
Views: 4,600
Posted By jeruku
Well now, I had to look this stuff up. Yeah,...

Well now, I had to look this stuff up. Yeah, sounds to me like it should not be possible but I will continue my research.

Otherwise, so far as I can guess, they reverted to the old method of...
Forum: Lua/XML Help 04-25-17, 01:08 PM
Replies: 22
Views: 1,107
Posted By jeruku
Yes. And now I feel the fool. Suppose this...

Yes.

And now I feel the fool. Suppose this should be clarified but there are two ways of going about it this way.

One makes it toggled, though for certain features toggles can be dangerous; such...
Forum: General Authoring Discussion 04-25-17, 12:30 PM
Replies: 20
Views: 4,600
Posted By jeruku
Nameplate UI replacement, since the "Nameplate"...

Nameplate UI replacement, since the "Nameplate" object is protected, cannot be changed or safely tampered with in anyway, the only thing an author can do is skin it. This includes, but is not...
Forum: Lua/XML Help 04-25-17, 06:56 AM
Replies: 22
Views: 1,107
Posted By jeruku
Something like that(?). I do not use Ace so I am...

Something like that(?). I do not use Ace so I am trying to wrap my head around it and explain my method.

Basically you wrap your entire module creation code inside a function in a Lua file, this...
Forum: Lua/XML Help 04-25-17, 06:44 AM
Replies: 16
Views: 1,417
Posted By jeruku
Quick and dirty example. local frame =...

Quick and dirty example.


local frame = CreateFrame('Frame')
local tab = {}
local wait = {}

frame:SetScript('OnEvent', function(self, event, ...)
if event == 'BAG_UPDATE_DELAYED' then
--...
Forum: Lua/XML Help 04-24-17, 01:22 PM
Replies: 16
Views: 1,417
Posted By jeruku
The first time you call it it is either a disk...

The first time you call it it is either a disk and/or network request. Calling it with an itemID that is not currently cached will then eventually trigger the event GET_ITEM_INFO_RECEIVED...
Forum: Lua/XML Help 04-24-17, 07:26 AM
Replies: 22
Views: 1,107
Posted By jeruku
There is always putting the module init in a...

There is always putting the module init in a function loaded at ADDON_LOADED and have these functions called and removed after first use.

Quick dirty example:

--Core
local addonName, addonTable =...
Forum: General Authoring Discussion 02-08-17, 10:11 AM
Replies: 12
Views: 831
Posted By jeruku
In most cases the events prescribed do not load...

In most cases the events prescribed do not load in any significant order. The way I have found, that works for me, is to wait until all three, replacing PLAYER_LOGIN since this occurs only once...
Forum: Lua/XML Help 01-14-17, 08:22 AM
Replies: 16
Views: 1,276
Posted By jeruku
It is a bit early for me but I noticed, in your...

It is a bit early for me but I noticed, in your first post, you were inserting then removing at the same index in restoreRndChatTbl.

tinsert(Chat.db.profile.randChatTbl,...
Forum: AddOn Help/Support 12-01-16, 10:03 AM
Replies: 7
Views: 4,664
Posted By jeruku
Going to take a shot in the dark but by chance...

Going to take a shot in the dark but by chance did it change the "NPC Names" setting?

Edit:
Had a chance to log in, it does not. In fact, it appears this setting is indeed missing from Blizzards...
Forum: AddOn Help/Support 12-01-16, 09:45 AM
Replies: 7
Views: 4,664
Posted By jeruku
Blizzard introduced "smart" nameplates and will...

Blizzard introduced "smart" nameplates and will only show nameplates if they have taken damage, you tagged it or is your primary target. The "V" key will not affect this setting. You can change...
Forum: Lua/XML Help 11-27-16, 08:05 AM
Replies: 8
Views: 1,257
Posted By jeruku
I think that that was about what I was thinking.

I think that that was about what I was thinking.
Forum: Lua/XML Help 11-25-16, 11:57 PM
Replies: 8
Views: 1,257
Posted By jeruku
Metatables to emulate bar groups, what about just...

Metatables to emulate bar groups, what about just a table?

What about using GetMinMaxValues() on the StatusBar?
bar.candyBarDuration

Melding, like in the image? Just sort by time remaining,...
Forum: Lua/XML Help 11-02-16, 07:14 AM
Replies: 2
Views: 549
Posted By jeruku
This was solved over on this thread...

This was solved over on this thread (http://www.wowinterface.com/forums/showthread.php?t=54718).
Showing results 1 to 25 of 162