Originally Posted by
Gnobiwan
I am having the same issue as the other poster in regards to the ret pally macro.
/run print(vRet) shows nil
I am wearing 1 piece of T9 only, rest is heroic crap.
I tried setting the var of vRet and still not working.
Originally Posted by
marlboroman1982
I get "nil" Thought I saw the problem and renamed the macro in SDM to "vRet" but still got "nil" back as a result.
Thank you both for this feedback...there is clearly an error in the equipment detection that is causing both of you issues.
Can you guys please make a macro with just this line and try it...it should print 3 values...please tell me what they are for you in your ret gear.
Code:
/run local n=0; local sets={{48602,48631,1},{50324,50328,10},{51160,51164,10},{51275,51279,10}}; local slots={"HeadSlot","ShoulderSlot","ChestSlot","HandsSlot","LegsSlot"}; for i=1,#slots do local id=tonumber(({string.find(GetInventoryItemLink("player", ({GetInventorySlotInfo(slots[i])})[1]), "^\124c%x+\124Hitem:([^:]+):.*\124h%[.*%]")})[3]); for j=1,#sets do if id>=sets[j][1] and id<=sets[j][2] then n=n+sets[j][3] end end end; local a=n-math.floor(n/10)*10; local b=math.floor(n/10); print(n); print(a); print(b);
As an aside to confirm that is the issue...try taking off all you gear (except weapon) and seeing if the macro will work then...if it does, we know for sure that is where the problem lies.
Once I hear back from you guys I'll get a patched version up as soon as possible... My apologies for the problems.