• Visit Honorbuddy
  • Visit Rebornbuddy
  • Visit Demonbuddy
  • Visit Exilebuddy
  • Visit Hearthbuddy
  • Visit Pokefarmer
  • Visit Buddystore

[PLUGIN] CleanMyBags [BETA]

Discussion in 'Leveling' started by jimmy06, Sep 8, 2016.

  1. laria

    laria Well-Known Member

    Joined:
    Jan 15, 2010
    Messages:
    5,347
    Likes Received:
    25
    Trophy Points:
    48
    just add two slashes in front of
    to comment it out
     
  2. thebbandit

    thebbandit New Member

    Joined:
    Jan 24, 2014
    Messages:
    91
    Likes Received:
    3
    Trophy Points:
    0
    I am trying to add a check to the ancient mana items for BOE crystals and gems. I dont know how I would check to see if its bind on equip, would you consider adding that to the plugin?
     
  3. laria

    laria Well-Known Member

    Joined:
    Jan 15, 2010
    Messages:
    5,347
    Likes Received:
    25
    Trophy Points:
    48
    ItemInfo.Bond returns Bind on Pickup or Bind on Equip and thelike.
    ItemInfo.Bond Property
     
  4. laria

    laria Well-Known Member

    Joined:
    Jan 15, 2010
    Messages:
    5,347
    Likes Received:
    25
    Trophy Points:
    48
    Small WIP update:

    • add support for items that reward reputation
    • add support for recipes for the following professions:
      • Alchemy
      • Blacksmithing
      • Cooking
      • Enchanting
      • JewelCrafting
      • Leatherworking
      • Skinning
      • Tailoring
    • add support for the Draenor profession books

    TODO:
    • Engineering Recipes
    • Reputation Checks
    • Toys
    • Mounts
    • bugfixes & code cleanup
    • check for additional items to be supported
     

    Attached Files:

    Last edited: Jan 6, 2017
  5. DSGG

    DSGG New Member

    Joined:
    Dec 18, 2016
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0


    Can you make the bot opened one bag and with a timeout? Otherwise, after 1-2 hours I get an error in the game: Internal error bags. I tryed to correct a code but i wrong... Thank you for clean code :)
     
    Last edited: Jan 6, 2017
  6. laria

    laria Well-Known Member

    Joined:
    Jan 15, 2010
    Messages:
    5,347
    Likes Received:
    25
    Trophy Points:
    48
    Fullquotes are not nice, especially if they are so long.
    That said, is there any particular item that causes that problem?
     
  7. DSGG

    DSGG New Member

    Joined:
    Dec 18, 2016
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    i opened Oddly-Shaped Stomach. after 1-2 hours farm skins I got an error in the game: Internal error bags. if my character have 2-3 bags that plugin open all at once. i want to open 1 bag at once with global cooldown, otherwise he had no time to take and the error takes off. sorry for my very bad english. i'll make a video with this problem
     
  8. laria

    laria Well-Known Member

    Joined:
    Jan 15, 2010
    Messages:
    5,347
    Likes Received:
    25
    Trophy Points:
    48
    Check Jimmys file a few posts below
     
    Last edited: Jan 29, 2017
  9. DSGG

    DSGG New Member

    Joined:
    Dec 18, 2016
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    Code:
    [PHP][00:10:58.365 N] [CleanMyBags] Opening Желудок необычной формы.
    [00:10:58.366 D] System.IndexOutOfRangeException: Index was outside the bounds of the array.
       at Styx.WoWInternals.DB.ItemEffectList.get_Item(Int32 index)
       at CleanMyBags.CleanMyBags.<simpleContainerItems>d__20.MoveNext() in D:\BOTS\Plugins\CleanMyBag\CleanMyBags.cs:line 159
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at *​​‏*‪**‫**​‫‏*‬‫*‏‪*​‪******.*​*‏‏‬‪***‏​​*‫**​**‪*​*​​*.*‪*​*‎*‫*‪​‫‪‏*‪‏*‪**(Task , Int32 )
       at Buddy.Coroutines.Coroutine.">GL-Dm\*7g!ySg#'6)\])_Gv\*".MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
       at CleanMyBags.CleanMyBags.<MainCoroutine>d__19.MoveNext() in D:\BOTS\Plugins\CleanMyBag\CleanMyBags.cs:line 134
    [00:10:58.366 D] Running Logic @ 01/08/2017 10:10:58
    [00:10:58.366 N] [CleanMyBags] Opening Желудок необычной формы.[/PHP]

    I am trying to find a mistake, but ... could only find it.
    I upload all of the log so that you can understand what's what.
    Thank you for good work with cooldown. I will try it.
    Look towards the end of the log. View attachment 4732 2017-01-08 07.37.txt
    If i can to help you - tell me about it.
     
  10. jimmy06

    jimmy06 Moderator Staff Member Moderator

    Joined:
    May 12, 2010
    Messages:
    824
    Likes Received:
    19
    Trophy Points:
    18
    Updated main thread file.
     
    Last edited: May 2, 2017
  11. Beltic

    Beltic Member

    Joined:
    May 4, 2014
    Messages:
    183
    Likes Received:
    2
    Trophy Points:
    18
    downloaded this morning after the new bot released.


    Code:
    Honorbuddy v3.0.16793.873 started.
    Compiler Error: J:\hb.3.0.16793.873\Plugins\CleanMyBags\CleanMyBags.cs(619,37) : error CS1061: 'WoWSpell' does not contain a definition for 'SPellEffects' and no extension method 'SPellEffects' accepting a first argument of type 'WoWSpell' could be found (are you missing a using directive or an assembly reference?)
    Logging in...
    Attaching to D3D11
    Attached to WoW with ID 23152
    Honorbuddy v3.0.16793.873 started!
    
     
  12. laria

    laria Well-Known Member

    Joined:
    Jan 15, 2010
    Messages:
    5,347
    Likes Received:
    25
    Trophy Points:
    48
    That is clearly a typo that Jimmy already fixed, you probably downloaded it in the small window while the wrong version was available.
    You just have to fix the case in
     
  13. laria

    laria Well-Known Member

    Joined:
    Jan 15, 2010
    Messages:
    5,347
    Likes Received:
    25
    Trophy Points:
    48
    Coming soon: items that reward XP
     
  14. Payyn

    Payyn New Member Legendary

    Joined:
    Mar 11, 2015
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Any update on this? Also, what is the latest working version? The version I have causes HB not to run after 7.2
     
  15. laria

    laria Well-Known Member

    Joined:
    Jan 15, 2010
    Messages:
    5,347
    Likes Received:
    25
    Trophy Points:
    48
    Any error,any item in particular?
     
  16. Payyn

    Payyn New Member Legendary

    Joined:
    Mar 11, 2015
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    No error, HB just freezes and you are unable to stop the bot. The item I'm looking for is Oddly shaped stomach and artifact power
     
  17. jimmy06

    jimmy06 Moderator Staff Member Moderator

    Joined:
    May 12, 2010
    Messages:
    824
    Likes Received:
    19
    Trophy Points:
    18
    I'll look at this in a few. Or try at least
     
  18. jimmy06

    jimmy06 Moderator Staff Member Moderator

    Joined:
    May 12, 2010
    Messages:
    824
    Likes Received:
    19
    Trophy Points:
    18
    Right my I just checked this (sorry for taking so long to reply) and this does not crash HB. What other problems are there? I will be looking at releasing an updated version soon as well.
     
  19. jimmy06

    jimmy06 Moderator Staff Member Moderator

    Joined:
    May 12, 2010
    Messages:
    824
    Likes Received:
    19
    Trophy Points:
    18
    I have managed to replicate this issue and I'm trying to work out what causes it now.
     
  20. laria

    laria Well-Known Member

    Joined:
    Jan 15, 2010
    Messages:
    5,347
    Likes Received:
    25
    Trophy Points:
    48
    Here we go with the current version that i am using on my chars.
    Covering Items that increase the cap for currencies and handle latency a bit better for various containers.
    It also will use the Artifact Knowledge Compendiums if they will increase the AK level.
     

    Attached Files:

Share This Page