What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Change Weapon.Gear Sets

Mrydeen

Member
Joined
Nov 9, 2014
Messages
59
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
 
pretty sure there's no api for that, so you'll need to drag it to an actionbar
 
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.
 
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.

freaking awesome, I never though about looking into chat commands ^_^
 
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.
 
This is just a rough example, it's just blind code (I haven't tested it) but something like this should work:

View attachment 150555
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
 
Back
Top