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

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

    1. Ama

      Ama New Member

      Joined:
      Jun 6, 2011
      Messages:
      1,171
      Likes Received:
      33
      Trophy Points:
      0
      So hes going into stealth before resting? I went ahead a put a check for resting into the stealth. It wont stealth for lazyraiding now, as it shouldnt.
       
    2. strepie

      strepie New Member

      Joined:
      Jun 11, 2012
      Messages:
      290
      Likes Received:
      2
      Trophy Points:
      0
      Thank you, Ama. Using UNPURE again and doing Ilum Dailies. It seems the problem is when he casts " cloaking screen" which will put him in stealth. Everything ends after that and he will just stand there looking dumb :)
      I removed this line from the lethality.cs file and it seems fine now. I mean...now he just plain dies instead of cloaking when using unpure...I left that in for Pure cause it is nice to have. :)
      //Spell.Cast("Cloaking Screen", ret => Me.InCombat && !Me.HasBuff("Stealth")),


      16:27:54.992 V] [UseObject] Moving to interact with: Crane
      [16:27:58.804 D] [POI Set] Type: Kill
      [16:27:58.832 N] Killing Talz Rifleman with 100% health at 22.09 meters
      [16:27:59.028 N] >> Casting << Stealth
      [16:27:59.088 D] Object reference not set to an instance of an object.
      [16:27:59.088 D] at Buddy.Swtor.Objects.TorObject.()
      at ..()
      at ..[](UInt64 , HeroType )
      at Buddy.Swtor.Objects.TorObject.GetField[T](DomFieldIds field, HeroType forcedType)
      at Buddy.Swtor.Objects.TorCharacter.get_Health()
      at Buddy.Swtor.Objects.TorCharacter.get_IsDead()
      at Buddy.Swtor.Objects.TorNpc.get_IsLootable()
      at Buddy.CommonBot.DefaultLootTargetingProvider.(TorNpc )
      at System.Linq.Enumerable.<>c__DisplayClassf`1.<CombinePredicates>b__e(TSource x)
      at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
      at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
      at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
      at Buddy.CommonBot.DefaultLootTargetingProvider.GetObjectsByWeight()
      at Buddy.CommonBot.Targeting.Pulse()
      at Buddy.CommonBot.Logic.BrainBehavior.()
      [16:28:00.325 D] Object reference not set to an instance of an object.
      [16:28:00.325 D] at Buddy.Swtor.Objects.TorObject.()
      at ..()
      at ..[](UInt64 , HeroType )
      at Buddy.Swtor.Objects.TorObject.GetField[T](DomFieldIds field, HeroType forcedType)
      at Buddy.Swtor.Objects.TorCharacter.get_InCombat()
      at PureSWTor.Classes.RotationBase.<>c__DisplayClass1.<ShouldAOE>b__0(TorCharacter mob)
      at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source, Func`2 predicate)
      at PureSWTor.Classes.RotationBase.ShouldAOE(Int32 minMobs, Single distance)
      at PureSWTor.Classes.Operative.Lethality.<get_HandleAoE>b__18(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.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.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.CommonBot.BotMain.()
      [16:28:00.558 N] >> Casting << Corrosive Grenade
      [16:28:02.038 N] >> Casting << Rifle Shot
      [16:28:02.705 D] [POI Set] Type: Kill
      [16:28:04.143 N] >> Casting << Corrosive Grenade
      [16:28:07.301 N] >> Casting << Rifle Shot
      [16:28:07.430 N] >> Casting << Cloaking Screen
       
      Last edited: Jun 9, 2013
    3. Ama

      Ama New Member

      Joined:
      Jun 6, 2011
      Messages:
      1,171
      Likes Received:
      33
      Trophy Points:
      0
      ok, That should aoe crap will always be there, so dont worry about that. Does cloaking screen successfully cast? If not, I would say the issue is just that we need to specify that is cast on "Me". If he goes full retard after that, I would need to do some testing. My op is only lvl 17 right now, so I havent gotten to that spell yet.
       
    4. strepie

      strepie New Member

      Joined:
      Jun 11, 2012
      Messages:
      290
      Likes Received:
      2
      Trophy Points:
      0
      yeah it casts successfully - sorry :) Put it on the backburner, since it really works well with that line commented out for now. Unless someone else has similar issues? Besides, he fights better with that routine than I can do myself even without casting cloaking screen :)
       
    5. silentscope1

      silentscope1 New Member

      Joined:
      May 20, 2010
      Messages:
      99
      Likes Received:
      0
      Trophy Points:
      0
      tried shield specialist vanguard again seems to be working better with the resource management fix
       
    6. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      I need some confirmation on Spell.DoT. I'm trying to add this to my Commando/Gunnery routine, but I've not seen anyone else use it. Basically, I need to know if I still need to keep the regular Spell.Cast in there, or does Spell.DoT handle all the normal functions plus the check for the delayed debuff?

      Here's my line of code:
      Spell.DoT("Grav Round", "Gravity Vortex", 1, ret => !Me.CurrentTarget.HasDebuff("Gravity Vortex") || Me.BuffCount("Charged Barrel") < 5),

      Is that right, or should I just have:
      Spell.DoT("Grav Round", "Gravity Vortex", 1),
      Spell.Cast("Grav Round", ret => !Me.CurrentTarget.HasDebuff("Gravity Vortex") || Me.BuffCount("Charged Barrel") < 5),

      Does my question even make sense?
       
    7. jnp

      jnp New Member

      Joined:
      May 22, 2013
      Messages:
      209
      Likes Received:
      3
      Trophy Points:
      0
      Code:
              public static Composite Cast(string spell, UnitSelectionDelegate onUnit, Selection<bool> reqs = null)
              {
                  return
                      new Decorator(
                          ret => (onUnit != null && onUnit(ret) != null && (reqs == null || reqs(ret)) && AbilityManager.CanCast(spell, onUnit(ret))),
                          new PrioritySelector(
                              new Action(delegate {
                                  Logging.Write(">> Casting <<   " + spell); 
                                  return RunStatus.Failure; }),
                              new Action(ret => AbilityManager.Cast(spell, onUnit(ret))))
      
                      );
              }
      Calls AbilityManager.Cast

      Code:
              public static Composite DoT(string spell, UnitSelectionDelegate onUnit, string debuff, float time,  Selection<bool> reqs = null)
              {
                  return
                      new Decorator(
                          ret => (onUnit != null && onUnit(ret) != null && (reqs == null || reqs(ret)) && AbilityManager.CanCast(spell, onUnit(ret)))
                              && !SpellBlackListed(spell)
                              && !onUnit(ret).HasDebuff(debuff),
                          new PrioritySelector(
                              new Action(delegate {
                                  PruneBlackList();
                                  BlackListedSpells.Add(new ExpiringItem(spell, GetCastTime(spell) + 25 + time));
                                  Logging.Write(">> Casting <<   " + spell);
                                  return RunStatus.Failure;}),
                              new Action(ret => AbilityManager.Cast(spell, onUnit(ret)))));
              }
      Also ends up calling AbilityManager.Cast. So you only need to use Spell.DoT();
       
    8. Ama

      Ama New Member

      Joined:
      Jun 6, 2011
      Messages:
      1,171
      Likes Received:
      33
      Trophy Points:
      0
      I wrote it for just single stacking on the current target. I'll write something for getting buffs pretty soon, but its not high on my priority list.
       
    9. jnp

      jnp New Member

      Joined:
      May 22, 2013
      Messages:
      209
      Likes Received:
      3
      Trophy Points:
      0
      FrameLock

      Ama, I started looking at this for inclusion in our CC and just wondered if you made any progress.

      I set it up like this (from modified singularly)
      You need to register and have one post to see spoilers!
      But unfortunately, I am getting compile errors: error CS0120: An object reference is required for the non-static field, method, or property 'GreyMagic.ExternalProcessMemory.AcquireFrame()'.

      Setting it to static obviously wouldn't work. Any ideas? Should GreyMagic.ExternalProcessMemory be an instance?

      I can't imagine doing something like this would work properly:
      You need to register and have one post to see spoilers!
       
    10. Ama

      Ama New Member

      Joined:
      Jun 6, 2011
      Messages:
      1,171
      Likes Received:
      33
      Trophy Points:
      0
      Nah, haven't started yet. Currently leveling a Merc and working lots of hours.
       
    11. alexbox369

      alexbox369 New Member

      Joined:
      Jun 9, 2013
      Messages:
      29
      Likes Received:
      0
      Trophy Points:
      0
      Hello, sorry but i don't understand how to use this app, plugin ? I have a error on compil with Visual Studio Ultimate 2012. Sorry for my english i am french.
       
    12. jnp

      jnp New Member

      Joined:
      May 22, 2013
      Messages:
      209
      Likes Received:
      3
      Trophy Points:
      0
      Just put it in your buddywing/routines folder. Don't compile it. Buddywing.exe compiles it for you at execution.
       
    13. silentscope1

      silentscope1 New Member

      Joined:
      May 20, 2010
      Messages:
      99
      Likes Received:
      0
      Trophy Points:
      0
      Had a go at playing combat sentinel last night, the general rotation looks ok but it doesnt seem to use dispatch with hand of justice proc, or twin saber throw.
      Valorous call seems to ignore if you have 30 centering stacks or not as well. Other than that the dps parse well enough for hm ops.
       
    14. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      Is combat the analogue for carnage? i'm not sure if anyone copied my updates to carnage over to combat yet... i can check later today, as some of those issues should be fixed. twin saber throw can be put in the aoe section, but we usually leave pull (ranged) moves up to the user. should twin saber throw be a part of the single-target rotation? i don't play a sent.
       
    15. Cryogenesis

      Cryogenesis Moderator Moderator

      Joined:
      Jul 13, 2010
      Messages:
      2,128
      Likes Received:
      13
      Trophy Points:
      38
      I would throw in Twinsaber in Pull before you force leap in.
       
    16. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      Just updated to SVN:

      Fixed Sentinel/Combat: now uses Dispatch when Hand of Justice procs. Now uses Rebuke more frequently. Valorous Call should only be used when <5 stacks of Centering. Twin Saber throw is enabled when using UnPure (Pure still leaves pull moves up to the user.

      Let me know if there are any problems with the routine.
       
    17. pindleskin

      pindleskin Community Developer

      Joined:
      Oct 24, 2012
      Messages:
      1,124
      Likes Received:
      2
      Trophy Points:
      38
      how can i commit some small changes to the SVN? I've used it before just not on assembla.
       
    18. silentscope1

      silentscope1 New Member

      Joined:
      May 20, 2010
      Messages:
      99
      Likes Received:
      0
      Trophy Points:
      0
      twin saber throw is pretty much a filler in single-target rotation, for when everything else is on cd and you already have high focus so dont have a need for zealous strike or strike
       
    19. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      What are you trying to change? Post the code here and I can implement it
       
    20. jnp

      jnp New Member

      Joined:
      May 22, 2013
      Messages:
      209
      Likes Received:
      3
      Trophy Points:
      0

    Share This Page