• Visit Rebornbuddy
  • HQ Crafting multiprofile

    Discussion in 'Other Profiles' started by ZaneMcFate, Feb 25, 2015.

    1. ZaneMcFate

      ZaneMcFate Member

      Joined:
      Nov 17, 2014
      Messages:
      137
      Likes Received:
      2
      Trophy Points:
      18
      Thought I would post this little profile that I use for my own crafting needs. You have to open it, get the recipe ID from xivdb and enter it for the recipe you want to craft, then load the profile and go. The profile detects what type of item you are trying to create from the durability, etc. of the item, and picks the appropriate technique. The recipes could be improved, but they worked well for me, all the way up to crafting all the Lucis turn ins. I will update when I get the Master II turn ins down pat, as that is my next goal. Hope it's useful!

      Note: most of the high end recipe paths require a minimum CP to work, which could require taking food, depending on your stats. If it says the recipe is not available, more than likely you don't meet the CP requirements, so please check that, and adjust the requirements and spells accordingly to match what you have. This also uses the wonderful CraftActionByName tags (not written by me), which must be loaded in the Plugins/OrderBotTags folder.

      View attachment CraftActionByNameTag.cs View attachment HQ Crafting.xml
       
    2. Eklipse

      Eklipse New Member

      Joined:
      Dec 13, 2014
      Messages:
      208
      Likes Received:
      0
      Trophy Points:
      0
      wow this is awesome, should merge this into Lisbeth would be OP
       
    3. bobbyx

      bobbyx Member

      Joined:
      Sep 12, 2014
      Messages:
      72
      Likes Received:
      5
      Trophy Points:
      6
      thanks a lot, would u plz make a profile for 4 star craft? those allagan leather and silk and wootz ignot, 50% HQ is fine and dont use reclaim at all
       
    4. makenshi

      makenshi New Member

      Joined:
      Jan 10, 2015
      Messages:
      28
      Likes Received:
      0
      Trophy Points:
      1
      When I try to use your profile to craft Spicy Tomato Relish, I get an error:

      Code:
      [22:39:39.621 D] Replaced hook [ProfileOrderBehavior_Hook] c8be0b9b-be0d-446d-be63-4ce5ccc05267
      [22:39:41.634 D] Buddy.Coroutines.CoroutineUnhandledException: Exception was thrown by coroutine ---> System.NullReferenceException: Object reference not set to an instance of an object.
         at ff14bot.NeoProfiles.Tags.Synthesize..()
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at TreeSharp.ActionRunCoroutine....()
         --- End of inner exception stack trace ---
         at Buddy.Coroutines.Coroutine.CheckPostConditions(Boolean shouldBeCanceled)
         at Buddy.Coroutines.Coroutine.Resume(Boolean forStop)
         at Buddy.Coroutines.Coroutine.Resume()
         at TreeSharp.ActionRunCoroutine.Run(Object context)
         at TreeSharp.Action.RunAction(Object context)
         at TreeSharp.Action.<Execute>d__0.MoveNext()
         at TreeSharp.Composite.Tick(Object context)
         at TreeSharp.PrioritySelector.<Execute>d__0.MoveNext()
         at TreeSharp.Composite.Tick(Object context)
         at ff14bot.Behavior.HookExecutor.Run(Object context)
         at TreeSharp.Action.RunAction(Object context)
         at TreeSharp.Action.<Execute>d__0.MoveNext()
         at TreeSharp.Composite.Tick(Object context)
         at TreeSharp.PrioritySelector.<Execute>d__0.MoveNext()
         at TreeSharp.Composite.Tick(Object context)
         at TreeSharp.PrioritySelector.<Execute>d__0.MoveNext()
         at TreeSharp.Composite.Tick(Object context)
         at ff14bot.Behavior.HookExecutor.Run(Object context)
         at TreeSharp.Action.RunAction(Object context)
         at TreeSharp.Action.<Execute>d__0.MoveNext()
         at TreeSharp.Composite.Tick(Object context)
         at TreeSharp.Decorator.<Execute>d__0.MoveNext()
         at TreeSharp.Composite.Tick(Object context)
         at TreeSharp.PrioritySelector.<Execute>d__0.MoveNext()
         at TreeSharp.Composite.Tick(Object context)
         at ff14bot.TreeRoot.() --> System.NullReferenceException: Object reference not set to an instance of an object.
         at ff14bot.NeoProfiles.Tags.Synthesize..()
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at TreeSharp.ActionRunCoroutine....()

      I changed your XML to craft the Spicy Tomato Relish with HQ items (I think?) like so:

      Code:
      	<While Condition="True">
      <!--		<EatFood ItemId="4720" Name="Fish Soup" MinDuration="2" /> -->
      		<Synthesize RecipeId="30304" HQMats="1,1,1,1,1"/> <!-- 1207 BSM Darksteel Ore 1254 30299 8034 -->
      		<LogMessage Message="Crafting Started"/>
      
      Did I miss anything?
       
    5. DBG

      DBG New Member

      Joined:
      Jul 16, 2014
      Messages:
      52
      Likes Received:
      0
      Trophy Points:
      0
      makenshi, I wasn't fully able to test it since I don't have that recipe atm, however that is the right ID for Spicy Tomato Relish. Did you drop the .cs file in the right folder? Also you switched the HQMats integers from negative to positive but does it work using the default? I 2nd what Eklipse said as well and would love to see this logic introduced into Lisbeth (although Lis can already use macros so maybe they just need to be formatted correctly?)
       
    6. ephiron

      ephiron New Member

      Joined:
      Mar 1, 2012
      Messages:
      29
      Likes Received:
      0
      Trophy Points:
      0
      Bot will start the craft but then stop

      [05:02:06.925 N] Loaded profile General Craft
      [05:02:07.152 N] Connection to 192.99.148.87:31214 established.
      [05:02:07.152 N] Clearing all hooks.
      [05:02:07.152 D] Added new hook [Pull] cfe2bbf9-11bd-41dd-898d-b65e1ab940eb
      [05:02:07.152 D] Added new hook [RoutineCombat] b7733ac8-97a1-47cd-80eb-8ef3d3693bd2
      [05:02:07.152 D] Added new hook [HotspotPoi] 061ce3f6-dba6-4cb0-926a-abfc88c28edb
      [05:02:07.152 D] Added new hook [SetDeathPoi] 90b51d0d-0454-40f0-a50e-1b4f95ad6f7b
      [05:02:07.152 D] Added new hook [SetCombatPoi] 898c0132-6aff-4a90-9751-980978b2a54a
      [05:02:07.152 D] Added new hook [SetHotspotPoi] 72a369a8-cdf2-44bc-b070-31e6be0c6cb7
      [05:02:07.152 D] Added new hook [SelectPoiType] 7f62a18e-7f2c-4610-89d5-9a1da96adb70
      [05:02:07.152 D] Replaced hook [SelectPoiType] e4e25f4c-3997-4f89-b126-fddfba3d20d7
      [05:02:07.152 D] Inserted new hook [TreeStart @0] 831ba43e-f7dc-4e44-8ba1-55eb9e3bca26
      [05:02:07.197 V] [Poi.Clear] Reason: Current behavior changed to StopCrafting: IsDone: False, HighPriority: False, InCombat: False, QuestId: 0, StepId: 0, PostCombatDelay: 0, QuestName: null, IsDoneCache: False, Behavior: TreeSharp.ActionRunCoroutine, .
      [05:02:07.197 D] Removed all hooks from [HighPriorityProfileOrderBehavior_Hook]
      [05:02:07.197 D] Replaced hook [ProfileOrderBehavior_Hook] 2b57616f-34d6-485b-a747-5d784bfe638b
      [05:02:07.197 N] [StopCrafting] Closing crafting window
      [05:02:07.490 V] [Poi.Clear] Reason: Current behavior changed to Synthesize: IsDone: False, MinimumCp: 0, RecipeId: 973, UseCR: False, RequiredSkills: null, HQMats: System.Int32[], HighPriority: False, InCombat: False, QuestId: 0, StepId: 0, PostCombatDelay: 0, QuestName: null, IsDoneCache: False, Behavior: TreeSharp.ActionRunCoroutine, .
      [05:02:07.490 D] Replaced hook [ProfileOrderBehavior_Hook] f5afcf71-1c48-4470-8f85-bc780914924d
      [05:02:09.127 N] [Synthesize] Crafting Dark Vinegar (4860) via 973
      [05:02:10.884 V] [Poi.Clear] Reason: Current behavior changed to LogMessageTag: IsDone: False, Message: Crafting Started, HighPriority: False, InCombat: False, QuestId: 0, StepId: 0, PostCombatDelay: 0, QuestName: null, IsDoneCache: False, Behavior: TreeSharp.PrioritySelector, .
      [05:02:10.884 D] Replaced hook [ProfileOrderBehavior_Hook] aae41384-da33-4a8f-bc82-a2d7d26b6033
      [05:02:10.884 N] Crafting Started
      [05:02:10.954 V] [Poi.Clear] Reason: Current behavior changed to Synthesize: IsDone: False, MinimumCp: 0, RecipeId: 973, UseCR: False, RequiredSkills: null, HQMats: System.Int32[], HighPriority: False, InCombat: False, QuestId: 0, StepId: 0, PostCombatDelay: 0, QuestName: null, IsDoneCache: False, Behavior: TreeSharp.ActionRunCoroutine, .
      [05:02:10.954 D] Replaced hook [ProfileOrderBehavior_Hook] 74ff0002-7369-4dc0-9138-4936577dfa78
      [05:02:10.954 N] [Synthesize] We don't know the required recipe.
      [05:02:10.954 N] Stopping the bot. Reason:[Synthesize] We don't know the required recipe.
      [05:02:10.954 D] CurrentBot.Stop()
      [05:02:10.954 N] Connection closed! 192.99.148.87:31214
      [05:02:10.954 D] TreeHooks.Instance.ClearAll()
      [05:02:10.954 N] Clearing all hooks.
      [05:02:10.954 D] Navigator.Clear()
      [05:02:10.954 V] [Poi.Clear] Reason: Bot stopped
      [05:02:10.954 D] OnStop event
      [05:02:10.954 D] OnStop Event Invoking
      [05:02:10.954 D] ProfileOrderManager.OnBotStop. Resetting caches.
      [05:02:10.955 N] Bot Thread Ended. Was this requested?
       
    7. ethan enzo

      ethan enzo New Member

      Joined:
      Sep 14, 2015
      Messages:
      23
      Likes Received:
      0
      Trophy Points:
      0
      hey ZaneMcFate, I tried to load the xml but i got this error :

      [16:03:44.770 N] Failed to load profile: Element CraftActionByName is not supported. Please check your XML and try again. (<CraftActionByName Name="Comfort Zone" />) Line 22
      [16:03:44.770 D] System.Exception: Element CraftActionByName is not supported. Please check your XML and try again. (<CraftActionByName Name="Comfort Zone" />) Line 22
      at Clio.XmlEngine.PropertyProcessor.(PropertyInfo , XElement , Object )
      at Clio.XmlEngine.XmlEngine.Load(Object obj, XElement element)
      at Clio.XmlEngine.PropertyProcessor.(PropertyInfo , XElement , Object )
      at Clio.XmlEngine.XmlEngine.Load(Object obj, XElement element)
      at Clio.XmlEngine.PropertyProcessor.(PropertyInfo , XElement , Object )
      at Clio.XmlEngine.XmlEngine.Load(Object obj, XElement element)
      at Clio.XmlEngine.PropertyProcessor.(XElement , Type )
      at Clio.XmlEngine.PropertyProcessor..(XElement )
      at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
      at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
      at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
      at Clio.XmlEngine.PropertyProcessor.(XElement , PropertyInfo )
      at Clio.XmlEngine.PropertyProcessor.(PropertyInfo , XElement , Object )
      at Clio.XmlEngine.XmlEngine.Load(Object obj, XElement element)
      at ff14bot.NeoProfiles.NeoProfile.Load(XElement element, String path)
      at ff14bot.NeoProfiles.NeoProfile.Load(String path)
      at ff14bot.NeoProfiles.NeoProfileManager.Load(String profilePath, Boolean rememberPath)
       
    8. Munkee

      Munkee New Member

      Joined:
      Dec 9, 2012
      Messages:
      29
      Likes Received:
      0
      Trophy Points:
      1
      You need "CraftActionByName" If you haven't downloaded it, it's on the original post. Also, that same post tells you where you have to put it. Good luck
       

    Share This Page