Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Browsergames > DarkOrbit
You last visited: Today at 15:04

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

Advertisement



PBDO-bot task-part HELP please!

Discussion on PBDO-bot task-part HELP please! within the DarkOrbit forum part of the Browsergames category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2011
Posts: 270
Received Thanks: 94
Question PBDO-bot task-part HELP please!

Hi!

I've got a question... How can I implent to the PBDO task file the following:
  • if the hitpoints are lover than 50% than use special aegis ability
  • is shield is under 20% use special aegis ability
  • is enemy is nearby, use special cloak ability (spearhead)

Thank you for the answers, if someone helps me, i'll press thanks, not just say it!
andersen11 is offline  
Old 09/16/2012, 00:18   #2
 
elite*gold: 464
Join Date: Jul 2010
Posts: 524
Received Thanks: 171
Ask in pbdo forum
43MuS is offline  
Thanks
1 User
Old 09/16/2012, 00:23   #3


 
linksus's Avatar
 
elite*gold: 60
Join Date: Apr 2011
Posts: 7,890
Received Thanks: 3,062
Quote:
Originally Posted by 43MuS View Post
Ask in pbdo forum
You very funny. PBDO-Bot forum is down.......

Please download this and make you own task.
Sometime you can and must make it alone.....
linksus is offline  
Thanks
2 Users
Old 09/16/2012, 00:26   #4
 
elite*gold: 464
Join Date: Jul 2010
Posts: 524
Received Thanks: 171
Oh sorry^^
I not check it out
43MuS is offline  
Old 09/16/2012, 00:35   #5
 
elite*gold: 0
Join Date: Mar 2011
Posts: 270
Received Thanks: 94
Quote:
Originally Posted by linksus View Post
You very funny. PBDO-Bot forum is down.......

Please download this and make you own task.
Sometime you can and must make it alone.....
thank you so much the link, but I don't know how to set "if" and special abilities

Quote:
Originally Posted by 43MuS View Post
Oh sorry^^
I not check it out
np
andersen11 is offline  
Old 09/16/2012, 05:18   #6
 
tata26's Avatar
 
elite*gold: 735
The Black Market: 100/0/0
Join Date: Jan 2011
Posts: 3,601
Received Thanks: 1,044
Quote:
Originally Posted by andersen11 View Post
Hi!

I've got a question... How can I implent to the PBDO task file the following:
  • if the hitpoints are lover than 50% than use special aegis ability
  • is shield is under 20% use special aegis ability
  • is enemy is nearby, use special cloak ability (spearhead)

Thank you for the answers, if someone helps me, i'll press thanks, not just say it!
This is not possible at the moment.
Maybe they will add this function later
tata26 is offline  
Old 09/16/2012, 06:35   #7
 
elite*gold: 0
Join Date: Apr 2010
Posts: 813
Received Thanks: 245
Contact Your Resseller he help u on 100%
zCrossYuuki is offline  
Old 09/16/2012, 08:32   #8
 
Vossik's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 888
Received Thanks: 308
Quote:
Originally Posted by tata26 View Post
This is not possible at the moment.
Maybe they will add this function later
Its possible... Task are on forum but forum is down so ask reseller..
Vossik is offline  
Thanks
1 User
Old 09/16/2012, 11:23   #9
 
elite*gold: 0
Join Date: Mar 2011
Posts: 270
Received Thanks: 94
Thank you your answers, but I already know how to set the bot to use the ability, just don't know how to set the life/shield percent:

Quote:
void PBDOBot.Api.ActionsClass.UseAbility ( Enums.ShipAbility ability )
use a certain ability of our hero
possible abilities:
Enums.ShipAbility.Solace
Enums.ShipAbility.Diminisher
Enums.ShipAbility.Spectrum
Enums.ShipAbility.Venom
Enums.ShipAbility.Vengeance_Speed
Enums.ShipAbility.Aegis_Health_Repair
Enums.ShipAbility.Aegis_Shield_Repair
Enums.ShipAbility.Aegis_Health_Pod
Enums.ShipAbility.Citadel_Draw_Fire
Enums.ShipAbility.Citadel_Travel_Mode
Enums.ShipAbility.Citadel_Fortify
Enums.ShipAbility.Citadel_Protection
Enums.ShipAbility.Spearhead_Cloak
Enums.ShipAbility.Spearhead_Emp
Enums.ShipAbility.Spearhead_Mark_Target
Enums.ShipAbility.Spearhead_Double_Minimap
ability

UseAbility(Enums.ShipAbility.Spearhead_Emp);
I don't want to bother my reseller with things like this... so, any ideas?
andersen11 is offline  
Old 09/16/2012, 12:27   #10
 
elite*gold: 0
Join Date: Jan 2012
Posts: 835
Received Thanks: 166
using PBDOBot.Api;
using PBDOBot.Helper;

namespace PBDOBot.Api.Task
{
public class AegisHitpoints : ITaskScript
{
public AegisHitpoints() : base("AegisHitpoints", 1000, 10)
{
}
public override int Run()
{

if(Task.BMain.Actions.CanUseAbility(Enums.ShipAbil ity.Aegis_Health_Repair) == true && Task.BMain.Me.Hitpoints <= 170000)
{
Task.BMain.Actions.UseAbility(Enums.ShipAbility.Ae gis_Health_Repair);
Task.BMain.WriteLog("Using Health Repair");
}
return -1;
}

public override bool NeedRun()
{
return true;
}
}
}
mariuszdlu is offline  
Thanks
2 Users
Old 09/16/2012, 13:38   #11
 
elite*gold: 0
Join Date: Mar 2011
Posts: 270
Received Thanks: 94
Quote:
Originally Posted by mariuszdlu View Post
using PBDOBot.Api;
using PBDOBot.Helper;

namespace PBDOBot.Api.Task
{
public class AegisHitpoints : ITaskScript
{
public AegisHitpoints() : base("AegisHitpoints", 1000, 10)
{
}
public override int Run()
{

if(Task.BMain.Actions.CanUseAbility(Enums.ShipAbil ity.Aegis_Health_Repair) == true && Task.BMain.Me.Hitpoints <= 170000)
{
Task.BMain.Actions.UseAbility(Enums.ShipAbility.Ae gis_Health_Repair);
Task.BMain.WriteLog("Using Health Repair");
}
return -1;
}

public override bool NeedRun()
{
return true;
}
}
}
Hey, thank you soooo much, but I can't implent it to my task Cna you help me out with this?

my task:
Code:
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[] { 
            Enums.ResourceType.ore_prometid,
            Enums.ResourceType.ore_promerium,

             };
            this.ProtectResourcesList.AddRange(protectedCollection);

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

			//boostCollection.Add("Speed", Enums.ResourceType.ore_promerium);
			//boostCollection.Add("Shield", Enums.ResourceType.ore_seprom);
			boostCollection.Add("Lasers", Enums.ResourceType.ore_prometid);
			boostCollection.Add("Rockets", Enums.ResourceType.ore_promerium);

			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-7";

                AttackNpcs = true;
                BMain.WriteLog("We will attack aliens");
                AttackBossNpcs = true;
                BMain.WriteLog("We will attack boss aliens");
                HuntNpcsList.Add(BMain.Npc.Kristallin);
                HuntNpcsList.Add(BMain.Npc.Kristallon);
                HuntNpcsList.Add(BMain.Npc.BossKristallin);
                AttackTaggedNpcs = false;

                Repair = true;
                MinDurability = 50;
                BMain.WriteLog("We will repair if hitpoint are lower then 60%");
                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");
                DroneFormation = Enums.DroneFormation.Diamond;
                BMain.WriteLog("We will use drone formation Diamond");
                Sell = true;
                Refine = true;
                BMain.WriteLog("We will refine ressources");
                RefinePromerium = false;
                CollectBonusBoxes = true;
                BMain.WriteLog("We will collect bonusboxes");
                SafeBotting = false;
                ExtremeBotting = true;
                LaserAmmoType = Enums.LaserAmmoType.LCB_10;
                RocketAmmoType = Enums.RocketAmmoType.PLT_2026;
                RocketLauncherAmmoType = Enums.RocketLauncherAmmoType.ECO10;
                Restock = true;
                BMain.WriteLog("We will restock ammo");

                UsePet = true;
                PetMode = Enums.PetMode.Kamikaze_Detonator;
                BMain.WriteLog("We will use PET in Kamikaze_Detonator mode");
                PetMinDurability = 1;
                RepairPetWhenDead = true;

                ActionList.Add("PBDO-Bot Task");
            }
        }
    }
}
and thank you again for your time and help, have a good day!
andersen11 is offline  
Old 09/16/2012, 13:59   #12
 
lollo900's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 1,195
Received Thanks: 357
Try to make a taskscript with his code, not implement in your task...
lollo900 is offline  
Thanks
2 Users
Old 09/16/2012, 14:04   #13

 
elite*gold: 41
Join Date: Nov 2009
Posts: 1,528
Received Thanks: 2,066
Quote:
Originally Posted by andersen11 View Post
Hi!

I've got a question... How can I implent to the PBDO task file the following:
  • if the hitpoints are lover than 50% than use special aegis ability
  • is shield is under 20% use special aegis ability
  • is enemy is nearby, use special cloak ability (spearhead)

Thank you for the answers, if someone helps me, i'll press thanks, not just say it!
Just contact your reseller, as I am PBDOs reseller I would help my customers too.

Quote:
Originally Posted by tata26 View Post
This is not possible at the moment.
Maybe they will add this function later
What r u talking about, all of this stuff is 100% possible!
105 077 121 is offline  
Thanks
1 User
Old 09/16/2012, 14:37   #14
 
elite*gold: 0
Join Date: Jan 2012
Posts: 835
Received Thanks: 166
add the code that you gave to test and send the prv how the same test later :-)
mariuszdlu is offline  
Old 09/16/2012, 14:38   #15
 
elite*gold: 0
Join Date: Mar 2011
Posts: 270
Received Thanks: 94
Quote:
Originally Posted by iMysтeяY^ View Post
Just contact your reseller, as I am PBDOs reseller I would help my customers too.


What r u talking about, all of this stuff is 100% possible!
ok, thank you!
andersen11 is offline  
Reply


Similar Threads Similar Threads
Task PBDO-Bot
04/14/2013 - DarkOrbit - 6 Replies
Hello everyone, someone can create a task for PDBO-Bot? Here is the description of the task: Map: Portal Group (in the x-3) Must destroy all the aliens Ammunition: x1 Missiles: PLT-2026 Launch missiles: Eco-10 P.E.T: Activated in attack mode Whoever this task I will love him forever! xD
PBDO bot task
09/25/2012 - DarkOrbit - 3 Replies
PBDO have to task your bot GG b
Task PBDO
09/11/2012 - DarkOrbit - 4 Replies
Hi! Can anyone tell me where I can find a task to kill cubicon in PBDO I find none in x6.
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 +2. The time now is 15:04.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

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