• Visit Rebornbuddy
  • Important Crafting Tags

    Discussion in 'Rebornbuddy Profiles' started by mastahg, Jan 17, 2015.

    1. arcanegod

      arcanegod New Member

      Joined:
      Nov 24, 2013
      Messages:
      7
      Likes Received:
      0
      Trophy Points:
      1
      and to specify a certain number of items?
      Ex: after making 5 items, go to the next list item
       
    2. Tigger

      Tigger New Member

      Joined:
      Mar 12, 2014
      Messages:
      17
      Likes Received:
      0
      Trophy Points:
      1
      Yes, that's my points, I need to know when the food buff has worn off, so I can exit the crafting cycle and reapply.
       
    3. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      4,271
      Likes Received:
      215
      Trophy Points:
      63
      ConditionParser Class
      All of these functions are exposed to the xml api.


      I don't think you understand how the eatfood tag works, it will eat if the food buff is not present OR its duration is under X minutes remaining. If neither of these cases are true it does nothing.



      "Crafting cycle"

      Code:
      		<While Condition="True">
      			<EatFood ItemId="4666" Name="Salt Cod"/>
      			<Synthesize HqMats="-1" RecipeId="1008"/>
      			<While Condition="CraftingManager.IsCrafting">
      				<CraftAction ActionId="100001"/>
      			</While>
      		</While>
      
      Are there really rotations that last longer then 5 minutes? I don't see why thatd be the case but then you could just increase EatFoods check.
       
    4. Tigger

      Tigger New Member

      Joined:
      Mar 12, 2014
      Messages:
      17
      Likes Received:
      0
      Trophy Points:
      1
      Yes sorry, my programming skills are not the best.

      I have your code snippet in my profile,

      <While Condition="True">

      <EatFood ItemId="4717" Name="Stone Soup" HqOnly="False" MinDuration="1"/>
      <Synthesize RecipeId="30298" MinimumCP="346" HqMats="2"/>
      <While Condition="CraftingManager.IsCrafting">

      and it applies food and will craft away for 30 mins until the buff wears off, but it doesn't reapply after 30 mins......I will play around with the other paramaeters and see what I can do. Thanks for your quick replies
       
    5. ngardina

      ngardina Member

      Joined:
      Sep 14, 2014
      Messages:
      44
      Likes Received:
      0
      Trophy Points:
      6
      Is there any If statement available to assign a set rotation if CP>x? Admittedly don't know enough to search through and figure it out from the files in the folder.
       
    6. kagamihiiragi17

      kagamihiiragi17 Community Developer

      Joined:
      Jun 24, 2014
      Messages:
      873
      Likes Received:
      24
      Trophy Points:
      0
      I haven't tried it, but Condition="Core.Player.CP &gt; xxx" should work. You can test it out and report back if you want.
       
    7. ngardina

      ngardina Member

      Joined:
      Sep 14, 2014
      Messages:
      44
      Likes Received:
      0
      Trophy Points:
      6
      Shall do, thanks!
       
    8. ngardina

      ngardina Member

      Joined:
      Sep 14, 2014
      Messages:
      44
      Likes Received:
      0
      Trophy Points:
      6
      View attachment 18544 2015-01-21 20.03.txt

      Nevermind the fact I'm stupid and didn't turn off plugins, and had to play around a lot to get the code to even take...

      [01:28:01.923 D] Exception during scheduling Pulse: System.MissingMemberException: 'LocalPlayer' object has no attribute 'CP'
      at IronPython.Runtime.Binding.PythonGetMemberBinder.FastErrorGet`1.GetError(CallSite site, TSelfType target, CodeContext context)
      is the part that stands out to me. Entire log is attached.
       
    9. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      4,271
      Likes Received:
      215
      Trophy Points:
      63
      Core.Player. CurrentCP,MaxCP,CurrentCPPercent
       
    10. ngardina

      ngardina Member

      Joined:
      Sep 14, 2014
      Messages:
      44
      Likes Received:
      0
      Trophy Points:
      6
      Those conditions I'm assuming? Sorry I'm coding-challenged/retarded.
       
    11. ngardina

      ngardina Member

      Joined:
      Sep 14, 2014
      Messages:
      44
      Likes Received:
      0
      Trophy Points:
      6
      Yeah I'm stupid, those did it. And we have no way of currently tracking progress/quality, correct? What about if a skill fails?
       
    12. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      4,271
      Likes Received:
      215
      Trophy Points:
      63
      How about you re read the first two posts?
       
    13. dcone

      dcone New Member

      Joined:
      Nov 19, 2014
      Messages:
      29
      Likes Received:
      0
      Trophy Points:
      1
      Dumb question, but how do I force a wait to put a delay between eating food and when the bot starts crafting?
       
    14. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      4,271
      Likes Received:
      215
      Trophy Points:
      63
      You shouldn't need to. If you do please post a log of it not waiting for the food to take effect.
       
    15. iyake

      iyake Member

      Joined:
      Oct 19, 2014
      Messages:
      143
      Likes Received:
      5
      Trophy Points:
      18
      StopCrafting tag isn't working. Opening the crafting log and running a profile with just that tag doesn't do anything.

      Running ff14bot.RemoteWindows.CraftingLog.Close(); in console is working though.
       
    16. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      4,271
      Likes Received:
      215
      Trophy Points:
      63
      Thanks. I see the issue. I'll post a new version in a bit.
       
    17. Sodimm

      Sodimm Member

      Joined:
      Nov 8, 2014
      Messages:
      382
      Likes Received:
      6
      Trophy Points:
      18
      I can confirm this too, tried using it in my Ixal profiles, instead had to use a codechunk to close the window.
       
    18. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      4,271
      Likes Received:
      215
      Trophy Points:
      63
      No need to confirm it. I already said I saw what the problem was. Building new version now, should be pushed out in like 5 minutes.
       
    19. Tinytox

      Tinytox Member

      Joined:
      Nov 5, 2014
      Messages:
      370
      Likes Received:
      7
      Trophy Points:
      18
      I am trying to delve a bit over my head to be honest, because typically I learn by studying other examples, which there aren't complicated scripts in abundance yet, anyhow, I digress, it seems that it isn't working for me, looks to me as though it doesn't recognize the synthesis ID.

      View attachment 4268 2015-01-25 07.27.txt <- This log is attempting to create Twinthread.

      Now, to start plotting my escape route, out of all the ridicule I've opened myself up to :X
       
    20. kagamihiiragi17

      kagamihiiragi17 Community Developer

      Joined:
      Jun 24, 2014
      Messages:
      873
      Likes Received:
      24
      Trophy Points:
      0
      5338 is Twinthread's item number. 1386 is Twinthread's recipe id.
       

    Share This Page