• Visit Rebornbuddy
  • [Plugin] PetBattle hunting (4 grind bot)

    Discussion in 'Uncataloged' started by AngC, Oct 11, 2012.

    1. AngC

      AngC New Member

      Joined:
      Mar 19, 2011
      Messages:
      85
      Likes Received:
      1
      Trophy Points:
      0
      [Plugin] PetBattles battlepet hunting (4ground grind bot or GatherBuddy2 with flying)

      Hunts (collects) all pets around. Any GatherBuddy/grind profile suites well.
      (Put into separate folder inside plugins to get it working)

      BEWARE! Releases pets! - criterion: first pet of kind always keep'd, other (than first) pets in journal if bellow blue - been released (plugin also captures greens anyways, but then releases, if it's not the first pet of kind).

      Sets pet loadout:
      1st pet to a bit lower level to all pets on this map
      2nd pet to a bit lower level to all pets on this map
      3rd pet to a bit higher (+2) than all pets on this map

      Switches pets if wounded in both combat and at off-battle loadout.

      1.0.2.3: add 2 crazy and wierd options: Don't go far from the route (for alliance in horde or horde in alliance terr. farming) and Kill those pets in the world who Share spawn with not yet finished
      1.0.2.2: added "Capture only Blues" option to capture only blue pets
      1.0.2.1: added "use only Blues" option to up only blue pets
      1.0.2.0: Better pet level determining on zone change; better releasing handling (in 2.x line work will be concentrated on the pet combat with wider opponents range)
      1.0.1.4: kind of "4debug" version 1.0.1.5, - 1.0.1.8: debugged a bit
      1.0.1.2, 1.0.1.3: Number of bugs fixed. Report (every 2 minutes based on pets seen in last 20 minutes) added.
      1.0.1.1: interface fix, added releasing to be optional
      1.0.1.0: stable release, base for future work
      1.0.0.9: no quarters! option
      1.0.0.8: blacklist fix
      1.0.0.7: fixed releasing BOUGHT green pets bug: if pet was bought (and here was 2nd, 3rd instance of it) and it's green - it was been released. Did preliminary but warranted fix, normal fix upcoming in a day or two, until then you are not warranted to have low-grade pets released on non-English, non-Russian clients; introduced blacklist
      1.0.0.6: option for persistent pet team
      1.0.0.5: pet chasing became normal
      1.0.0.4: added settings: list of pets to hunt/train solely for them; added ability to work with gatherbuddy. (simple flying yet)
      Options

      WHITELIST
      - look ONLY for these pets for battle in the world. Names, comma separated.
      BLACKLIST - it makes bot skip pets in the world. Gets autofilled with pet names considered finished if "Blacklist collected" is on.

      Flag Persistent Pet Team? - Keep the same team at all times
      Flag Allow plugin to release - allow pets, captured in pet battles (not bought!/rewarded/crafted/hatched!) to be released if 2nd or 3rd specie of the name and is green or lower quality.
      Flag No quarters shall be given! - Kill not blacklisted opponents (no caging)
      Flag Capture only Blues - option to capture only blue pets
      Flag Blacklist collected - autoblacklists from in-world collection all pets that you have in "3 blue species" in your pet journal.
      Flag Consider one blue collected - don't collect pets in world if one or more blue of a kind
      Flag Use only Blues - option to up only blue pets

      Flag Don't go far from the route (for alliance in horde or horde in alliance terr. farming)
      Flag Kill those pets in the world who Share spawn with not yet finished


      2nd file ( Charting.cs ) - a plugin that can be used for simple creation of the profiles.
      Settings? just open it in editor and tune up two lines:
      bool GB2_flying = true; // this sets all waypoints to be in air (for gatherbuddy waypoint creation)
      string FolderName = "Pets_Ang"; // Folder within plugins
      Both files can be put into one folder!

      1.0.0.1: added: " no futher interaction needed " about created profiles

      Instruction for version 1.0.0.1:
      1. Press "Next profile"
      2. Get to the point where pets are around
      3. Turn on plugin
      4. Target pets one by one (it then targets onto yourself just after the target is aquired and position is saved into the file)
      5. When done - just turn off plugin and YOU ARE DONE!

      Note: 6 waypoints can be enough for the whole Elvine forest.

      It's just a draft - feel free to copy, maintain yourself.

      About PvP - later. At lower levels (I have 100+ pets) it's not important to consider weaknesses/strong sides of the pet. Fitting differs.
      100+ pets to level 8-15 - you have to wait ...

      P.S. May be buggy.
       

      Attached Files:

      Last edited by a moderator: Oct 15, 2012
    2. AngC

      AngC New Member

      Joined:
      Mar 19, 2011
      Messages:
      85
      Likes Received:
      1
      Trophy Points:
      0
    3. Menaxerius

      Menaxerius Member

      Joined:
      Feb 5, 2012
      Messages:
      119
      Likes Received:
      0
      Trophy Points:
      16
      Hi HB0587F90,

      Thanks for this amazing plugin.

      The Plugin works great, but there are some problems with the movement. He stays at one place until he found a new pet on the map. Any ideas to get this solved?

      Mena
       
    4. Indemnidad

      Indemnidad New Member

      Joined:
      Jul 26, 2011
      Messages:
      21
      Likes Received:
      0
      Trophy Points:
      0
      Great Plugin, thx!
       
    5. AngC

      AngC New Member

      Joined:
      Mar 19, 2011
      Messages:
      85
      Likes Received:
      1
      Trophy Points:
      0
      Use grind bot or gatherbuddy profile for that map.
       
    6. Indemnidad

      Indemnidad New Member

      Joined:
      Jul 26, 2011
      Messages:
      21
      Likes Received:
      0
      Trophy Points:
      0
      Like HB0587F90 said, you can use grinding profiles.
       
    7. butwa20

      butwa20 New Member

      Joined:
      Feb 28, 2012
      Messages:
      20
      Likes Received:
      0
      Trophy Points:
      0
      now waht about lvling your pets since it just captures every pet you will get no experiance right?
       
    8. lphomiej

      lphomiej Member

      Joined:
      Mar 17, 2011
      Messages:
      199
      Likes Received:
      1
      Trophy Points:
      18
      Yeah, is there a way to make a variation to just grind on pets (killing them) with your team of 3 until they are 25?
       
    9. AngC

      AngC New Member

      Joined:
      Mar 19, 2011
      Messages:
      85
      Likes Received:
      1
      Trophy Points:
      0
      1.0.0.6. out - added option for persistent pet team
       
    10. hazard

      hazard Well-Known Member Buddy Store Developer

      Joined:
      Sep 16, 2010
      Messages:
      1,854
      Likes Received:
      59
      Trophy Points:
      48
      Agreed if you could add an option to kill the creatures in pet battle this would be awesome to level with :)
       
    11. Totesviech

      Totesviech Member

      Joined:
      Apr 24, 2012
      Messages:
      840
      Likes Received:
      1
      Trophy Points:
      18
      Oh Good Job, very very nice this plugin :D
       
    12. dubs

      dubs Member

      Joined:
      Dec 7, 2011
      Messages:
      98
      Likes Received:
      0
      Trophy Points:
      6
      Can't it just detect if the pet you're fighting is not owned and if it is owned it doesn't capture it, but kills the opponent.
       
    13. AngC

      AngC New Member

      Joined:
      Mar 19, 2011
      Messages:
      85
      Likes Received:
      1
      Trophy Points:
      0
      1.0.0.9: no quarters! option
       
    14. deathemperor

      deathemperor New Member

      Joined:
      Feb 25, 2012
      Messages:
      22
      Likes Received:
      0
      Trophy Points:
      0
      I second this
       
    15. AngC

      AngC New Member

      Joined:
      Mar 19, 2011
      Messages:
      85
      Likes Received:
      1
      Trophy Points:
      0
      Use option "Persistent pet team"
       
    16. LiquidAtoR

      LiquidAtoR Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      1,430
      Likes Received:
      52
      Trophy Points:
      48
      Very nice plugin...
      Will definately give it a go but I have some questions first (before I mess up my pe(s)ts) regarding settings menu...

      WANTED list.
      What do you fill out here? Name or ID's of pets you want?
      Black List.
      Same as wanted list but then for pets you don't want?

      Tickboxes:
      Persistent Pet Team? - Keep the same team at all times
      No quarters shall be given! - Kill the opponents regardless of other settings a.k.a. Grindmode?
      Blacklist collected - Blacklist all the pets you have so far before using this plugin, so nothing gets released?
      Consider one blue - collected - Not sure about this option, only keep a blue one of a kind?

      If you could tell me if I'm on point or way off, would make things less risky for me before I enable this ;)
      +rep incoming.

      Regards, Liquid.
       
    17. AngC

      AngC New Member

      Joined:
      Mar 19, 2011
      Messages:
      85
      Likes Received:
      1
      Trophy Points:
      0
      Names. Comma separated. Fixed label width (it did not show all text)

      Yes, it makes bot skip pets in the world. Gets autofilled with pet names considered finished if "Blacklist collected" is on.

      Flag Persistent Pet Team? - Keep the same team at all times
      Flag Allow plugin to release - allow pets, captured in pet battles (not bought!/rewarded/crafted/hatched!) to be released if 2nd or 3rd specie of the name and is green or lower quality.
      Flag No quarters shall be given! - Kill not blacklisted opponents regardless of other settings a.k.a. Grindmode
      Flag Blacklist collected - autoblacklists from in-world collection all pets that you have in "3 blue species" in your pet journal.
      Flag Consider one blue collected - don't collect in world if one or more blue of a kind
       
      Last edited by a moderator: Oct 12, 2012
      LiquidAtoR likes this.
    18. xwozone

      xwozone Active Member

      Joined:
      Apr 1, 2012
      Messages:
      1,514
      Likes Received:
      3
      Trophy Points:
      38
      This sounds amazing. Being a plugin, im guessing it works when your out gathering or grinding mobs?
       
    19. LiquidAtoR

      LiquidAtoR Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      1,430
      Likes Received:
      52
      Trophy Points:
      48
      Thanks for the clarifications, now I can 'safely' try the plugin without risking all my (hand)collected pets ^^

      Edit Bugreports:

      1th item:
      I found it's trying to slot non-combat pets (alike 'your faction here' balloon) from your collection which is not possible.
      Code:
      [Pets] Selected for slot 1: Alliance Balloon level:1
      
      Maybe see about blacklisting those that can't perform combat (if it shows up when you pull the info from your collection).
      it's not preventing the plugin from functioning, it puts something else in the slot right after it doesn't work, but the entry keeps showing up in the logs.
      I don't know if that's of any influence to the rest of the scripts.

      To mention a few:
      Alliance/Horde Balloon, Argent squire/gruntling, Guild Page, Guild Herald etc.

      2nd item: it's registering combat as non-combat. I pulled aggro from some low level mobs and the botlogs showed the following message over and over while circling the battlepet it had targeted.
      Code:
      [Pets] Not in battle. Moving to pet : xxx
      [Pets] Pursue -- xxx
      
      For some reason it didn't register combat.

      3rd item: I noticed in it's behaviour, it tries to keep challenging a pet when it's in between bushes or other gameobjects.
      There's a red error message saying "The pet battle area is obstructed" or something along those lines while the plugin keeps trying to challenge the wild battlepet.
      Unfortunately nothing shows up in (my) combatlogs so you probably can't tap in there to get some failsafe when this appears.

      4th item: appears in the logs every now and then while starting up LazyRaider (with plugins enabled, this allows me to grind, quest and do what I want and when a pet is within range to automatically battle).
      Code:
       ---- error reading part of the journal. null list. k:19 portions:20 full lua:
      local RetInfo = {}; local a = {};for i_=191,190 do table.insert(RetInfo,'----------'); a[0],a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9],a[10],a[11],a[12],a[13],a[14],a[15],a[16],a[17] = C_PetJournal.GetPetInfoByIndex(i_); for j_=0,17 do table.insert(RetInfo,tostring(a[j_]));end;local b = {};b[0],b[1],b[2],b[3],b[4] = C_PetJournal.GetPetStats(a[0]);for j_=0,4 do table.insert(RetInfo,tostring(b[j_]));end; end;return unpack(RetInfo)
       
      Last edited: Oct 12, 2012
    20. tealeaf

      tealeaf New Member

      Joined:
      Aug 7, 2012
      Messages:
      92
      Likes Received:
      0
      Trophy Points:
      0
      Last edited: Oct 12, 2012

    Share This Page