• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Botbase] PokehBuddy (Revised for WoD)

    Discussion in 'Archives' started by hackersrage, Nov 6, 2014.

    1. Prostak

      Prostak Member

      Joined:
      Mar 17, 2013
      Messages:
      249
      Likes Received:
      16
      Trophy Points:
      18
    2. Lipstick

      Lipstick Member

      Joined:
      Feb 1, 2014
      Messages:
      501
      Likes Received:
      3
      Trophy Points:
      18
      Someone should make a guide on how to set this up properly :p
       
    3. hackersrage

      hackersrage Member Buddy Store Developer

      Joined:
      Nov 18, 2012
      Messages:
      342
      Likes Received:
      15
      Trophy Points:
      18
      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.
       
    4. lckwjl

      lckwjl New Member

      Joined:
      Jun 4, 2012
      Messages:
      674
      Likes Received:
      2
      Trophy Points:
      0
      When I click add rule it does nothing
       
    5. fantasydreaming

      fantasydreaming Member

      Joined:
      Feb 2, 2013
      Messages:
      129
      Likes Received:
      0
      Trophy Points:
      16
    6. fantasydreaming

      fantasydreaming Member

      Joined:
      Feb 2, 2013
      Messages:
      129
      Likes Received:
      0
      Trophy Points:
      16
      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...
       
    7. harrow90

      harrow90 New Member

      Joined:
      Mar 10, 2014
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      0
      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.
       
    8. Hobo

      Hobo Member

      Joined:
      Nov 10, 2012
      Messages:
      393
      Likes Received:
      1
      Trophy Points:
      18
      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
       
    9. zennn

      zennn Member

      Joined:
      Aug 12, 2012
      Messages:
      33
      Likes Received:
      0
      Trophy Points:
      6
      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
       
    10. zennn

      zennn Member

      Joined:
      Aug 12, 2012
      Messages:
      33
      Likes Received:
      0
      Trophy Points:
      6
      anyone got a way around this? 350-400k xp /hr nothing like it!
       
      Last edited: Nov 17, 2014
    11. shinavaka

      shinavaka Member

      Joined:
      Jan 16, 2011
      Messages:
      388
      Likes Received:
      3
      Trophy Points:
      18
      For some reason it dosent swap zones and battles pets too low of a level even with correct settings
       
    12. harrow90

      harrow90 New Member

      Joined:
      Mar 10, 2014
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      0
      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?
       
    13. zennn

      zennn Member

      Joined:
      Aug 12, 2012
      Messages:
      33
      Likes Received:
      0
      Trophy Points:
      6
      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: Nov 18, 2014
    14. RhysG

      RhysG Member

      Joined:
      May 16, 2010
      Messages:
      246
      Likes Received:
      4
      Trophy Points:
      18
      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?
       
    15. zennn

      zennn Member

      Joined:
      Aug 12, 2012
      Messages:
      33
      Likes Received:
      0
      Trophy Points:
      6
      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
       
    16. phatmanny

      phatmanny New Member

      Joined:
      Jun 18, 2013
      Messages:
      26
      Likes Received:
      0
      Trophy Points:
      0
      could you plz upload that Pokehbuddy.cs file fixed for dead pet swapping ?
      im clueless when it comes to opening files and editing
      thnks!
       
    17. zennn

      zennn Member

      Joined:
      Aug 12, 2012
      Messages:
      33
      Likes Received:
      0
      Trophy Points:
      6
      Wont be home from work for another 10 hours im affraid
       
    18. oswinoswald

      oswinoswald New Member

      Joined:
      Mar 18, 2014
      Messages:
      45
      Likes Received:
      0
      Trophy Points:
      0
    19. grumpyhaus

      grumpyhaus Member

      Joined:
      Dec 2, 2012
      Messages:
      193
      Likes Received:
      5
      Trophy Points:
      18
      Silly question that I haven't found an answer to. Which profile do I choose to run after I have selected the Pokehbuddy Bot?
       
    20. ZenMate

      ZenMate New Member

      Joined:
      Nov 7, 2012
      Messages:
      54
      Likes Received:
      2
      Trophy Points:
      0
      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?
       

    Share This Page