• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Plugin] Battle Pet Collector

    Discussion in 'Uncataloged' started by Andy West, Dec 21, 2012.

    1. Andy West

      Andy West New Member

      Joined:
      Dec 8, 2012
      Messages:
      35
      Likes Received:
      4
      Trophy Points:
      0
      Plugin Title: Battle Pet Collector

      What does it do?
      It will collect the pets on the continent/area you are on. It will move from zone to zone collecting the pets in that zone (it changes the gatherbuddy profile to do this). Once it has caught all the pets you will need to start it again on a different continent, e.g. it won't jump from Kalimdor to Azeroth.

      This completes various elements of the collecting achievements (Safari / Tamer / More Leashes).

      For the following continents use gather buddy 2:
      • Kalimdor - Except 'Azuremyst Isle' & 'Bloodmyst Isle'.
      • Azeroth - Except 'Ghostlands' & 'Eversong Woods'
      • Outland
      • Northrend
      • Pandaria
      • Deepholm
      For the following areas use grind bot:
      • 'Azuremyst Isle' & 'Bloodmyst Isle'.
      • 'Ghostlands' & 'Eversong Woods'
      What it doesn't do?
      It will not start or execute the pet battle. Use another plugin for that such as PokehBuddy http://www.thebuddyforum.com/honorbuddy-forum/plugins/uncataloged/81355-plugin-pok-buddy-gotto-kill-em-all.html. Note: set it up to capture pets (common level is what I use). When travelling to a new zone pokehbuddy will still engage pets on the way, so it will get there, but it may take a few mins.

      It won't collect all of the pets only the low hanging fruit i.e. it won't stay in a zone to try and catch the weather dependent ones.

      Because low level pets can be one shotted by your higher level pets you can use my other plugin http://www.thebuddyforum.com/honorbuddy-forum/plugins/uncataloged/96169-plugin-battle-pet-swapper.html#post947726 to use appropriate level pets, set the mode to 'Capture'.

      Installation
      Download it using an SVN client from: SVN or Zip and put it in your plugins folder.
      Ensure the folder is named 'BattlePetCollector'.
      Install a pet battler plugin e.g. Pokehbuddy to do the fighting and capturing.
      Run it with gatherbuddy in zones which you can fly in, and grindbot where you can't.

      Settings
      Blacklist owned pets - this will blacklist any pets it sees on the map which are already owned. This only realy works if there are lots of pets tightly packed in an area.
      Forfeit - A couple of options to forfeit a battle if there are no blues or if you don't need any of the pets.
      Maximum zone minutes - will move on to the next zone if a new pet hasn't been caught for a while. Once all zones have been visited it will loop back around again.

      Data
      It uses a configuration file called 'Continents.xml' which it reads from the plugin's folder and this folder must be named 'BattlePetCollector'.
      This xml file list the pets by zone and the profiles used to find them. The profiles are stored in a profiles folder and have been cobbled together from
      all other the place, so thanks to those who wrote them.


      Feedback
      Always welcome!
       
      Last edited: Jan 19, 2013
      Crowley, Verum and lordimac like this.
    2. KsuCoolCat

      KsuCoolCat Member

      Joined:
      Jan 16, 2012
      Messages:
      99
      Likes Received:
      2
      Trophy Points:
      8
      In the case of a pet being found in multiple zones, does this capture it from the highest level zone it can be found in?
       
    3. Andy West

      Andy West New Member

      Joined:
      Dec 8, 2012
      Messages:
      35
      Likes Received:
      4
      Trophy Points:
      0
      No it doesn't, if you want the highest level pets then, you could run the continents in the order of latest expansion first. i.e. Pandaria, Northrend, Outland, then Azeroth and Eastern Kingdoms (Twilight and Hyjal first).

      Also you have the option of reordering the zones in the xml file Plugins\BattlePetCollector\Continents.xml by editing it, so that the higher ones are done first for Azeroth and Eastern Kingdoms, or just start it in Twilight/Hyjal and it will do those zones first.

      But it is complicated for example 'Scopid' appears in lots of zones: Outland (17-21), Azeroth (15-24), Kalimdor(13-14) with Twilight having the highest, so I think it all depends upon what your goal is as to how far you want to go, mine was to collect them all, not necessarily to use them all for battling.

      Scorpids found in:
      • Hellfire Peninsula(Outland)
      • Shadowmoon Valley(Outland)
      • Blade's Edge Mountains(Outland)
      • Shadowmoon Valley(Outland)
      • Thousand Needles(Kalimdor)
      • Twilight Highlands(Azeroth)
      • Burning Steppes(Azeroth
      • Blasted Lands(Azeroth)
       
    4. lordimac

      lordimac New Member

      Joined:
      Mar 4, 2011
      Messages:
      123
      Likes Received:
      0
      Trophy Points:
      0
      This is a great Addon! Thank you for this.
       
    5. Verum

      Verum New Member

      Joined:
      Oct 23, 2011
      Messages:
      172
      Likes Received:
      0
      Trophy Points:
      0
      Testing. Will rep!
       
    6. Verum

      Verum New Member

      Joined:
      Oct 23, 2011
      Messages:
      172
      Likes Received:
      0
      Trophy Points:
      0
      So far really great! Exactly what I needed,

      the only problem is the pets that do not spawn very often.

      For example, in ICECROWN, there are these undead dragons that spawn every 24 hours and only some cockroaches around
      so basically the bot is gonna go to icecrown and if you already have a rare cockroach in your collection it is going to spend 40min just flying around there

      Same goes for Southern barrens and that Giraffe Calf and Cheetah Cub, they spawn once a year literally xD

      I think I list of those pets should be put on some special list and if found it should be captured even if poor quality.

      :) Thats my 2p
       
    7. lordimac

      lordimac New Member

      Joined:
      Mar 4, 2011
      Messages:
      123
      Likes Received:
      0
      Trophy Points:
      0
      I removed Horned Lizard from Badland Mobs. Looks like you can't find it there.
       
    8. Andy West

      Andy West New Member

      Joined:
      Dec 8, 2012
      Messages:
      35
      Likes Received:
      4
      Trophy Points:
      0
      Cool, updated the xml file.
       
    9. lordimac

      lordimac New Member

      Joined:
      Mar 4, 2011
      Messages:
      123
      Likes Received:
      0
      Trophy Points:
      0
      Removed Crystal Spider from Dun Morogh.

      edit:

      Also removed Infected Fawn from Silverpine Forrest cause the Population of this is much more in Eastern Plaguelands.
       
      Last edited: Dec 27, 2012
    10. Romao

      Romao New Member

      Joined:
      Nov 19, 2012
      Messages:
      82
      Likes Received:
      0
      Trophy Points:
      0
      Hello. Want to try this, but it wont show on HB. Dunno what i'm doing wrong.
       
    11. lordimac

      lordimac New Member

      Joined:
      Mar 4, 2011
      Messages:
      123
      Likes Received:
      0
      Trophy Points:
      0
    12. lordimac

      lordimac New Member

      Joined:
      Mar 4, 2011
      Messages:
      123
      Likes Received:
      0
      Trophy Points:
      0
      One more Thing, it tries to catch Pets which are inside Buildings and Caves. Is this a Plugin Issue (PetBattleCollector and/or Pokehbuddy) or Gatherbuddy related?
       
      Last edited: Dec 27, 2012
    13. Sumi

      Sumi New Member

      Joined:
      Mar 23, 2012
      Messages:
      25
      Likes Received:
      0
      Trophy Points:
      1
      Thanks for your super plugin!

      I use a German WoW Client. Your plugin detects the pet name "Continents.xml" not because they are in English. Could your plugin please read the PetID?

      e.g.

      Code:
      <Zone [COLOR="#FF0000"]id='10'[/COLOR] profile='\BattlePetCollector\profiles\[GB2] [5-8] Pet Training Duskwood.xml'>
            <Pet [COLOR="#FF0000"]id='61257'[/COLOR]/> <!--'Black Rat'-->
            <Pet [COLOR="#FF0000"]id='62664'[/COLOR]/> <!--'Chicken'-->
      </Zone>
      
      Thx
       
    14. PiroxTester

      PiroxTester New Member

      Joined:
      Apr 27, 2012
      Messages:
      12
      Likes Received:
      0
      Trophy Points:
      0
      36:17.105 V] Blacklisting F530EFB601331070 for 00:01:00 [Type: All]
      [09:36:20.412 V] Blacklisting F530F1C2015CA3DA for 00:01:00 [Type: All]
      [09:36:20.682 V] Blacklisting F530F1C201618A09 for 00:01:00 [Type: All]
      [09:36:21.992 V] Blacklisting F130EE98009DAD59 for 00:01:00 [Type: All]
      [09:36:22.213 V] Blacklisting F530EFB601557807 for 00:01:00 [Type: All]
      [09:36:23.574 V] Blacklisting F530F1C2015B5F13 for 00:01:00 [Type: All]
      [09:36:25.223 V] Blacklisting F530F1C2015B7B18 for 00:01:00 [Type: All]
      [09:36:27.886 N] [BPC] In zone Azeroth-Silverpine Forest we have 30 minutes left to trap pets.
      [09:36:27.909 N] [BPC] 78% of pets on the continent caught (18 to trap)
      [09:36:27.910 N] [BPC] Pets to trap in Silverpine Forest >> Blighted Squirrel
      [09:36:30.285 V] Blacklisting F530F1C20165540B for 00:01:00 [Type: All]
      [09:36:31.665 V] Blacklisting F530EFB60157C705 for 00:01:00 [Type: All]
      [09:36:44.961 V] Blacklisting F530EE980165363A for 00:01:00 [Type: All]
      [09:36:53.240 V] Blacklisting F530EE980155D03E for 00:01:00 [Type: All]
      [09:36:54.600 V] Blacklisting F530F1C2015B73AB for 00:01:00 [Type: All]
      [09:36:56.200 V] Blacklisting F530F1C201529D85 for 00:01:00 [Type: All]
      [09:37:09.021 V] Blacklisting F530EFB9015BBD0F for 00:01:00 [Type: All]
      [09:37:29.662 N] [BPC] In zone Azeroth-Silverpine Forest we have 29 minutes left to trap pets.
      [09:37:29.688 N] [BPC] 78% of pets on the continent caught (18 to trap)
      [09:37:29.688 N] [BPC] Pets to trap in Silverpine Forest >> Blighted Squirrel
      [09:37:35.070 V] Blacklisting F530EFB601331070 for 00:01:00 [Type: All]
      [09:37:36.466 V] Blacklisting F530F1C2015CA3DA for 00:01:00 [Type: All]
      [09:37:36.718 V] Blacklisting F530F1C201618A09 for 00:01:00 [Type: All]
      [09:37:38.117 V] Blacklisting F130EE98009DAD59 for 00:01:00 [Type: All]
      [09:37:38.308 V] Blacklisting F530EFB601557807 for 00:01:00 [Type: All]
      [09:37:39.703 V] Blacklisting F530F1C2015B5F13 for 00:01:00 [Type: All]
      [09:37:43.004 V] Blacklisting F530F1C2015B7B18 for 00:01:00 [Type: All]
      [09:37:47.897 V] Blacklisting F530F1C20165540B for 00:01:00 [Type: All]



      The Bot flys around and Blacklist every Pet >.<
       
    15. erpbridge

      erpbridge New Member

      Joined:
      Jan 25, 2012
      Messages:
      25
      Likes Received:
      1
      Trophy Points:
      0
      When running this bot on Gatherbuddy in conjunction with Mixed Mode for BgBuddy, when it zones into the battleground, BPC stops the bot. It reports (correctly so) there are no pets to collect in the battleground. This is very inconvenient... can you have a check for when the bot switches botbases, and pauses the plugin until Gatherbuddy kicks back to active again?
       
    16. erpbridge

      erpbridge New Member

      Joined:
      Jan 25, 2012
      Messages:
      25
      Likes Received:
      1
      Trophy Points:
      0
      BPC targets the pet, regardless of terrain. Pokehbuddy spams "interact with target", again, regardless of terrain. (Gatherbuddy is only being used as a vehicle, via the paths from BPC, to move from one hotspot to the next.

      Its really nothing that any of them are doing WRONG, per se, and nothing they could really do. I believe that both BPC and Pokebuddy have a blacklist if interact doesn't turn into a pet battle in a given amount of tries. Really, its a problem Blizz has with spawn locations, because even with bot out of the picture, you still have the issue if you did it by hand.

      In my opinion, the best thing bot could probably do is try to kill the pet with a targeted or aoe attack if it can't interact with it, forcing the game to initiate a spawn somewhere else. It would depend on the pet type as to if the spawn table is limited to a general area and thus forces a spawn in that general area, or if it is on the whole map spawn timer and generates a spawn event of another mob somewhere else on the map. Regardless, that would resolve, at least temporarily, future attempts to interact with something that can't be interacted with.

       
    17. Crowley

      Crowley Member

      Joined:
      Jan 15, 2010
      Messages:
      967
      Likes Received:
      20
      Trophy Points:
      18
      Thanks for the work and effort :)
      Works as stated and works well so far. Working my way around Pandaria atm and then backwards to old content.
      I guess my only suggestion would that if you have 3 of said pet already it forfeits the match aswell so that is does the

      Code:
      [BPC] Don't need any of these pets, forfeiting!
      
      since we already have 3 of them kinda thing.
      + rep for you

      Edit: seems to be a random thing as it does pass now and again, don't worry about it :)
       
      Last edited: Jan 7, 2013
    18. PiroxTester

      PiroxTester New Member

      Joined:
      Apr 27, 2012
      Messages:
      12
      Likes Received:
      0
      Trophy Points:
      0
      I have a Problem with the Pet fights.

      The Bot Blacklists every pet and dont fight against battle Pets >.<

      [15:35:18.980 V] Blacklisting F530EFB90002EF4F for 00:01:00 [Type: All]
      [15:35:19.134 V] Blacklisting F530EFB9000717C9 for 00:01:00 [Type: All]
      [15:35:19.551 N] [Singular-DEBUG] CurrentTarget set to: Toad.17C9 h=100.0%, maxh=17, d=119.1 yds, box=1.0, player=False, hostile=False
      [15:35:25.921 N] [BPC] In zone Azeroth-Swamp of Sorrows we have 1 minutes left to trap pets.
      [15:35:25.938 N] [BPC] 89% of pets on the continent caught (9 to trap)
      [15:35:25.938 N] [BPC] Pets to trap in Swamp of Sorrows >> Moccasin
      [15:35:39.996 V] Blacklisting F530EFB90000F36D for 00:01:00 [Type: All]
      [15:35:40.155 V] Blacklisting F130EFB700008A88 for 00:01:00 [Type: All]
      [15:35:40.485 N] [Singular-DEBUG] CurrentTarget set to: Water Snake.8A88 h=100.0%, maxh=17, d=116.1 yds, box=0.5, player=False, hostile=False
      [15:35:41.591 V] Blacklisting F130EFB900005335 for 00:01:00 [Type: All]
      [15:35:41.748 V] Blacklisting F530EFBA0007DB15 for 00:01:00 [Type: All]
      [15:35:42.140 N] [Singular-DEBUG] CurrentTarget set to: Swamp Moth.DB15 h=100.0%, maxh=16, d=99.9 yds, box=0.2, player=False, hostile=False
      [15:35:51.209 V] Blacklisting F530EFB90008F4A3 for 00:01:00 [Type: All]
      [15:35:51.736 N] [Singular-DEBUG] CurrentTarget set to: Toad.F4A3 h=100.0%, maxh=17, d=114.3 yds, box=1.0, player=False, hostile=False
      [15:35:56.026 V] Blacklisting F530EF800008FA8C for 00:01:00 [Type: All]


      No idea whether the problem to Battle Pet Collector or another plugin is.
       

      Attached Files:

    19. Andy West

      Andy West New Member

      Joined:
      Dec 8, 2012
      Messages:
      35
      Likes Received:
      4
      Trophy Points:
      0
      This is Pokehbuddy.
       
    20. Andy West

      Andy West New Member

      Joined:
      Dec 8, 2012
      Messages:
      35
      Likes Received:
      4
      Trophy Points:
      0

      Hi,

      I have updated it to work using ids, I hadn't thought about non english clients!

      :)
       

    Share This Page