• Visit Rebornbuddy
  • crafting collectables dialog

    Discussion in 'Community Developer Forum' started by blackeyed, Dec 29, 2015.

    1. blackeyed

      blackeyed New Member

      Joined:
      Dec 29, 2015
      Messages:
      2
      Likes Received:
      0
      Trophy Points:
      0
      hello everyone .

      i am tring to wirte some profiles to craft something .
      it works well when i craft nomal items.
      but when i try to work on a collectable, a dialog show up asking whether to make it a collectable after i finished the recipe.

      how can i solve this problem?
      thanks , and forgive my wired english if there is some wrong with my spelling or grammer.....:)
       
    2. entrax

      entrax Member

      Joined:
      Jul 23, 2012
      Messages:
      459
      Likes Received:
      15
      Trophy Points:
      18
      You can use a CodeChunck to end your craft :
      Code:
      <CodeChunk Name="YES">
      <![CDATA[
      if (await Buddy.Coroutines.Coroutine.Wait(5000, () => ff14bot.Managers.Actionmanager.CanCast(100069, null))) { 
      
      ff14bot.Managers.Actionmanager.DoAction(100069, null);
      
      await Buddy.Coroutines.Coroutine.Wait(10000, () => CraftingManager.AnimationLocked); 
      
      await Buddy.Coroutines.Coroutine.Wait(Timeout.Infinite, () => !CraftingManager.AnimationLocked || ff14bot.RemoteWindows.SelectYesNoItem.IsOpen); 
      
      if (ff14bot.RemoteWindows.SelectYesNoItem.IsOpen) {
      
      ff14bot.RemoteWindows.SelectYesNoItem.Yes(); 
      await Buddy.Coroutines.Coroutine.Wait(10000, () => !ff14bot.RemoteWindows.SelectYesNoItem.IsOpen); 
      await Buddy.Coroutines.Coroutine.Wait(Timeout.Infinite, () => !CraftingManager.AnimationLocked); 
      } 
      } 
      ]]>
      </CodeChunk>
      
      It'll use Careful Synthesis II(100069) once and click on yes when the dialog show up
       

    Share This Page