• Visit Rebornbuddy
  • Issue with Crafting function

    Discussion in 'Rebornbuddy Support' started by ngardina, Jan 21, 2015.

    1. ngardina

      ngardina Member

      Joined:
      Sep 14, 2014
      Messages:
      45
      Likes Received:
      0
      Trophy Points:
      6
      Posting here so I don't get ripped apart by Mastahg.

      View attachment 19336 2015-01-21 20.42.txt

      The last section pretty much is where the issue is.
      When trying to use <If Conditon="CraftingManager.Progress = 378"> (Intentional for this individual recipe, as it dictates whether or not Rapid synthesis failed), rather than it continuing on for the rest of the abilities, the bot dies off immediately after, even when it meets the requirement of 378.
       
    2. kagamihiiragi17

      kagamihiiragi17 Community Developer

      Joined:
      Jun 24, 2014
      Messages:
      873
      Likes Received:
      25
      Trophy Points:
      0
      Try <If Conditon="Managers.CraftingManager.Progress = 378">.
       
    3. ngardina

      ngardina Member

      Joined:
      Sep 14, 2014
      Messages:
      45
      Likes Received:
      0
      Trophy Points:
      6
      View attachment 13016 2015-01-21 21.34.txt


      Still no dice. Not sure if I'm just using what I had as a base idea even wrong or not. Fresh code is less my forte. That's just the best guess I had based on "public static int Progress" as listed on the 2nd post.
       
    4. kagamihiiragi17

      kagamihiiragi17 Community Developer

      Joined:
      Jun 24, 2014
      Messages:
      873
      Likes Received:
      25
      Trophy Points:
      0
      I'll need your profile.
       
    5. ngardina

      ngardina Member

      Joined:
      Sep 14, 2014
      Messages:
      45
      Likes Received:
      0
      Trophy Points:
      6
      This is as far as I got since still testing it to get the failsafe in place.



      This one works from beginning to end on loop, but obviously fails if the rapid synthesis fails.
       
      Last edited: Jan 21, 2015
    6. kagamihiiragi17

      kagamihiiragi17 Community Developer

      Joined:
      Jun 24, 2014
      Messages:
      873
      Likes Received:
      25
      Trophy Points:
      0
      You need two equals signs. Equals alone assigns a value, double equals compared.
       
    7. ngardina

      ngardina Member

      Joined:
      Sep 14, 2014
      Messages:
      45
      Likes Received:
      0
      Trophy Points:
      6
    8. kagamihiiragi17

      kagamihiiragi17 Community Developer

      Joined:
      Jun 24, 2014
      Messages:
      873
      Likes Received:
      25
      Trophy Points:
      0
      You also spelled 'Condition' incorrectly.
       
    9. ngardina

      ngardina Member

      Joined:
      Sep 14, 2014
      Messages:
      45
      Likes Received:
      0
      Trophy Points:
      6
      Aaaaaaaaaaand that was the problem. I would overlook a typo. Thanks.
       
    10. kagamihiiragi17

      kagamihiiragi17 Community Developer

      Joined:
      Jun 24, 2014
      Messages:
      873
      Likes Received:
      25
      Trophy Points:
      0
      Glad it's fixed.
       

    Share This Page