• 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 Active Member

    Joined:
    Jan 15, 2010
    Messages:
    5,330
    Likes Received:
    24
    Trophy Points:
    38
    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 Active Member

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

    laria Active Member

    Joined:
    Jan 15, 2010
    Messages:
    5,330
    Likes Received:
    24
    Trophy Points:
    38
    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 Active Member

    Joined:
    Jan 15, 2010
    Messages:
    5,330
    Likes Received:
    24
    Trophy Points:
    38
    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 Active Member

    Joined:
    Jan 15, 2010
    Messages:
    5,330
    Likes Received:
    24
    Trophy Points:
    38
    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

    Joined:
    May 12, 2010
    Messages:
    799
    Likes Received:
    18
    Trophy Points:
    18
    Can you please try this version and see if that error occurs again.

    View attachment 218027
     

    Attached Files:

    Last edited: Jan 10, 2017
  11. Beltic

    Beltic Member

    Joined:
    May 4, 2014
    Messages:
    155
    Likes Received:
    1
    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 Active Member

    Joined:
    Jan 15, 2010
    Messages:
    5,330
    Likes Received:
    24
    Trophy Points:
    38
    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 Active Member

    Joined:
    Jan 15, 2010
    Messages:
    5,330
    Likes Received:
    24
    Trophy Points:
    38
    Coming soon: items that reward XP
     

Share This Page