• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Pure SWTor

    Discussion in 'Archives' started by Ama, May 9, 2013.

    1. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      BW doesn't work in PvP. Problem solved.
       
    2. 17N

      17N New Member

      Joined:
      Jan 24, 2014
      Messages:
      278
      Likes Received:
      2
      Trophy Points:
      0
      BW works in PVP, just not optimally. And problem is not solved until it works properly.

      I am thinking what might cause the bot to hang, could be crowd control. If I remember right it is almost certain to hang after a crowd control.
       
    3. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      I meant problem solved as far as why Pure wasn't working. BW hangs because of stealth, not Crowd Control. Stealth causes GetHealth errors, which crash the bot. This has been a problem as long as the bot has existed, and it's one of those "problem with SWTOR coding" type of issues that doesn't appear to be fixable.
       
    4. 17N

      17N New Member

      Joined:
      Jan 24, 2014
      Messages:
      278
      Likes Received:
      2
      Trophy Points:
      0
      Couldn't we ignore target GetHealth functions?
      I've been experimenting, it might be a coincidence but I think I am getting less hangs when I removed the channeled ability ravage from the rotation. I also removed the aoe rotation.
      I want to exclude things, by trial and error, until I find what the problem is, that the rotation hangs.

      Ideally I would like to have it working properly, even if I have to exclude certain abilities to achieve that.

      EDIT:

      By ignore I mean removing these lines:

      Spell.Cast("Vicious Throw", ret => Me.CurrentTarget.HealthPercent <= 30)

      also does it crash on get target's distance? so will I need to remove these as well?:

      Spell.Cast("Force Charge", ret => Me.CurrentTarget.Distance >= 1f && Me.CurrentTarget.Distance <= 3f)


      EDIT2: I had a WZ that the rotation would attack every other class, except for operatives. Don't know if we can make any conclusions regarding that.
       
      Last edited: Mar 16, 2014
    5. Lordnikon

      Lordnikon New Member

      Joined:
      Jul 12, 2011
      Messages:
      125
      Likes Received:
      0
      Trophy Points:
      0
      in Sentinel combat.cs in the aoe sectio you have
      Spell.Cast("Cyclone Smash", ret => Me.CurrentTarget.Distance <= 0.5f)
      when it should be
      Spell.Cast("Cyclone Slash", ret => Me.CurrentTarget.Distance <= 0.5f)

      Also i read a few post before, to have a default and pure in the routines folder. i only have pure (only using rotation, not moving) Am i doing something wrong?
       
    6. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      Thanks for the report, fixed and updated to SVN.

      If you're only using Pure I think it should work without a default. I think UnPure requires the default.
       
    7. Dre

      Dre Member

      Joined:
      Nov 6, 2011
      Messages:
      196
      Likes Received:
      0
      Trophy Points:
      16
      Sniper-Engineer+Marksmanship PureRotation

      Once I put a point into the "Plasma Probe" tree unlock all hell seems to have let loose.
      Wont go into cover and completely locks the routine when calling the "plasma probe"

      Part of the error logs I just noticed

      >> Casting << Interrogation Probe (<---- This part is random cast called skill)
      Combat: Set POI to Kill.
      Object reference not set to an instance of an object.
      at Buddy.Swtor.Objects.Containers.TorContainer`1.( )
      at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
      at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
      at PureSWTor.Helpers.Extensions.IsInCover(TorCharacter torCharacter)
      at PureSWTor.Classes.Sniper.Engineering.<get_HandleSingleTarget>b__b(Object ret)
      at PureSWTor.Core.Spell.<>c__DisplayClass9.<Cast>b__6(Object ret)
      at Buddy.BehaviorTree.Decorator.CanRun(Object context)
      at Buddy.BehaviorTree.Decorator..()
      at Buddy.BehaviorTree.Composite.Tick(Object context)
      at Buddy.BehaviorTree.PrioritySelector..()
      at Buddy.BehaviorTree.Composite.Tick(Object context)
      at Buddy.BehaviorTree.Decorator..()
      at Buddy.BehaviorTree.Composite.Tick(Object context)
      at Buddy.BehaviorTree.PrioritySelector..()
      at Buddy.BehaviorTree.Composite.Tick(Object context)
      at Buddy.BehaviorTree.PrioritySelector..()
      at Buddy.BehaviorTree.Composite.Tick(Object context)
      at Buddy.BehaviorTree.PrioritySelector..()
      at Buddy.BehaviorTree.Composite.Tick(Object context)
      at Buddy.Common.HookExecutor.Run(Object context)
      at Buddy.BehaviorTree.Action.RunAction(Object context)
      at Buddy.BehaviorTree.Action..()
      at Buddy.BehaviorTree.Composite.Tick(Object context)
      at Buddy.BehaviorTree.PrioritySelector..()
      at Buddy.BehaviorTree.Composite.Tick(Object context)
      at Buddy.BehaviorTree.Decorator..()
      at Buddy.BehaviorTree.Composite.Tick(Object context)
      at Buddy.BehaviorTree.PrioritySelector..()
      at Buddy.BehaviorTree.Composite.Tick(Object context)
      at Buddy.BehaviorTree.PrioritySelector..()
      at Buddy.BehaviorTree.Composite.Tick(Object context)
      at Buddy.Common.HookExecutor.Run(Object context)
      at Buddy.BehaviorTree.Action.RunAction(Object context)
      at Buddy.BehaviorTree.Action..()
      at Buddy.BehaviorTree.Composite.Tick(Object context)
      at Buddy.BehaviorTree.PrioritySelector..()
      at Buddy.BehaviorTree.Composite.Tick(Object context)
      at Buddy.CommonBot.BotMain.()
       
      Last edited: Mar 17, 2014
    8. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      I'm looking at Plasma Probe-- is it a ground targeted AoE? I don't have a high-level Sniper, so I have no idea. That could be the reason why it's not functioning correctly.
       
    9. altagrave

      altagrave New Member

      Joined:
      Feb 4, 2013
      Messages:
      16
      Likes Received:
      0
      Trophy Points:
      0
      Hi, i notice SWTOR crashes sometimes when Force Speed is activated. I'm using a Jedi Shadow(Balance). No error message or anything. Not sure if its my graphic driver or just the game. When I'm not on Buddywing that doesn't happen. BTW... just wanted to say this rotation has been serving me well besides that.
       
    10. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      I have never seen that happen or heard it from anyone else, so I'm guessing it's probably an issue with your computer/driver. The game is not well optimized, so it causes massive issues frequently. The best you can do is make sure you're setting your affinities and setting your process manager to high/realtime.
       
    11. Dre

      Dre Member

      Joined:
      Nov 6, 2011
      Messages:
      196
      Likes Received:
      0
      Trophy Points:
      16
      Plasma Probe is an AoE but that dosent look like the real problem.

      The problem is in that long error sequence I posted above and its show up in both sniper routines Marksman and Engineer, just seems to be more in engineer.

      "Combat: Set POI to Kill.
      Object reference not set to an instance of an object.
      at Buddy.Swtor.Objects.Containers.TorContainer`1.( )
      at System.Linq.Enumerable.WhereSelectEnumerableIterat or`2.MoveNext()
      at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
      at PureSWTor.Helpers.Extensions.IsInCover(TorCharacte r torCharacter)
      at PureSWTor.Classes.Sniper.Engineering.<get_HandleSi ngleTarget>b__b(Object ret)
      at PureSWTor.Core.Spell.<>c__DisplayClass9.<Cast>b__6 (Object ret)
      at Buddy.BehaviorTree.Decorator.CanRun(Object context)
      at Buddy.BehaviorTree.Decorator..()
      at Buddy.BehaviorTree.Composite.Tick(Object context)
      at Buddy.BehaviorTree.PrioritySelector..()
      at Buddy.BehaviorTree.Composite.Tick(Object context)
      at Buddy.BehaviorTree.Decorator..()
      at Buddy.BehaviorTree.Composite.Tick(Object context)
      at Buddy.BehaviorTree.PrioritySelector..()
      at Buddy.BehaviorTree.Composite.Tick(Object context)
      at Buddy.BehaviorTree.PrioritySelector..()
      at Buddy.BehaviorTree.Composite.Tick(Object context)
      at Buddy.BehaviorTree.PrioritySelector..()
      at Buddy.BehaviorTree.Composite.Tick(Object context)
      at Buddy.Common.HookExecutor.Run(Object context)
      at Buddy.BehaviorTree.Action.RunAction(Object context)
      at Buddy.BehaviorTree.Action..()
      at Buddy.BehaviorTree.Composite.Tick(Object context)
      at Buddy.BehaviorTree.PrioritySelector..()
      at Buddy.BehaviorTree.Composite.Tick(Object context)
      at Buddy.BehaviorTree.Decorator..()
      at Buddy.BehaviorTree.Composite.Tick(Object context)
      at Buddy.BehaviorTree.PrioritySelector..()
      at Buddy.BehaviorTree.Composite.Tick(Object context)
      at Buddy.BehaviorTree.PrioritySelector..()
      at Buddy.BehaviorTree.Composite.Tick(Object context)
      at Buddy.Common.HookExecutor.Run(Object context)
      at Buddy.BehaviorTree.Action.RunAction(Object context)
      at Buddy.BehaviorTree.Action..()
      at Buddy.BehaviorTree.Composite.Tick(Object context)
      at Buddy.BehaviorTree.PrioritySelector..()
      at Buddy.BehaviorTree.Composite.Tick(Object context)
      at Buddy.CommonBot.BotMain.() "
       
    12. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      I mean, an object error could be anything: someone near you went into stealth, ability issue, stuck, bad nav, etc. All I can fix are the rotation issues. What I need to know regarding Plasma Probe is: do you just click the button and it AoEs, or do you need to ground target? This actually makes a huge different for the rotation, and would fix a bunch of lock-up issues.
       
    13. Dre

      Dre Member

      Joined:
      Nov 6, 2011
      Messages:
      196
      Likes Received:
      0
      Trophy Points:
      16
      Ok as far as only the plasma probe I tweaked it myself and got the following.

      You have plasma probe in the priority, the standard routine,and the AoE routine.
      Disabled plasma probe in the priority and standard rotine and left it on in the AoE routine and the lockup stoped for a time but now im being spamed with the other errors constantly, but again marksman is also giving me the errors just not near as much.

      Let me try unpure on a dummy and see if it locks up/ spams on the dummy with that.
       
    14. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      I just put a fix on the SVN: changed Plasma Probe from Spell.Cast to Spell.CastonGround.

      Update from SVN and see if that fixes the problem.
       
    15. Dre

      Dre Member

      Joined:
      Nov 6, 2011
      Messages:
      196
      Likes Received:
      0
      Trophy Points:
      16
      YES that cleared this issue. Still get that other error once in a while but not near as much, funny thing though BW dosent call its cast when its casting it like everything else.

      And I blame KDY and double exp weekend for not knowing my class enough to know it was a CastonGround.. ;)

      Now a high DPS trick coming up I cant test myself for a day or two is "Covered Escape". With the talent it drops bombs behind you as you roll to escape mobs at close distance.
       
    16. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      You can put Covered Escape in your rotation, but I won't put it in there automatically. It's a dangerous ability to trust the bot to use, since it rolls forward (bot will do something dumb like roll off a ledge or into fire).

      If you want help putting it into your version, just let me know.
       
    17. Dre

      Dre Member

      Joined:
      Nov 6, 2011
      Messages:
      196
      Likes Received:
      0
      Trophy Points:
      16
      Yes please or PM it to me if you don't want people adding it and getting mad something wrong happens.
       
    18. Dre

      Dre Member

      Joined:
      Nov 6, 2011
      Messages:
      196
      Likes Received:
      0
      Trophy Points:
      16
      Just noticed for some strange reason the routine dosent go into "Crouch" anymore. Both pure and unpure
       
    19. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      It would just be:
      Spell.Cast("Covered Escape"),
      If you want to add conditionals, for example, making sure your target is within 15 feet:
      Spell.Cast("Covered Escape", ret => Me.CurrentTarget.Distance <= 1.5f),

      For your second post about Crouch: which routine? Which spec?
       
    20. Dre

      Dre Member

      Joined:
      Nov 6, 2011
      Messages:
      196
      Likes Received:
      0
      Trophy Points:
      16

      I know for sure Sniper-Engineer use to be in cover a lot, now im killing entire groups before it even tries to use cover.

      I stand still and just let it cycle and after some time it will get into cover but not at the start of fights or frequently checking like it should.
       

    Share This Page