• Visit Rebornbuddy
  • [ALPHA] CraftBuddy - Craft until you are out of stock

    Discussion in 'Plugins' started by Cannibal, Sep 6, 2015.

    1. Cannibal

      Cannibal New Member

      Joined:
      Aug 8, 2015
      Messages:
      21
      Likes Received:
      3
      Trophy Points:
      0
      [Craftbuddy] Craft until you are out of stock - Alpha

      What's CraftBuddy?
      This plugin allows you to craft a known recipe until you are out of materials.

      [​IMG]

      How to use it?
      1. Search and select a recipe.
      2. Chose your Profile template (Use the Generic one if you don't want any advanced logic)
      3. Generate Profile
      4. Switch to Order Bot and hit start.

      Templates
      The generic profile increases the craft process with basic synthesis. When the durability is below 40 the bot will use Master's Mend when at 10 Durability.
      If the recipe you are crafting has more than 40 durability the Master's Mend II skill will be used instead.

      If you want more crafting logic, either find an orderbot profile for crafting, or code up one yourself and stick it inside the following directory:
      Code:
      <Rebornbuddy>\Plugins\CraftBuddy\Data\Templates\<your_template.xml>
      Custom default template
      You are now able to change the default crafting template profile by changing the filename inside the following settings file:
      Code:
      <Rebornbuddy>\Plugins\CraftBuddy\Data\Settings\settings.json

      Changelog
      Code:
      [B]v0.0.3[/B] - Added more templates and an option to set a default template
      
      [B]v0.0.2[/B] - Added custom template support
      
      [B]v0.0.1[/B] - Initial release
      
      Bugs / Questions / Feedback
      I'm open to suggestions / bug reports / feedback, please let me know!

      If you have any trouble with the crafting templates (except the generic.xml),
      please consult the creator of them.


      Credits
       

      Attached Files:

      Last edited: Sep 25, 2015
      parrot and mdbsat like this.
    2. Djdave

      Djdave New Member

      Joined:
      Feb 22, 2015
      Messages:
      166
      Likes Received:
      1
      Trophy Points:
      0
      Nice work, will look forward to trying it out.

      Would it be possible to add macros?
       
    3. Ken512

      Ken512 Member

      Joined:
      Mar 21, 2015
      Messages:
      100
      Likes Received:
      0
      Trophy Points:
      16
    4. Cannibal

      Cannibal New Member

      Joined:
      Aug 8, 2015
      Messages:
      21
      Likes Received:
      3
      Trophy Points:
      0
      Djdave, could you elaborate what you mean by macros? Are we talking about specific logic about the spells which are casted when crafting?
      If so post your macro code, so I can get an idea of what logic you'd like to see.


      Thanks for your link Ken512. I was going to do more research on what spells each specific class has and when it should / could be used, so that might be a first starting point of my research.


      I would appreciate some feedback on what I should focus on next. Some points I thought implementing / improving on:
      • More logic in the crafting routine
      • A list of options, which spells to use


      Please Note: My crafter classes are currently very low-level, so it might take a longer period to produce what you guys would like to see.
       
      Last edited: Sep 7, 2015
    5. Djdave

      Djdave New Member

      Joined:
      Feb 22, 2015
      Messages:
      166
      Likes Received:
      1
      Trophy Points:
      0
      Thanks Cannibal. - I guess this is kinda like how Lisbeth works but -

      In game we a limited by macro lines, so when we make a orderbot profile we can include as many lines as we want which is great like the below -

      <CraftAction Name="Steady Hand II" ActionId="281" />
      <CraftAction Name="Hasty Touch" ActionId="100108" />
      <CraftAction Name="Hasty Touch" ActionId="100108" />
      <CraftAction Name="Hasty Touch" ActionId="100108" />
      <CraftAction Name="Hasty Touch" ActionId="100108" />
      <CraftAction Name="Hasty Touch" ActionId="100108" />
      <CraftAction Name="Manipulation" ActionId="278" />
      <CraftAction Name="Steady Hand II" ActionId="281" />
      <CraftAction Name="Hasty Touch" ActionId="100108" />
      <CraftAction Name="Hasty Touch" ActionId="100108" />
      <CraftAction Name="Manipulation" ActionId="278" />
      <CraftAction Name="Hasty Touch" ActionId="100108" />

      I was wondering if you could build this in, I assume though you would have to build in the logic depending on what job the craftaction ID might be different for example -

      <If Condition="Core.Player.CurrentJob == Enums.ClassJobType.Armorer">
      <CraftAction Name="Steady Hand" ActionId="246" />
      <CraftAction Name="Great Strides" ActionId="262" />
      </If>
      <If Condition="Core.Player.CurrentJob == Enums.ClassJobType.Goldsmith">
      <CraftAction Name="Steady Hand" ActionId="247" />
      <CraftAction Name="Great Strides" ActionId="263" />
      </If>

      That way we could build a macro for say 419 Difficulty crafts with 80 Dura and use it for that type of craft no matter what job we are on.

      Going forward crafting logic would be amazing and would void the above, but a list of items to queue up would be great to.
       
    6. mdbsat

      mdbsat New Member

      Joined:
      Jan 9, 2015
      Messages:
      64
      Likes Received:
      0
      Trophy Points:
      0
      Wow, this is pretty awesome. Thanks OP!
       
    7. Darkevil123

      Darkevil123 New Member

      Joined:
      Jul 6, 2014
      Messages:
      51
      Likes Received:
      0
      Trophy Points:
      0
      For some reason its not generating anything in the .xml for its not working for me... and it did'nt created the craft.xml i had to create it for him...
       
    8. Cannibal

      Cannibal New Member

      Joined:
      Aug 8, 2015
      Messages:
      21
      Likes Received:
      3
      Trophy Points:
      0
      Darkevil123, you have to be more specific about your problem. Please attach a logfile so I can see what's happening when you try to use CraftBuddy.
       
    9. Kappakroket

      Kappakroket New Member

      Joined:
      Sep 11, 2015
      Messages:
      8
      Likes Received:
      0
      Trophy Points:
      1
      Is there any way to make it use HQ items?
       
    10. Cannibal

      Cannibal New Member

      Joined:
      Aug 8, 2015
      Messages:
      21
      Likes Received:
      3
      Trophy Points:
      0
      HQ Items are not used directly, you'd have to click them yourself, generate the profile and hit start.


      News: Version 0.0.3 is ready for download!
       
    11. cyo123

      cyo123 New Member Legendary

      Joined:
      Dec 3, 2014
      Messages:
      19
      Likes Received:
      0
      Trophy Points:
      1
      Does this craft the item in HQ or not at the moment?
       
    12. Cannibal

      Cannibal New Member

      Joined:
      Aug 8, 2015
      Messages:
      21
      Likes Received:
      3
      Trophy Points:
      0
      The crafting logic depends on the profile template. if you meet all the requirements for your chosen template (check out the requirements for all the templates except the generic one) it will craft a certain way so you may or may not get an HQ item.
       
    13. cyo123

      cyo123 New Member Legendary

      Joined:
      Dec 3, 2014
      Messages:
      19
      Likes Received:
      0
      Trophy Points:
      1
      Okay sounds good, that's smart to do it like that just in case we miscalculate how much craftsmenship is needed or control
       
    14. fantasticfantasy

      fantasticfantasy Member

      Joined:
      Jan 12, 2015
      Messages:
      100
      Likes Received:
      0
      Trophy Points:
      16
      Simply Amazing dood. So I guess you cant just unload another advanced profile in there can you? I tried to use Ken512 links 40 dur one but it wouldnt work.
       
    15. Cannibal

      Cannibal New Member

      Joined:
      Aug 8, 2015
      Messages:
      21
      Likes Received:
      3
      Trophy Points:
      0
      All my plugin is doing with template profiles is swapping out the synthesize recipe ID with the selected recipe from the list inside craftbuddy. So generating a new profile with a template should work.
       
    16. adribuddy

      adribuddy Member

      Joined:
      Dec 14, 2013
      Messages:
      46
      Likes Received:
      0
      Trophy Points:
      6
      how can i add to eat before crafting? i tried the plugin chanko and it eats before crafting but once the panel is open and you are crafting if your buff reaches 0 while crafting the bot stops because it cant eat.
       
    17. flin138

      flin138 Member

      Joined:
      Jul 3, 2015
      Messages:
      44
      Likes Received:
      0
      Trophy Points:
      6
      Can you add the new recipes?
       
    18. dracker007

      dracker007 New Member

      Joined:
      Jun 24, 2015
      Messages:
      2
      Likes Received:
      0
      Trophy Points:
      1
      Can you please add a profile that crafts with a minimum of 300 CP but increases the quality as best as possible to get the highest xp?
       
    19. tides

      tides Member

      Joined:
      Dec 31, 2014
      Messages:
      57
      Likes Received:
      1
      Trophy Points:
      8

      please explain this.
       

    Share This Page