• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Bot] PokehBuddy (Conversion of Plugin)

    Discussion in 'Botbases' started by sychotix, Dec 16, 2013.

    1. TR4c3R

      TR4c3R New Member

      Joined:
      May 19, 2012
      Messages:
      16
      Likes Received:
      0
      Trophy Points:
      0
      I've been using this for a couple days now and it's working well. For some reason I can't get the pet settings to work. I copied over all of the files but when I run the bot it creates a new file for each pet by it's ID, not the pet names. Is this intentional or am I missing something?
       
    2. TreeK

      TreeK New Member

      Joined:
      Jul 10, 2012
      Messages:
      170
      Likes Received:
      1
      Trophy Points:
      0
      It is intentional. The first time a pet is encountered, a file is made named by the ID of that pet. The file contains settings copied from the pet species file (the one with the pets name). Hmmm...not happy with how that sentence is worded, but can't think of a better way to explain it. Hopefully it makes sense.
       
    3. TR4c3R

      TR4c3R New Member

      Joined:
      May 19, 2012
      Messages:
      16
      Likes Received:
      0
      Trophy Points:
      0
      Thanks. I get that, but shouldn't there be a way to override it? With the plugin version I could just drop in premade pet settings files and they would be picked up automatically. I don't see any way to do the same with this botbase.

      Based off some of earlier posts in this thread, I should be able to fix it by simply deleting the files generated, but that isn't working either.
       
    4. TreeK

      TreeK New Member

      Joined:
      Jul 10, 2012
      Messages:
      170
      Likes Received:
      1
      Trophy Points:
      0
      It should work the same way the plugin does. If a file matching the pet ID exists, it is used, if not, it should use the pet species file, creating a new file with the ID as the name. That is how it is working for me. If you are seeing otherwise, probably have to wait for sychotix to take a look.
       
    5. efir

      efir New Member

      Joined:
      Jan 24, 2012
      Messages:
      113
      Likes Received:
      1
      Trophy Points:
      0
      if i have a downloaded logic... were do i put that? or load it even? :p

      thanks in advance.
       
    6. sychotix

      sychotix New Member

      Joined:
      Dec 13, 2013
      Messages:
      727
      Likes Received:
      5
      Trophy Points:
      0
      You put it in the pet settings folder. If you launched it prior with the pet you want to use, logic may have been created. It will be [petID].xml. You will need to delete this so that it will convert your downloaded behavior.
       
    7. Kazumakun

      Kazumakun Member

      Joined:
      Jan 24, 2012
      Messages:
      171
      Likes Received:
      0
      Trophy Points:
      16
      error CS0246: The type or namespace name 'ActionRetrieveCorpse' could not be found (are you missing a using directive or an assembly reference?) compiler error from SVN
       
    8. sychotix

      sychotix New Member

      Joined:
      Dec 13, 2013
      Messages:
      727
      Likes Received:
      5
      Trophy Points:
      0
      Yeah, it seems like they have made some changes to the API. It seems like the calls that I was making are completely gone now. I will work on it tomorrow.
       
    9. Kazumakun

      Kazumakun Member

      Joined:
      Jan 24, 2012
      Messages:
      171
      Likes Received:
      0
      Trophy Points:
      16

      As temp fix (i know i shouldn't really) i deleted the death handling I wouldn't suggest that to other ppl but my toon most defo wont die where she is atm, Also to add while ur bot base works flawlessly without crashing using PBS it doesn't like swapping pet 1 out @ low hp, Maybeys does but it seems to conflict with the BPS plug in and eventually crash wow (this is with the pulse fix added from the posted fix) I left my log for maybe to have a look as insofar the plug seems pretty precise and the botbase very snappy but sloppy on the switches :p
       
    10. AknA

      AknA Well-Known Member Buddy Store Developer

      Joined:
      Feb 11, 2012
      Messages:
      1,794
      Likes Received:
      65
      Trophy Points:
      48
      The changes you need to make are :
      Code:
      new DecoratorNeedToMoveToCorpse(LevelBot.CreateDeathBehavior()),
      new DecoratorNeedToTakeCorpse(LevelBot.CreateDeathBehavior()),
      
       
    11. sychotix

      sychotix New Member

      Joined:
      Dec 13, 2013
      Messages:
      727
      Likes Received:
      5
      Trophy Points:
      0
      Thanks AknA! This fixes the problem, but does CreateDeathBehavior include all the decorators inside itself? I'll push this out for people anyways.
       
    12. sychotix

      sychotix New Member

      Joined:
      Dec 13, 2013
      Messages:
      727
      Likes Received:
      5
      Trophy Points:
      0
      Another update has been pushed out. Support for using PokehBuddy in primary or secondary mode in Mixed Mode is now added. In order to use this option, look in the settings. There is a checkbox on the first tab at the bottom. You will need to close the Mixed Mode settings box to see changes take effect (as it only checks all bots when opened).

      I also deleted the settings file from the SVN as I believe it should auto-create it. You may want to backup your settings before updating (PetSettings should be preserved).
       
    13. AknA

      AknA Well-Known Member Buddy Store Developer

      Joined:
      Feb 11, 2012
      Messages:
      1,794
      Likes Received:
      65
      Trophy Points:
      48
      This is the death behavior I use in a other botbase that works just fine.
      Code:
      new Decorator(ret => !Character.Me.IsAlive,
        new PrioritySelector(
          new DecoratorNeedToRelease(new ActionReleaseFromCorpse()),
          new DecoratorNeedToMoveToCorpse(LevelBot.CreateDeathBehavior()),
          new DecoratorNeedToTakeCorpse(LevelBot.CreateDeathBehavior()),
          new ActionSuceedIfDeadOrGhost()
        )
      ),
      
       
    14. sychotix

      sychotix New Member

      Joined:
      Dec 13, 2013
      Messages:
      727
      Likes Received:
      5
      Trophy Points:
      0
      Well, I was more wondering if the LevelBot.CreateDeathBehavior() call returned their entire subtree for handling death. This would cause a bunch of duplicated nodes in the tree, but wouldn't affect performance. I guess I'd have to try it out on my own first =P

      Thanks again.
       
    15. Kazumakun

      Kazumakun Member

      Joined:
      Jan 24, 2012
      Messages:
      171
      Likes Received:
      0
      Trophy Points:
      16
      [BPS] Filling Pet Slot 1 with Golden Pig [1]
      [BPS] Filling Pet Slot 2 with Adder [25]
      [BPS] Filling Pet Slot 3 with Alpine Chipmunk [25]
      Attacking Skunk(17379654050255792852)
      Swapping to second pet for higher rating.

      Just ignores what BPS sets out (default leveling is set in the advanced options of the botbase)
       
    16. sychotix

      sychotix New Member

      Joined:
      Dec 13, 2013
      Messages:
      727
      Likes Received:
      5
      Trophy Points:
      0
      If you are fighting mobs too high level for the level 1, it decides to swap out. I can add a setting for this if you guys want, but I have this setup by default.
       
    17. Kazumakun

      Kazumakun Member

      Joined:
      Jan 24, 2012
      Messages:
      171
      Likes Received:
      0
      Trophy Points:
      16
      Actually i dropped the plug in's default logic into the botbase folder and it works now XD
      I still get wow crashes even using the bot base now, I'm wondering if i have dodgy ram though, I'll post a log when it happens again :)
       
    18. sychotix

      sychotix New Member

      Joined:
      Dec 13, 2013
      Messages:
      727
      Likes Received:
      5
      Trophy Points:
      0
      Yeah Kazumakun, if you could watch the ram usage to see if there is a leak within WoW or a leak within HB, that would be great. Logs would be helpful too I guess. I experienced this for quite a while, but I have been questing an alt so I haven't tested if it happened to be fixed.
       
    19. Kazumakun

      Kazumakun Member

      Joined:
      Jan 24, 2012
      Messages:
      171
      Likes Received:
      0
      Trophy Points:
      16
      No log atm but i am running quest bot so i'll let you know, However using tyrael and millz demonic for pretty much 12hrs+ or wow no issue but both pokehbuddy bot/plug in it crashes. I did post a log for the last crash i caught on maybe's plugin page if that will help while u wait on my to leave it running while pet battling again? (also i always use singular with pokehbuddy so that could also be part of the issue)

      http://www.thebuddyforum.com/honorb...-buddy-gotto-kill-em-all-124.html#post1363469
       
    20. Kazumakun

      Kazumakun Member

      Joined:
      Jan 24, 2012
      Messages:
      171
      Likes Received:
      0
      Trophy Points:
      16


      : Not enough memory. Please refer to https://battle.net/support/article/6926 to find out how to reduce your memory usage.
      Left overnight came back mem usages was 9.9mb so i doubt that's going to help hb usage was at 100mb

      Honorbuddy log is quite short (using beta build but same issue happened) Left you with the wow crash log too seems interesting error is not enough memory yet lists available memory as well within the amount requested but i'll leave you to have a look at that and possibly tony at the crash log. Just a note though This is a few day old 8.1 install i checked the ram with the built in on boot ram checker just to make sure the ram wasn't actually fucked.
       

    Share This Page