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

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

    1. maybe

      maybe Community Developer

      Joined:
      May 15, 2010
      Messages:
      488
      Likes Received:
      18
      Trophy Points:
      0
      I think the swapping issue is due to not being able to swap because of an effect, but the simple rotation is still being performed so next round it will try to swap again and do the next in line. This way it skips one.

      Can you confirm this?

      Otherwise, please send me a log with detailed logging on (general settings tab)
       
    2. Yottabyte

      Yottabyte New Member

      Joined:
      Jan 1, 2014
      Messages:
      6
      Likes Received:
      0
      Trophy Points:
      0
      Certainly. This fight just occurred:

      In this example it swapped my leveling pet (Addler) immediately to my ringer pet (Cat)

      [PB] Battle Preparation
      [PB] Pet Ratings - Slot 1 : -100000000 Slot 2 : -100000000 Slot 3 : -100000000
      [PB] No swap needed
      Mounting: Grand Armored Gryphon
      [BPS] We are in a battle, I will refresh after it is over.
      [PB] Pulsing BPS
      [PB] Going to load species Adder \\Fight begins here
      [PB] Doing Logic
      [PB] Going to do simple rotate \\Switches immediately to Cat
      [PB] time elapsed 443
      [PB] Going to load species Cat
      [PB] Doing Logic
      [PB] time elapsed 383
      [PB] Going to load species Cat
      [PB] Doing Logic
      [PB] time elapsed 334
      [PB] Going to load species Cat
      [PB] Doing Logic
      [PB] time elapsed 385
      [PB] Going to load species Cat
      [PB] Doing Logic
      [PB] time elapsed 401
      [PB] Cant cast anything or swapout, passing
      [PB] Going to load species Cat
      [PB] Doing Logic
      [PB] time elapsed 382
      [PB] Going to load species Cat
      [PB] Doing Logic
      [PB] time elapsed 394
      [PB] Going to load species Cat
      [PB] Doing Logic
      [PB] time elapsed 388
      [PB] Going to load species Cat
      [PB] Doing Logic
      [PB] Going to do simple rotate \\Cat is low so it switches to other ringer (Clock'em)
      [PB] time elapsed 436
      [PB] Going to load species Clock'em
      [PB] Doing Logic
      [PB] time elapsed 406
      [PB] Cant cast anything or swapout, passing
      [PB] Going to load species Clock'em
      [PB] Doing Logic
      [PB] time elapsed 1311
      [PB] Going to load species Clock'em
      [PB] Doing Logic
      [PB] time elapsed 1300
      [PB] Going to load species Clock'em
      [PB] Doing Logic
      [PB] time elapsed 1301
      [PB] Cant cast anything or swapout, passing
      Stopping the bot! \\Fight is over
      Bot stopping! Reason: User pressed the stop button
      [Singular] Behaviors disabled in Pet Fight
      Mounting: Grand Armored Gryphon
      [Gatherbuddy2]: Stopped gatherbuddy after gathering 0 nodes in 0h 2m 1s.



      In this example, the pets reach low health and start swapping over and over until one remains. Black Lamb is the leveling pet.

      [PB] Battle Preparation
      [PB] Trying to interact. Blacklist counter :2
      [PB] Pet Ratings - Slot 1 : -100000000 Slot 2 : -100000000 Slot 3 : -100000000
      [PB] No swap needed
      [PB] Going to load species Black Lamb
      [PB] Doing Logic
      [PB] time elapsed 391
      [PB] Going to load species Black Lamb //Black Lamb gets his hit in then swaps out for Cat
      [PB] Doing Logic
      [PB] Going to do simple rotate
      [PB] time elapsed 567
      [PB] Going to load species Cat
      [PB] Doing Logic
      [PB] time elapsed 1231
      [PB] Going to load species Cat
      [PB] Doing Logic
      [PB] time elapsed 1248
      [PB] Going to load species Cat
      [PB] Doing Logic
      [PB] time elapsed 392
      [PB] Cant cast anything or swapout, passing
      [PB] Going to load species Cat
      [PB] Doing Logic
      [PB] Going to do simple rotate //Cat gets low then swaps for Cinder Kitten
      [PB] time elapsed 431
      [PB] Going to load species Cinder Kitten
      [PB] Doing Logic
      [PB] time elapsed 464
      [PB] Going to load species Cinder Kitten
      [PB] Doing Logic
      [PB] time elapsed 416
      [PB] Going to load species Cinder Kitten
      [PB] Doing Logic
      [PB] time elapsed 414
      [PB] Going to load species Cinder Kitten
      [PB] Doing Logic
      [PB] time elapsed 413
      [PB] Going to load species Cinder Kitten
      [PB] Doing Logic
      [PB] time elapsed 414
      [PB] Cant cast anything or swapout, passing
      [PB] Going to load species Cinder Kitten
      [PB] Doing Logic
      [PB] time elapsed 429
      [PB] Going to load species Cinder Kitten
      [PB] Doing Logic
      [PB] time elapsed 420
      [PB] Going to load species Cinder Kitten //Cinder Kitten gets low and swaps for Black Lamb
      [PB] Doing Logic
      [PB] Going to do simple rotate
      [PB] time elapsed 421
      [PB] Going to load species Black Lamb //Black Lamb is already low and swaps out for Cat
      [PB] Doing Logic
      [PB] Going to do simple rotate
      [PB] time elapsed 435
      [PB] Going to load species Cat //Cat is already low and dies.
      [PB] Doing Logic
      [PB] Going to do simple rotate
      [PB] time elapsed 418
      [PB] Going to load species Cinder Kitten //Cinder Kitten is already low and swaps for Black Lamb
      [PB] Doing Logic
      [PB] Going to do simple rotate
      [PB] time elapsed 480
      [PB] Going to load species Black Lamb //Black Lamb is already low and swaps for Cinder Kitten
      [PB] Doing Logic
      [PB] Going to do simple rotate
      [PB] time elapsed 429
      [PB] Going to load species Cinder Kitten//Cinder Kitten is already low and dies
      [PB] Doing Logic
      [PB] Going to do simple rotate
      [PB] time elapsed 1435
      [PB] Going to load species Black Lamb//Black Lamb is already low and fights to the death as it is the only pet remaining.
      [PB] Doing Logic
      [PB] Going to do simple rotate
      [PB] time elapsed 1342
      [PB] Cant cast anything or swapout, passing
      [PB] Going to load species Black Lamb
      [PB] Doing Logic
      [PB] Going to do simple rotate
      [PB] time elapsed 1297
      [PB] Going to load species Black Lamb
      [PB] Doing Logic
      [PB] Going to do simple rotate
      [PB] time elapsed 1260
      [PB] Going to load species Black Lamb
      [PB] Doing Logic
      [PB] Going to do simple rotate
      [PB] time elapsed 1270
      [PB] Going to load species Black Lamb
      [PB] Doing Logic
      [PB] Going to do simple rotate
      Stopping the bot!
      Bot stopping! Reason: User pressed the stop button
      Mounting: Grand Armored Gryphon
      [Gatherbuddy2]: Stopped gatherbuddy after gathering 0 nodes in 0h 11m 0s.
       
      Last edited: Nov 9, 2014
    3. Yottabyte

      Yottabyte New Member

      Joined:
      Jan 1, 2014
      Messages:
      6
      Likes Received:
      0
      Trophy Points:
      0
      To me the logic with regard to SWAPOUT should be like this:

      Pet 1 (leveling pet) does one move than swaps out for pet 2 (1st ringer).

      Pet 2 fights until victory or death. In the event of death swap out for pet 3 (2nd ringer).

      Pet 3 fights until victory or death. In the event of death swap out for pet 1.

      Pet 1 fights until victory or death.

      After battle BPS should analyze the health and either heal or swap out for other pets in the journal.
       
    4. Yottabyte

      Yottabyte New Member

      Joined:
      Jan 1, 2014
      Messages:
      6
      Likes Received:
      0
      Trophy Points:
      0

      Look at me not reading......


      Sorry about that. I can do the steps again. But I didn't have an option for detailed logging. I have normal, verbose, and diagnostic. Which do you prefer?
       
    5. Yottabyte

      Yottabyte New Member

      Joined:
      Jan 1, 2014
      Messages:
      6
      Likes Received:
      0
      Trophy Points:
      0
      I have been fiddling with the logics to try and get the behavior I want but it seems like no matter what I do I can't get a pet to fight until dead (to prevent the never ending switching). What am I missing here?
       
    6. Mugz

      Mugz New Member

      Joined:
      Sep 6, 2014
      Messages:
      11
      Likes Received:
      0
      Trophy Points:
      0
      I have trouble. If my pet go to stun, PB not switch to other pet or skip movement. How to fix?
       
    7. stuartroad

      stuartroad Member

      Joined:
      Feb 17, 2013
      Messages:
      302
      Likes Received:
      1
      Trophy Points:
      18
      this is currently happening, also it keeps switching to low level pet if your carrier gets low hp, is there a way to stop this?
       
    8. Nashal

      Nashal New Member

      Joined:
      Feb 1, 2012
      Messages:
      112
      Likes Received:
      0
      Trophy Points:
      0
      getting the following error when i want to equip a logic via logic manager to my cheetah cub (view Attachment)

      Details of the error:

      PHP:
      See the end of this message for details on invoking 
      just
      -in-time (JITdebugging instead of this dialog box.

      ************** 
      Exception Text **************
      System.Data.SQLite.SQLiteException (0x80004005): SQL logic error or missing database
      unrecognized token
      "0000039A1BF7"
         
      at System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnnString strSqlSQLiteStatement previousUInt32 timeoutMSStringstrRemain)
         
      at System.Data.SQLite.SQLiteCommand.BuildNextCommand()
         
      at System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index)
         
      at System.Data.SQLite.SQLiteDataReader.NextResult()
         
      at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmdCommandBehavior behave)
         
      at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
         
      at System.Data.SQLite.SQLiteCommand.ExecuteReader()
         
      at Pokehbuddyplug.configForm.SetPetLogic(String petidString logicidin d:\hb\Plugins\Pokehbuddy\configForm.cs:line 1651
         at Pokehbuddyplug
      .configForm.button56_Click(Object senderEventArgs ein d:\hb\Plugins\Pokehbuddy\configForm.cs:line 2401
         at System
      .Windows.Forms.Control.OnClick(EventArgs e)
         
      at System.Windows.Forms.Button.OnClick(EventArgs e)
         
      at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
         
      at System.Windows.Forms.Control.WmMouseUp(MessagemMouseButtons buttonInt32 clicks)
         
      at System.Windows.Forms.Control.WndProc(Messagem)
         
      at System.Windows.Forms.ButtonBase.WndProc(Messagem)
         
      at System.Windows.Forms.Button.WndProc(Messagem)
         
      at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Messagem)
         
      at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Messagem)
         
      at System.Windows.Forms.NativeWindow.Callback(IntPtr hWndInt32 msgIntPtr wparamIntPtr lparam)
      HB won't say anything to it so log is empty
       

      Attached Files:

    9. toliman

      toliman Member

      Joined:
      Jun 20, 2012
      Messages:
      625
      Likes Received:
      10
      Trophy Points:
      18
      Requires a timer check which is not part of the fight system, and a default choice for when you are stunned.

      Occasionally, if a swapout fails, due to a stun, there is a delayed response, or a failed state which doesn't time out.

      To fix it, there are currently 6 kinds of stuns that can be used against your own team, not including the 100+ new WoD pets or the next few trainer /challenge pets. (which will come later on)

      Every logic currently requires 6 lines to avoid the stun effect, and to passturn on the following buffs, 927, 926, 822, 498, 174, 734. This should be the default set for any pet. Some pets should swap when this happens, but the passturn works faster and avoids the conflict between trapped and stunned pets. Or both.
       
    10. toliman

      toliman Member

      Joined:
      Jun 20, 2012
      Messages:
      625
      Likes Received:
      10
      Trophy Points:
      18
      It's a database check, it can happen when the file is locked or missing.

      You can also get this if the database is locked or not loaded, or, not created at all, or damaged. The sqlite implementation is not 'safe', you also get this error popup if sqlite hasn't started up or opened the table. It's just the implementation and evaluation of the system.data.sqlite code.

      Check the DB is working by creating a logic from scratch, which will go through the process of creating and accessing the table(s) inside PetLogics.db.

      Sometimes, the process needs to run from the beginning instead of just jumping into the database it assumes is already good to go.
       
    11. Knavt

      Knavt New Member

      Joined:
      Apr 17, 2014
      Messages:
      6
      Likes Received:
      0
      Trophy Points:
      0
      Pokehbuddy workking fine, but petarea can't be loaded
      Code:
      Compiler Error: d:\Honorbuddy\Plugins\PetArea\PetArea.cs(187,37) : error CS1502: The best overloaded method match for 'Styx.CommonBot.Blacklist.Contains(System.Func<Styx.CommonBot.Blacklist.BlacklistEntry,bool>)' has some invalid arguments
      Compiler Error: d:\Honorbuddy\Plugins\PetArea\PetArea.cs(187,56) : error CS1503: Argument 1: cannot convert from 'Styx.WoWInternals.WoWGuid' to 'System.Func<Styx.CommonBot.Blacklist.BlacklistEntry,bool>'
       
    12. vamp

      vamp New Member

      Joined:
      Aug 24, 2011
      Messages:
      149
      Likes Received:
      0
      Trophy Points:
      0
      I'm trying to get this to work but the bot keeps flying west and fighting all low level mobs even though #1 pet is level 8 and the rest are level 1...also they never switch pets. I'm new to this, can anyone give me any advice?
       
    13. Azile

      Azile New Member

      Joined:
      May 18, 2013
      Messages:
      40
      Likes Received:
      0
      Trophy Points:
      0
      Error with Pokehbuddy.cs

      I am getting this when I start Honor Buddy with Pokehbuddy. Has worked fine in the past.

      Compiler Error: e:\Honorbuddy\Plugins\Pokehbuddy\Pokehbuddy.cs(280,30) : error CS0115: 'Pokehbuddyplug.Pokehbuddy.Initialize()': no suitable method found to override

      Any help please?

      Azile
       
    14. machomeiskin

      machomeiskin New Member

      Joined:
      Jan 26, 2014
      Messages:
      13
      Likes Received:
      0
      Trophy Points:
      0
      How do I make pokebuddy only engage pets I do not currently own?
       
    15. magejin

      magejin New Member

      Joined:
      Aug 26, 2012
      Messages:
      23
      Likes Received:
      0
      Trophy Points:
      0
      Pokebuddy ... very very thanx!!!!

      But, Low HP Pet change is error..??

      A, B, C = Pet

      Fighting.... until A (HP 20%?)
      Change -> B (HP 100%)

      Fighting.... until B(HP 20%?)
      Change -> A (HP 20%?) <---- error ????!!!!!!!

      A (HP 10%) <-> Change <-> B (HP 20%) <---- Change repeat A or B dead

      if B dead (HP 0%) -> Select -> A (HP 10%) then Change C (HP 100%)

      Plz check this....
       
      Last edited: Nov 12, 2014
    16. toliman

      toliman Member

      Joined:
      Jun 20, 2012
      Messages:
      625
      Likes Received:
      10
      Trophy Points:
      18
      With great difficulty.

      First a caveat.

      Doing this, will cause problems, and will not work as you expect in some areas as some elusive pets only appear as the second or third pet in a group of 3, namely undead, critters, mechanical, flying, magic, aquatic and humanoid. So, most of the wild pets, to be fair.

      As long as you know what can happen, and you might be waiting 10 hours for a pet that doesn't exist as a creature/critter, but as a pet that appears with another type, then go ahead.

      Most people prefer to battle redundant/low level pets for the chance at battle stones and the MoP achievement.

      In WoD, the 500 pet achieve unlocks the menagerie in the Garrison, which improves successful capture attempts, and at 100/level 3, halves the 8 minute heal to 4 minutes,and you can trade work order items for upgrade /level up stones. It's a whole new daily grind.

      So, back to business.

      First, you need to export the list of pets you have, into a list. Use whatever you want to examine your pet list.

      Wowhead, Petsear.ch , wowprogress, warcraftpets, etc. They can all strip the armory and give the original pet names, including filters and missing pets if you need or want the whitelist instead.

      Copy and paste the list of pets you have into a text list, with just the title for each pet, it's not case sensitive, but include dashes, spaces and apostrophes

      Then, open up and copy the results into the blacklist file in the PB folder, making sure to use the existing filename. You should also keep the fable pet list (the first ten pets in the list)

      Use notepad or a simple text editor to open and save the results, one pet per line, and a carriage return after each one, no extra spaces.

      Then enable the blacklist in PB settings and start HB. It should load the list and scan through every time it wants to engage with a pet.

      If you get to ~100 entries, I'd suggest don't use the blacklist as it won't work very well and will slow down PB and WoW. (thousands of string comparisons per second takes CPU time)

      If you have 400+ pets, use the whitelist instead, as it would be quicker, and you can keep the list to ~50 pets per continent, usually. The same search applies, but you start with the list of wild pets you don't have, and edit the whitelist.txt file.
       
    17. eigoteacher

      eigoteacher Member

      Joined:
      Apr 3, 2012
      Messages:
      389
      Likes Received:
      1
      Trophy Points:
      18
      Tried the HB store's version made by another guy. It power levels pets really quickly. All we would need is a profile that can go to that spot. I just used the trial because it's way overpriced. It's really good though.
       
    18. Jack3ss

      Jack3ss New Member

      Joined:
      Oct 16, 2012
      Messages:
      254
      Likes Received:
      0
      Trophy Points:
      0
      are pet fights disabled atm? i cant even start a fight manually with a wild pet ?!?
       
    19. HBfanboy1980

      HBfanboy1980 Active Member

      Joined:
      Jan 16, 2012
      Messages:
      1,139
      Likes Received:
      11
      Trophy Points:
      38
      There are a lot of spots that you can power level pets really fast. Not sure how ethical it is to do this though especially because the respawn timer will not support multiple people. He makes this quite clear in the explanation on the post of the [PAID] version...

      EDIT: Just fyi I'm not saying buy the paid version, but maybe offer up spots that as nearly as good and options to farm them rather than just steal someone else s idea outright.
       
    20. maybe

      maybe Community Developer

      Joined:
      May 15, 2010
      Messages:
      488
      Likes Received:
      18
      Trophy Points:
      0
      There's a better one coming soon, so save your money :)
       

    Share This Page