Jewelcrafting
Searching for the right gem realy sucks. I always know the stats I need but not the name of the gem. So GemHelper looks like a nice addon but its realy too much for my needs.
Cool woud be a namechange inside the original skill window. Instead of the gem name it shoud show the stats of the gem but the name is still searchable. Anyone know an addon like this or know if this is even possible? Other idea woud be to show the gem tooltip on mouseover so you don't have to klick each gem to know the stats. Woud look like the right one: |
Code:
local disabled = true Keep in mind you have to change JEWELCRAFTING_S to whatever "Jewelcrafting" is in your locale. And the search function doesn't see this, it still looks for the name. |
Quote:
Lua Code:
|
thank you both! But can't get this to work on german client :/
Can anyone post full lua file again? |
In p3lim's code, replace this:
Code:
local JEWELCRAFTING_S = 'Jewelcrafting' Code:
local JEWELCRAFTING_S = GetSpellInfo(755) |
It for me it not changing anything looks as if the addon is not there but is shown in the addon list. So this is the code how i cange it.
EDIT: This is how the german tooltip looks like - maybe its different? juwe.toc Lua Code:
juwe.lua Lua Code:
|
Read my last post and make the change I suggested. It's not a tooltip issue. Your code is still looking for the English tradeskill name "Jewelcrafting". You need to use GetSpellInfo instead.
|
Quote:
|
Quote:
@ Phanx sorry posted the wrong code xD I made the edit you suggested but with the 755 as spell id :) Looks realy cool now! however now had this lua error :D Code:
21x Juwe-1.0\juwe-1.0.lua:33: attempt to index field "?" (a nil value) |
Wrong spell ID was Myrroddin's fault. :p
As for the error, assuming the code you edited into your last post is your current actual code, that means that this line is causing the problem: Code:
local stats = GetGemStats(_G['TradeSkillSkill' .. buttonIndex]:GetID()) |
Hmm I was not able to reproduce the error after it first appears but it I think it happend while show only skilling gems + only one frame was expended... I'll comment again if I see the error again
|
OK just found out how to reproduce the error.
Make shure you don't have raw Jewelcrafting gems in your bag. Look into guild roster and klick on "show all" at the Jewelcrafting. Filter to only show gems where you have the mats, now if it shows nothing because you don't have mats the error will pop up: Code:
10x Juwe-1.0\juwe-1.0.lua:33: attempt to index field "?" (a nil value) |
This is kind of interesting. Is there any way to make this work for Skillet or ATSW?
Oh wait.... searches in skillets files... finds: lua Code:
EDIT: Found it, GameTooltip:SetHyperlink and GetTradeSkillItemLink |
Any news on how to fix the error / add a button to disable addon ingame? Please woud love to update this with my UI!
|
Edited my original post, try that.
|
Quote:
Is there a button to disable addon if needed? Can't see it. Just the letter "J" on the top right next to the X button woud be perfect. |
Updated code
|
Quote:
Just changed this a bit: Code:
button:SetPoint('TOPRIGHT', TradeSkillFrameCloseButton, 'TOPLEFT', -4, -1) |
Do what ever you want with it.
|
Quote:
http://www.wowinterface.com/download...adofNames.html |
All times are GMT -6. The time now is 05:54 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI