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

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

    1. Manihack

      Manihack New Member

      Joined:
      Apr 8, 2012
      Messages:
      55
      Likes Received:
      0
      Trophy Points:
      0
      Really Nice plugin !! Thank YOU
       
      Last edited: Dec 11, 2012
    2. Buttercup

      Buttercup New Member

      Joined:
      May 4, 2012
      Messages:
      65
      Likes Received:
      0
      Trophy Points:
      0
      Thanks for the tip. I tried to make my own profile but i failed hard. I hope someone can help me. So here's the thing. The low level pet just makes 1 action to get the xp and then swap out so i put his HP swapout to 90. Chuck can solo all 3 critters in Valley so i'm trying with him just using spell 1(rip) until target is below 20 and then use spell 3(devour) which will kill enemy, heal Chuck and get another attack in on next enemy before it can even start. Its the same for all enemies. its only for powerleveling against these critters so he doesnt need to do anythign else. low level pet can do whatever as long as he gets hit, heal or hit the other enemy and then swap out at 90. Here's my fail code:
      Chuck
      Low level pet:
      In game i get "You cant do that right now"
      In HB i get (when he flies and start a pet battle)
      Code:
      [BB] Pet HP's : 100:100:100
      [BB] Heavily injured pets : 0
      [BB] Move to highspot
      [BB] Battle Preparation
      17445087
      17260046
      17263044
      [BB] Pet Ratings - Slot 1 : 2400 Slot 2 : 400 Slot 3 : 400
      Error getting mount info for mount slot 41. Exception: System.AccessViolationException: Could not read bytes from 258DDE34 [299]!
         at Styx.MemoryManagement.ExternalProcessReader.ReadBytes(IntPtr address, Int32 count, Boolean isRelative)
         at Styx.MemoryManagement.MemoryBase.ReadString(IntPtr address, Encoding encoding, Int32 maxLength, Boolean relative)
         at Styx.WoWInternals.Lua.GetReturnValues(String lua, String scriptName)
         at Styx.WoWInternals.Lua.GetReturnValues(String lua)
         at Styx.CommonBot.Mount.MountWrapper..ctor(Int32 slot)
         at Styx.CommonBot.Mount.get_Mounts()
      Error getting mount info for mount slot 47. Exception: System.AccessViolationException: Could not read bytes from 258DDE94 [299]!
         at Styx.MemoryManagement.ExternalProcessReader.ReadBytes(IntPtr address, Int32 count, Boolean isRelative)
         at Styx.MemoryManagement.MemoryBase.ReadString(IntPtr address, Encoding encoding, Int32 maxLength, Boolean relative)
         at Styx.WoWInternals.Lua.GetReturnValues(String lua, String scriptName)
         at Styx.WoWInternals.Lua.GetReturnValues(String lua)
         at Styx.CommonBot.Mount.MountWrapper..ctor(Int32 slot)
         at Styx.CommonBot.Mount.get_Mounts()
      Mounting: Blue Proto-Drake
      [BB] Parsing 100 < 90
      [BB] SKIP count :1
      Mounting: Silver Riding Nether Ray
      [BB] Parsing 100 < 90
      [BB] SKIP count :2
      Mounting: Snowy Gryphon
      [BB] Parsing 100 < 90
      [BB] SKIP count :3
      Mounting: Purple Netherwing Drake
      No errors when i delete my files and use default ones. Except the mounting part. It still spams that in HB but it will do Pet Battles without any problems just like before.
       
    3. lckwjl

      lckwjl New Member

      Joined:
      Jun 4, 2012
      Messages:
      674
      Likes Received:
      2
      Trophy Points:
      0
      When it does battles against other players it never picks one to start with it just spams..
      "[BB] Have to select new one
      17642281
      5512629
      17642278
      [BB] Pet Ratings - Slot 1 : 1600 Slot 2 : 800 Slot 3 : 800
      [BB] Parsing 100 < 30
      [BB] Parsing False
      [BB] Parsing 3 = 5
      [BB] Parsing True = false
      [BB] Parsing True = false
      [BB] SKIP count :2"
       
    4. MaxMuster

      MaxMuster Well-Known Member Buddy Store Developer

      Joined:
      Jan 30, 2012
      Messages:
      1,735
      Likes Received:
      30
      Trophy Points:
      48
      hmmm...the bot not automataccly stats the fight...he run to wild pets then nothing happend...

      it seems that he not click on the wild pet...


      //Edit: Ok now i have 3 Pets in the Battle Slots (before 1-2)...now it seems to working.


      When i select "Catch Rare", is he also catching epics? or only rare?
       
      Last edited: Dec 13, 2012
    5. maybe

      maybe Community Developer

      Joined:
      May 15, 2010
      Messages:
      488
      Likes Received:
      18
      Trophy Points:
      0
      It will always catch what you have selected, or better.
      So if you happen to run into a theoretical epic pet, it will (try to) catch it

      Will respond to other posts after dinner :)
       
    6. MaxMuster

      MaxMuster Well-Known Member Buddy Store Developer

      Joined:
      Jan 30, 2012
      Messages:
      1,735
      Likes Received:
      30
      Trophy Points:
      48
      How can i find the IDs for Buffs / Debuffs?

      Searching for the Debuff "Polymorphed".


      //Edit: Ok found it. But it would be nice to have a list with all Buffs / Debuffs.
       
      Last edited: Dec 13, 2012
    7. Buttercup

      Buttercup New Member

      Joined:
      May 4, 2012
      Messages:
      65
      Likes Received:
      0
      Trophy Points:
      0
      I fixed my own problem so you can skip that.
       
    8. incognitto

      incognitto New Member

      Joined:
      Aug 15, 2010
      Messages:
      404
      Likes Received:
      3
      Trophy Points:
      0
      Awesome i managed to solve the issue and am checking out the plugin now thanks
       
      Last edited: Dec 14, 2012
    9. pumba82

      pumba82 New Member

      Joined:
      Oct 9, 2012
      Messages:
      128
      Likes Received:
      1
      Trophy Points:
      0
      Hi,
      i have two pets with pretty the same skills. It bite the enemy and gives a debuff for 3 Rounds.
      The ID from the skill is 807.
      But i try to get it work the my pet bite at the first time and after this wait 3 rounds and bite again....
      Between the 3 rounds it use the skills 1 and 3.
      Ist this possible?
      I try all combinations... :(
      Can you help me?
      Sorry my english is not so god... I?m german.

      Thanks from germany!
       
    10. h4xxor

      h4xxor New Member

      Joined:
      Sep 18, 2012
      Messages:
      445
      Likes Received:
      3
      Trophy Points:
      0
      Hay
      Pokebuddy is a very nice addon but just fails without own costum behaviors.
      so i made some for some pets.
      one of my pets has this spell Comeback - Battle Pet Ability - World of Warcraft
      and i want to make a behavior what should be like this:
      i could do it like this:
      CASTSPELL(3) Health(THISPET) ISLESSTHAN 15 $ Health(ENEMYPET) ISGREATERTHAN 15
      CASTSPELL(3) Health(THISPET) ISLESSTHAN 16 $ Health(ENEMYPET) ISGREATERTHAN 16
      CASTSPELL(3) Health(THISPET) ISLESSTHAN 17 $ Health(ENEMYPET) ISGREATERTHAN 17
      CASTSPELL(3) Health(THISPET) ISLESSTHAN 18 $ Health(ENEMYPET) ISGREATERTHAN 18
      CASTSPELL(3) Health(THISPET) ISLESSTHAN 19 $ Health(ENEMYPET) ISGREATERTHAN 19
      etc but it would take hours

      so is there any way to do it like this?:
      CASTSPELL(3) Health(THISPET) ISLESSTHAN Health(ENEMYPET)

      if you tell me how i can export some beheaviors i might share them with other ppl

      Greetings
       
    11. toliman

      toliman Member

      Joined:
      Jun 20, 2012
      Messages:
      625
      Likes Received:
      10
      Trophy Points:
      18
      debuffs are easy enough to implement. just copy the example from another pet.

      i.e. most spiders get brittle web, which is relatively easy to copy. and if the pet is snared, you do double damage while the enemy is webbed.

      here's the logic from an amethyst spiderling PetBattleArena: Amethyst Spiderling (courtesy of the 'biatches' pokehbuddy extra settings)

      PASSTURN HASBUFF(822) EQUALS true
      @PASSTURN HASBUFF(498) EQUALS true
      @SWAPOUT Health(THISPET) ISLESSTHAN 30
      @CASTSPELL(2) HASENEMYBUFF(381) EQUALS false
      @CASTSPELL(3) HASENEMYBUFF(381) EQUALS true
      @CASTSPELL(1) COOLDOWN(SKILL(1)) EQUALS false

      ability 2 as CASTSPELL(2) , checks to see if the target is webbed, and re-DoT's if it has expired.
      ability 3 as CASTSPELL(3) , only hits swarm if the target is webbed.

      you can build the logic yourself, starting a battle and then copying over the enemy debuff onto the existing profile.

      or, you can copy the whole code block and edit the enemy buff to 807, which should work.

      just save the profile, start the battle, if it's not applying the webbing, you used the wrong debuff :)

      you'd have to edit the script yourself and cross your fingers that HB doesn't explode (havent looked at the logic parsing code at all), i don't think the GUI would let you enter it in as an option, so it might require tinkering.

      try it.

      open the pet's XML and edit the setting there.
      you can rename the 9001.xml file to the "name of the pet.xml" in the settings folder for the plugin, and it will load settings there. you may need to reload the plugin to import.

      as for the health < > problem, hopefully both THISPET and ENEMYPET are parsed as percentage figures. if so, the logic should work and it would work for about 40 different pets from what i can see on PetBattleArena: Comeback

      edit: should have hit save changes earlier, was walking the dog :/
       
      Last edited: Dec 14, 2012
    12. maybe

      maybe Community Developer

      Joined:
      May 15, 2010
      Messages:
      488
      Likes Received:
      18
      Trophy Points:
      0
      I havnt really tested the pvp part yet, will do that this weekend.

      I will implement it somewhere this weekend. (it should already work if you edit the file manually and put that line in)

      Work is really killing me, 12 hrs a day. Sorry for the lack of updates or support.
       
      Last edited: Dec 14, 2012
    13. MaxMuster

      MaxMuster Well-Known Member Buddy Store Developer

      Joined:
      Jan 30, 2012
      Messages:
      1,735
      Likes Received:
      30
      Trophy Points:
      48
      The Problem with for Example

      @SWAPOUT Health(THISPET) ISLESSTHAN 30

      is that when all of my 3 Pets under the 30 he Swap every Round and then we Lose the fight, because we dont fight back.
      It will be better so that when all of the 3 Pets are under the Amount then irgnore swap and fight back.


      SWAPOUT Health(THISPET) ISLESSTHAN 30 $ Health(ENEMYPET) ISGREATERTHAN 15 $

      seems to be not working...hes not swapping :-(


      and ther is a error:

      Code:
      [03:07:01.968 D] System.Exception: Expression expected.
         at CalcEngine.CalcEngine.Throw(String msg) in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\CalcEngine\CalcEngine.cs:line 765
         at CalcEngine.CalcEngine.ParseAtom() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\CalcEngine\CalcEngine.cs:line 436
         at CalcEngine.CalcEngine.ParseUnary() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\CalcEngine\CalcEngine.cs:line 363
         at CalcEngine.CalcEngine.ParsePower() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\CalcEngine\CalcEngine.cs:line 341
         at CalcEngine.CalcEngine.ParseMulDiv() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\CalcEngine\CalcEngine.cs:line 329
         at CalcEngine.CalcEngine.ParseAddSub() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\CalcEngine\CalcEngine.cs:line 317
         at CalcEngine.CalcEngine.ParseCompare() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\CalcEngine\CalcEngine.cs:line 305
         at CalcEngine.CalcEngine.ParseExpression() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\CalcEngine\CalcEngine.cs:line 301
         at CalcEngine.CalcEngine.Parse(String expression) in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\CalcEngine\CalcEngine.cs:line 84
         at Pokehbuddyplug.Pokehbuddy.ActualCalc(String s) in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\Pokehbuddy.cs:line 389
         at Pokehbuddyplug.Pokehbuddy.Calc(String s) in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\Pokehbuddy.cs:line 402
         at Pokehbuddyplug.Pokehbuddy.ParseLogic(String theLogic) in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\Pokehbuddy.cs:line 920
         at Pokehbuddyplug.Pokehbuddy.Pulse() in c:\Users\Spegeli\Desktop\LevelService\HB\Plugins\Pokehbuddy\Pokehbuddy.cs:line 289
         at Styx.Plugins.PluginWrapper.Pulse()
       
      Last edited: Dec 14, 2012
    14. Zelfin

      Zelfin New Member

      Joined:
      Jan 15, 2012
      Messages:
      60
      Likes Received:
      0
      Trophy Points:
      0
      Great Addon, I think i mentioned that bfeore. But is there a way to make it rotate through rare quality pets? I am trying to complete the achievements for 75 level 25 pets and it slows it down having to stop the bot to change pets once they level in an area. Maybe a routine that cycles when pets become too high level for area, changes them out for another pet of set level?

      Just a thought. Its not inconceivable to change, just thinking this would make it much easier. I saw another pet plugin here that cycles them, but that one also releases pets. I would like to keep what i have,.
       
    15. wakeywolf

      wakeywolf Guest

      You're doing a great job! This plugin is definitely an enhancement to HB in my opinion. It really takes the boredom out of leveling pets up. Your support for the plugin is great too, please keep up the good work. :)
       
    16. Mozz

      Mozz New Member

      Joined:
      Mar 17, 2012
      Messages:
      13
      Likes Received:
      0
      Trophy Points:
      0
      Very nice plugin and great job. Took me a while to set some things because i'm a real dumb at those things....for example i can't understand how can i tell PokeBuddy to cast X spell each Y turn and not spamming it,i'm talking about spell with a duration buff/debuff but with no CD ex. Flamethrower - Battle Pet Ability - World of Warcraft
       
    17. sexypogo

      sexypogo New Member

      Joined:
      Jan 21, 2011
      Messages:
      5
      Likes Received:
      0
      Trophy Points:
      1
      Can't work right now right? i've just removed the old folder called PokeBuddy and did a svn checkout on a new folder and i'm not able to see the plugin in my honorbuddy plugins
       
    18. maybe

      maybe Community Developer

      Joined:
      May 15, 2010
      Messages:
      488
      Likes Received:
      18
      Trophy Points:
      0
      if you remove the last $ it should work
      And if your pet has a heal ability, put something like "CASTSKILL(2) MyPetSpeed ISGREATERTHAN EnemyPetSpeed $ Cooldown(Skill(2)) equals false $ Health(THISPET) ISLESSTHAN 30" above the swapout so it will (atleast try to) heal itself.

      Will think about it, untill then use the other plugin i noticed just now :)

      Post your logic and we can take a look :)
      Name the folder Pokehbuddy and it should work
       
      Last edited: Dec 16, 2012
      Guadah likes this.
    19. bezek

      bezek New Member

      Joined:
      Dec 19, 2010
      Messages:
      4
      Likes Received:
      0
      Trophy Points:
      0
      Got my pets to lv 15 then I changed zones and upon initiating battle both HB and Wow simply close with no error. I tried doing a complete fresh install on both HB , the plugin Pokebuddy and Guadah's profiles. Everything worked like a charm for over 5 lv's (my pets were lv 9-10 when I started using it ). I have tried logging in and out . I have included the HB log. I have tried herbing / mining and GB seems to be working fine. Thank you for your time in advance.
       

      Attached Files:

    20. ubergoober

      ubergoober New Member

      Joined:
      Nov 19, 2010
      Messages:
      321
      Likes Received:
      0
      Trophy Points:
      0

    Share This Page