• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [REQUEST] Simple Profile - Create Itens (Tailoring)

    Discussion in 'Requests & Discussion' started by Thigo, Jul 11, 2016.

    1. Thigo

      Thigo New Member

      Joined:
      Jun 25, 2015
      Messages:
      12
      Likes Received:
      0
      Trophy Points:
      1
      Hello guys !!

      I am beginner with Honorbuddy, if anyone can help me, i would be happy :D !!

      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!!
       
    2. EchoTiger

      EchoTiger Official Profile and Singular Developer Staff Member Moderator

      Joined:
      Nov 28, 2012
      Messages:
      6,810
      Likes Received:
      631
      Trophy Points:
      113
      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) &gt;= 5 &amp;&amp; Me.FreeBagSlots &gt; 0" > <!-- Make bolts. -->
                  <
      CustomBehavior File="RunCode" Code="Logging.Write(System.Windows.Media.Colors.DeepSkyBlue, &quot;[Azyul]: Making bolts...&quot;);" />
                  <
      CustomBehavior File="Misc\RunLua" Lua="if not TradeSkillFrame:IsVisible() then CastSpellByName(&quot;Tailoring&quot;); end;" />
                  <While 
      Condition="GetItemCount(72988) &gt;= 5 &amp;&amp; Me.FreeBagSlots &gt; 0" >
                      <
      CustomBehavior File="Misc\RunLua" Lua="for i=1,GetNumTradeSkills() do if GetTradeSkillInfo(i)==&quot;Bolt of Windwool Cloth&quot; then DoTradeSkill(i,(select(3,GetTradeSkillInfo(i)))) end end;" />
                      <
      CustomBehavior File="WaitTimer" WaitTime="60000" TerminateWhen="GetItemCount(72988) &lt; 5 || Me.FreeBagSlots == 0" />
                  </While>
              </If>

              <If 
      Condition="GetItemCount(82441) &gt;= 4 &amp;&amp; Me.FreeBagSlots &gt; 0" > <!-- Make cloaks. -->
                  <
      CustomBehavior File="RunCode" Code="Logging.Write(System.Windows.Media.Colors.DeepSkyBlue, &quot;[Azyul]: Making cloaks...&quot;);" />
                  <
      CustomBehavior File="Misc\RunLua" Lua="if not TradeSkillFrame:IsVisible() then CastSpellByName(&quot;Tailoring&quot;); end;" />
                  <While 
      Condition="GetItemCount(82441) &gt;= 4 &amp;&amp; Me.FreeBagSlots &gt; 0" >
                      <
      CustomBehavior File="Misc\RunLua" Lua="for i=1,GetNumTradeSkills() do if GetTradeSkillInfo(i)==&quot;Crafted Dreadful Gladiator's Cloak of Alacrity&quot; then DoTradeSkill(i,(select(3,GetTradeSkillInfo(i)))) end end;" />
                      <
      CustomBehavior File="WaitTimer" WaitTime="60000" TerminateWhen="GetItemCount(82441) &lt; 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, &quot;[Azyul]: Selling cloaks to vendor...&quot;);" />
                  <
      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.
       
      Last edited: Jul 12, 2016
    3. Thigo

      Thigo New Member

      Joined:
      Jun 25, 2015
      Messages:
      12
      Likes Received:
      0
      Trophy Points:
      1
      OMG EchoTiger, Thanks man!!!!!!!!! ;)
       
    4. Thigo

      Thigo New Member

      Joined:
      Jun 25, 2015
      Messages:
      12
      Likes Received:
      0
      Trophy Points:
      1
      Hello Echo..

      After the pre-patch is no longer working, you can help?

      :confused:
       
    5. Thigo

      Thigo New Member

      Joined:
      Jun 25, 2015
      Messages:
      12
      Likes Received:
      0
      Trophy Points:
      1
      Hello Echo..

      After the pre-patch is no longer working, you can help?
       
    6. EchoTiger

      EchoTiger Official Profile and Singular Developer Staff Member Moderator

      Joined:
      Nov 28, 2012
      Messages:
      6,810
      Likes Received:
      631
      Trophy Points:
      113
      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.
       

    Share This Page