Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames > DarkOrbit
You last visited: Today at 20:56

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



PBDO Need Task Help :S

Discussion on PBDO Need Task Help :S within the DarkOrbit forum part of the Browsergames category.

Reply
 
Old   #1


 
Requi's Avatar
 
elite*gold: 3570
The Black Market: 244/0/0
Join Date: Dec 2012
Posts: 13,044
Received Thanks: 8,252
PBDO Need Task Help :S

Hey Guys,

I need help for a Task. Because on int2 is PvP so easy and I don't want be shoot down at botting I made in the Taskcreator, Shootback = True.

But how I can switch the Ammo there?

If a Enemy shoot on me, it should switch on x4 and shoot him down.

But how?

My Task atm:

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()
        {
		TaskScript = new TaskScript(
		delegate()
		{

			if (BMain.Me.SelectedShip != null && BMain.Me.SelectedShip.Name == BMain.Npc.Streuner | BMain.Me.SelectedShip.Name == BMain.Npc.Lordakia | BMain.Me.SelectedShip.Name == BMain.Npc.BossLordakia | BMain.Me.SelectedShip.Name == BMain.Npc.BossStreuner)
			{
                                    if (BMain.Me.SelectedShip.Shield > 0) {LaserAmmoType = Enums.LaserAmmoType.LCB_10;} else {LaserAmmoType = Enums.LaserAmmoType.LCB_10;}
                                    MinDurability = 50;
                                    StandardConfiguration = 1;
                                    UsePet = false;
			}
			else
			{
                                    MinDurability = 20;
                                    StandardConfiguration = 1;
                                    UsePet = false;

			}
			return -1;
		},
		delegate()
				{
			return true;
		},
		1000);

            Enums.ResourceType[] protectedCollection = new Enums.ResourceType[] { 

             };
            this.ProtectResourcesList.AddRange(protectedCollection);

			Dictionary<string, Enums.ResourceType> boostCollection = new Dictionary<string, Enums.ResourceType>();

			this.BoostDictionary = boostCollection;
        }

        public override void ChooseLogic()
        {
           if (!ActionList.Contains("PBDO-Bot Task"))
            {
                BMain.WriteLog("Task created with Taskcreator by Dr. Moc");
                Reset();


                TaskMap = "x-2";
                HuntNpcsList.Add(BMain.Npc.Streuner);
                HuntNpcsList.Add(BMain.Npc.Lordakia);
                HuntNpcsList.Add(BMain.Npc.BossLordakia);
                HuntNpcsList.Add(BMain.Npc.BossStreuner);

                AttackNpcs = true;
                BMain.WriteLog("We will attack NPCs");
                AttackTaggedNpcs = true;
                AttackBossNpcs = true;
                BMain.WriteLog("We will attack boss NPCs");
                AnswerAttacks = true;
                AttackPlayersShipsList.Add(Enums.ShipType.Phoenix);
                AttackPlayersShipsList.Add(Enums.ShipType.Yamato);
                AttackPlayersShipsList.Add(Enums.ShipType.Goliath_Veteran);
                AttackPlayersShipsList.Add(Enums.ShipType.Goliath_Bastion);
                AttackPlayersShipsList.Add(Enums.ShipType.Goliath_Exalted);
                AttackPlayersShipsList.Add(Enums.ShipType.Goliath_Venom);
                AttackPlayersShipsList.Add(Enums.ShipType.Goliath_Sentinel);
                AttackPlayersShipsList.Add(Enums.ShipType.Goliath_Dimisher);
                AttackPlayersShipsList.Add(Enums.ShipType.Aegis);
                AttackPlayersShipsList.Add(Enums.ShipType.Spearhead);
                AttackPlayersShipsList.Add(Enums.ShipType.Citadel);
                AttackPlayersShipsList.Add(Enums.ShipType.Goliath_Spectrum);
                AttackPlayersShipsList.Add(Enums.ShipType.Goliath_Solace);
                AttackPlayersShipsList.Add(Enums.ShipType.Goliath);
                AttackPlayersShipsList.Add(Enums.ShipType.Goliath_Enforcer);
                AttackPlayersShipsList.Add(Enums.ShipType.Leonov);
                AttackPlayersShipsList.Add(Enums.ShipType.Bigboy);
                AttackPlayersShipsList.Add(Enums.ShipType.Defcom);
                AttackPlayersShipsList.Add(Enums.ShipType.Leonov_Home);
                AttackPlayersShipsList.Add(Enums.ShipType.Liberator);
                AttackPlayersShipsList.Add(Enums.ShipType.Nostromo);
                AttackPlayersShipsList.Add(Enums.ShipType.Piranha);
                AttackPlayersShipsList.Add(Enums.ShipType.Vengeance);
                AttackPlayersShipsList.Add(Enums.ShipType.Vengeance_Lightning);
                AttackPlayersShipsList.Add(Enums.ShipType.Vengeance_Avenger);
                AttackPlayersShipsList.Add(Enums.ShipType.Vengeance_Revenge);
                AttackPlayersShipsList.Add(Enums.ShipType.Vengeance_Adept);

                Repair = true;
                MinDurability = 20;
                BMain.WriteLog("We will repair if hitpoint are lower then 20%");
                StandardConfiguration = 1;
                CollectBonusBoxes = true;
                BMain.WriteLog("We will collect bonusboxes");
                SafeBotting = true;
                TimeBetweenBoxes = 4;
                LaserAmmoType = Enums.LaserAmmoType.LCB_10;
                RocketAmmoType = Enums.RocketAmmoType.PLT_2026;
                RocketLauncherAmmoType = Enums.RocketLauncherAmmoType.ECO10;

                ActionList.Add("PBDO-Bot Task");
            }
        }
    }
}

Regards,
ya Pony
Requi is offline  
Old 02/24/2013, 19:23   #2
 
elite*gold: 0
Join Date: Jan 2013
Posts: 237
Received Thanks: 112
»[●!đełтα●føя¢e!™●]« is offline  
Old 02/24/2013, 19:51   #3
Moderator




 
Scytex's Avatar
 
elite*gold: 156
Join Date: Feb 2011
Posts: 3,352
Received Thanks: 1,901
Code:
if (BMain.Me.AttackedByPlayer)
                {
                    if (BMain.Me.GetAmmoCount(Enums.LaserAmmoType.RSB_75) >= 1000 && BMain.Me.GetAmmoCount(Enums.LaserAmmoType.UCB_100) >= 1000)
                    {
                        if (LaserAmmoType != Enums.LaserAmmoType.RSB_75)
                        {
                            BMain.Me.SetLaserAmmo(Enums.LaserAmmoType.RSB_75);
                            return 500;
                        }

                        if (LaserAmmoType != Enums.LaserAmmoType.UCB_100)
                        {
                            BMain.Me.SetLaserAmmo(Enums.LaserAmmoType.UCB_100);
                            return 3000;
                        }
                    }
 }
Code von Sshanesilberfalke ausm PBDO Forum
Scytex is offline  
Thanks
1 User
Old 02/24/2013, 19:59   #4
 
Peshо's Avatar
 
elite*gold: 0
The Black Market: 387/2/0
Join Date: Sep 2012
Posts: 8,002
Received Thanks: 3,863
Just put

AnswerAttacks = true;
Peshо is offline  
Reply


Similar Threads Similar Threads
PBDO-Bot task
01/01/2013 - DarkOrbit - 0 Replies
#closerequest I solved it
PBDO TASK
12/18/2012 - DarkOrbit - 2 Replies
task to collect the 4-1
PBDO-Bot Task
09/25/2012 - DarkOrbit - 4 Replies
Hello :p I would like to do a task who buy ECO-10? Could someone explain? There is a taskscript auto-eco buy but it will not work... :(
I need Task for PBDO
08/14/2012 - DarkOrbit - 5 Replies
I need task for pbdo bot, 4-1 collect boxes, with pet auto loot , I can't do it myself bcs there's an error. help :)
pbdo task
08/12/2012 - DarkOrbit - 6 Replies
can you pls give me the direct link for some tasks for pbdo ( on their forum maby ) i know about the task creator . i cant find any task , thx .



All times are GMT +1. The time now is 20:57.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.