Showing results 1 to 25 of 34
Search took 0.01 seconds.
Search: Posts Made By: Mazzop
Forum: Lua/XML Help Today, 12:04 PM
Replies: 13
Views: 312
Posted By Mazzop
and who would stash reagents in normal bank? for...

and who would stash reagents in normal bank? for tradeUI its any difference anyway
GetItemCount(item, true) - GetItemCount(item) and OP gets what wanted
Forum: Lua/XML Help 10-22-14, 03:48 PM
Replies: 13
Views: 312
Posted By Mazzop
seems that select(4,...

seems that select(4, GetTradeSkillReagentInfo(tradeSkillRecipeId, reagentId)) tracks your bags, bank and reagent bank altogether


little around, but if you get a table of tradeSkillRecipeId and...
Forum: AddOn Search/Requests 10-22-14, 10:18 AM
Replies: 20
Views: 631
Posted By Mazzop
AdiButtonAuras...

AdiButtonAuras (http://www.curse.com/addons/wow/adibuttonauras) is continuation/replacement of Inline Aura. I also cannot live without that functionality :)
Forum: Lua/XML Help 10-20-14, 03:05 PM
Replies: 5
Views: 184
Posted By Mazzop
try that check, it compare base strength and...

try that check, it compare base strength and base attack power


if UnitStat("unit", 1) == UnitAttackPower("unit") then
--unit is melee stuff
end


checked on paladin, not sure if that will work...
Forum: Macro Help 10-16-14, 02:56 AM
Replies: 2
Views: 210
Posted By Mazzop
thanks, first code looks most straight forward to...

thanks, first code looks most straight forward to me and works great :)
Forum: Macro Help 10-15-14, 03:13 PM
Replies: 2
Views: 210
Posted By Mazzop
modifier with /run possible?

/cast [mod:ctrl] Survey
/run C_MountJournal.Summon(0)

i binded that macro to alt+mouse click and in general that works OK, but when i hold ctrl+alt+mouse button it survey and then mount. i want to...
Forum: Lua/XML Help 10-15-14, 12:58 PM
Replies: 11
Views: 292
Posted By Mazzop
and how to open db2 file? :) got that exacted and...

and how to open db2 file? :) got that exacted and cannot open or attach here
Forum: Lua/XML Help 10-15-14, 12:01 PM
Replies: 11
Views: 292
Posted By Mazzop
i read that in file ItemBonus.db2 you can find...

i read that in file ItemBonus.db2 you can find bonusID, so can parse item link with that id
but dunno where that file is :) Please tell me if someone know or paste that file somewhere, will need it...
Forum: Lua/XML Help 05-10-14, 12:14 PM
Replies: 16
Views: 1,354
Posted By Mazzop
looks great but what if loot is not from body but...

looks great but what if loot is not from body but from chest?

i use GetItemFamily just like in your first anwser :)

thanks all
Forum: General Authoring Discussion 05-10-14, 06:32 AM
Replies: 7
Views: 1,160
Posted By Mazzop
not sure if i read id correctly...

not sure if i read id correctly http://wowprogramming.com/docs/api/Screenshot but
/run TakeScreenshot()
would do what u want?
Forum: Lua/XML Help 05-10-14, 01:25 AM
Replies: 16
Views: 1,354
Posted By Mazzop
o cool, i was not sure if it need to be item...

o cool, i was not sure if it need to be item cached or item already somewhere in bags situation


Phanx -> but i get item name from game, so its should be localized? Example was just for testing....
Forum: Lua/XML Help 05-09-14, 06:13 PM
Replies: 16
Views: 1,354
Posted By Mazzop
ive just changed local _, item, quantity,...

ive just changed

local _, item, quantity, quality = GetLootSlotInfo(i)
if quality >= 4 then

into

local _, item, quantity, quality = GetLootSlotInfo(i)
if item ~= GetItemInfo(74248) and...
Forum: Lua/XML Help 05-09-14, 05:18 PM
Replies: 16
Views: 1,354
Posted By Mazzop
but that wont determine if given item is a...

but that wont determine if given item is a enchanting material or not
wanted it works for all, but well, i 'hardcode' it with sha crystal ID somehow without use of GetItemFamily
Forum: Lua/XML Help 05-09-14, 05:01 PM
Replies: 16
Views: 1,354
Posted By Mazzop
thx all wonder how it would act when...

thx all
wonder how it would act when disenchanting something into Sha Crystal (or anything else) without any of tht reagent in bags

its too much to ask for running that script with disenchant loot...
Forum: Lua/XML Help 05-09-14, 03:47 PM
Replies: 16
Views: 1,354
Posted By Mazzop
i was 2nd hand testing :) /run if...

i was 2nd hand testing :)

/run if bit.band(GetItemFamily("Sha Crystal"), 0x0040) > 0 then print("1") else print("0") end

it throws erorr:
Message: [string "if bit.band(GetItemFamily("Sha Crystal"),...
Forum: Lua/XML Help 05-08-14, 09:15 AM
Replies: 16
Views: 1,354
Posted By Mazzop
GetItemFamily, bitfield

I dont have WoW access atm but got little request to my addon and require help now :)
I want to find out if given item is used for enchanting or not. I found GetItemFamily but dunno how to work with...
Forum: nUI: Community Chat 12-16-13, 01:27 PM
Replies: 105
Views: 11,154
Posted By Mazzop
Kestrelon, nice trolling. I dont see any...

Kestrelon, nice trolling. I dont see any addon-related payd feature on WoWI Premium, swing and a miss

If there so much u guys who support him, why u wont be moderators on his forum, if dealing with...
Forum: Lua/XML Help 12-16-13, 03:09 AM
Replies: 10
Views: 1,444
Posted By Mazzop
i know linalawl i am saying, that if information...

i know linalawl
i am saying, that if information on http://wowprogramming.com/docs/api/UnitAura is correct, filter HARMFUL RAID should be faster then getting dispelType and then crosscheck it with...
Forum: Lua/XML Help 12-15-13, 04:39 PM
Replies: 10
Views: 1,444
Posted By Mazzop
Sounds pretty fishy :) If u want target person...

Sounds pretty fishy :)
If u want target person wich debuff u can dispell, try change
UnitGroupRolesAssigned("raid"..r) == "HEALER"
with
if UnitAura("raid"..r, index, HARMFUL RAID) ~= nil (probably...
Forum: Lua/XML Help 05-17-13, 01:15 PM
Replies: 7
Views: 1,746
Posted By Mazzop
I will have too, just wondering why GetText()...

I will have too, just wondering why GetText() dont always work, because it work sometimes, if it was totally bad then i would not have partial results :)
Forum: Lua/XML Help 05-16-13, 04:11 PM
Replies: 7
Views: 1,746
Posted By Mazzop
stuck with little lua

So i wanna do new feature for my addon (http://www.curse.com/addons/wow/simple-loot-list), i wanna display Thunderforged (+) next to dropped item, for example if boss drop items [A B B+ A C], i have...
Forum: Lua/XML Help 05-11-13, 01:40 AM
Replies: 4
Views: 1,398
Posted By Mazzop
Thanks all! Phanx, lineID thingy seems way over...

Thanks all!
Phanx, lineID thingy seems way over my head and SDPhantom idea looks more elegant :)
I keep MessageEventFilter just to hide whisper and moved respond to new function like i should do in...
Forum: Lua/XML Help 05-10-13, 01:55 PM
Replies: 4
Views: 1,398
Posted By Mazzop
problem with ChatFrame_AddMessageEventFilter

So i have something like this, thats now all my lua file

local function f(self, event, message, sender, ...)

if message == "a" then
SendChatMessage("b","WHISPER", nil, sender)
return...
Forum: Lua/XML Help 05-03-13, 01:45 PM
Replies: 8
Views: 2,099
Posted By Mazzop
Thanks! Works superb via DevPad. It is too big...

Thanks! Works superb via DevPad.
It is too big and complex for my needs, but i failed to do editbox myself, so it will do :)
Forum: Lua/XML Help 05-03-13, 09:35 AM
Replies: 8
Views: 2,099
Posted By Mazzop
Not work, it print old data after save file and...

Not work, it print old data after save file and /reload
Showing results 1 to 25 of 34