• Visit Rebornbuddy
  • Limit Break

    Discussion in 'Community Developer Forum' started by Azoth, Sep 7, 2015.

    1. Azoth

      Azoth Member

      Joined:
      Mar 6, 2014
      Messages:
      470
      Likes Received:
      8
      Trophy Points:
      18
      Is there a way to use Limit Break from a combat routine? Assuming we're not going into ground targeting for caster LB.
       
    2. iyake

      iyake Member

      Joined:
      Oct 19, 2014
      Messages:
      143
      Likes Received:
      5
      Trophy Points:
      18
      try ff14bot.Managers.ChatManager.SendChat("/gaction \"Limit Break\"");
       
    3. Azoth

      Azoth Member

      Joined:
      Mar 6, 2014
      Messages:
      470
      Likes Received:
      8
      Trophy Points:
      18
      Works awesome, thanks a lot.
      For future reference, what does
      Code:
      \"
      bracketing Limit Break do?
       
    4. kagamihiiragi17

      kagamihiiragi17 Community Developer

      Joined:
      Jun 24, 2014
      Messages:
      873
      Likes Received:
      25
      Trophy Points:
      0
      \ is the escape character in C#, so it allows you to put quotes in a string, as opposed to ending the string.
       
    5. Azoth

      Azoth Member

      Joined:
      Mar 6, 2014
      Messages:
      470
      Likes Received:
      8
      Trophy Points:
      18
      I see, thanks. Didn't think you'd need to have quotes inside of quotes.
       
    6. kagamihiiragi17

      kagamihiiragi17 Community Developer

      Joined:
      Jun 24, 2014
      Messages:
      873
      Likes Received:
      25
      Trophy Points:
      0
      It's actually a limitation of the in-game /cast command, because Limit Break is two words, it needs to be surrounded by quotes.

      For the record, each individual limit break has its own spell ID, and it should be cast using the Actionmanager.DoAction (or DoActionLocation) command along with its spell ID as opposed to sending a chat command in-game.
       
    7. iyake

      iyake Member

      Joined:
      Oct 19, 2014
      Messages:
      143
      Likes Received:
      5
      Trophy Points:
      18
      I'm curious why using the spellid is better than sendchat. Is it just for localisation? I've always preferred sendchat since if they ever put in any kind of injection detection, sendchat would be slightly stealthier since it would be seen as a user macro.
       
    8. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      5,231
      Likes Received:
      364
      Trophy Points:
      83
      That's not how injection works. Sendchat would be just as detectable as doaction. I'll look into adding some limit break stuff.
       

    Share This Page