• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [BETA] BuddyWing for 4.01a

    Discussion in 'Buddy Wing Forum' started by Aevitas, Nov 5, 2015.

    1. wizfor

      wizfor Member

      Joined:
      Mar 8, 2013
      Messages:
      246
      Likes Received:
      3
      Trophy Points:
      18
      doesnt do anything on my lvl 40 powertech ... using </profile> .. then it just locks up and slows my game down. never used this bot b4, it is my first time

      already wasted ~$7 trying to use this bot :(
       
    2. Cryogenesis

      Cryogenesis Moderator Moderator

      Joined:
      Jul 13, 2010
      Messages:
      2,128
      Likes Received:
      13
      Trophy Points:
      38
      No log no help m8
       
    3. Aevitas

      Aevitas Well-Known Member Staff Member Buddy Core Dev

      Joined:
      Mar 2, 2010
      Messages:
      2,307
      Likes Received:
      36
      Trophy Points:
      48
      You can't use just a closing tag, try
      Code:
      <Profile></Profile>
       
    4. somethisrandomname

      somethisrandomname New Member

      Joined:
      Sep 16, 2015
      Messages:
      18
      Likes Received:
      0
      Trophy Points:
      1
      Not criticizing, but I'm surprised that "Combat Profile", is not built in. Simply injecting
      Code:
      <Profile></Profile>
      tags.
       
    5. cartoonchikn

      cartoonchikn Member

      Joined:
      Jul 5, 2012
      Messages:
      130
      Likes Received:
      2
      Trophy Points:
      18
      Another DFUE. The profile was using max level of 55. I am level 61. So guys check this.
       
    6. wizfor

      wizfor Member

      Joined:
      Mar 8, 2013
      Messages:
      246
      Likes Received:
      3
      Trophy Points:
      18
      Thank you that fixed it. It's working now. Though it is awfuly laggy, is that normal?

      edit: it's only laggy when in combat, then the lag goes away after combat is finished
       
      Last edited: Nov 7, 2015
    7. Ama

      Ama New Member

      Joined:
      Jun 6, 2011
      Messages:
      1,171
      Likes Received:
      33
      Trophy Points:
      0
      Working fine for Jugg right now. I had to comment out the rest b/c it was spamming it. Still need to download Visual Studio on this comp. I think I am going to put some caching in for the aoe counts. Not really necessary to count them every single tick.

      Also, for anyone doing the story line again, this will dramatically speed up your leveling.

      PHP:
      <Profile xmlns="http://tempuri.org/ProfileSchema.xsd">
        <
      Name>[DarkCombat Bot</Name>
          <
      ForceAlignment Type="Dark" AutoSkip="True" />
      </
      Profile>
       
    8. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      Will you please write a Spell.DoTonGround? It's a horrible hybrid of Spell.DoT and Spell.CastonGround :D

      Good to see you back
       
    9. Ama

      Ama New Member

      Joined:
      Jun 6, 2011
      Messages:
      1,171
      Likes Received:
      33
      Trophy Points:
      0
      which spell needs that? Spell.CastonGround("name", target has buff) wont do it?
       
    10. Cass

      Cass New Member

      Joined:
      Jan 24, 2014
      Messages:
      98
      Likes Received:
      2
      Trophy Points:
      0
      Hey Ama

      I tried to search a way to track the remaining cooldown from a ability to use as conditional, something like
      ret => Ability.Cooldown("Shiv") > 1.5

      is there something around i did miss on searchs?

      Thanks
       
    11. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      Nope, because Plasma Probe doesn't put a DoT on the target, it just ticks for damage. You should see the thread-- we were discussing for it for days and I had to implement a really shitty kludge fix. I need a way to lock Plasma Probe out for x seconds before casting again :D
       
    12. Ama

      Ama New Member

      Joined:
      Jun 6, 2011
      Messages:
      1,171
      Likes Received:
      33
      Trophy Points:
      0
      You can use Spell.GetCooldown("SpellName"), or what you are using. Any time you are getting a time in return, expect it to by in milliseconds. Spell.GetCooldown("SpellName") just multiplies it by 1000. Idk if I put that in there or someone else did. I would just change your code to ret => Ability.Cooldown("Shiv") > 1500
       
    13. Ama

      Ama New Member

      Joined:
      Jun 6, 2011
      Messages:
      1,171
      Likes Received:
      33
      Trophy Points:
      0
      I think this will do it. You may have to fiddle with it some.

      PHP:
      public static Composite DoTGround(string spellCommonBehaviors.Retrieval<Vector3locationfloat timeSelection<boolreqs null)
              {
                  return
                      new 
      Decorator(
                          
      ret => ((reqs == null || reqs(ret))
                                  && 
      location != null 
                                  
      && location(ret) != Vector3.Zero 
                                  
      && AbilityManager.CanCast(spellBuddyTor.Me.CurrentTarget)
                                  && !
      SpellBlackListed(spellBuddyTor.Me.CurrentTarget.Guid)),
                          new 
      PrioritySelector(
                              new 
      Action(ctx =>
                              {
                                  
      BlackListedSpells.Add(new ExpiringItem(spell, (GetCooldown(spell) + 25 time), BuddyTor.Me.CurrentTarget.Guid));
                                  
      Logger.Write(">> Casting on Ground <<   " spell);
                                  return 
      RunStatus.Failure;
                              }),
                              new 
      Action(ret => AbilityManager.Cast(spelllocation(ret)))));
              }
       
    14. Cass

      Cass New Member

      Joined:
      Jan 24, 2014
      Messages:
      98
      Likes Received:
      2
      Trophy Points:
      0
      Thank you very much :)
       
    15. goldknight

      goldknight Member

      Joined:
      Sep 23, 2014
      Messages:
      41
      Likes Received:
      0
      Trophy Points:
      6
      Disregard, profile was set max level 60 lol, she's jugging away now, raise to 65
       
      Last edited: Nov 8, 2015
    16. wizfor

      wizfor Member

      Joined:
      Mar 8, 2013
      Messages:
      246
      Likes Received:
      3
      Trophy Points:
      18
      Is there a different profile besides "<Profile></Profile>" that I can use for Jugg? I'm looking to reduce the lag and possibly have the bot move towards the mobs when in combat, but other than that I have control
       
    17. Cryogenesis

      Cryogenesis Moderator Moderator

      Joined:
      Jul 13, 2010
      Messages:
      2,128
      Likes Received:
      13
      Trophy Points:
      38
      Hey Ama, good to have You back!
      Can you tell me if its possible in DefaultCombat, to group spells and cast them in sequence?
      For openers this would be handy. In current form its not possible.
      Thanks!
       
    18. stoiansl

      stoiansl Member

      Joined:
      Oct 9, 2012
      Messages:
      209
      Likes Received:
      1
      Trophy Points:
      18
      new Sequence(
      new Action(ret => SpellManager.Cast("Distraction"),
      new Action(ret => SpellManager.Cast("Distraction"),
      new Action(ret => SpellManager.Cast("SomethingElse")
      );

      must be workign i think
       
    19. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      I wrote it like this:

      Code:
      Spell.DoTGround("Plasma Probe", 9000),
      And got "argument missing"

      I wrote it like this:

      Code:
      Spell.DoTGround("Plasma Probe", Me.CurrentTarget, 9000),
      And got "could not convert from character to vector3 location"

      So how do I write this?
       
      Last edited: Nov 8, 2015
    20. Aevitas

      Aevitas Well-Known Member Staff Member Buddy Core Dev

      Joined:
      Mar 2, 2010
      Messages:
      2,307
      Likes Received:
      36
      Trophy Points:
      48
      Just fixed character's maximum health not taking scaling into account. It should now properly reflect the actual, effective percentage of health rather than scaled vs unscaled percentage.

      For more details on what was changed: https://www.thebuddyforum.com/buddy...buddywing-thread-post2091383.html#post2091383

      Also releasing this to http://updates.buddyauth.com/ - if it works, the beta will be removed shortly.

      Me.CurrentTarget.Position
       
      Last edited: Nov 8, 2015

    Share This Page