I've made a short fix for Ringerx2 mode, described in the original Botbase thread: https://www.thebuddyforum.com/honor...onversion-plugin-post1714891.html#post1714891. I am using the code published in that thread, but I guess the place mentioned is the same in both.
For basic operation, should work out of box. The option is there to create combat rules which should help with any specific logic you need.
Thanks for tackling this! I've noticed pet battles give ~10k xp, so this might be a very good way to level.. The other swapping plugin was "BattlePetSwapper" https://www.thebuddyforum.com/honor...e-pet-swapper.html?highlight=BattlePetSwapper I doubt it works with the HB/wow changes, but will give it a shot.
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...
hey for those of u looking for a swapper, use this, go this post and go to last page there is a updated zip. working great for me thanks
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
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.
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!
fixed cs file Fixed CS File Goes in Honorbuddy\Bots\PokehBuddy\PokeBuddy.cs View attachment PokehBuddy.cs
Silly question that I haven't found an answer to. Which profile do I choose to run after I have selected the Pokehbuddy Bot?
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?