• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • WingIt - All In One

    Discussion in 'Archives' started by Neo93, May 7, 2012.

    1. protopally

      protopally Member

      Joined:
      Jan 15, 2010
      Messages:
      391
      Likes Received:
      8
      Trophy Points:
      18
      thanks guys will double check power tech as its a port of vanguard i dont have power tech to test i do have a merc lol
       
    2. xio8up

      xio8up New Member

      Joined:
      Feb 25, 2010
      Messages:
      501
      Likes Received:
      0
      Trophy Points:
      0
      wing it wing it goood wing it real good
       
    3. protopally

      protopally Member

      Joined:
      Jan 15, 2010
      Messages:
      391
      Likes Received:
      8
      Trophy Points:
      18
    4. clownfish

      clownfish New Member

      Joined:
      Jan 29, 2010
      Messages:
      33
      Likes Received:
      0
      Trophy Points:
      0
      Still not working. Character seems stuck.

      Last logs included as a file
       

      Attached Files:

    5. protopally

      protopally Member

      Joined:
      Jan 15, 2010
      Messages:
      391
      Likes Received:
      8
      Trophy Points:
      18
      OK i want to do some more advanced work on this but i have a few issues.

      1. Need to find out how to overide Targeting i want to manage targeting my code or manually
      2. want to work with somone to add a few helpers for AOE/Crowd Control Managment

      anyone who can help with either please get back to me
      also as for the out of combat routines we need to standardise the selfheals and stuff to take into account health/recource and companion health and stop cast when all are maxed (dont incude knights that have no fixed resource standard).
       
    6. Neo93

      Neo93 Member

      Joined:
      Aug 30, 2011
      Messages:
      342
      Likes Received:
      4
      Trophy Points:
      18
      @protopally
      1. Ill take a look when I've time.
      2. What do you want? Write me a pm with your skype name.

      OOT Routines are already there. You better put your companion healing in the specific OOC Behaviour, since not every class can heal. Rest stop is already implented, but I dunno if it properly work with stopping at max resource.
       
    7. superbotz

      superbotz New Member

      Joined:
      Jun 4, 2012
      Messages:
      18
      Likes Received:
      0
      Trophy Points:
      0
      Neo, with the bot release do we still need to update via SVN or will the bot update them when it detects changes? Sorry if this is a stupid question, it's my first time using a bot.
       
    8. chinajade

      chinajade Well-Known Member Moderator Buddy Core Dev

      Joined:
      Jul 20, 2010
      Messages:
      17,540
      Likes Received:
      172
      Trophy Points:
      63
      A couple of snippet updates for WingIt.cs for your consideration. These snippets do two things:
      • Keeps the companion healthy
        The companion's health was not a primary concern with the existing code. Previously, the companion only gets healed as a side-effect of some other intermittently-used action. This becomes a problem if the companion regularly takes a lot more beating than the toon, and eventually results in companion death which cascades into toon death.

      • Eliminates a few boundary conditions
        For instance, occasionally getting stuck trying to heal a dead companion

      cheers & thanks for considering the changes,
      chinajade


      Around Wingit.cs:line 62:

      new Decorator(ret => IsMeOrCompanionHealingNeeded(),
      CreateUseClassRegainHealth()),



      And around Wingit.cs:line 153:

      new Decorator(ret => BuddyTor.Me.ResourceStat < 95 || IsMeOrCompanionHealingIncomplete(),
      new Sequence(
      CommonBehaviors.MoveStop(),
      Spell.WaitForCast())),

      new Switch<CharacterClass>(
      ret => Class,
      // Republic
      new SwitchArgument<CharacterClass>(CharacterClass.Knight, Cast("Introspection", ret => BuddyTor.Me, ret => IsMeOrCompanionHealingIncomplete())),
      new SwitchArgument<CharacterClass>(CharacterClass.Consular, Cast("Meditation", ret => BuddyTor.Me, ret => BuddyTor.Me.ResourceStat <= 50 || IsMeOrCompanionHealingIncomplete())),
      new SwitchArgument<CharacterClass>(CharacterClass.Smuggler, Cast("Recuperate", ret => BuddyTor.Me, ret => BuddyTor.Me.ResourceStat <= 50 || IsMeOrCompanionHealingIncomplete())),
      new SwitchArgument<CharacterClass>(CharacterClass.Trooper, Cast("Recharge and Reload", ret => BuddyTor.Me, ret => BuddyTor.Me.ResourceStat < 5 || IsMeOrCompanionHealingIncomplete())),

      // Empire
      new SwitchArgument<CharacterClass>(CharacterClass.Warrior, Cast("Channel Hatred", ret => BuddyTor.Me, ret => IsMeOrCompanionHealingIncomplete())),
      new SwitchArgument<CharacterClass>(CharacterClass.Inquisitor, Cast("Seethe", ret => BuddyTor.Me, ret => BuddyTor.Me.ResourceStat <= 50 || IsMeOrCompanionHealingIncomplete())),
      new SwitchArgument<CharacterClass>(CharacterClass.Agent, Cast("Recuperate", ret => BuddyTor.Me, ret => BuddyTor.Me.ResourceStat <= 50 || IsMeOrCompanionHealingIncomplete())),
      new SwitchArgument<CharacterClass>(CharacterClass.BountyHunter, Cast("Recharge and Reload", ret => BuddyTor.Me, ret => BuddyTor.Me.ResourceStat >= 50 || IsMeOrCompanionHealingIncomplete()))
      ));


      private bool IsCompanionInUse()
      {
      return ((BuddyTor.Me.CompanionUnlocked > 0) && (Helpers.Companion != null));
      }

      private bool IsMeOrCompanionHealingIncomplete()
      {
      return ((BuddyTor.Me.HealthPercent < 95.0f)
      ||
      (IsCompanionInUse() && !Helpers.Companion.IsDead && (Helpers.Companion.HealthPercent < 95.0f)));
      }


      private bool IsMeOrCompanionHealingNeeded()
      {
      return ((BuddyTor.Me.HealthPercent < 70.0f)
      ||
      (IsCompanionInUse() && !Helpers.Companion.IsDead && (Helpers.Companion.HealthPercent < 70.0f)));
      }
       
      Last edited: Jun 5, 2012
    9. Starbrox

      Starbrox Member

      Joined:
      Mar 10, 2012
      Messages:
      413
      Likes Received:
      0
      Trophy Points:
      16
      wondering this myself
       
    10. Hawker

      Hawker Well-Known Member Buddy Core Dev

      Joined:
      Jan 15, 2010
      Messages:
      2,509
      Likes Received:
      70
      Trophy Points:
      48
      The bot will update WingIt automatically. For most of June there will be updates several times a week :)
       
    11. Starbrox

      Starbrox Member

      Joined:
      Mar 10, 2012
      Messages:
      413
      Likes Received:
      0
      Trophy Points:
      16
      sweet, thanks a lot :D
       
    12. Kickazz006

      Kickazz006 Well-Known Member Moderator

      Joined:
      Jan 15, 2010
      Messages:
      20,567
      Likes Received:
      302
      Trophy Points:
      83
      Committed to the WingIt SVN

      Also, #.0f is a range, it's never a health percent

      Also, range in BW is x10

      so 1f = 10 meters (don't ask me why)
      0.4f is melee range (4 meters)
      2.8f is ranged range (28 meters - minor issues at the 30 meters so we moved it to 2.8f)
       
    13. Starbrox

      Starbrox Member

      Joined:
      Mar 10, 2012
      Messages:
      413
      Likes Received:
      0
      Trophy Points:
      16
      I was wondering, does wingit support hybrid specs like: 7/18/16 and actually use the procs you get from both tree's?
       
    14. Neo93

      Neo93 Member

      Joined:
      Aug 30, 2011
      Messages:
      342
      Likes Received:
      4
      Trophy Points:
      18
      Not atm. That spec would be currently seen as lightning.
       
    15. Starbrox

      Starbrox Member

      Joined:
      Mar 10, 2012
      Messages:
      413
      Likes Received:
      0
      Trophy Points:
      16
      hope it will be able to use it fully, cause it's an awesome spec for dps :D
       
    16. Neo93

      Neo93 Member

      Joined:
      Aug 30, 2011
      Messages:
      342
      Likes Received:
      4
      Trophy Points:
      18
      haha yeah but thats a kinda low prio atm :)

      but I'll make a note.
       
    17. Starbrox

      Starbrox Member

      Joined:
      Mar 10, 2012
      Messages:
      413
      Likes Received:
      0
      Trophy Points:
      16
      no worries I have the needed patience, just putting it out there :D
       
    18. Dre

      Dre Member

      Joined:
      Nov 6, 2011
      Messages:
      196
      Likes Received:
      0
      Trophy Points:
      16
      I cant get any Trooper-Bounty Hunter advanced classes to work right.

      It will move if you dont put any points into any tree but it will not fight for you.

      If I put a point in any class tree and run BW it wont move my charcter as seen in this log, It wont call to the nav server to generate a path.
      View attachment lvl11BHNoMove.txt

      With my lvl 12 Warrior doing the same profile and with points in an advanced class the bot does move the charcter as seen in this log.
      View attachment lvl12WAMoves.txt
       
    19. Aevitas

      Aevitas Well-Known Member Staff Member Buddy Core Dev

      Joined:
      Mar 2, 2010
      Messages:
      2,307
      Likes Received:
      36
      Trophy Points:
      48
      Because SWTOR uses a compressed metric system.
       
    20. cystacae

      cystacae New Member

      Joined:
      Jul 17, 2011
      Messages:
      56
      Likes Received:
      1
      Trophy Points:
      0
      I know that would be seen as the base of but could us CC writers be able to write this into the CC to search the spec for changes like that? I know there is an effective Darkness Assassin DPS spec too that is putting out around the same dps as Deception Assassin. Just wondering because I was questioning whether is was a CC problem or just support all together.
       
      Last edited: Jun 8, 2012

    Share This Page