• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Spiritbonding gear + Covert

    Discussion in 'Community Developer Forum' started by inferno124, Dec 5, 2014.

    1. inferno124

      inferno124 New Member

      Joined:
      Mar 9, 2014
      Messages:
      33
      Likes Received:
      0
      Trophy Points:
      0
      I am very new to orderbot (and by new, i mean i know nothing about it) so I wanted to ask a few questions (please excuse the noobness of my questions).
      I read on the recent patch that we are able to equip gear and so forth for spiritbonding via orderbot and also that it will convert the gear into materia. I was wondering how do i go about making this profile? Say i want to grind an area until my items are 100% Spiritbonded, convert them into materia, then equip a new set.

      I have been searching the forums for 2 days now and still have no found anything. If anyone knows any thread or guides of the sorts on how to do this, please help out.

      Again, I am new to orderbot, so detailed explanations and/or instructions would be great!

      Thanks in advanced!
       
    2. Yasuko

      Yasuko Member

      Joined:
      Oct 28, 2010
      Messages:
      314
      Likes Received:
      6
      Trophy Points:
      18
      the method to convert is in the Commontask namespace, called ConvertMateria(Bagslot, int) .. a plugin would have to be made to integrate the option to actually convert into the bot for normal people to use.. since its in the API.. Ive been working on a plugin for it today.. but I do not know much about lambda expressions or async methods to be able to get it to work correctly.. it just spams through a foreach loop and doesnt wait for the convert to be completed.

      Code:
       /// <summary>
          /// Coroutine that will attempt to convert an item to materia.
          /// 
          /// </summary>
          /// <param name="bagslot">Slot that contains the item to convert</param><param name="sleepDuration">How long to sleep after clicking yes in milliseconds.</param>
          /// <returns>
          /// Returns CannotSpiritbond if slot is not valid or item is not convertible
          ///             Returns SpiritbondNotComplete if bagslot spiritbond percent is less than 100
          ///             Returns Failure if we attempted to convert the item but something went wrong
          ///             Returns Success otherwise
          /// 
          /// </returns>
          public static Task<SpiritbondResult> ConvertToMateria(BagSlot bagslot, int sleepDuration = 5000)
      
      The problem I'm having now is that it will say can not spiritbind for MH, which is supposed to say since its not convertible, then it will go to gloves.. and the window will just pop up, the yes button will not be pressed... it will continue to sit there.
       
      Last edited: Dec 5, 2014
    3. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,343
      Likes Received:
      383
      Trophy Points:
      83

      Please check out this quick example.
      https://www.thebuddyforum.com/rebor...ick-coroutine-plugin-example.html#post1759773
       
    4. inferno124

      inferno124 New Member

      Joined:
      Mar 9, 2014
      Messages:
      33
      Likes Received:
      0
      Trophy Points:
      0
      hey guys, any update on this?
       
    5. Yasuko

      Yasuko Member

      Joined:
      Oct 28, 2010
      Messages:
      314
      Likes Received:
      6
      Trophy Points:
      18
    6. inferno124

      inferno124 New Member

      Joined:
      Mar 9, 2014
      Messages:
      33
      Likes Received:
      0
      Trophy Points:
      0
      Sorry. i'm a complete noob to this. I have no idea what those codings are. I was hoping for a plugin that i can just download and run. Are there any resources that I can read up on to learn how to write the codes and things that you guys do? i seems pretty complicated.
       

    Share This Page