View Full Version : Addon: Reagent Helper v0.8.2
Tuatara
12-10-2004, 06:48 PM
Reagent Helper
You can get the latest version from:
http://tuatara.rezgeek.com/WoW/ReagentHelper/
** Update Jan 25, 2005 **
Please go to my web site to see updates and such. Don't want to updated multiple forums with information so latest news will be there.
Cool!
Nice work!
Sarf
---
Chill out... everything's under control...
Anonymous
12-10-2004, 10:25 PM
this addon is awesome, nice work.
Anonymous
12-10-2004, 10:26 PM
this addon is awesome, nice work.
Lechtansi
12-10-2004, 11:02 PM
tuatara,
if any of the regents are mixed up let me know. i put a lot of work into making those lists and im 99% sure its accurrate (according to thott at least). If there are any mistakes (either my mistakes or thott is no longer accurate), edit the lists on wowwiki.
i should be heading home from work soon, ill check it out then
Anonymous
12-10-2004, 11:06 PM
One thing I pointed out to Tuatara in game is that White Spider Meat is white like its a reagent, but it doesn't come up with any profession, unlike everything else I have. He suggested that since it isn't on thottbot that perhaps its just not added in as a reagent in the database.
Anonymous
12-12-2004, 05:38 PM
I love this plugin, but is there a way we can have it work with Allinone Inventory? The tooltips work in the regular bag view but not with Sarf's addon.
I'll be adding support for ReagentHelper to AIOI myself.
Note:
I am using this function to do it:function AllInOneInventory_ReagentHelper_ModifyItemTooltip( tooltipName)
if ( ( COS_RH_TOOLTIP_ENABLE ) and ( ReagentHelper_FindProfessions ) ) then
local tooltip = getglobal(tooltipName);
if ( not tooltip ) then
return;
end
local tooltipTextLeft1 = getglobal(tooltipName.."TextLeft1");
local name = "";
if ( not tooltipTextLeft1 ) then
return;
else
name = tooltipTextLeft1:GetText();
end
local professionList = ReagentHelper_FindProfessions(name);
if (professionList) then
for professionIndex, professionName in professionList do
tooltip:AddLine(professionName, "", 1, 1, 1);
end
tooltip:Show();
end
else
-- No Labels
end
end
Tuatara, I would much appreciate it if you could write a function that other AddOns could use for their own tooltips. Example:
function ReagentHelper_ModifyTooltip(tooltipName)
if ( COS_RH_TOOLTIP_ENABLE ) then
local tooltipInfo = Sea.wow.tooltip.scan(tooltipName);
if ( tooltipInfo[1] ) then
local professionList = ReagentHelper_FindProfessions(tooltipInfo[1].left) ;
if (professionList) then
for professionIndex, professionName in professionList do
GameTooltip:AddLine(professionName, "", 1, 1, 1);
GameTooltip:Show();
end
end
end
else
-- No Labels
end
end
Sarf
---
When you have had all that you can take, put the rest back.
Anonymous
12-13-2004, 03:47 AM
First of all, to reiterate, I love the AIOI plugin - it makes inventory management so much easier.
Are there plans to preserve the position of the AIOI window? I've noticed that you can drag it (THANKS!) but it loses the position after a relogging.
Lechtansi
12-13-2004, 06:46 AM
so it seems there are a bunch of reagents missing, including rogue poisons and spell reagents. ill look into it, and if i have time ill add them to item.reagent. if you wanna work faster Tuatara go ahead, but as soon as either of us are done you can add it to reagenthelper.
Grimmy, please post in the AllInOneInventory topic elsewhere, let's not clutter this one. :)
Sarf
---
ANTIPATHY, n. The sentiment inspired by one's friend's friend.
Tuatara
12-13-2004, 04:10 PM
Sarf,
That sounds fine and I did notice I am doing something silly in my code by looking at a bit of your code. I am doing the Show() for each loop through the for.
I have been working on this add-on a bit more and noticed that their isn't something easy to hook on to for the loot, bank, and merchant item buttons. I was able to do it for the auction house as it has a OnEvent function. The only way to make it work was to add code to the LootFrame.xml, BankFrame.xml, and MerchantFrame.xml files in the FrameXML folder. Problem now is that the main Cosmos add-on is making its own modifications to the LootFrame.xml file as it already exists.
Is there some way to hook onto the OnEvent part of of frames that have tooltips where their is no set function created for that OnEvent?
Tuatara
12-13-2004, 04:26 PM
Where is this AIOI add-on? Would be curious to give it a look.
Lechtansi
12-13-2004, 05:36 PM
http://www.cosmosui.org/forums/viewtopic.php?t=1234
Tuatara, unfortunately, as far as I know, there isn't. :(
You can, however, use sneaky ways to do it... like in GameTooltip.xml, in the OnShow part! ;)
Sarf
---
"hrm. I couldn't get laid in a womens prison with a fist full of pardons" - whyerhead (http://www.bash.org/?7355)
Tuatara
12-13-2004, 06:39 PM
Ya... I was thinking about that before but it seems that the GameTooltip is used for a lot of different things. I didn't really want my code being run for every type of tooltip that would show up when it is only useful when hovering over items. I know it isn't that much code but I usually like to try and keep things efficent and streamlined. I might take a look at somehow seeing if the item that the Tooltip is being used for is an item as one of my first checks and if not just return before checking the professions. As it stands right now I will always check the profession if the ModifyTooltip function is called.
Lechtansi
12-13-2004, 06:45 PM
ok Tuatara, there are now 4 more entries in sea.data.item; reagent.priest, reagent.mage, reagent.shaman and reagent.poison. Someone else added poison, i added the other three. I dont know how fast the sea library gets updated, but you should be able to check for these now.
Tuatara
12-13-2004, 06:50 PM
Nice... I will check out poison stuff tonight if I see that my library gets updated as I am a rogue.
Lechtansi
12-13-2004, 06:54 PM
one of my friends made the following suggestion: Be able to see which recipies each item is used in. Adding all the recipies to the tooltip would result in HUGE tooltips, so being able to bring up a new window would probably be the better choice. I realize this is a ton of work, because it means adding every recipie to sea, but if it is in any way possible it would add a huge amount of functionality to the game. We could possibly recruit some people to work on this (i actually all ready have engineering finished, i would just have to import it into sea).
It would probably not be that popular in Sea, since it would be a huge memory hog, but it could conceivably be used in RegentHelper or its own AddOn.
Sarf
---
He who marries the Spirit of his Age, soon becomes a widower.
Tuatara
12-13-2004, 07:28 PM
I have been thinking about this. I could probably do it if you have that skill by loading up the profession window and looping through the recipies. This would be very beneficial and it is part of my overall plan for the ReagentHelper.
Currently my next step is to have a window come up showing each profession then list the reagents that are needed for that profession with a quantity value of the items that you have in the inventory.
I will be working on some of this stuff this week and maybe will have some more functionality by then.
For making recipe lists I was wondering if we could use one of the current data stores like thott or allahkazam to get recipe lists so we don't have to manually figure out each one.
Tuatara
12-14-2004, 03:26 AM
Two missing alchemy reagents...
Oily Blackmouth - Alchemy
Discolored Worg Heart - Alchemy
Lechtansi
12-14-2004, 05:54 AM
ok, you can always go to the wowwiki and add them yourself or i can do it later. up to you.
bluedragon
12-14-2004, 12:11 PM
would it be possible to add how much it sells to vendors in the tooltip?
it'd be beneficial when trying to decide how much to put something up at the AH if there's no one else selling the item (or even if there is and you want to see the difference in cost)
well, i should say, would it be useful enough to actually do - i'm sure it'd be possible =]
edit:
another cool thing would be if the sell to vendor was listed in the quest log, so if both items you don't need/want, or can't use, you can see which one is more profitable (if there's even a difference, i havn't done the same quest multple times enough to know yet)
Lechtansi
12-14-2004, 03:46 PM
Tuatara,
something weird is happeneing, because Oily Blackmouth and Discolored Worg Heart are in sea.data.item.reagent.alchemy. This also happens for Flask Of Mojo, which is in reagent.engineering but does not show up in game.
Tuatara
12-14-2004, 08:42 PM
Lechtansi,
I just added Oily Blackmouth and Discolored Worg Heart to the WoWWiki last night. Checking the Sea library in my Interface folder it doesn't show those as reagents. I have been watching my Cosmos patches and they haven't had an update for the Sea library in a while. Are we sure that the CVS is being updated properly with the new info?
Lechtansi
12-15-2004, 01:19 AM
ok, if you just added them then thats ok. i dont know how often it gets updated, but my cosmos is from the 9th so thats 5 days.
the reason i thought it might be a problem with your code is i checked for flask of mojo, which is in my origonal copy that i compiled before importing it into sea, and since its still in sea (but not showing up in game) i thought that it might also be happening for the other two.
Tuatara
12-15-2004, 04:20 AM
Hmmmm not sure why Flask of Mojo isn't showing up. Unfortunately I am not an engineer so I can't test that one item but I am going to make a quick tester function to see what might be up.
Travlncub
12-15-2004, 08:09 AM
One other thing I noticed testing this tonight is that it doesn't pick up hides as being used in any skills. I'm guessing this is becuase the hide hasn't been cured yet so is actually a different item. It would be nice to add in the un-cured hides either as all leatherworking or treat them as the cured version.
Just a suggestion,
Madagar
Anonymous
12-15-2004, 08:33 AM
Hay guys
I'm currently using Cosmos ui current version
And have installed the regent helper v.6
but seems when ever i open a bag or bank
pritty much anything and hover over it i get an error
so basicly took the files out this seems like a very cool addon
and would like to get it work and get my other guild mates using it
also..
any suggestiong (i will get the exact error message later)
cactuschef
12-15-2004, 03:13 PM
sounds like a great addon but:
it's not working for me whatsoever. installed it, i have it enabled in the cosmos options, and... nothing. no additional info on tooltips for anything.
:cry:
Tuatara
12-15-2004, 09:09 PM
Hikari,
I would need to know the error message to figure out what is going wrong with yours.
Cactuschef,
Try downloading the new v0.7 and run the command /RHTestItem Briarthorn to see if that at least gives a listing of professions.
cactuschef
12-16-2004, 01:46 AM
nope, still doesn't work, and also very odd, i -can't- use that command. i don't mean i enter it and nothing shows up, I mean i type it in, hit return, and it doesn't 'enter' it, as in the text entry area stays open (with /RHTestItem Briarthorn in it) and nothing happens.
It would however let me do just /RHTestItem and told me the usage (with the example /RHTestItem Briarthorn no less)
Tuatara
12-16-2004, 02:16 AM
CactusChef,
I don't know how hard it would be for you to try but maybe see if you can get the stand-alone version working just by itself. I am wondering if this add-on and some other add-on are interacting and causing problems.
Lechtansi
12-16-2004, 02:54 AM
hey tuatara,
weird bug with the latest version, all the names of the professions appear in lower case, when the first letter should be in upper case.
Tuatara
12-16-2004, 03:26 AM
Nah that is the way it works unless I do some string manipulation. When I changed it from doing if statements for each type of reagent list, to a foreach, I just take the name that is in the Sea.item.reagent list.
Anonymous
12-16-2004, 08:30 AM
Hay there Tuatara
Ok here is the error message
String
interface\addons\regenhelper\regenthelp..
line 122
count 9
error attemt to call a nill value
Tuatara
12-16-2004, 10:43 AM
One other thing I noticed testing this tonight is that it doesn't pick up hides as being used in any skills. I'm guessing this is becuase the hide hasn't been cured yet so is actually a different item. It would be nice to add in the un-cured hides either as all leatherworking or treat them as the cured version.
Just a suggestion,
Madagar
Looks like some of the raw hides were missed. Added light, medium, and heavy hides to the WoWWiki and hopefully they eventually make it into a release of Cosmos.
Please, throw a link to me. I'd like to update Sea if possible.
Sarf
---
BAROMETER, n. An ingenious instrument which indicates what kind of weather we are having.
Tuatara
12-16-2004, 03:42 PM
Please, throw a link to me. I'd like to update Sea if possible.
What link?
Lechtansi
12-16-2004, 04:03 PM
sarf:
all this stuff that we are working on is in Sea.data.item, specifically item.reagent
All righty.
Didn't know you bundled Sea.
Sarf
---
Reality shows tell me what my life would be like if it were run by writers not smart enough to make movies.
Anonymous
12-16-2004, 06:36 PM
Try downloading the new v0.7 and run the command /RHTestItem Briarthorn to see if that at least gives a listing of professions.
I am trying to use this addon as a standalone. I only have lootlink and ReagentHelper 0.7 (including sea). When I highlight an item, it does not show what it is for. If I do /RHTestItem, it comes back with
Item: Briarthorn
Professions:
alchemy
I am pretty sure that I applied it right (lootlink is working)
Here is the dir listing of interface folder
http://24.2.4.79/interface.txt
Thanks in advance
Tuatara
12-16-2004, 06:44 PM
step8876,
Make sure you run the command /RHToggleTooltip to enable the tooltip modification.
Anonymous
12-16-2004, 06:53 PM
thanks for the quick reply, I overlook that your post .
Anonymous
12-17-2004, 05:05 AM
ok tryed
Try downloading the new v0.7 and run the command Code:
/RHTestItem Briarthorn
to see if that at least gives a listing of professions.
and get the same error as above nill error
at line
122 count 1
realy would like to get this addon working but dosnt seem to work for me
any help would be apreshiated
Anonymous
12-17-2004, 04:42 PM
Good work Tuatara, I have it working and it is great, One question, how will I be able to get any updates to sea?
Sea can be extracted from the Cosmos zip files.
Sarf
---
DELUSION, n. The father of a most respectable family, comprising Enthusiasm, Affection, Self-denial, Faith, Hope, Charity and many other goodly sons and daughters.
Anonymous
12-17-2004, 07:32 PM
Sea can be extracted from the Cosmos zip files.
While this is true, apparently slight changes have been made to the Sea included in the stand alone to make it work without Cosmos, or more specifically to make it not try to 'connect' to Cosmos. I didn't dive into the code, but Sea.IO.lua has a different size in each case, and if you extract the Sea included with Cosmos over the Sea included with the stand alone, you get an error in Sea.IO everytime you run. Thus you can not just use the standalone version and replace with updated Sea from the Cosmos files (currently, at least).
Could you please PM me with the error message you got?
Sarf
---
Be excellent to each other
Tuatara
12-18-2004, 06:16 AM
Could you please PM me with the error message you got?
Sarf... I noticed this problem but is has been fixed in the r257 and later versions. It was where it was doing join() instead of Sea.util.join(). I am guessing that "Guest" was not using the latest versions of Cosmos and instead got the one from the download section of cosmos (http://www.cosmosui.org/cosmos/).
seoman
12-18-2004, 08:22 AM
As Tuatara noted, I was using r256 from the download section, being unaware there was any later version (the download section link I used said it was the nightly compile, but this was apparently not the case). If it is fixed in r257 and up, problem solved.
Anonymous
12-18-2004, 01:29 PM
This add-on isnt working for me. I put my cursor over stuff and it still doesnt show me what profession its for. /shrug
Tuatara
12-18-2004, 03:47 PM
This add-on isnt working for me. I put my cursor over stuff and it still doesnt show me what profession its for. /shrug
Please make sure you have it enabled in the Cosmos Options or use the command... /RHToggleTooltip
Anonymous
12-19-2004, 08:22 AM
humm
no help yet
Still not working and getting errors
and think alot of people are getting the same ones
Anonymous
12-19-2004, 08:22 AM
sorry last post way mine
forgot to include my nick
cactuschef
12-20-2004, 03:50 PM
i got it to work, i had to install the 'stand alone' version (even though i'm still using cosmos, and can turn it on and off in the cosmos options)
Anonymous
12-20-2004, 08:02 PM
It'd be really nice if the tooltips were on by default. Is this a simple thing to change?
Also, does ReagentHelper "play well" with LootLink? Been thinking about installing LootLink (really only for the sell-price showing)...
Tuatara
12-20-2004, 10:56 PM
i got it to work, i had to install the 'stand alone' version (even though i'm still using cosmos, and can turn it on and off in the cosmos options)
That would probably mean that you have an old version of cosmos where there is a problem with the Sea library. The only difference in the two is that I include the Sea library with the stand-alone and not with the cosmos integrated one.
Anonymous
12-22-2004, 06:03 PM
I do need a translated Sea version to make this mod work with the Ger version, right?
Tuatara
12-22-2004, 06:58 PM
hmmm actually not sure what would be needed to get the Sea library available for other languages. I am guessing that the Sea library would need the translation of the reagents to their other language.
Bhaerau
12-23-2004, 09:06 AM
I was wondering. Why is there two different versiosn? Wouldn't it be possible to make a stand-alone that works with Cosmos?
Tuatara
12-24-2004, 08:08 AM
Well yes but for the cosmos version I don't want to overwrite the Sea add-on which I have to include with the stand-along version. There is also a change I have had to make to some of the FrameXML files over what Cosmos has. I can't include those files in the stand-alone.
Rayyl
12-27-2004, 03:49 PM
I wasn't sure where to post this, but White Spider Meat is used in Cooking. Specifically the Spider Sausage recipe.
Tuatara
12-28-2004, 07:38 PM
Thanks for the update. I have updated the WoWWiki Sea Library to include that item. If anyone notices any other ones please post here as well.
Anonymous
12-31-2004, 12:44 AM
Anyone know if the sea list is going to be updated anytime soon, because although this addon works ownders at lower levels it is missing a whole heap of information about higher level items.
Lechtansi
12-31-2004, 04:08 PM
rising: if we are missing anything please let us know, we only have our own experiences and thott to go from, and thott hasnt been updated in a while.
Primer
01-15-2005, 11:16 AM
Great add-on, thank you for all the work put into it. I just have a question and forgive me if I overlooked something small. I was able to get the reagent helper working with the cosmos ui easily, I was just wondering if there was a way to get an updated item list? I patch cosmos and it does not update the sea library so i'm stuck using an older version which is missing obvious things liike light hides, medium hides, etc.
Thanks in advance.
Anonymous
01-17-2005, 09:46 AM
One thing I pointed out to Tuatara in game is that White Spider Meat is white like its a reagent, but it doesn't come up with any profession, unlike everything else I have. He suggested that since it isn't on thottbot that perhaps its just not added in as a reagent in the database.
bob's spider kabob or whatever it was named, that used spider meat doesn't it?
White Spider meat is used in Spider sausage's.
Zeek
Lilun
01-18-2005, 05:46 PM
I'm an artisan armorsmith, and I'm working on completing the reagents list for the trade. I'm modding the Sea.data.item.lua file (I assume that's where the values are coming from) -- how should I go about submitting you copies of the LUA, Sarf/Tuatara? I don't want to screw up your changelogs or get multiple unofficial copies bouncing around the net.
Right now I've just made a few small changes, but you know what happens when the information ball starts rolling :) .. I'll be working with some other guild artisans to brush up leatherworking, tailoring, engineering, and enchanting as well.
jimmcq
01-18-2005, 07:28 PM
I'm an artisan armorsmith, and I'm working on completing the reagents list for the trade. I'm modding the Sea.data.item.lua file (I assume that's where the values are coming from) -- how should I go about submitting you copies of the LUA, Sarf/Tuatara? I don't want to screw up your changelogs or get multiple unofficial copies bouncing around the net.
Right now I've just made a few small changes, but you know what happens when the information ball starts rolling :) .. I'll be working with some other guild artisans to brush up leatherworking, tailoring, engineering, and enchanting as well.
If you update the Profession pages at WoWwiki,com (http://www.wowwiki.com/Professions) I believe the changes will make their way into Sea.
Lilun
01-18-2005, 07:34 PM
If you update the Profession pages at WoWwiki,com (http://www.wowwiki.com/Professions) I believe the changes will make their way into Sea.
The Wiki simply has links to relevant Thottbot sections covering the profession. That still doesn't mean the changes will make their way into Sea. I'm actually changing Sea's item database.
Lilun
01-18-2005, 08:07 PM
Alright, I've included all relevant information that I could pull off Thottbot about professions that wasn't sketchy-looking. I kept the listing in alphabetical order.
For the Rogue poisons, poisons that have an item name indicating they were poisons were listed, so I deleted them and placed the poison reagents in there, including the vials, instead.
I will further modify Sea.data.item.lua should I come upon any further missing items in my travels. I think the syntax is all good from what I've added in, but I don't have WoW handy at the moment to test the new file out. Waiting for word from Sarf/Tuatara before I'll post the file so everyone can check it out.
PM me and I'll give you an email address where you can send stuff to. :)
Sarf
---
I think you had better start lining your hat with tinfoil.
Anonymous
01-18-2005, 08:40 PM
Hi, i have been playing around a bit with Reagent Helper, and I made some changes. If you think they are worth having, please implement them in the next version, so I can just download it and play more ;)
First, I disliked that the professionskills weren't capitalized. I used
function strcapitalize(str)
return strupper(strsub(str, 1, 1)) .. strlower(strsub(str, 2))
end
and used that on professionName were it was needed (ReagentHelper_TestItem(item), ReagentHelper_ModifyTooltip(tooltipName))
Then I wanted ReagentHelper to use a different color when the item was usable by me. That was a bit more difficult, but I managed by calling
-- Addon
local RH_name, RH_texture, RH_offset, RH_numSpells = GetSpellTabInfo(1);
local RH_add_i = 0;
local RH_General_List = {};
while (RH_add_i < RH_numSpells) do
str = GetSpellName(RH_add_i+1, 1);
-- Workaround
if (str == "Smelting") then
str = "Mining";
elseif (str == "First Aid") then
str = "Firstaid";
end
RH_General_List[RH_add_i] = str;
RH_add_i = RH_add_i + 1;
end
RH_General_List[RH_add_i] = UnitClass("player");
at the beginning of the script and
Anonymous
01-18-2005, 08:41 PM
function is_active_profession(str)
-- Check General Tab
for SkillName, SkillType in RH_General_List do
if (SkillType == str) then
return 1;
end
end
return nil;
end
this function, later in ReagentHelper_ModifyTooltip(tooltipName) I added this to the core part, so, with capitalization it looked like this:
for professionIndex, professionName in professionList do
professionName = strcapitalize(professionName);
if (is_active_profession(professionName) == 1) then
tooltip:AddLine(professionName, 1, 0.3, 0, 1);
else
tooltip:AddLine(professionName, "", 1, 1, 1);
end
end
I hope I made myself at least a bit clear about what I did... Any feedback ?
Anonymous
01-19-2005, 11:45 PM
I just noticed, that the addon to make anything useable in another colour only works if you reload manually (/rl). I think it has something to do with the script not being able to get the General Tab contents while it is loaded. I believe I need an event for that, but I don't know how to do that...
Anonymous
01-20-2005, 01:47 AM
Even as I seem to be the only person reading this, here a better version of what I did to RH:
-- Configuration variables
local RH_TOOLTIP_ENABLE = nil; -- set this to non nil to enable Reagent Helper
local RH_General_List = {}; -- <- this one's new
Then this completely new function that loads the skills:
function RH_Addon()
-- Addon
local RH_PLAYER_CLASS = UnitClass("player");
local RH_name, RH_texture, RH_offset, RH_numSpells = GetSpellTabInfo(1);
local RH_add_i = 0;
while (RH_add_i < RH_numSpells) do
local str = GetSpellName(RH_add_i+1, 1);
-- Workaround
if (str == "Smelting") then
str = "Mining";
end
RH_General_List[RH_add_i] = str;
RH_add_i = RH_add_i + 1;
end
RH_General_List[RH_add_i] = RH_PLAYER_CLASS;
end
Don't worry about a first aid workaround, I did that the other way round, so it will display as First Aid instead of Firstaid
again, the capitalization function
function strcapitalize(str)
return strupper(strsub(str, 1, 1)) .. strlower(strsub(str, 2))
end
applied wherever professionName appears.
Then this function to check in the list of skills:
function is_active_profession(str)
for SkillName, SkillType in RH_General_List do
if (SkillType == str) then
return 1;
end
end
return 0;
end
Then in the ReagentHelper_ModifyTooltip function the following core:
if ( tooltipInfo[1] ) then
local professionList = ReagentHelper_FindProfessions(tooltipInfo[1].left) ;
if (professionList) then
for professionIndex, professionName in professionList do
professionName = strcapitalize(professionName);
if (professionName == "Firstaid") then
professionName = "First Aid";
end
if (is_active_profession(professionName) == 1) then
tooltip:AddLine(professionName, 1, 0.3, 0, 1);
else
tooltip:AddLine(professionName, "", 1, 1, 1);
end
end
tooltip:Show();
end
end
here I only posted the changed part, including that workaround for First Aid, Capitalization and that ugly orange I came up with
Then, to make it work, the following changes in the ReagentHelper.xml in the script section
<OnLoad>
ReagentHelper_OnLoad();
RH_Addon();
Sea.util.hook("ContainerFrameItemButton_OnEnter", "ReagentHelper_ModifyGameTooltip", "after");
Sea.util.hook("AuctionFrameItem_OnEnter", "ReagentHelper_ModifyGameTooltip", "after");
ReagentFrame:RegisterEvent("PLAYER_ENTERING_WORLD");
ReagentFrame:RegisterEvent("SKILL_LINES_CHANGED");
</OnLoad>
<OnEvent>
RH_Addon();
</OnEvent>
The reason why I start onLoad and with an event is that
a) I need it to work when the UI starts the first time, therefore the events
b) I need it in case of /rl, therefore the simple function call
c) SKILL_LINES_CHANGED is hopefully the right event that gets called when the Skilltree changes somehow. I'm not going to dump my skills for testing that though
Does any of this make sense to you? Or is this totally useless ?
Lordship
01-20-2005, 01:52 AM
That above was actually me, now I got an account :D
Tuatara
01-20-2005, 06:28 AM
Lordship,
In my latest version of ReagentHelper I do have the professions capitalized. I have also got in place a proper way of getting colors and such due to another add-on I am making. I should hopefully have these changes in place soon. Good suggestion on the "usable" items showing a different color and I will work on that one shouldn't be too hard. I thought people had given up on using my add-on so hadn't worked on it much. I have a big add-on coming out soon so that is taking up most of my time.
Check out...
http://tuatara.rezgeek.com/WoW/ReagentHelper/
Lordship
01-20-2005, 11:25 AM
Hi, thanks for replying, actually I think RH is a great mod, that's why I put that time in it, to modify it so it is perfect for my needs. Whenever I see people selling junk in misc in the auctionhouse, I keep thinking: "Why don't they get RH, they'd notice that selling this stuff is useless"
Actually, I just looked at your version 0.8.1 which seems to be the most recent. It looks like 0.8.0 which I based my modifications on. It doesn't seem to capitalize, at least ingame, all the professions weren't capitalized.
Thanks for taking up that suggestion of mine, but all the code in the last post of mine together makes it actually work just the way I expected it to. No bugfixing needed, just with the SKILL_LINES_CHANGED I'm not sure, but it sounds right.
Lilun
01-20-2005, 05:49 PM
Tuatara,
I'm in the same boat with Lordship. I rely heavily on Reagent Helper to make sure components get out to the right people in my guild. I do notice that many people aren't using it as well, but I think it'll grow in popularity as more people find out about it. Definitely don't give up on it!
-Lilun
Tuatara
01-20-2005, 08:07 PM
Lilun,
Don't worry... I haven't forgot about everything instead I have started work on my latest invention. I call it GIRD... what is GIRD you say... Well it would be the Guild Item Re-Distribution. Everything you ever wanted but could never have. That sounds like it will be something that you would want a little more then just my little old ReagentHelper. I should have a "pre-release" version out by the end of this weekend for people to play with. More info at:
http://tuatara.rezgeek.com/WoW/GIRD/
Lilun
01-20-2005, 08:34 PM
Checked out the program outline earlier, and it looks awesome! Though.. will it be a compliment to RH or will it be replacing RH all-together? It sounds like a good idea used in conjunction with RH. Sort of like an inter-guild "WantAds" geared for tradeskillers (though, I hope more people will use it than the desolate WantAds hehe [cenarion circle])..
Make sure you grab an updated copy of Sea's item database for your next stand-alone RH rollout. I just sent a more finalized version to Sarf. You'll have to talk to him to see when it'll appear in an upcoming release.
Good luck on GIRD in the mean-time!
Anonymous
01-20-2005, 10:50 PM
link won't work for me :/ would have loved to try it but link to download ain't there
Gryphon
01-20-2005, 11:32 PM
Try what? GIRD? There is nothing to try, the link is just a description of it.
Anonymous
01-23-2005, 03:29 AM
I seem to be unable to get this add on to work. I unzipped the latest version into my Add-on folder but when I log in game nothing happens. Do you have any ideas what i might be doing wrong? Also, do I need to download Sea library separately and if so, should it also be downloaded into Add-On folder. I am a total noob when it comes to this so any help would be greatly appreciated!
Tuatara
01-23-2005, 08:22 AM
If you have cosmos installed then you can just go into the cosmos options and enable the reagent helper. If you don't have cosmos installed then you will have to type /RHToggleTooltip to enable the tooltips.
Anonymous
01-23-2005, 10:16 AM
Thank you so much! It is now working and made my pack-rat life so much more enjoyable :D
turbo
02-01-2005, 03:54 PM
how can update the db for the reagent helper?
i have some items that i use as a blacksmith but the reagent helper doesn't show them as blacksmithming.
Tuatara
02-01-2005, 04:13 PM
Best thing to do is go to WoWWiki.com and add them to the Sea library there. Once they are there they will eventually make their way into the Cosmos build.
http://www.wowwiki.com/Sea.data.item
Anonymous
02-01-2005, 07:34 PM
well i see Aquamarine which is part of blacksmith
but the reagenth helper doesn't show that as part of blacksmith.
is there a way to manually update this?
Anonymous
02-01-2005, 09:04 PM
i get a error for capitalizeWords
a nil value error
anyone kno how to fix this?
Anonymous
02-02-2005, 05:50 AM
I have installed RH version 0.8.1 for Cosmos. I tried "/RHTestItem Briarthorn" and was shown that briarthorn is used in alchemy. My exact error message when mousing over "Scorpid Scales" was:
String: Interface\AddOns\ReagentHelper\ReagentHelpe...
Line: 109
Count: 6
Error: attempt to call field `capitalizeWords' (a nil value)
I have heard wonderful things about this addon and wondered if anyone knew how to fix this problem. Thanks in advance.
yungsters
02-02-2005, 08:32 AM
http://www.cosmosui.org/forums/viewtopic.php?t=5573
Any chance at implementing that minor tweak? Or is there a reason that it isn't already done?
Tuatara
02-02-2005, 07:09 PM
The capitalization has been in since v0.8.2 and is in the latest cosmos builds (I believe but haven't verified).
The problem Guest is having is on this line:
tooltip:AddLine(Sea.string.capitalizeWords(profess ionName), "", 1, 1, 1);
For some reason you don't have Sea installed or someone removed the function capitalizeWords() from the library. I am running with build r422 and it is running fine with that version. If you are having a problem please try downloading the add-on from my site or curse-gaming as it has the latest Sea library.
http://www.curse-gaming.com/mod.php?addid=84
--
Tuatara
Anonymous
02-02-2005, 08:54 PM
icic im gonna try installing sea and see what happend
i was also wondering what version of RH is the latest cosmos dependent one.
Anonymous
02-20-2005, 01:11 AM
After the latest patch I am unable to get RH to work... Every time I try to toggle it by using /RHToggleTooltip it refers me to the /help list of the available commands. Any help would be appreciated... I greated miss this handy little add-on :(
Anonymous
03-01-2005, 03:10 AM
toc file is probably the wrong version in reagent helper or in sea
Anonymous
03-11-2005, 07:02 PM
Hello,
is the Sea database planned to be translated to German?
I like to use this addin in a EU version.
Perhaps it was better to use additional Items ID's to identify the entrys.
Thanks
Gnomad
03-13-2005, 12:46 AM
RH is an extremely helpful AddOn and is on my list of "Must Haves"! Good Job!
I definitely would like to see the recipes added as well.
Anonymous
03-18-2005, 11:24 PM
Upon Login box in middle of screen all in red:
[string "LootFrame:OnLoad"]:3: attempt to call method `RegisterForClicks' (a nil Value)
then when you mouseover any item
[string "interface/addons/sea/sea.string.lua"]:131: 'for' limit must be a number
Anonymous
03-29-2005, 01:50 PM
I can't get the stand alone to work. I put it in my interface folder but it won't work at all. Do I have to dl cosmos also?
zebai
03-29-2005, 04:16 PM
I can't get the stand alone to work. I put it in my interface folder but it won't work at all. Do I have to dl cosmos also?
Dude, this thread is like couple months old, stop bringing back old stuff ;p
Thought for a moment they rebuilt it and got it working again, FYI patch 1.3 broke this mod, last i heard a rewrite is in progress.
Anonymous
04-04-2005, 02:46 PM
RH does work for patch 1300. I use it now. When using as a standalone version it is turned off by default. I wish I could recall which file it was specifically but there is a line that the RHTooltip=NIL change the NIL to a 1 save close and all works fine again. I am going off the top of my head as I am at work at the moment, I will post what file later (Or if I can sneak it on to the work system to check it out) unless someone else beats me to it.
Anonymous
04-04-2005, 02:49 PM
the file is ReagentHelper.lua
the line reads...
-- Configuration variables
local RH_TOOLTIP_ENABLE = nil; -- set this to non nil to enable Reagent Helper
change to read
-- Configuration variables
local RH_TOOLTIP_ENABLE = 1; -- set this to non nil to enable Reagent Helper
Save and close.
vBulletin® v3.8.0 Beta 1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.