What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[Plugin] TidyBags 3.0 Reloaded!

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.
 
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 :)
I added Sha-Touched Leather and tested.

View attachment 109591

*of course you have to have leatherworking for this to work.
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).
 
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).

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.
 
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.
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 :)
 
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 :)

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
 
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'
 
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.
 
I would love to make it create the Lovely Charm Bracelets for me. Is there any way to do that?
 
Any Problems with "Hidden Stash" Bags? My Toon spams

[Tidy Bags 3.6 Reloaded 3.6.3.9]: Using Hidden Stash we have 1

but dont open them.
 
Last edited:
Back
Top