Hello guys !! I am beginner with Honorbuddy, if anyone can help me, i would be happy !! Are just three simple steps \/ Step one: I have lots of windwoll cloth, and i need create lots of Bolt of Windwool Cloth. Step two: I use Bolt of Windwool Cloth for create Crafted Dreadful Gladiator's Cloak of Alacrity. Step three: I need to sell all the items created and continue to produce. I believe it is easy to create this profile, but do not know anything, this forum has great developers that can help. Thanks!!
Here's a snip I wrote forever ago for the questing botbase. I've changed the Ids to the ones you're needing. It would probably be better to convert this into RunCode, but RunLua should work just as well. You'll need to change the interaction codes for the vendor. Currently the vendor is set to a Horde vendor in Orgrimmar: Goram PHP: <HBProfile> <Name>Clean out Cloth</Name> <QuestOrder> <While Condition="true" > <If Condition="GetItemCount(72988) >= 5 && Me.FreeBagSlots > 0" > <!-- Make bolts. --> <CustomBehavior File="RunCode" Code="Logging.Write(System.Windows.Media.Colors.DeepSkyBlue, "[Azyul]: Making bolts...");" /> <CustomBehavior File="Misc\RunLua" Lua="if not TradeSkillFrame:IsVisible() then CastSpellByName("Tailoring"); end;" /> <While Condition="GetItemCount(72988) >= 5 && Me.FreeBagSlots > 0" > <CustomBehavior File="Misc\RunLua" Lua="for i=1,GetNumTradeSkills() do if GetTradeSkillInfo(i)=="Bolt of Windwool Cloth" then DoTradeSkill(i,(select(3,GetTradeSkillInfo(i)))) end end;" /> <CustomBehavior File="WaitTimer" WaitTime="60000" TerminateWhen="GetItemCount(72988) < 5 || Me.FreeBagSlots == 0" /> </While> </If> <If Condition="GetItemCount(82441) >= 4 && Me.FreeBagSlots > 0" > <!-- Make cloaks. --> <CustomBehavior File="RunCode" Code="Logging.Write(System.Windows.Media.Colors.DeepSkyBlue, "[Azyul]: Making cloaks...");" /> <CustomBehavior File="Misc\RunLua" Lua="if not TradeSkillFrame:IsVisible() then CastSpellByName("Tailoring"); end;" /> <While Condition="GetItemCount(82441) >= 4 && Me.FreeBagSlots > 0" > <CustomBehavior File="Misc\RunLua" Lua="for i=1,GetNumTradeSkills() do if GetTradeSkillInfo(i)=="Crafted Dreadful Gladiator's Cloak of Alacrity" then DoTradeSkill(i,(select(3,GetTradeSkillInfo(i)))) end end;" /> <CustomBehavior File="WaitTimer" WaitTime="60000" TerminateWhen="GetItemCount(82441) < 4 || Me.FreeBagSlots == 0" /> </While> </If> <If Condition="HasItem(93607)" > <!-- Sell Cloaks to Vendor --> <CustomBehavior File="RunCode" Code="Logging.Write(System.Windows.Media.Colors.DeepSkyBlue, "[Azyul]: Selling cloaks to vendor...");" /> <CustomBehavior File="InteractWith" MobId="46572" MobState="Alive" X="1610.26" Y="-4349.46" Z="21.12026" /> <!-- Interact with Vendor. This one is set to a Horde vendor. --> <CustomBehavior File="UseItem" ItemId="93607" NumOfTimes="1000" WaitTime="300" TerminateWhen="!HasItem(93607)" /> </If> </While> </QuestOrder> </HBProfile> This snip also had logic in it to pull the cloth out of your guild bank, but I removed it in this example since you weren't needing that.
Don't bump threads like this. It's against the forum rules. You'll need to tell me exactly what's not working, or give me a log. I currently don't have time to manually do this as I'm very busy with the official profiles and Singular.