• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Change Weapon.Gear Sets

    Discussion in 'Community Developer Forum' started by Mrydeen, Nov 9, 2014.

    1. Mrydeen

      Mrydeen Member

      Joined:
      Nov 9, 2014
      Messages:
      59
      Likes Received:
      0
      Trophy Points:
      6
      Hi all, I'm trying to write a useful orderbot xml, but find it quite hard to start. So while I am searching the forums
      I tot I might as well post this as well.

      Do anyone have an example of how to change your character gear sets?

      I haven been able to find any example
       
    2. kaihaider

      kaihaider Community Developer

      Joined:
      May 18, 2010
      Messages:
      1,325
      Likes Received:
      5
      Trophy Points:
      38
      pretty sure there's no api for that, so you'll need to drag it to an actionbar
       
    3. kagamihiiragi17

      kagamihiiragi17 Community Developer

      Joined:
      Jun 24, 2014
      Messages:
      873
      Likes Received:
      25
      Trophy Points:
      0
      You could also use ff14bot.Managers.ChatManager.SendChat(string Message) and send "/gs change #" where # is the gear set you want to change to. You'd need to make a custom OrderBot tag to do that however.
       
    4. kaihaider

      kaihaider Community Developer

      Joined:
      May 18, 2010
      Messages:
      1,325
      Likes Received:
      5
      Trophy Points:
      38
      freaking awesome, I never though about looking into chat commands ^_^
       
    5. kagamihiiragi17

      kagamihiiragi17 Community Developer

      Joined:
      Jun 24, 2014
      Messages:
      873
      Likes Received:
      25
      Trophy Points:
      0
    6. Grimmjow

      Grimmjow New Member

      Joined:
      Nov 11, 2013
      Messages:
      118
      Likes Received:
      1
      Trophy Points:
      0


      Kagamihiiragi17! This is wonderful!
       
    7. Yasuko

      Yasuko Member

      Joined:
      Oct 28, 2010
      Messages:
      314
      Likes Received:
      6
      Trophy Points:
      18
      The problem I found last while trying to write a plugin for this a totally different way (which ty for reminding me of the SendChat method, prevents me from having to hook!!), and even when I converted it to this way is that it will change successfully, but this always comes up

      Code:
      [23:25:08.833 D] System.NullReferenceException: Object reference not set to an instance of an object.
         at TreeSharp.Decorator.<Execute>d__0.MoveNext()
         at TreeSharp.Composite.Tick(Object context)
         at TreeSharp.PrioritySelector.<Execute>d__0.MoveNext()
         at TreeSharp.Composite.Tick(Object context)
         at ff14bot.TreeRoot.()
      It will change successfully, and just stand there with no errors till you press the stop button, then the above error comes up.. any ideas?

      *Maybe why mastahg said its recommended to pause/stop the bot first before changing jobs.
       
    8. Yasuko

      Yasuko Member

      Joined:
      Oct 28, 2010
      Messages:
      314
      Likes Received:
      6
      Trophy Points:
      18
      kagamihiiragi17, I think you forgot to add the OnStart and IsFinished to this to cache the behavior.. I didnt test the class, but the one I wrote last night wouldnt recognize the tag unless I had them in there
       

    Share This Page