• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [PAID] GarrisonButler

    Discussion in 'Honorbuddy Store Botbases' started by deams, Nov 29, 2014.

    1. yupaporn

      yupaporn New Member

      Joined:
      Sep 30, 2012
      Messages:
      98
      Likes Received:
      0
      Trophy Points:
      0

      i saw today aswell its random what fruits spawn.. and i did collect 40 of my food buff in 5-10 mins so it makes sence not to have it there.... i just saw it skipped Things are was WTF ... REPORT ;)

      but the circles it loops everytime it moves to a new loc. drives me nuts, i don't think about beeing reported since im in a phased zone, its just the Camara follows the char and it makes me Dizzy :D
       
    2. bazaltic

      bazaltic Member

      Joined:
      Nov 14, 2012
      Messages:
      256
      Likes Received:
      0
      Trophy Points:
      16
      Hey how can i adjust chance in missions i would like to decrease it a bit, so bot start missions with 50%?
       
    3. deams

      deams Community Developer

      Joined:
      Oct 20, 2014
      Messages:
      714
      Likes Received:
      25
      Trophy Points:
      0
      Hey everyone,

      This time there's way too much posts to answer everyone individually, so I'll try to address most issues here.

      First concerning the archaeology, GarrisonBuddy is developed to be useful throughout the whole extension, meaning we're here for the long run.
      With this in mind it makes sense to simply add an option to auto solve an artifact(certainly randomly at first and then maybe another option to choose which ones?), if the user doesn't choose to tick this option but has his hidden bag full then a popup can show up and invite him to complete one himself.
      Of course the bot would stop and won't start without empty slots in the bag.

      Now concerning the daily CDs, there's definitely a bug concerning the configuration files and the CD detection. This will be fixed in the next release!

      For those having chars not moving at all, this bug is still a mystery. For now Klepp was nice enough to trust me with his account so I will be able to see it with my own eyes.
      I never experienced it so far which makes it really difficult to debug. Hopefully the next release will see the termination of this one!

      There is actually no precise date for the version 0.7.3, since I won't be back home until early January. Gotta take a bit of family time these days. :)
      This makes things slower than it should be, slower than I like it. ;)

      If I missed bugs, remarks... let me know!
       
    4. deams

      deams Community Developer

      Joined:
      Oct 20, 2014
      Messages:
      714
      Likes Received:
      25
      Trophy Points:
      0
      This will be available in a future release!As well as other missions related features.
       
    5. Wullie

      Wullie New Member

      Joined:
      Jun 8, 2013
      Messages:
      411
      Likes Received:
      3
      Trophy Points:
      0
      Just wanted to check you'd seen this one. I edited the item ID in the code and it's working correct now, just want to be sure it doesn't revert in next release.

      Keep up the good work!
       
    6. deams

      deams Community Developer

      Joined:
      Oct 20, 2014
      Messages:
      714
      Likes Received:
      25
      Trophy Points:
      0
      Thanks :) It's on my list!
       
    7. ArmyDr

      ArmyDr New Member

      Joined:
      Dec 17, 2011
      Messages:
      455
      Likes Received:
      53
      Trophy Points:
      0
      It appears the professions CD bug is only since the latest HB patch (if that helps).

      Good work bro!!! Enjoy family time!!!
       
    8. Fd2me

      Fd2me New Member

      Joined:
      Dec 5, 2011
      Messages:
      173
      Likes Received:
      0
      Trophy Points:
      0
      It's works great with 4 out of 6 toons save time where I can get on with our chores thank you so much for you hard work. Merry Xmas and Happy new year. ☺
       
    9. feskins

      feskins Member

      Joined:
      Jul 24, 2013
      Messages:
      179
      Likes Received:
      0
      Trophy Points:
      16
    10. namednoob

      namednoob Community Developer

      Joined:
      Apr 25, 2014
      Messages:
      1,097
      Likes Received:
      25
      Trophy Points:
      38
      It only needs to solve arakkoa artifacts or at least I haven't notice it collecting any other fragments(need some one else to confirm this). Its not a bag slot, its a currency with a 200 artifacts limit, you can check my early post where I list its currency ID, see below link.

      https://www.thebuddyforum.com/honor...ot-garrisonbuddy-post1785464.html#post1785464
       
    11. Wullie

      Wullie New Member

      Joined:
      Jun 8, 2013
      Messages:
      411
      Likes Received:
      3
      Trophy Points:
      0
      So, further to the issue of it locking up, it seems perhaps to be stuck at line 292 of Coroutine.Move2.cs, which is doing ObjectManager.Update

      Code:
      [15:00:54.052 D] Changed POI to: Type: Harvest
      [15:00:54.122 N] Moving to Type: Harvest
      [15:00:56.304 D] [GarrisonBuddy] 0.7.0: Starting path generation.
      [15:00:56.309 D] [GarrisonBuddy] 0.7.0: Path generated in 5ms.
      [15:51:14.744 N] Wow exited, Honorbuddy stopped!
      [15:51:14.744 Q] Bot stopping! Reason: Wow exited, Honorbuddy stopped!
      [15:51:14.744 N] Honorbuddy terminating in 20 seconds.
      [15:51:14.744 D] System.Exception: Only part of a ReadProcessMemory or WriteProcessMemory request was completed, at addr: 01ED9068, Size: 4
         at GreyMagic.ExternalProcessMemory.ReadByteBuffer(IntPtr addr, Void* buffer, Int32 count)
         at GreyMagic.MemoryBase.Read[T](IntPtr addr)
         at Styx.WoWInternals.ObjectManager.()
         at Styx.WoWInternals.ObjectManager.Update()
         at GarrisonBuddy.NavigationGaB.FindPath(WoWPoint start, WoWPoint end) in c:\HB\HonorbuddyCurrent\Bots\GarrisonBuddy\Coroutines\Coroutine.Move2.cs:line 292
      
      At 15:00 it hangs, seemingly stuck in a loop (unable to close HB, usage at 50% (dual core system, so suggests single thread looping). I've had this occur on multiple separate systems and installs now, seemingly stuck at the same place.)

      51 minutes later WoW is killed, and then we get this exception thrown. So either, where ever it was stuck released without any log information upon WoW closing, and then it proceeded onto ObjectManager.Update(), or it's ObjectManger.Update that's hanging it.

      I noticed that you used to have an AquireFrame here inside this loop, but that has been commented out. From what I can see the HB documentation (Honorbuddy:Developer Notebook:Understanding the ObjectManager - The Buddy Wiki) seems to suggest that any heavy work with the ObjectManager should be done within a frame lock, but that a full .Update should never be necessary as it's done every frame automatically anyway - I'm wondering if there is perhaps a race condition occurring here between the automatic update that occurs each frame and this explicit one.

      Anyway, posting what I've seen so far here in case there's something that immediately jumps out to you. In the meantime I'll add some extra debugging detail and see what else I can uncover.
       
    12. deams

      deams Community Developer

      Joined:
      Oct 20, 2014
      Messages:
      714
      Likes Received:
      25
      Trophy Points:
      0
      Thanks for the precision!

      Hoping to reach 100% soon :)

      Thanks!
       
    13. deams

      deams Community Developer

      Joined:
      Oct 20, 2014
      Messages:
      714
      Likes Received:
      25
      Trophy Points:
      0
      Yeah, thanks for it!

      Very interesting! I had a problem with the framelock, that's why the comments.
      Will take another look into it.
      Thank you very much for sharing this info!
       
    14. zeldrak

      zeldrak Well-Known Member

      Joined:
      Oct 25, 2010
      Messages:
      3,516
      Likes Received:
      25
      Trophy Points:
      48
      Deams --
      I lost track of the thread, and when I came back there were numerous posts to sift through, so I apologize if I may have missed something. Have you stopped updating the SVN? I did a quick, cursory search on the Buddy Store and nothing came up for GarrisonBuddy. I update daily and haven't noticed and SVN updates coming through. Have you been updating, or am I just missing something completely? A new SVN link, a new download, anything like that?
       
    15. deams

      deams Community Developer

      Joined:
      Oct 20, 2014
      Messages:
      714
      Likes Received:
      25
      Trophy Points:
      0
      Hey :)
      Nothing since v0.7.1 :)
       
    16. zeldrak

      zeldrak Well-Known Member

      Joined:
      Oct 25, 2010
      Messages:
      3,516
      Likes Received:
      25
      Trophy Points:
      48
      Ah, ok then. I believe that's the latest I have. Thanks!
       
    17. Mydruid

      Mydruid New Member

      Joined:
      Dec 13, 2010
      Messages:
      226
      Likes Received:
      2
      Trophy Points:
      0
      Hey deams thanks for the work and for keeping us updated.

      Any thoughts on adding the option to process mats to fulfil work orders? So for example milling herbs or converting dust. A more complex one would be checking if trade post is active and using garrison resources to buy the items needed. No idea how doable that would be.

      Happy Holidays
       
    18. Soeski

      Soeski Member

      Joined:
      Jan 15, 2010
      Messages:
      971
      Likes Received:
      2
      Trophy Points:
      18
      SVN still has 0.7.0 (rev 24), or did you just not update the version number?
       
    19. velonici

      velonici Member

      Joined:
      Oct 16, 2011
      Messages:
      155
      Likes Received:
      2
      Trophy Points:
      18
      I have it set up to do the level 2 Gem Boutique work orders (Horde side) its trying to start them at the herb garden.
      Also I had asked about if the toon should be walking around while trying to turn in/ start follower missions. You said it shouldn't. So here is a log file with that happening as well. It seems as thought the bot thinks its stuck and does the unstuck routine.
      View attachment 14016 2014-12-21 16.04.txt
       
    20. Wullie

      Wullie New Member

      Joined:
      Jun 8, 2013
      Messages:
      411
      Likes Received:
      3
      Trophy Points:
      0
      Hi again!

      So, I've been looking at this in more detail to try and work out why it keeps hanging. It's not ObjectManager.Update where it's getting stuck, but it is certainly inside that loop.

      Line 287 in Coroutine.Move2.cs:

      Code:
      while ((DateTime.Now - startedAt).TotalMilliseconds < 1000/TreeRoot.TicksPerSecond || task.IsCompleted)
      
      Unless I'm completely misunderstanding what's being done here (which could well be the case!), should we not be looping *until* the task to generate the path is completed, *or* the timeout is passed.

      Eg, should it not read:

      Code:
      while ((DateTime.Now - startedAt).TotalMilliseconds < 1000/TreeRoot.TicksPerSecond && !task.IsCompleted)
      
      With the current implementation, if the task completes within the timeout then we stay inside that loop forever, no? Whereas it the path generation is still *not* completed by 66ms (assuming 15 ticks/second) then it'll leave the loop. I'm unsure if the intention is to start transversing the path *before* it's fully generated or not, but if the case is not, then I'd perhaps look at increasing that timeout a little too. (The path itself gets generated quite quickly as per your existing logging, but we loose about 100ms or so looping over that path inside FindPathInner, presumably creating the PolygonReference being the expensive bit).

      So, I guess me having a faster CPU (5Ghz) has been what's causing it to run quickly for me and so fail all the time for me.

      I've altered it accordingly, and no hangs so far across 15 characters.

      Appreciate your feedback. Thanks!
       
      Last edited: Dec 21, 2014

    Share This Page