What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Default Combat Discussion

I'm figuring this out I get most of it now but what about the scavanging , using mount? ALso how do I get it not to sell decorations that it loots?

Scavenging: not in DefaultCombat, no immediate timetable
Mount: type your mount's name in the settings
Decorations: add the name of the decorations to the Protected.xml list in your Buddywing Settings folder
 
TVYM 1 more question and i'll leave you alone for a bit! :)

Scavenging: not in DefaultCombat, no immediate timetable
Mount: type your mount's name in the settings
Decorations: add the name of the decorations to the Protected.xml list in your Buddywing Settings folder


TYVM;););)

I was also wondering in a self/created profile I notice it jumps around alot. How far out can it see NPC/mobs?
Should I put in more Hotspots? also does goto to the hotspots on a LINEAR BASE?
 
Code:
using Buddy.BehaviorTree;
using DefaultCombat.Core;
using DefaultCombat.Helpers;

namespace DefaultCombat.Routines
{
    class Virulence : RotationBase
    {
        public override string Name { get { return "Sniper Virulence"; } }

        public override Composite Buffs
        {
            get
            {
                return new PrioritySelector(
                    Spell.Buff("Coordination")
                    );
            }
        }

        public override Composite Cooldowns
        {
            get
            {
                return new LockSelector(
                    Spell.Buff("Escape"),
                    Spell.Buff("Shield Probe", ret => Me.HealthPercent <= 50),
                    Spell.Buff("Evasion", ret => Me.HealthPercent <= 30),
                    Spell.Buff("Adrenaline Probe", ret => Me.EnergyPercent <= 50),
                    Spell.Buff("Laze Target"),
                    Spell.Cast("Target Acquired")
                    );
            }
        }

        public override Composite SingleTarget
        {
            get
            {
                return new LockSelector(
                    //Movement
                    CombatMovement.CloseDistance(Distance.Ranged),

                    //Low Energy
                    Spell.Cast("Rifle Shot", ret => Me.EnergyPercent < 50),

                    //Rotation
                    Spell.Cast("Distraction", ret => Me.CurrentTarget.IsCasting && !DefaultCombat.MovementDisabled),
                    Spell.DoT("Corrosive Grenade", "", 18000),
                    Spell.DoT("Corrosive Dart", "", 12000),
                    Spell.Cast("Weakening Blast"),
                    Spell.Cast("Cull"),
                    Spell.Cast("Takedown", ret => Me.CurrentTarget.HealthPercent <= 30),
                    Spell.Buff("Crouch", ret => !Me.IsInCover() && !Me.IsMoving),
                    Spell.Cast("Series of Shots", ret => Me.IsInCover()),
                    Spell.Cast("Lethal Shot", ret => Me.IsInCover()),
                    Spell.Cast("Overload Shot")
                    );
            }
        }

        public override Composite AreaOfEffect
        {
            get
            {
                return new Decorator(ret => Targeting.ShouldAOE,
                    new LockSelector(
                        Spell.CastOnGround("Orbital Strike"),
                        Spell.Cast("Fragmentation Grenade"),
                        Spell.DoT("Corrosive Grenade", "", 18000),
                        Spell.CastOnGround("Suppressive Fire")
                    ));
            }
        }
    }
}

i have updated virulence a bit the dot spec of sniper replaced snipe with lethal shot in the rotation since it uses that removed shatter shot since it no longer does the armor debuff and when it was in the rotation it just kept spamming it does rotation really well the only issue im having is the Takedown proc when cull procs a self buff called Lethal Takedown when that happens it makes Takedown usable at any health percentage and is vital for rotation if i can get that fixed the rotation would be perfect virulence only had minor changes it compiles correctly and is ready to use
 
im having trouble with assault specialist commando i get this error every time when trying to load it up.

[DefaultCombat] Discipline: AssasultSpecialist
Unhandled exception during init: System.ArgumentNullException: Value cannot be null.
Parameter name: type
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at DefaultCombat.Core.RotationFactory.Build(String name) in c:\Users\User\Desktop\BuddyWing 1.0.1133.539\Routines\DefaultCombat\Core\RotationFactory.cs:line 30
at DefaultCombat.DefaultCombat.Initialize() in c:\Users\User\Desktop\BuddyWing 1.0.1133.539\Routines\DefaultCombat\DefaultCombat.cs:line 55
at Buddy.CommonBot.RoutineManager.set_Current(ICombat value)
at Buddy.CommonBot.BotMain.SetCurrentCombatRoutine()
at Buddywing.MainWindow.DoInitialization()



I am also having the same problem just DL'ed the bot and I cannot get it to work consistently, I play a powtech/shieldtech

never mind I figured it out changed: public class Shieldtech : RotationBase into public class ShieldTech : RotationBase the capitol T was the answer
 
Last edited:
I reinstalled and got kicks profile for level 1-10 and the default combat just keeps tab targeting without attacking. I followed the guide as well for nubs. Anything I missed? Do I need to svn update the combat?
 
Default Combat routine

I noticed that every once in a while my toon starts running in the wrong direction hits a wall or something continues to run while the game is saying " Cannot do that while moving". I have noticed it puts me in some bad spots and causes me an AFK log out.
 
Something minor, but CombatHotkeys.cs still prints out F8 as the UI versus Pausing. Doesn't impact the function, obviously, but may be confusing to some people.
 
In other news, it doesn't seem to be self-buffing anymore if I use ye olde Combat Bot.xml file. Trying to track down why. I don't mind manually buffing, but it's just a difference from before. Doesn't mount up either, but I figured it wouldn't with that .xml file.
 
.... the only issue im having is the Takedown proc when cull procs a self buff called Lethal Takedown when that happens it makes Takedown usable at any health percentage and is vital for rotation if i can get that fixed the rotation would be perfect virulence only had minor changes it compiles correctly and is ready to use

Here is the code I use for the Takedown ability:
Code:
Spell.Cast("Takedown", ret => Me.HasBuff("Lethal Takedown") || Me.CurrentTarget.HealthPercent <= 30),

I usually put this pretty high in the rotation order to make sure I am getting the full benefit. Hope this helps!
 
Here is the code I use for the Takedown ability:
Code:
Spell.Cast("Takedown", ret => Me.HasBuff("Lethal Takedown") || Me.CurrentTarget.HealthPercent <= 30),

I usually put this pretty high in the rotation order to make sure I am getting the full benefit. Hope this helps!

yah that worked out perfect pvp did well to
 
Hey guys,

Sad that Joes isn't being updated, I liked how it handled everything. Hoping someone helpful could answer the following questions for me:

I'd like to know if pause is useable in DefaultCombat or not? It is tedious to alt-tab to stop the bot to make a quick correction or make it harvest a nearby node. I've tried the F8 key but that doesn't do anything, hoping there's another way.

Is it possible to have to check if the target is under CC before attacking? Say if I just cast a CC on a mob, for it not to immediately attack it and break said CC?

Also, I understand it's not possible for it to target the companion and heal it?

Lastly, I understand healing isn't working at the moment?
 
Last edited:
im having trouble with assault specialist commando i get this error every time when trying to load it up.

[DefaultCombat] Discipline: AssasultSpecialist
Unhandled exception during init: System.ArgumentNullException: Value cannot be null.
Parameter name: type
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at DefaultCombat.Core.RotationFactory.Build(String name) in c:\Users\User\Desktop\BuddyWing 1.0.1133.539\Routines\DefaultCombat\Core\RotationF actory.cs:line 30
at DefaultCombat.DefaultCombat.Initialize() in c:\Users\User\Desktop\BuddyWing 1.0.1133.539\Routines\DefaultCombat\DefaultCombat. cs:line 55
at Buddy.CommonBot.RoutineManager.set_Current(ICombat value)
at Buddy.CommonBot.BotMain.SetCurrentCombatRoutine()
at Buddywing.MainWindow.DoInitialization()

I am also having the same problem just DL'ed the bot and I cannot get it to work consistently, I play a powtech/shieldtech

never mind I figured it out changed: public class Shieldtech : RotationBase into public class ShieldTech : RotationBase the capitol T was the answer

I am running into this same issue trying to load the Assault Specialist. I'm not sure what file you've edited to fix this though. Essentially it seems to be referencing 'Assasult Specialist' in the '[DefaultCombat] Discipline: AssasultSpecialist' But I cannot find where that is. I assume that is causing the error in rotationfactory?
 
I'm having trouble using the routine. I'm trying to level manually with the routine doing the combat. I'm using the combat xml kick provides in his svn but the bot instantly lags the game and only targets other players automatically and just sits there and does nothing. Nothing is being recorded in the log either.
 
I'm having trouble using the routine. I'm trying to level manually with the routine doing the combat. I'm using the combat xml kick provides in his svn but the bot instantly lags the game and only targets other players automatically and just sits there and does nothing. Nothing is being recorded in the log either.
Dude, no log no help
 
Hey guys.

When I was using JoesCombat the bot was using field revive and moving to a save location after doing that.
I looked into the global and specific settings but couldn't find a setting that allows me to do that.

Atm defaultcombat (I assume that the routine is handling revivals) is always using medcenter which can be exhausting specially when I need to lead the bot back to its previous position.
 
Back
Top