• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Plugin] TidyBags 3.0 Reloaded!

    Discussion in 'Leveling' started by LiquidAtoR, Sep 15, 2010.

    1. LiquidAtoR

      LiquidAtoR Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      1,430
      Likes Received:
      52
      Trophy Points:
      48
      Since you're the only request I will add this soon and upload a revision to the SVN and probably repack it for the forums.

      Добро пожаловать. (long live google translate for international talks :D)
       
    2. ShortRound

      ShortRound New Member

      Joined:
      Jun 14, 2011
      Messages:
      781
      Likes Received:
      14
      Trophy Points:
      0
    3. LiquidAtoR

      LiquidAtoR Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      1,430
      Likes Received:
      52
      Trophy Points:
      48
      Revision 3.6.3.9: Attachment + SVN - Added Handful of Treats and Loot-Filled Pumpkin (Hallow's End Event) (ShortRound), Added Darkmoon Game Prize (MaxMuster), Added several items from Pandaria, Timeless Isle and the SoO raids.

      First post updated attachment, changelog and version number.
       
    4. Giwin

      Giwin Well-Known Member Buddy Store Developer

      Joined:
      Dec 3, 2011
      Messages:
      3,431
      Likes Received:
      49
      Trophy Points:
      48
    5. TKO

      TKO New Member

      Joined:
      Jan 31, 2012
      Messages:
      40
      Likes Received:
      1
      Trophy Points:
      0
    6. Metski

      Metski New Member

      Joined:
      Sep 28, 2013
      Messages:
      50
      Likes Received:
      0
      Trophy Points:
      0
      Thanks a bunch! Gonna check it out...
       
    7. LiquidAtoR

      LiquidAtoR Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      1,430
      Likes Received:
      52
      Trophy Points:
      48
      Will get around to it when I get back home (still @ work for another week, so don't expect a update after 2 weeks more or less unless I post SVN only.
      The timeframe also depends on the speed of the repair service when I come back home.
      Unfortunately my laptop starts to have quirks (screen switches off, audio and usb jacks are not functioning 100% etc).
      It has it's age (5+ years) but it will have to survive another year, hence it has to be repaired while I'm home.
      Can't miss it while @ work since it also has my TV and internet on it, not to forget the movies, music and ofc games :)
      Which is the reason I always 'refused' to add this (and other profession specific items), because it might yield errors when not having the ability or learned profession yet.
      Integration is easy for those that want to add this, and has been posted many times over (not only for this item, but more LW combines etc).
       
    8. Giwin

      Giwin Well-Known Member Buddy Store Developer

      Joined:
      Dec 3, 2011
      Messages:
      3,431
      Likes Received:
      49
      Trophy Points:
      48
      You could probably get a refurbished as new laptop for around 200 sterling (pounds), they really aren't as expensive as they used to be and that's an i3 laptop so quite good compared to your 5 year old one... aslong as it doesn't cost more to repair since it's very expensive to repair laptops.

      You can clone your hard drive using backup software and put it on your new PC, it was me which I've already done would be to put all your stuff on a personal cloud storage device so you can access your games, music, books,movies anywhere the world.
       
    9. laria

      laria Well-Known Member

      Joined:
      Jan 15, 2010
      Messages:
      5,386
      Likes Received:
      36
      Trophy Points:
      48
    10. LiquidAtoR

      LiquidAtoR Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      1,430
      Likes Received:
      52
      Trophy Points:
      48
      repairs are cheap here. Probably sets me back for like 100 euro tops (With sending and Insurance).
      I know, but I'm so used to my big screen, haha (I have a 18,4 inch and wouldn't like to go back anymore :D).
      And cloud storage is lovely as long as you have internet, and that's not available (for free) everywhere I am ;)
      Will try to get em in when I am back home.
      Few more days :)
       
    11. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Btw, in your plugin, you should use LinQ, it helps anyone who's trying to read the code, and modify it, I implemented your plugin (thanks btw, very nice work !) into my private one, and here is what I did :

      Code:
              public static void CheckInventory()
              {
                  if (!InventoryCheck) return;
      
                  // Loot Event has Finished
                  List<WoWItem> myBagItems = ObjectManager.GetObjectsOfTypeFast<WoWItem>().Where(items => items.BagSlot != -1).ToList();
                  myBagItems.ForEach(CheckItem);
                  InventoryCheck = false;
                  StyxWoW.SleepForLagDuration();
              }
      
              private static void CheckItem(WoWItem myItem)
              {
                  if (myItem == null || StyxWoW.Me.FreeNormalBagSlots < 1) return;
      
                  // check if item exists and is in bag and we have space
                  if (_itemUseOnOne.Contains(myItem.Entry))
                  { 
                      // stacks of 1
                      if (myItem.StackCount >= 1)
                          useItem(myItem);
                  }
                  else if (_itemUseOnThree.Contains(myItem.Entry))
                  { 
                      // stacks of 3
                      if (myItem.StackCount >= 3)
                          useItem(myItem);
                  }
                  else if (_itemUseOnFive.Contains(myItem.Entry))
                  { 
                      // stacks of 5
                      if (myItem.StackCount >= 5)
                          useItem(myItem);
                  }
                  else if (_itemUseOnTen.Contains(myItem.Entry))
                  { 
                      // stacks of 10
                      if (myItem.StackCount >= 10)
                          useItem(myItem);
                  }
                  else if (_destroyItems.Contains(myItem.Entry))
                      destroyItem(myItem);
              }
      
              public bool CanInteractWithInventory()
              {
                  return !StyxWoW.Me.IsActuallyInCombat && !StyxWoW.Me.Mounted && !StyxWoW.Me.IsDead && !StyxWoW.Me.IsGhost;
              }
      
      Like this, everyone who tries to do shit into the code itself know where is the most important part of the code, and can add checks, lists, or whatever he wants without having to read whole code to understand how it works. Still good work tho, very very very useful ;)

      NB: the code mentioned hasnt been tested yet since I'm currently leveling in LK, where most of items in the lists are inexistants, but i'll have the time to check it in few hours.

      EDIT : Would be cool aswell, to make itemlists out of the plugin, like this SVN updates etc don't break users's items added manually (simply use new extension, scan those files, and load files into hashsets/lists =] I'll give it a shot soon.

      EDIT2 : Managed to make it work, (ONLY OP) mp me if you're interested in making it work that way <3 much love
       
    12. Giwin

      Giwin Well-Known Member Buddy Store Developer

      Joined:
      Dec 3, 2011
      Messages:
      3,431
      Likes Received:
      49
      Trophy Points:
      48
      Hidden Stash - Item - World of Warcraft

      [TABLE="width: 301"]
      [TR]
      [TD]Hidden Stash
      Item Level 43

      Binds when picked up
      "Some extra gold, revealed by Fiona's Lucky Charm."
      <Right Click to Open>[/TD]
      [/TR]
      [/TABLE]
       
    13. DexGad

      DexGad New Member

      Joined:
      Jan 5, 2014
      Messages:
      15
      Likes Received:
      1
      Trophy Points:
      0
      how to fix that ?
      Code:
      Compiler Error: c:\Documents and Settings\Administrator\Desktop\Honorbuddy 2.5.9088\Plugins\Tidybags\TidyBagsZandalariEdit.cs(258,18) : error CS0101: The namespace 'PluginTidyBags3' already contains a definition for 'TidyBags3'
      Compiler Error: c:\Documents and Settings\Administrator\Desktop\Honorbuddy 2.5.9088\Plugins\TidyBags-master\Tidybags\TidyBagsZandalariEdit.cs(258,18) : error CS0101: The namespace 'PluginTidyBags3' already contains a definition for 'TidyBags3'
       
    14. Florida

      Florida Banned

      Joined:
      Jan 2, 2014
      Messages:
      217
      Likes Received:
      0
      Trophy Points:
      0
      Going to Crate of X Archaeology Fragments later, will post.
       
    15. Refelxz

      Refelxz New Member

      Joined:
      Jan 2, 2014
      Messages:
      30
      Likes Received:
      0
      Trophy Points:
      0
      Is it Possible to get it to Stack 5 Sha-Touched Leather,
       
    16. Pasterke

      Pasterke Well-Known Member Buddy Store Developer

      Joined:
      Dec 12, 2011
      Messages:
      1,228
      Likes Received:
      48
      Trophy Points:
      48
      One of the best addons for WoW was Lootfilter wich isn't supported anymore. What I missed, was the easy config mode to add items to delete.

      Here we have a very nice Plugin TidyBags, but to add items to the destroy list, you need to go manually edit the cs file.

      I added an GUI interface to the plugin to add items to an destroy list. The destroy list is personal for every character.

      I post here the modified version.

      Al credits goes still to Liquidator and if he wants, he can use the code.

      When you start HB and you go to the plugins, you now have a button Settings if you click the TidyBags addon. Click on Settings and add the items to destroylist or remove items from destroy list.

      Save your settings and you are done.

      Imoprtant : If you have TidyBags already, delete it from you Plugin Folder and unpack the zip file in your Plugin Folder.

      If Liquidator don't approve, I will delete the zip file.
       
    17. chkizo

      chkizo New Member

      Joined:
      Dec 17, 2012
      Messages:
      147
      Likes Received:
      0
      Trophy Points:
      0
      I would love to make it create the Lovely Charm Bracelets for me. Is there any way to do that?
       
    18. LiquidAtoR

      LiquidAtoR Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      1,430
      Likes Received:
      52
      Trophy Points:
      48
      Does that already...
       
    19. tumbum

      tumbum Active Member

      Joined:
      Mar 17, 2011
      Messages:
      3,341
      Likes Received:
      13
      Trophy Points:
      38
      Any Problems with "Hidden Stash" Bags? My Toon spams

      but dont open them.
       
      Last edited: Mar 5, 2014
    20. Zicoth

      Zicoth Member

      Joined:
      Oct 17, 2011
      Messages:
      544
      Likes Received:
      2
      Trophy Points:
      18
      After last bot update doesnt work with brodie's dailies plugin. :(
       

    Share This Page