PBDO Cubikons

08/04/2012 19:20 wassenmetfebreze#1
Hi everyone,

Today i was thinking about a video i have seen before, PBDO is killing cubikons...

Now, i deceided to go to the pbdo forum and search for the task... I found it but it is just hanging on the gate...

This is the WHOLE task, copied and pasted from Visual studio to elitepvpers :D
Code:
using System.Threading;
using System.Collections.Generic;
using PBDOBot.Helper;
using PBDOBot.Api;
using PBDOBot.Api.Task;

namespace Tasks
{
    public class Task : BBaseTask
    {

        public override void OnReset()
        {
            //warning: with this you get very much uridium, experience/honor and rankpoints but you risk a ban/captcha so use it max 1 hour a day
//attention: very high requests on your ship (fe, x3 and sab), pls try to kill a cubikon first by yourself
//you need a pet lvl 8+ with kamikaze gear lvl 3, except you're strong enough
//make sure your pet has low hitpoints, to be able to activate the kamikaze gear
//make 2 shield/damage configs, speedgenerators are absolutely useless
//note: if you have a damage config and a shield config, choose your damage config as standard config!
//note: you can also use this task to kill only the protegits if you have the kamikaze gear but a weak ship
//note: you need premium to repair the pet for free
//important: it's even more difficult to kill a cube with the kamikaze gear cooldown.


//settings you need in your task (OnReset):
	//boost rockets and shield with seprom and eventually lasers with seprom/promerium/prometid or boost by yourself


//settings you need in your task (ChooseLogic):
	StandardConfiguration = 1; //use your damage config if you have 2 different configs
    AttackNpcs = true;
    AttackBossNpcs = false;
    AttackTaggedNpcs = true;
    MinFightDistance = 150;
    MaxFightDistance = 600;
    HuntNpcsList.AddRange(new string[] { "-=[ Cubikon ]=-" });
    AvoidNpcsList.AddRange(new string[] { }); 
	TaskMap	= "1-6";
	SwitchConfigWhenShieldLow = true; //we need both configs for the cubikons
	SwitchConfigShieldPercent = 1; 
	PetMode = Enums.PetMode.Guard_Mode; //maybe guard mode if your pet is very strong
	RestockPetFuel = true;
	RepairPetWhenDead = true;
	PetMinDurability = 0; //to be absolutely sure to not trigger the repgear just remove it
	Repair = true;
	LaserAmmoType = Enums.LaserAmmoType.MCB_50; //depends on your ship's strength, if you want to change it you have to change it also below
	RocketAmmoType = Enums.RocketAmmoType.PLT_2026; //you can also use 2026 or 3030
	UseRocketLauncher = true;
	RocketLauncherAmmoType = Enums.RocketLauncherAmmoType.ECO10; //you can also use HSTRM01 or UBR100 if you have
	MaxDurability = 100;
	CollectBonusBoxes = false; //maybe true but you will find less cubikons then


TaskScript = new TaskScript(
	delegate()
	{
		if (BMain.Me.SelectedShip != null && BMain.Me.SelectedShip.Name == BMain.Npc.Cubikon)
		{
			if (BMain.Actions.CanUseInstaShield && BMain.Me.Shield <= 0.9 * BMain.Me.MaxShield && BMain.Actions.GetInstaShieldAmount() > 10 ) {BMain.Actions.UseInstaShield();}
			if (BMain.Me.SelectedShip.Shield > 0) {BMain.Me.SetLaserAmmo(Enums.LaserAmmoType.SAB);} else {BMain.Me.SetLaserAmmo(Enums.LaserAmmoType.MCB_50);}
			MinDurability = 35; //saves your life
			if (BMain.Actions.CanUseTech(Enums.TechType.RocketPrecision) && BMain.Actions.GetTechAmount(Enums.TechType.RocketPrecision) > 10) {BMain.Actions.UseTech(Enums.TechType.RocketPrecision);}
			UsePet = false;
			if (BMain.Pet.CanUsePetMode(Enums.PetMode.Kamikaze_Detonator)) {PetMode = Enums.PetMode.Kamikaze_Detonator;} else {PetMode = Enums.PetMode.Guard_Mode;}
		}
		else
		{
			MinDurability = 98; //makes sure you're healed before attacking the next cubikon
			UsePet = false; //saves fuel
			//PetMode = Enums.PetMode.Auto_Looter;		/* replace 'false' by 'true' in the line above and remove '//' at the beginning of this line if you want your pet to gather instead of to deactivate */
		}
		return -1;
	},
	delegate()
	{
		return true;
	},
	1000); //checked every second
            } 
        }
}
Can someone say what i am doing wrong please?

This is the task script download link: [Only registered and activated users can see links. Click Here To Register...]

Thanks
08/04/2012 19:29 Elsastylez#2
Hast du den hier?
[Only registered and activated users can see links. Click Here To Register...]
08/04/2012 19:48 wassenmetfebreze#3
Quote:
Originally Posted by Elsastylez View Post
Hast du den hier?
[Only registered and activated users can see links. Click Here To Register...]
Yes, this one i tested before, then i got syntax errors...
I changed a few things but it still wont move :(

/push Can someone say me please?

#PUSH
08/05/2012 23:05 Elsastylez#4
Post it in the PBdo Forum.