• Visit Rebornbuddy
  • Crafting multiple items with one profile

    Discussion in 'Rebornbuddy Profiles' started by Shambo, Mar 19, 2015.

    1. Shambo

      Shambo New Member

      Joined:
      Jul 4, 2014
      Messages:
      89
      Likes Received:
      1
      Trophy Points:
      0
      Hi guys,

      I'm wondering if it's possible to craft multiple items with one profile, and if so, how I'd break each individual item in the profile?

      Say for example I want to run this to create 5 pairs of Spinel Earrings -

      Code:
      <?xml version="1.0" encoding="utf-8"?>
      <Profile>
        <Name>Goldsmith - Spinel Earrings</Name>
        <Order>
          <If Condition="not HasAtLeast(4266,5)">
            <While Condition="not HasAtLeast(4266,5)">
              <LogMessage Message="Crafting Spinel Earrings" />
              <Synthesize RecipeId="896" RequiredSkills="286,281,279,283,100009,100069,100069" MinimumCp="317" HQMats="-2, -2, -2, -2, -2, -2" />
              <While Condition="CraftingManager.IsCrafting">
                <CraftAction ActionId="286" Name="Comfort Zone" />
                <CraftAction ActionId="255" Name="Inner Quiet" />
                <CraftAction ActionId="281" Name="Steady Hand II" />
                <CraftAction ActionId="100076" Name="Basic Touch" />
                <CraftAction ActionId="100076" Name="Basic Touch" />
                <CraftAction ActionId="100076" Name="Basic Touch" />
                <CraftAction ActionId="100076" Name="Basic Touch" />
                <CraftAction ActionId="100076" Name="Basic Touch" />
                <CraftAction ActionId="247" Name="Steady Hand" />
                <CraftAction ActionId="279" Name="Waste Not" />
                <CraftAction ActionId="100078" Name="Standard Touch" />
                <CraftAction ActionId="263" Name="Great Strides" />
                <CraftAction ActionId="283" Name="Ingenuity II" />
                <CraftAction ActionId="100009" Name="Byregot's Blessing" />
                <CraftAction ActionId="100069" Name="Careful Synthesis II" />
                <CraftAction ActionId="100069" Name="Careful Synthesis II" />
              </While>
            </While>
          </If>
          <If Condition="HasAtLeast(4266,5)">
            <LogMessage Message="Crafting complete. 5 Spinel Earrings found in your inventory." />
            <StopCrafting />
          </If>
        </Order>
      </Profile>
      Followed by this to create 5 Electrum Gorgets -

      Code:
      <?xml version="1.0" encoding="utf-8"?>
      <Profile>
        <Name>Goldsmith - Electrum Gorget</Name>
        <Order>
          <If Condition="not HasAtLeast(4361,5)">
            <While Condition="not HasAtLeast(4361,5)">
              <LogMessage Message="Crafting Electrum Gorget" />
              <Synthesize RecipeId="857" RequiredSkills="286,281,279,283,100009,100069,100069" MinimumCp="317" HQMats="-2, -2, -2, -2, -2, -2" />
              <While Condition="CraftingManager.IsCrafting">
                <CraftAction ActionId="286" Name="Comfort Zone" />
                <CraftAction ActionId="255" Name="Inner Quiet" />
                <CraftAction ActionId="281" Name="Steady Hand II" />
                <CraftAction ActionId="100076" Name="Basic Touch" />
                <CraftAction ActionId="100076" Name="Basic Touch" />
                <CraftAction ActionId="100076" Name="Basic Touch" />
                <CraftAction ActionId="100076" Name="Basic Touch" />
                <CraftAction ActionId="100076" Name="Basic Touch" />
                <CraftAction ActionId="247" Name="Steady Hand" />
                <CraftAction ActionId="279" Name="Waste Not" />
                <CraftAction ActionId="100078" Name="Standard Touch" />
                <CraftAction ActionId="263" Name="Great Strides" />
                <CraftAction ActionId="283" Name="Ingenuity II" />
                <CraftAction ActionId="100009" Name="Byregot's Blessing" />
                <CraftAction ActionId="100069" Name="Careful Synthesis II" />
                <CraftAction ActionId="100069" Name="Careful Synthesis II" />
              </While>
            </While>
          </If>
          <If Condition="HasAtLeast(4361,5)">
            <LogMessage Message="Crafting complete. 5 Electrum Gorget found in your inventory." />
            <StopCrafting />
          </If>
        </Order>
      </Profile>
      Is it possible to merge the two so that soon as it finishes the 5 Earrings it moves on to the 5 gorgets without me needing to load another profile? I know it sounds incredibly lazy but I'm wanting one profile to create a few sets for spiritbonding that I can totally AFK.
       
    2. Djekkie

      Djekkie New Member

      Joined:
      Jul 10, 2014
      Messages:
      45
      Likes Received:
      5
      Trophy Points:
      0
      It's possible to do it with profiles once they meet a certain condition, but in all fairness, I would suggest looking into Neverdyne's Lisbeth botbase for crafting.
      It'll allow you to create orders with the items you wanted and their quantity, making it so you don't really have to do anything except fill out the order and Lisbeth will take care of everything else.

      I mean, if you want to be lazy, this way you have to do even less work :D
       
    3. Shambo

      Shambo New Member

      Joined:
      Jul 4, 2014
      Messages:
      89
      Likes Received:
      1
      Trophy Points:
      0
      Yeah, I've used Lisbeth and the 40 rotation is excellent, I did my first Lucis with that, but the 80 rotation can be a bit glitchy and it's total overkill for anything less than 2 star (Hasty Touch isn't required at that point and below). I'm sure it'd complete these synths even when it bugs out and decides to finish with 200 CP left or fails to leave itself enough to do Byregots (which has happened to me a few times) but it's also a very a long rotation which puts me off using it for these kinds of synths. Also, you can't stack orders can you? Wouldn't I have to update for each item? There'd be 11 different types of item here and it'd synth 5 of each for a total of 60 items (there'd be 10 rings) and since it'd be the same items every time, I think it'd probably be easier to just have an orderbot profile I can run with a simple rotation?
       
    4. kagepande

      kagepande Community Developer

      Joined:
      Oct 20, 2014
      Messages:
      289
      Likes Received:
      11
      Trophy Points:
      18
      Its possible but, every still uses Lisbeth because why not? Don't like the 80 rotation, make a macro for it and its exactly doing what your trying to do here. I would say go for your own order bot profile if you wanted to check progress conditions, auras, CP, ToT, etc but your not, just use Lisbeth and make a macro for these items, give her the order and she will use the skill order you gave her to make them.
       
    5. Djekkie

      Djekkie New Member

      Joined:
      Jul 10, 2014
      Messages:
      45
      Likes Received:
      5
      Trophy Points:
      0
      I personally would just write a Macro for Lisbeth for all those items you want to synth with that Macro and then create an order file with all those items in there. I do it all the time when I have her craft my items for Grand Company turn ins. Something like..

      A macro file in the Macros folder:
      Code:
      Recipes:
        - Cobalt Winglet
        - Cobalt Bladed Lantern Shield
        - Cobalt Sallet
        - Raptorskin Jacket
        - Cobalt Gauntlets
        - Cobalt Plate Belt
        - Raptorskin Brais
        - Cobalt Sabatons
        - Electrum Gorget
        - Electrum Ear Cuffs
        - Tortoiseshell Armillae
        - Electrum Ring
      
      Steps:
        - Comfort Zone
        - Inner Quiet
        - Steady Hand II
        - Manipulation
        - Basic Touch
        - Basic Touch
        - Basic Touch
        - Basic Touch
        - Steady Hand II
        - Ingenuity II
        - Innovation
        - Basic Touch
        - Great Strides  
        - Byregot's Blessing
        - Careful Synthesis II
        - Careful Synthesis II
      Then your Orders file:
      Code:
      - Name: Cobalt Winglet
        Amount: 2
      
      - Name: Cobalt Bladed Lantern Shield
        Amount: 2
      
      - Name: Cobalt Sallet
        Amount: 2
      
      - Name: Cobalt Gauntlets
        Amount: 2
      
      - Name: Cobalt Plate Belt
        Amount: 2
      
      - Name: Cobalt Sabatons
        Amount: 2
      
      - Name: Raptorskin Brais
        Amount: 2
      
      - Name: Raptorskin Jacket
        Amount: 2
      
      - Name: Electrum Gorget
        Amount: 2
      
      - Name: Electrum Ear Cuffs
        Amount: 2
      
      - Name: Tortoiseshell Armillae
        Amount: 2
      
      - Name: Electrum Ring
        Amount: 4
       
    6. iyake

      iyake Member

      Joined:
      Oct 19, 2014
      Messages:
      143
      Likes Received:
      5
      Trophy Points:
      18
      It should work if you just put everything between the second profile's order tags before the </Order> of the first profile.

      On a side note, your first If statement (<If Condition="not HasAtLeast(4266,5)">) is redundant. The While loop it directly encompasses achieves the same thing.

      combined profile should be:

      Code:
      <?xml version="1.0" encoding="utf-8"?>
      <Profile>
        <Name>Goldsmith - Spinel Earrings</Name>
        <Order>
            <While Condition="not HasAtLeast(4266,5)">
              <LogMessage Message="Crafting Spinel Earrings" />
              <Synthesize RecipeId="896" RequiredSkills="286,281,279,283,100009,100069,100069" MinimumCp="317" HQMats="-2, -2, -2, -2, -2, -2" />
              <While Condition="CraftingManager.IsCrafting">
                <CraftAction ActionId="286" Name="Comfort Zone" />
                <CraftAction ActionId="255" Name="Inner Quiet" />
                <CraftAction ActionId="281" Name="Steady Hand II" />
                <CraftAction ActionId="100076" Name="Basic Touch" />
                <CraftAction ActionId="100076" Name="Basic Touch" />
                <CraftAction ActionId="100076" Name="Basic Touch" />
                <CraftAction ActionId="100076" Name="Basic Touch" />
                <CraftAction ActionId="100076" Name="Basic Touch" />
                <CraftAction ActionId="247" Name="Steady Hand" />
                <CraftAction ActionId="279" Name="Waste Not" />
                <CraftAction ActionId="100078" Name="Standard Touch" />
                <CraftAction ActionId="263" Name="Great Strides" />
                <CraftAction ActionId="283" Name="Ingenuity II" />
                <CraftAction ActionId="100009" Name="Byregot's Blessing" />
                <CraftAction ActionId="100069" Name="Careful Synthesis II" />
                <CraftAction ActionId="100069" Name="Careful Synthesis II" />
              </While>
            </While>
          <If Condition="HasAtLeast(4266,5)">
            <LogMessage Message="Crafting complete. 5 Spinel Earrings found in your inventory." />
            <StopCrafting />
          </If>
            <While Condition="not HasAtLeast(4361,5)">
              <LogMessage Message="Crafting Electrum Gorget" />
              <Synthesize RecipeId="857" RequiredSkills="286,281,279,283,100009,100069,100069" MinimumCp="317" HQMats="-2, -2, -2, -2, -2, -2" />
              <While Condition="CraftingManager.IsCrafting">
                <CraftAction ActionId="286" Name="Comfort Zone" />
                <CraftAction ActionId="255" Name="Inner Quiet" />
                <CraftAction ActionId="281" Name="Steady Hand II" />
                <CraftAction ActionId="100076" Name="Basic Touch" />
                <CraftAction ActionId="100076" Name="Basic Touch" />
                <CraftAction ActionId="100076" Name="Basic Touch" />
                <CraftAction ActionId="100076" Name="Basic Touch" />
                <CraftAction ActionId="100076" Name="Basic Touch" />
                <CraftAction ActionId="247" Name="Steady Hand" />
                <CraftAction ActionId="279" Name="Waste Not" />
                <CraftAction ActionId="100078" Name="Standard Touch" />
                <CraftAction ActionId="263" Name="Great Strides" />
                <CraftAction ActionId="283" Name="Ingenuity II" />
                <CraftAction ActionId="100009" Name="Byregot's Blessing" />
                <CraftAction ActionId="100069" Name="Careful Synthesis II" />
                <CraftAction ActionId="100069" Name="Careful Synthesis II" />
              </While>
            </While>
          <If Condition="HasAtLeast(4361,5)">
            <LogMessage Message="Crafting complete. 5 Electrum Gorget found in your inventory." />
            <StopCrafting />
          </If>
        </Order>
      </Profile>
       
    7. Eklipse

      Eklipse New Member

      Joined:
      Dec 13, 2014
      Messages:
      208
      Likes Received:
      0
      Trophy Points:
      0
      you would also probably need to add a Codechunk for any class swaps as well in the instance you need multiple crafts i.e GC seal turn in items. But like everyone said just use Lisbeth....with the new lisbeth plugin helper it makes this stuff a breeze.
       
    8. entrax

      entrax Member

      Joined:
      Jul 23, 2012
      Messages:
      459
      Likes Received:
      15
      Trophy Points:
      18
      You could also do that :

      Code:
      <Order>
      	<If Condition="Core.Me.CurrentJob != ClassJobType.Goldsmith">
      		<ChangeJob Type="Goldsmith" />
      	</If>
      	
      	<WaitTimer WaitTime="2"/>
      
      		<!-- Neck -->
             <While Condition="(ItemCount(4373) &lt; 6)">
                 <Synthesize RecipeId="875"/>
                 <CraftActionByName Name="Comfort Zone" />			
                 <CraftActionByName Name="Inner Quiet" />			
                 <CraftActionByName Name="Waste Not" />			
                 <CraftActionByName Name="Steady Hand II" />			
                 <CraftActionByName Name="Basic Touch" />			
                 <CraftActionByName Name="Basic Touch" />			
                 <CraftActionByName Name="Basic Touch" />            
                 <CraftActionByName Name="Basic Touch" />            
                 <CraftActionByName Name="Basic Touch" />            
                 <CraftActionByName Name="Great Strides" />			
                 <CraftActionByName Name="Steady Hand" />
                 <If Condition="CraftingManager.Condition == CraftingCondition.Excellent">
                 <CraftActionByName Name="Byregot's Blessing" />
                            <CraftActionByName Name="Ingenuity II" />
                            <CraftActionByName Name="Careful Synthesis II" />
      	                      <CraftActionByName Name="Careful Synthesis II" />
                  </If>
                 <CraftActionByName Name="Ingenuity II" />
                 <If Condition="CraftingManager.Condition == CraftingCondition.Excellent">
                 <CraftActionByName Name="Byregot's Blessing" />
                            <CraftActionByName Name="Careful Synthesis II" />
                            <CraftActionByName Name="Careful Synthesis II" />
                 </If>
                 <CraftActionByName Name="Standard Touch" />	
                 <If Condition="CraftingManager.Condition == CraftingCondition.Excellent">
                            <CraftActionByName Name="Byregot's Blessing" />
                            <CraftActionByName Name="Careful Synthesis II" />
                            <CraftActionByName Name="Careful Synthesis II" />
                 </If>		
                 <CraftActionByName Name="Great Strides" />
                 <CraftActionByName Name="Byregot's Blessing" />
                 <CraftActionByName Name="Careful Synthesis II" />
                 <CraftActionByName Name="Careful Synthesis II" />
      
                 <WaitTimer WaitTime="1"/>
      
             </While>
      	
      	<!-- Ears Spinelle -->
      
             <While Condition="(ItemCount(4266) &lt; 6)">
                 <Synthesize RecipeId="896"/>
                 <CraftActionByName Name="Comfort Zone" />			
                 <CraftActionByName Name="Inner Quiet" />			
                 <CraftActionByName Name="Waste Not" />			
                 <CraftActionByName Name="Steady Hand II" />			
                 <CraftActionByName Name="Basic Touch" />			
                 <CraftActionByName Name="Basic Touch" />			
                 <CraftActionByName Name="Basic Touch" />            
                 <CraftActionByName Name="Basic Touch" />            
                 <CraftActionByName Name="Basic Touch" />            
                 <CraftActionByName Name="Great Strides" />			
                 <CraftActionByName Name="Steady Hand" />
                 <If Condition="CraftingManager.Condition == CraftingCondition.Excellent">
                            <CraftActionByName Name="Byregot's Blessing" />
                            <CraftActionByName Name="Ingenuity II" />
                            <CraftActionByName Name="Careful Synthesis II" />
                            <CraftActionByName Name="Careful Synthesis II" />
                 </If>
                 <CraftActionByName Name="Ingenuity II" />
                 <If Condition="CraftingManager.Condition == CraftingCondition.Excellent">
                            <CraftActionByName Name="Byregot's Blessing" />
                            <CraftActionByName Name="Careful Synthesis II" />
                            <CraftActionByName Name="Careful Synthesis II" />
                 </If>
                 <CraftActionByName Name="Standard Touch" />	
                 <If Condition="CraftingManager.Condition == CraftingCondition.Excellent">
                            <CraftActionByName Name="Byregot's Blessing" />
                            <CraftActionByName Name="Careful Synthesis II" />
                            <CraftActionByName Name="Careful Synthesis II" />
                 </If>		
                 <CraftActionByName Name="Great Strides" />
                 <CraftActionByName Name="Byregot's Blessing" />
                 <CraftActionByName Name="Careful Synthesis II" />
                 <CraftActionByName Name="Careful Synthesis II" />
      
                 <WaitTimer WaitTime="1"/>
      
             </While>
      
      It's from my SB crafting stuff profile, it'll craft 6 Spinel Choker and 6 Spinel Earrings until you got 6 of each in your bag.
       
      Last edited: Mar 24, 2015

    Share This Page