Esempio n. 1
0
        public BoostOrca(IBookMarkCache bookMarkCache, IMiningConfiguration miningConfiguration, IBookmarks bookmarks, ISafespots safespots, IMovement movement, IMainConfiguration mainConfiguration, IShip ship, IMeCache meCache)
        {
            _bookMarkCache       = bookMarkCache;
            _miningConfiguration = miningConfiguration;
            _bookmarks           = bookmarks;
            _safespots           = safespots;
            _movement            = movement;
            _mainConfiguration   = mainConfiguration;
            _ship    = ship;
            _meCache = meCache;

            IsEnabled = true;
            BehaviorManager.BehaviorsToPulse.Add(BotModes.BoostOrca, this);
            ModuleName = "BoostOrca";
        }
Esempio n. 2
0
        internal Defense(IIsxeveProvider isxeveProvider, IEntityProvider entityProvider, IShip ship, IMeCache meCache, IDefensiveConfiguration defensiveConfiguration, ISocial social, IDrones drones, IAlerts alerts, ISafespots safespots, IMovement movement)
        {
            _isxeveProvider         = isxeveProvider;
            _entityProvider         = entityProvider;
            _ship                   = ship;
            _meCache                = meCache;
            _defensiveConfiguration = defensiveConfiguration;
            _social                 = social;
            _drones                 = drones;
            _alerts                 = alerts;
            _safespots              = safespots;
            _movement               = movement;

            ModuleManager.ModulesToPulse.Add(this);
            ModuleName     = "Defense";
            PulseFrequency = 1;
        }
Esempio n. 3
0
        //Initialize the class
        public Freighter(IEveWindowProvider eveWindowProvider, ICargoConfiguration cargoConfiguration, IMainConfiguration mainConfiguration,
                         IMiningConfiguration miningConfiguration, IMeCache meCache, IShip ship, IStation station, IJettisonContainer jettisonContainer,
                         IEntityProvider entityProvider, IEventCommunications eventCommunications, MoveToDropOffLocationPartialBehavior moveToDropOffLocationPartialBehavior,
                         DropOffCargoPartialBehavior dropOffCargoPartialBehavior, IMovement movement)
        {
            _eveWindowProvider = eveWindowProvider;
            _moveToDropOffLocationPartialBehavior = moveToDropOffLocationPartialBehavior;
            _dropOffCargoPartialBehavior          = dropOffCargoPartialBehavior;
            _movement          = movement;
            _ship              = ship;
            _meCache           = meCache;
            _mainConfiguration = mainConfiguration;

            ModuleName     = "Freighter";
            PulseFrequency = 2;
            BehaviorManager.BehaviorsToPulse.Add(BotModes.Freighting, this);
            IsEnabled = true;
        }
Esempio n. 4
0
        public Ratting(ISocial social, IMeCache meCache, IBookmarks bookmarks, ISalvageConfiguration salvageConfiguration, IRattingConfiguration rattingConfiguration, IAnomalyProvider anomalyProvider,
                       IEntityProvider entityProvider, IAnomalyClaimTracker anomalyClaimTracker, ISafespots safespots, IMovement movement, IShip ship, IAsteroidBelts asteroidBelts, IMovementConfiguration movementConfiguration,
                       IAlerts alerts, ITargetQueue targetQueue, IAttackers attackers)
        {
            _social               = social;
            _meCache              = meCache;
            _bookmarks            = bookmarks;
            _salvageConfiguration = salvageConfiguration;
            _rattingConfiguration = rattingConfiguration;
            _anomalyProvider      = anomalyProvider;
            _entityProvider       = entityProvider;
            _anomalyClaimTracker  = anomalyClaimTracker;
            _safespots            = safespots;
            _movement             = movement;
            _ship                  = ship;
            _asteroidBelts         = asteroidBelts;
            _movementConfiguration = movementConfiguration;
            _alerts                = alerts;
            _targetQueue           = targetQueue;
            _attackers             = attackers;

            BehaviorManager.BehaviorsToPulse.Add(BotModes.Ratting, this);
            ModuleName     = "Ratting";
            IsEnabled      = true;
            PulseFrequency = 2;

            var knownEwarPointTargetTags = new List <string> {
                "Dire Guristas", "Arch Angel Hijacker", "Arch Angel Outlaw", "Arch Angel Rogue",
                "Arch Angel Thug", "Sansha's Loyal", "Guardian Agent", "Guardian Initiate",
                "Guardian Scout", "Guardian Spy", " Watchman", " Patroller",
                "Elder Blood Upholder", "Elder Blood Worshipper", "Elder Blood Follower", "Elder Blood Herald",
                "Blood Wraith", "Blood Disciple", "Strain "
            };

            _cachedResourcesByKeys.Add(KnownEwarPointTargetTags, knownEwarPointTargetTags);

            _randomWaitObject = new RandomWaitObject(ModuleName);
            _randomWaitObject.AddWait(new KeyValuePair <int, int>(30, 70), 5);
            _randomWaitObject.AddWait(new KeyValuePair <int, int>(5, 15), 10);
        }