• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [PLUGIN] Pokebuddy - Gotto kill em all!

    Discussion in 'Uncataloged' started by maybe, Oct 26, 2012.

    1. shifty

      shifty New Member

      Joined:
      Mar 31, 2012
      Messages:
      120
      Likes Received:
      0
      Trophy Points:
      0
      Hey I have been doing Northrend farming, as well as boosting a bunch of pets. I've noticed that when my pet gets stunned in battle, the logic doesnt know what to do so it just cycles through some stuff to try but never does anything (only thing I can do is force a pet swap, then it picks up and keeps going, but it will pause like that for hours if I dont see it or i'm not there to catch it)
       
    2. toliman

      toliman Member

      Joined:
      Jun 20, 2012
      Messages:
      625
      Likes Received:
      10
      Trophy Points:
      18
      you'll have to add in the default stuns for every pet, ...

      these are 822, 498, 174, 734.
      you'll want to pass the turn on each of these, it's 4 separate lines.

      occasionally, you can act while stunned, or mirror a stun action, but that would be pet dependent. i don't know of any offhand that will allow this, but it's an option.

      yes, there's no pass turn in the logic or swapping out if the pet is disabled or stunned, it has no timer that runs out to go into the next round.
       
    3. toliman

      toliman Member

      Joined:
      Jun 20, 2012
      Messages:
      625
      Likes Received:
      10
      Trophy Points:
      18
      tldr is,

      sometimes it doesn't swap out at 30% because pokeh thinks the health hasn't changed. fixing it, requires a redo of how pokeh checks what is happening in the game, using the battle pet UI.

      i don't know why it happens. this is a problem with the LUA code inside PB, it very occasionally doesn't return the health properly while in a battle.

      i had thought this was patched, but it's been a while. sometimes the health values of the pets can be cached, i'd have to look at the code again to see where and when it happens to avoid this in the future.

      in the logs, i believe the slot changes position, so the pets weren't swapped in or out properly.
      it requires a slight rewrite to the engine to use the GUID as ID instead of the pet slots. however, adding this code requires different LUA code to check ingame settings.
       
    4. shelaine

      shelaine New Member

      Joined:
      Sep 8, 2014
      Messages:
      214
      Likes Received:
      4
      Trophy Points:
      0
      Hi,

      just wanted to let you know, I have the same problem with actually all pets I've tried so far. Plugin never swaps out a pet for me.
       
    5. Aryte

      Aryte New Member

      Joined:
      Sep 1, 2011
      Messages:
      9
      Likes Received:
      0
      Trophy Points:
      0
      Thanks toliman for your support :)
      I used the GUI client too but it seemed my installation got corrupted.
      Did a full fresh installation of honorbuddy + pokehbuddy and now its successfully running my logic :)
       
    6. Inrego

      Inrego New Member Buddy Store Developer

      Joined:
      Feb 7, 2010
      Messages:
      2,765
      Likes Received:
      71
      Trophy Points:
      0
      I'm having a problem boosting pet in slot 1.

      I put a low level pet (level 5) in first slot, and then 2x 25 in the others. When it enters a battle, it switches the pet right away without attacking, which results in the low level pet not receiving any exp.
      Is there a boost mode where the first slot pet uses 1 ability and then switches?

      Another problem: When all my pets are low - it just switches between them all without ever attacking the opponent.
       
      Last edited: Sep 9, 2014
    7. zenpher

      zenpher New Member

      Joined:
      Sep 27, 2013
      Messages:
      10
      Likes Received:
      0
      Trophy Points:
      0
      I'm having the same problem. After some tinkering with it, I found that it bugs out if you encounter a pet that has a grounding ability (makes swapping impossible) and your low level pet dies during that fight. Noticed this with Softshell Snapling in VotFW. Also it bugs out even if the pet survives but has low hp and isn't swapped with another pet (should be done by battlepetswapper but it's not). Hope it helps to find a perm solution to this :)
       
    8. Inrego

      Inrego New Member Buddy Store Developer

      Joined:
      Feb 7, 2010
      Messages:
      2,765
      Likes Received:
      71
      Trophy Points:
      0
      The pets I'm encountering isn't grounding - and even if they were, the pet would be swapped first. As it doesn't even try to attack once - first thing it tries to do is swap the pet.
       
    9. zenpher

      zenpher New Member

      Joined:
      Sep 27, 2013
      Messages:
      10
      Likes Received:
      0
      Trophy Points:
      0
      Well, it's working for me up to the situation described above. What I changed was in BattlePetSwapper (Ringerx2 and true for all setting with favorites - and added all the pets including ringer and low level ones to favorites). Used the oneclick option for autoleveling and only capturing rares. Using GB2 as a botbase paired with guadah profiles. This works for me, except when encountering grounding pets.
       
    10. jsimmons10

      jsimmons10 Community Developer

      Joined:
      Feb 15, 2012
      Messages:
      744
      Likes Received:
      10
      Trophy Points:
      18
      i enable this plugin and then i load Crowley quest profile for kalimindor. and all it wans to do is battle wild animals and never do the quest. not even catching any of the rare pets or ones i dont have. if its going to randomly fight things atleast catch them
       
      Last edited: Sep 9, 2014
    11. toliman

      toliman Member

      Joined:
      Jun 20, 2012
      Messages:
      625
      Likes Received:
      10
      Trophy Points:
      18
      Yep.

      The swapping function while in combat is rudimentary. It's very neat, but it isn't designed for boosting or levelling.

      A boosting function would rely on altering the combat rating system slightly or entirely.

      Which is doable, but it will be relatively as complex to convert pokehbuddy to a coroutine plugin, which is a fairly extensive refactoring. On the plus side, it would help integration with the pet swapper which is not compatible with the pokehbuddy code. On the negative, there's a lot of functionality to recreate.

      Like, all of it.

      The current loop/logic relies on pets being relatively equal, the combat ratings are used to choose which pet is suitable when each round is completed.

      This doesn't mean that it has to become schizophrenic about combat swapping, but it can become an issue.

      Tweaking the initial advanced settings in combat ratings helps when the level difference is larger than 10 levels,

      the defaults are usually fine with pets within 5 to 10 levels, but the math isn't great.

      Earlier posts have discussed possible scale values, or factors applied to the default values ie creating a custom combat rating value mid battle when the lowbie takes damage.

      but in essence, every time the lowbie pet takes damage, it has to rate lower than the ringer or higher level pet(s) . And conversely, it has to rate higher when it has full health so it goes first.

      TLDR is, you can use smaller multipliers in the combat ratings.

      While HB is stopped, Go into the PB settings, advanced tab and look at the current combat ratings for the current pet loadout. Keep these values in mind and where the lowbie pet is, compared to the ringer 25s.

      go into a pet battle manually, let the lowbie take 1 hit, then go into the advanced tab, adjust the slide values so that the level difference is lower, ie, -5 or so, and the health multiplier is lower. Then check the relative combat rating from full health, to low health.

      What you want is a rough setting where it should want to swap once it takes that amount of damage.

      Go back to the game, swap to a ringer pet that will take damage, bring it to about 50 % or lower.

      Go back to PB, and compare the 3 combat ratings. Adjust the sliders if the injured ringer pet has a lower value than the lowbie, and, go back to the game, and check the combat ratings again.

      That's it. You have customised your combat ratings.

      See how it goes on actual pet battles. Tweak as necessary while the bot is stopped, or it won't apply the changes.

      If you have a strong sense of math or logic, enable the debug logging which will display the combat ratings during each battle to see when and how it is swapping out.

      The other approach,

      Well, when levelling, the combat logic actually needs not to use the combat rating, but calculated health values, which is an entirely different schism.

      For example, at level 3, 25% is something like 70 to 100 health, and at 25, it's 350 to 400 health. Attack strength is about 10 to 15%, and it uses pet stats(speed, power, levels, family bonus, weather, crit, auras) , so a level 3 will hit for <100 or so, a level 25 will hit for <250. Roughly.

      an overall battle logic needs to know about, and decide whether that pet will survive a relative attack given the scale of damage.

      This way, it can work out how many rounds are left and make complex decisions. Eg, same 3 pets, a 5,25,25 vs 21,21,21 would each have a rough 15% damage per move. (and you could average this out with recorded stats).

      If the last enemy pet has 45% hp, and your pet has 25%, it could judge survival rates and choose to forfeit or risk losing based on the survival odds of each pet by id.

      The other way is to set up a few default logic options for pets,

      a custom PvE engine to handle swapping and ringer pets, keeping the pet logic around for custom usage,

      easy bulk import and export of the database,

      Etc.

      Significantly changing pokehbuddy leads to a lot more difficult decisions about what to replace and how. So, while its fun to speculate, it's sort of okay as it is. For now.

      If you read this far, the quickest patch is to choose pets by id and not slot position,
      add a flag into the combat rating so that the logic can find, track, then 'kill' the lowbie pet once it has taken damage and stop using it (eg if the level difference is > 6)
      and stop the pet swap pulse from working while the bot is in a pet battle, then resume after it has finished.
      Oh, and move the pet swap options into the GUI so there's not duplicate pet swap values to edit.

      Short list.
       
    12. Inrego

      Inrego New Member Buddy Store Developer

      Joined:
      Feb 7, 2010
      Messages:
      2,765
      Likes Received:
      71
      Trophy Points:
      0
      Thanks for the explanation - but from what I'm hearing, the end result is still not as good as it could be.
      I think I'll just make a botbase/plugin that I personally can use for levelling/boosting my pets instead of Pokebuddy.
       
    13. Nashal

      Nashal New Member

      Joined:
      Feb 1, 2012
      Messages:
      112
      Likes Received:
      0
      Trophy Points:
      0
      awesome Plugin :) after I have realised how to build and SAVE the Logiks it works flawless (or at least as flawless as my logics are *g*) for me :p

      I've attached my Emerald Proto Whelp Config for anyone who want it.
      I'm leveling all my Pets with him as tank against lvl 23 Pets and so far no problem, no use of Bandage or Petheal, since he's healing himself (~6h testing so far)


      View attachment Emerald Proto Whelp.xml
       
      Last edited: Sep 10, 2014
    14. Thaelm

      Thaelm New Member

      Joined:
      Sep 9, 2012
      Messages:
      191
      Likes Received:
      0
      Trophy Points:
      0
      First off, I want to say thanks for such a neat and useful plugin. Second, can you tell me what settings I would use to level a single pet while running Kick's 1-90 questing profiles? I have tried a few things but I always end up with multiple pets leveling and being swapped out. Ideally I'm trying to power level a single pet while questing and I don't currently have any level 25 pets.


      Kind regards,
       
    15. toliman

      toliman Member

      Joined:
      Jun 20, 2012
      Messages:
      625
      Likes Received:
      10
      Trophy Points:
      18
      1/ a few quests will break due to follow/vehicle mechanics or moving to a certain location or phase to 'see' the mob, or it might want to wait in a spot for 3 minutes, etc. as long as you keep an eye on the questing, it works ok.

      you may need to manually complete a few quests, or turn off the plugin/kill the battle pets in range (cue maniacal laughter) so it can't get distracted.

      as long as you know that ahead of time, set the range to 60 so you don't go too far away from NPCs.

      2/ set a few pets as favourites, and the pet swapper will try to use those pets first.

      if you only set one pet,

      when it gets damaged in a battle or a loss, the pet swapper will try to choose another one with full health instead, and not find one. if this happens, and the battle pet is in range, it won't engage until 8 minutes has passed to run the cooldown.

      If a handful of favourites are set, about 6 or 7, it will pick the higher level ones first, that match the filters, and have high health. then it chooses the lowbie pet. you can also restrict by wild/purchased/rare'blue' pets, etc.

      3/ Optionally, set the minimum and maximum to 5/15 if in a level 8-10-12 area, and 'use favourites' for the settings where it comes up. it should swap to those selected fav. pets.
       
    16. Nashal

      Nashal New Member

      Joined:
      Feb 1, 2012
      Messages:
      112
      Likes Received:
      0
      Trophy Points:
      0
      After using it for a few nights I've got the problem, when groupBox 17 is activated and u check allow wild pets(us fav only is checked too), it only trains wild pets and no pets u r getting on other ways. Is this intended? I thought it allows to train wild pets in addition to the other pets.
       
    17. Thaelm

      Thaelm New Member

      Joined:
      Sep 9, 2012
      Messages:
      191
      Likes Received:
      0
      Trophy Points:
      0
      Thanks a bunch!
       
    18. Hermes1987

      Hermes1987 New Member

      Joined:
      Sep 11, 2013
      Messages:
      16
      Likes Received:
      0
      Trophy Points:
      0
      Is not working now with current team, Charakter flys around and around, But he didnt fught pets. . . .
       
    19. toliman

      toliman Member

      Joined:
      Jun 20, 2012
      Messages:
      625
      Likes Received:
      10
      Trophy Points:
      18
      if you're using gatherbuddy, you may have the problem where the engage distance is not wide or far enough to 'see' pets on the ground. also, you'll need framelock turned on now to use GB2 it seems.

      the problem is that pets aren't gathering nodes :)
      old topic, but worth repeating for new users.

      You often need to have a gathering skill, just so that the profile will get low enough to the ground to become distracted and select pets to battle. there is a problem of "seeing" pets because the sight distances are not the same as seeing fishing or mining or herb nodes, just because battle pets are NPC's / critters. (it might be 'critters' and NPC ID's, its been a while since i looked at it)

      if someone builds a gatherbuddy replacement, someone could substitute the object codes for herb and mine locations, for the NPC codes (??) for the ~400 wild pets that are targetable.
      or just trend towards flying lower and moving towards pets and nodes in an area, or recording and playing node locations back, etc. lots of possibilities. and some legal problems due to .de markets.

      i.e. a 'tramper' / rndbuddy style exploration to help chart pet locations for WoD areas and upload multi-profiles for pets. we'd still have the same distance problems, but it could also 'land' more frequently and make 'routes' style paths.

      i haven't seen a lot of pets on the beta yet, only got to 94 and 2 zones, and there's a lot of higher level mobs and MoP/TI styled density in the new areas, creating profiles with blacklist locations might be a handy thing to have in a few months.
       
    20. NickK

      NickK New Member

      Joined:
      Sep 7, 2014
      Messages:
      141
      Likes Received:
      1
      Trophy Points:
      0
      I have a level 90, but want to start leveling pets. Is there a Youtube, or a how-to guide written? I don't have any level 25's and would like to level 3 together. I would also love to get Battle-Stones. Is this the place to do it? I have read and read. Some people say I need to install this and that, some people say you don't. The instructions are long, and conflicting. I would love to write one up and post it, if I can get it figured out. Any help on where to start?

      Goal:
      1) level 3 pets to 25.
      2) get battle stones.

      Thank you for your time. I know that this must have taken a ton of work to program, I just want to be able to use it :)
       

    Share This Page