Ich weiß nicht was da los ist,ich botte grad auf der 4-1 ,aber mein bot sammelt keine bonusboxen ,und die werden auch garnicht auf der map angezeigt.
Mein Pet sammelt aber fleißig nur eben mein schiff nicht`???
Task
using System.Threading;
using System.Collections.Generic;
using PBDOBot.Helper;
using PBDOBot.Api;
using PBDOBot.Api.Task;
namespace Tasks
{
public class Task : BBaseTask
{
/* ************************************************** **
Created with Taskcreator by Dr. Moc
************************************************** ** */
public override void OnReset()
{
Enums.ResourceType[] protectedCollection = new Enums.ResourceType[] {
};
this.ProtectResourcesList.AddRange(protectedCollec tion);
Dictionary<string, Enums.ResourceType> boostCollection = new Dictionary<string, Enums.ResourceType>();
//boostCollection.Add("Speed", Enums.ResourceType.ore_);
//boostCollection.Add("Shield", Enums.ResourceType.ore_);
//boostCollection.Add("Lasers", Enums.ResourceType.ore_);
//boostCollection.Add("Rockets", Enums.ResourceType.ore_);
this.BoostDictionary = boostCollection;
}
public override void ChooseLogic()
{
if (!ActionList.Contains("PBDO-Bot Task"))
{
BMain.WriteLog("Task created with Taskcreator by Dr. Moc");
Reset();
TaskMap = "4-1";
Repair = true;
MinDurability = 89;
BMain.WriteLog("We will repair if hitpoint are lower then 89%");
StandardConfiguration = 1;
FleeOnEnemyInRadius = true;
BMain.WriteLog("We will flee from enemies");
FleeOnAttacked = true;
BMain.WriteLog("We will flee if we get attacked");
SwitchConfigWhileFleeing = true;
BMain.WriteLog("We will switch confi while fleeing");
SwitchConfigWhenShieldLow = true;
BuyInvisibleAddon = true;
BMain.WriteLog("We will bot invisible");
DroneFormation = Enums.DroneFormation.Turtle;
BMain.WriteLog("We will use drone formation Turtle");
CollectBonusBoxes = true;
BMain.WriteLog("We will collect bonusboxes");
SafeBotting = false;
ExtremeBotting = true;
CollectBonusBoxes = true;
LaserAmmoType = Enums.LaserAmmoType.LCB_10;
RocketAmmoType = Enums.RocketAmmoType.PLT_2026;
RocketLauncherAmmoType = Enums.RocketLauncherAmmoType.ECO10;
UsePet = true;
PetMode = Enums.PetMode.Auto_Looter;
BMain.WriteLog("We will use PET in Auto_Looter mode");
PetMinDurability = 10;
RestockPetFuel = true;
RepairPetWhenDead = true;
ActionList.Add("PBDO-Bot Task");
}
}
}
}
using System.Collections.Generic;
using PBDOBot.Helper;
using PBDOBot.Api;
using PBDOBot.Api.Task;
namespace Tasks
{
public class Task : BBaseTask
{
/* ************************************************** **
Created with Taskcreator by Dr. Moc
************************************************** ** */
public override void OnReset()
{
Enums.ResourceType[] protectedCollection = new Enums.ResourceType[] {
};
this.ProtectResourcesList.AddRange(protectedCollec tion);
Dictionary<string, Enums.ResourceType> boostCollection = new Dictionary<string, Enums.ResourceType>();
//boostCollection.Add("Speed", Enums.ResourceType.ore_);
//boostCollection.Add("Shield", Enums.ResourceType.ore_);
//boostCollection.Add("Lasers", Enums.ResourceType.ore_);
//boostCollection.Add("Rockets", Enums.ResourceType.ore_);
this.BoostDictionary = boostCollection;
}
public override void ChooseLogic()
{
if (!ActionList.Contains("PBDO-Bot Task"))
{
BMain.WriteLog("Task created with Taskcreator by Dr. Moc");
Reset();
TaskMap = "4-1";
Repair = true;
MinDurability = 89;
BMain.WriteLog("We will repair if hitpoint are lower then 89%");
StandardConfiguration = 1;
FleeOnEnemyInRadius = true;
BMain.WriteLog("We will flee from enemies");
FleeOnAttacked = true;
BMain.WriteLog("We will flee if we get attacked");
SwitchConfigWhileFleeing = true;
BMain.WriteLog("We will switch confi while fleeing");
SwitchConfigWhenShieldLow = true;
BuyInvisibleAddon = true;
BMain.WriteLog("We will bot invisible");
DroneFormation = Enums.DroneFormation.Turtle;
BMain.WriteLog("We will use drone formation Turtle");
CollectBonusBoxes = true;
BMain.WriteLog("We will collect bonusboxes");
SafeBotting = false;
ExtremeBotting = true;
CollectBonusBoxes = true;
LaserAmmoType = Enums.LaserAmmoType.LCB_10;
RocketAmmoType = Enums.RocketAmmoType.PLT_2026;
RocketLauncherAmmoType = Enums.RocketLauncherAmmoType.ECO10;
UsePet = true;
PetMode = Enums.PetMode.Auto_Looter;
BMain.WriteLog("We will use PET in Auto_Looter mode");
PetMinDurability = 10;
RestockPetFuel = true;
RepairPetWhenDead = true;
ActionList.Add("PBDO-Bot Task");
}
}
}
}






