What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[Botbase] PokehBuddy (Revised for WoD)

When a pet dies it isn't doing anything. The orig petbuddy format as a plugin works better I think, as you're able to grind / herb / mine at the same time...

Both seem subject to issues with constantly swapping between two pets, I wish I could figure out a way to solve that...
 
How can I make it so it doesn't just do nothing when a pet dies? It doesn't swap to my other 2 pets.
 
Hey guys!

Anyone else having the issue where it doesnt switch pets when theyre dieng or dead during combat?

I really want to use this to to lvl up my als quick but i cant afk it because of this
 
anyone got a way around this? 350-400k xp /hr nothing like it!
 
Last edited:
For some reason it dosent swap zones and battles pets too low of a level even with correct settings
 
Really need a fix for the bug that stops it from swapping pets after one dies.

When I replaced the code that was suggested earlier in the thread, it made it so PokehBuddy doesn't show up in the bot list anymore?
 
Really need a fix for the bug that stops it from swapping pets after one dies.

When I replaced the code that was suggested earlier in the thread, it made it so PokehBuddy doesn't show up in the bot list anymore?

same here, guess we missed something?

EDIT: got mine to work!
OPEN: PokehBuddy.cs
SEARCH: SelectNewAction

OLD:
Code:
        private Composite SelectNewAction()
        {
            return new Styx.TreeSharp.Action(
                ctx =>
                {
                    //myPets.updateMyPets();
                    //myPets.updateEnemyActivePet();
                    int slot1rating = 0;
                    int slot2rating = 0;
                    int slot3rating = 0;

                    if (CanSelect(1)) slot1rating = BattleRating(myPets[0].Level, myPets[0].Health, myPets[0].PetID.ToString(), myPets.EnemeyActivePet.PetType, myPets.EnemeyActivePet.Level);

                    if (CanSelect(2)) slot2rating = BattleRating(myPets[1].Level, myPets[1].Health, myPets[1].PetID.ToString(), myPets.EnemeyActivePet.PetType, myPets.EnemeyActivePet.Level);
                    if (CanSelect(3)) slot3rating = BattleRating(myPets[2].Level, myPets[2].Health, myPets[2].PetID.ToString(), myPets.EnemeyActivePet.PetType, myPets.EnemeyActivePet.Level);

                    if (!CanSelect(1)) slot1rating = slot1rating - 100000;
                    if (!CanSelect(2)) slot2rating = slot2rating - 100000;
                    if (!CanSelect(3)) slot3rating = slot3rating - 100000;
                    if (slot1rating < slot2rating || slot1rating < slot3rating)
                    {
                        //swap pet 
                        Log("Swapping pets");
                        if (slot2rating >= slot3rating) CombatCallPet(2);
                        if (slot2rating < slot3rating) CombatCallPet(3);
                        //Thread.Sleep(1000);

                    }
                    else
                    {
                        CombatCallPet(1);
                    }
                    return RunStatus.Success;
                });
        }

NEW:
Code:
     private Composite SelectNewAction()
        {
            return new Styx.TreeSharp.Action(
                ctx =>
                {
		    if( CanSelect(3) ) CombatCallPet(3);
		    else if( CanSelect(2) ) CombatCallPet(2);
                    else CombatCallPet(1);
                    
                    return RunStatus.Success;
                });
         }



SEARCH: WantSwapping()

OLD:
Code:
        public void WantSwapping()
        {
            int slot1rating = 0;
            int slot2rating = 0;
            int slot3rating = 0;
            //myPets.updateMyPets();
            //myPets.updateEnemyActivePet();
            slot1rating = BattleRating(myPets[0].Level, myPets[0].Health, myPets[0].PetID.ToString(), myPets.EnemeyActivePet.PetType, myPets.EnemeyActivePet.Level);

            slot2rating = BattleRating(myPets[1].Level, myPets[1].Health, myPets[1].PetID.ToString(), myPets.EnemeyActivePet.PetType, myPets.EnemeyActivePet.Level);
            slot3rating = BattleRating(myPets[2].Level, myPets[2].Health, myPets[2].PetID.ToString(), myPets.EnemeyActivePet.PetType, myPets.EnemeyActivePet.Level);
            if (!CanSelect(1)) slot1rating = slot1rating - 100000;
            if (!CanSelect(2)) slot2rating = slot2rating - 100000;
            if (!CanSelect(3)) slot3rating = slot3rating - 100000;

            if (slot1rating < slot2rating || slot1rating < slot3rating)
            {
                //swap pet 
                Log("Swapping Pets");
                if (slot2rating >= slot3rating) CombatCallPet(2);
                if (slot2rating < slot3rating) CombatCallPet(3);
                //Thread.Sleep(1000);

            }
            else
            {
                CombatCallPet(1);
            }
        }

NEW:
Code:
        public void WantSwapping()
        {
            int slot1rating = 0;
            int slot2rating = 0;
            int slot3rating = 0;
            //myPets.updateMyPets();
            //myPets.updateEnemyActivePet();
            slot1rating = BattleRating(myPets[0].Level, myPets[0].Health, myPets[0].PetID.ToString(), myPets.EnemeyActivePet.PetType, myPets.EnemeyActivePet.Level);

            slot2rating = BattleRating(myPets[1].Level, myPets[1].Health, myPets[1].PetID.ToString(), myPets.EnemeyActivePet.PetType, myPets.EnemeyActivePet.Level);
            slot3rating = BattleRating(myPets[2].Level, myPets[2].Health, myPets[2].PetID.ToString(), myPets.EnemeyActivePet.PetType, myPets.EnemeyActivePet.Level);
            if (!CanSelect(1)) slot1rating = slot1rating - 100000;
            if (!CanSelect(2)) slot2rating = slot2rating - 100000;
            if (!CanSelect(3)) slot3rating = slot3rating - 100000;

            if (slot1rating < slot2rating || slot1rating < slot3rating)
            {
                //swap pet 
                Log("Swapping Pets");
                if (slot2rating >= slot3rating && myPets[1].Health > 30 ) CombatCallPet(2);
                if (slot2rating < slot3rating) CombatCallPet(3);
                //Thread.Sleep(1000);

            }
            else
            {
		if( CanSelect(3) ) CombatCallPet(3);
		if( CanSelect(2) ) CombatCallPet(2);
                CombatCallPet(1);
            }
        }

Download the plugin BattlePetSwapper and put it to ringerx2 and done.
 
Last edited:
Quick question
Never used the original pokehbuddy as it seemed too much of a pain in the ass to set up (im a botter, im lazy)

Is this one more user friendly when it comes to pet spells etc?
Just set up and go? or a lot of configuration?
 
Havent tried any of the features im just using it to level up my characters quickly but yeah the basics work out of the box after applying to changes above
 
could you plz upload that Pokehbuddy.cs file fixed for dead pet swapping ?
im clueless when it comes to opening files and editing
thnks!
 
Silly question that I haven't found an answer to. Which profile do I choose to run after I have selected the Pokehbuddy Bot?
 
same here, guess we missed something?

EDIT: got mine to work!
OPEN: PokehBuddy.cs
SEARCH: SelectNewAction


SNIP!

Download the plugin BattlePetSwapper and put it to ringerx2 and done.

I have tried that - the slot0 pet will not swap out for me unless its killed their slot0 pet.

I have tried many Default Logic.xml's with no difference.
What release you running?
 
Back
Top