Showing results 1 to 25 of 153
Search took 0.01 seconds.
Search: Posts Made By: Banknorris
Forum: Lua/XML Help 11-09-18, 12:27 PM
Replies: 5
Views: 5,749
Posted By Banknorris
You query for the item and check if the returns...

You query for the item and check if the returns are nil if they are then you register for GET_ITEM_INFO_RECEIVED check if arg1 is the item id and call GetItemInfo() again for that item id. This time...
Forum: Lua/XML Help 10-21-18, 04:58 AM
Replies: 11
Views: 13,877
Posted By Banknorris
I could not care less one way or another. I am...

I could not care less one way or another. I am not Blizzard's guardian. I was just making a prediction, with no personal interest other then being right about what will happen.
Forum: Lua/XML Help 10-21-18, 03:10 AM
Replies: 11
Views: 13,877
Posted By Banknorris
And now you are doomed.

And now you are doomed.
Forum: General Authoring Discussion 05-12-18, 02:57 AM
Replies: 3
Views: 2,560
Posted By Banknorris
I think C_XXXX functions are not written in Lua...

I think C_XXXX functions are not written in Lua but in C.
Forum: Lua/XML Help 03-13-18, 12:41 PM
Replies: 17
Views: 5,717
Posted By Banknorris
Hum, I am pretty sure that right side picture...

Hum, I am pretty sure that right side picture does NOT correspont to standard UI tooltip.
Forum: General Authoring Discussion 03-06-18, 05:24 PM
Replies: 12
Views: 3,503
Posted By Banknorris
Usually when you apply a dot, hot, aura on a...

Usually when you apply a dot, hot, aura on a target that does not have it from you, you get a SPELL_AURA_APPLIED as your combat log sub event and when reapplying a non-expired dot, hot, aura you get...
Forum: Lua/XML Help 02-24-18, 06:16 AM
Replies: 4
Views: 3,108
Posted By Banknorris
I have a personal addon that saves bars and also...

I have a personal addon that saves bars and also replace macro tabs (general become char macros and char macros become general macros) my solution for this problem is sketched bellow:--macros whose...
Forum: Lua/XML Help 01-16-18, 06:52 PM
Replies: 67
Views: 34,367
Posted By Banknorris
What would happen if in the last line of the...

What would happen if in the last line of the second code you have used SetCVar("Sound_EnableMusic", 1) instead of _G.SetCVar("Sound_EnableMusic", 1)? Would it still print anything? If not then that...
Forum: Lua/XML Help 01-14-18, 04:51 PM
Replies: 67
Views: 34,367
Posted By Banknorris
Not sure if I am understanding correctly what you...

Not sure if I am understanding correctly what you are saying but upvaluing will indeed make your hook on global functions not run if the upvalue is set before the hooking. When you hook you create...
Forum: Lua/XML Help 12-04-17, 11:00 AM
Replies: 3
Views: 2,196
Posted By Banknorris
Without checking the files I would guess that...

Without checking the files I would guess that function A hook is working because Vuhdo is actually calling VUHDO_determineDebuff from outside file VuhDoDebuffs.lua and in those files the local...
Forum: General Authoring Discussion 11-20-17, 07:09 AM
Replies: 3
Views: 1,884
Posted By Banknorris
http://www.wowinterface.com/forums/showthread.php?...

http://www.wowinterface.com/forums/showthread.php?p=323040#post323040
Forum: General Authoring Discussion 08-24-17, 04:26 PM
Replies: 34
Views: 11,399
Posted By Banknorris
Honestly, I think you owed him appologies. His...

Honestly, I think you owed him appologies. His code is indeed bad but maybe he is learning and was proud to release an addon that people all around the world could be using but then you showed up...
Forum: General Authoring Discussion 08-15-17, 06:43 AM
Replies: 8
Views: 4,326
Posted By Banknorris
I think Resto Druids have 102793 - Ursol...

I think Resto Druids have
102793 - Ursol Vortex

Also several (Shaman's) totems are ground targeted like
2484 - Earthbind Totem
98008 - Spirit Link Totem (Resto Shaman baseline)
207399 - Ancestral...
Forum: Lua/XML Help 08-07-17, 03:06 PM
Replies: 40
Views: 8,390
Posted By Banknorris
What I can do is to explain my code. I will use...

What I can do is to explain my code. I will use this data

local BangCharHateds = {
["Paco"] = true,
["Anabel"] = true,
["Francisco"] = true,
}

local BangCharKills = {
["Tarmanu"] =...
Forum: Lua/XML Help 08-07-17, 11:23 AM
Replies: 40
Views: 8,390
Posted By Banknorris
Weird, I just tested my code by setting 10 kills...

Weird, I just tested my code by setting 10 kills for Paco, Anabel and Francisco and it showed the three names corretly.

My guess is that you did something wrong in the adaptation.
Forum: Lua/XML Help 08-06-17, 08:31 PM
Replies: 40
Views: 8,390
Posted By Banknorris
local BangCharHateds = { ["Paco"] = true, ...

local BangCharHateds = {
["Paco"] = true,
["Anabel"] = true,
["Francisco"] = true,
}

local BangCharKills = {
["Tarmanu"] = 43,
["Anabel"] = 56,
["Armario"] = 23,
Forum: Lua/XML Help 08-04-17, 01:40 AM
Replies: 40
Views: 8,390
Posted By Banknorris
local tableC = {} for k,v in pairs(tableB) if...

local tableC = {}
for k,v in pairs(tableB)
if tableA[v] then
tableC[k] = v
end
end
table.sort(tableC)
Forum: Lua/XML Help 08-03-17, 03:25 PM
Replies: 40
Views: 8,390
Posted By Banknorris
Not sure if it is me but I have no clue what you...

Not sure if it is me but I have no clue what you really want to do. Could you explain better, I guess this is the reason you got no answers yet.
Forum: Lua/XML Help 07-28-17, 11:22 AM
Replies: 6
Views: 2,153
Posted By Banknorris
I am pretty sure wait=={} is always false just...

I am pretty sure wait=={} is always false
just test
local a={}
if a=={} then
print("Bank Norris is wrong")
else
print("Bank Norris is correct")
end
Forum: Lua/XML Help 07-27-17, 07:22 PM
Replies: 6
Views: 2,153
Posted By Banknorris
http://www.wowinterface.com/forums/showthread.php?...

http://www.wowinterface.com/forums/showthread.php?t=55352
Forum: Lua/XML Help 06-11-17, 05:36 AM
Replies: 14
Views: 3,543
Posted By Banknorris
ICD10 F42.8 detected :p

ICD10 F42.8 detected
:p
Forum: General WoW Chat 05-22-17, 12:30 PM
Replies: 10
Views: 28,771
Posted By Banknorris
Just for some good (nerd's)...

Just for some good (nerd's) laugh:
https://us.battle.net/forums/en/wow/topic/20420213488
Forum: Lua/XML Help 04-25-17, 03:06 PM
Replies: 16
Views: 10,120
Posted By Banknorris
In Jeruku code lines 16-21 are just that. You...

In Jeruku code lines 16-21 are just that. You could also call a funcion there like

elseif event == 'GET_ITEM_INFO_RECIEVED' then
local itemID = ...
--call your function here
end
Forum: Lua/XML Help 04-25-17, 12:00 PM
Replies: 16
Views: 10,120
Posted By Banknorris
A failled call (nil return) from GetItemInfo()...

A failled call (nil return) from GetItemInfo() will trigger GET_ITEM_INFO_RECEIVED after a little bit.
Forum: Lua/XML Help 04-24-17, 03:17 PM
Replies: 16
Views: 10,120
Posted By Banknorris
1) You call GetItemInfo(item_id) to get item...

1) You call GetItemInfo(item_id) to get item information if it is available or otherwise to force the item to be cached.
2) If you get a nil then register for event GET_ITEM_INFO_RECEIVED if not nil...
Showing results 1 to 25 of 153