bio33 12 Posted July 25, 2019 Share Posted July 25, 2019 hi, I am looking for plugin for put looted bags in empty slots Link to comment Share on other sites More sharing options...
TheSmokie 242 Posted July 25, 2019 Share Posted July 25, 2019 what do you mean? like auto equipe bags? Link to comment Share on other sites More sharing options...
bio33 12 Posted July 25, 2019 Author Share Posted July 25, 2019 1 minute ago, Smokie said: what do you mean? like auto equipe bags? Yea Link to comment Share on other sites More sharing options...
TheSmokie 242 Posted July 25, 2019 Share Posted July 25, 2019 using System; using System.Collections.Generic; using System.Threading; using System.Windows.Forms; using robotManager.Helpful; using robotManager.Products; using wManager.Plugin; using wManager.Wow.Helpers; using wManager.Wow.ObjectManager; public class Main : IPlugin { private bool isLaunched; private static WoWLocalPlayer Me = ObjectManager.Me; public void Initialize() { isLaunched = true; while (isLaunched && Products.IsStarted) { try { foreach (WoWItem item in Bag.GetBagItem()) { if (!Products.InPause && Products.IsStarted && !ObjectManager.Me.InCombat && !ObjectManager.Me.IsCast && !ObjectManager.Me.IsDead) { if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(14156) >= 1) { ItemsManager.UseItem(14156); Logging.Write("UBag name"); } } } } catch { } Thread.Sleep(1000 * 3); // Wait 3 sec } } public void Dispose() { isLaunched = false; } public void Settings() { MessageBox.Show("No settings for this plugin."); } } edit to you're needs. bio33 1 Link to comment Share on other sites More sharing options...
bio33 12 Posted July 25, 2019 Author Share Posted July 25, 2019 Thanks, i will try it Link to comment Share on other sites More sharing options...
bio33 12 Posted July 30, 2019 Author Share Posted July 30, 2019 Its dont work or i dont udestand how make it work, anyone able to share comlete TBC plugin for first bags? Link to comment Share on other sites More sharing options...
TheSmokie 242 Posted July 30, 2019 Share Posted July 30, 2019 Link to comment Share on other sites More sharing options...
TheSmokie 242 Posted July 30, 2019 Share Posted July 30, 2019 for the code up top all you have to do is add more bags like this if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(Bag ID) >= 1) { ItemsManager.UseItem(Bag ID); Logging.Write("Bag Name"); } Link to comment Share on other sites More sharing options...
bio33 12 Posted July 30, 2019 Author Share Posted July 30, 2019 using System; using System.Collections.Generic; using System.Threading; using System.Windows.Forms; using robotManager.Helpful; using robotManager.Products; using wManager.Plugin; using wManager.Wow.Helpers; using wManager.Wow.ObjectManager; public class Main : IPlugin { private bool isLaunched; private static WoWLocalPlayer Me = ObjectManager.Me; public void Initialize() { isLaunched = true; while (isLaunched && Products.IsStarted) { try { foreach (WoWItem item in Bag.GetBagItem()) { if (!Products.InPause && Products.IsStarted && !ObjectManager.Me.InCombat && !ObjectManager.Me.IsCast && !ObjectManager.Me.IsDead) { if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(14156) >= 1) { ItemsManager.UseItem(14156); Logging.Write("Use Item Bottomless Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(19914) >= 1) { ItemsManager.UseItem(19914); Logging.Write("Use Item Panther Hide Sack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(22679) >= 1) { ItemsManager.UseItem(22679); Logging.Write("Use Item Supply Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(17966) >= 1) { ItemsManager.UseItem(17966); Logging.Write("Use Item Onyxia Hide Backpack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(14156) >= 1) { ItemsManager.UseItem(14156); Logging.Write("Use Item Bottomless Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(19914) >= 1) { ItemsManager.UseItem(19914); Logging.Write("Use Item Panther Hide Sack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(22679) >= 1) { ItemsManager.UseItem(22679); Logging.Write("Use Item Supply Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(17966) >= 1) { ItemsManager.UseItem(17966); Logging.Write("Use Item Onyxia Hide Backpack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(10959) >= 1) { ItemsManager.UseItem(10959); Logging.Write("Use Item Demon Hide Sack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(14155) >= 1) { ItemsManager.UseItem(14155); Logging.Write("Use Item Mooncloth Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(20400) >= 1) { ItemsManager.UseItem(20400); Logging.Write("Use Item Pumpkin Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(4500) >= 1) { ItemsManager.UseItem(4500); Logging.Write("Use Item Traveler's Backpack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(11742) >= 1) { ItemsManager.UseItem(11742); Logging.Write("Use Item Wayfarer's Knapsack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(10959) >= 1) { ItemsManager.UseItem(10959); Logging.Write("Use Item Demon Hide Sack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(14155) >= 1) { ItemsManager.UseItem(14155); Logging.Write("Use Item Mooncloth Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(20400) >= 1) { ItemsManager.UseItem(20400); Logging.Write("Use Item Pumpkin Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(4500) >= 1) { ItemsManager.UseItem(4500); Logging.Write("Use Item Traveler's Backpack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(11742) >= 1) { ItemsManager.UseItem(11742); Logging.Write("Use Item Wayfarer's Knapsack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(19291) >= 1) { ItemsManager.UseItem(19291); Logging.Write("Use Item Darkmoon Storage Box"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(11324) >= 1) { ItemsManager.UseItem(11324); Logging.Write("Use Item Explorer's Knapsack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(16057) >= 1) { ItemsManager.UseItem(16057); Logging.Write("Use Item Explorer's Knapsack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(3914) >= 1) { ItemsManager.UseItem(3914); Logging.Write("Use Item Journeyman's Backpack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(14046) >= 1) { ItemsManager.UseItem(14046); Logging.Write("Use Item Runecloth Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(9587) >= 1) { ItemsManager.UseItem(9587); Logging.Write("Use Item Thawpelt Sack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(1685) >= 1) { ItemsManager.UseItem(1685); Logging.Write("Use Item Troll-hide Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(19291) >= 1) { ItemsManager.UseItem(19291); Logging.Write("Use Item Darkmoon Storage Box"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(11324) >= 1) { ItemsManager.UseItem(11324); Logging.Write("Use Item Explorer's Knapsack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(16057) >= 1) { ItemsManager.UseItem(16057); Logging.Write("Use Item Explorer's Knapsack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(3914) >= 1) { ItemsManager.UseItem(3914); Logging.Write("Use Item Journeyman's Backpack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(14046) >= 1) { ItemsManager.UseItem(14046); Logging.Write("Use Item Runecloth Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(9587) >= 1) { ItemsManager.UseItem(9587); Logging.Write("Use Item Thawpelt Sack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(1685) >= 1) { ItemsManager.UseItem(1685); Logging.Write("Use Item Troll-hide Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(4499) >= 1) { ItemsManager.UseItem(4499); Logging.Write("Use Item Huge Brown Sack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(1725) >= 1) { ItemsManager.UseItem(1725); Logging.Write("Use Item Large Knapsack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(10050) >= 1) { ItemsManager.UseItem(10050); Logging.Write("Use Item Mageweave Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(10051) >= 1) { ItemsManager.UseItem(10051); Logging.Write("Use Item Red Mageweave Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(1652) >= 1) { ItemsManager.UseItem(1652); Logging.Write("Use Item Sturdy Lunchbox"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(4499) >= 1) { ItemsManager.UseItem(4499); Logging.Write("Use Item Huge Brown Sack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(1725) >= 1) { ItemsManager.UseItem(1725); Logging.Write("Use Item Large Knapsack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(10050) >= 1) { ItemsManager.UseItem(10050); Logging.Write("Use Item Mageweave Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(10051) >= 1) { ItemsManager.UseItem(10051); Logging.Write("Use Item Red Mageweave Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(1652) >= 1) { ItemsManager.UseItem(1652); Logging.Write("Use Item Sturdy Lunchbox"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(5765) >= 1) { ItemsManager.UseItem(5765); Logging.Write("Use Item Black Silk Pack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(918) >= 1) { ItemsManager.UseItem(918); Logging.Write("Use Item Deviate Hide Pack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(932) >= 1) { ItemsManager.UseItem(932); Logging.Write("Use Item Fel Steed Saddlebags"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(5764) >= 1) { ItemsManager.UseItem(5764); Logging.Write("Use Item Green Silk Pack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(1729) >= 1) { ItemsManager.UseItem(1729); Logging.Write("Use Item Gunnysack of the Night Watch"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(4497) >= 1) { ItemsManager.UseItem(4497); Logging.Write("Use Item Heavy Brown Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(804) >= 1) { ItemsManager.UseItem(804); Logging.Write("Use Item Large Blue Sack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(5576) >= 1) { ItemsManager.UseItem(5576); Logging.Write("Use Item Large Brown Sack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(5575) >= 1) { ItemsManager.UseItem(5575); Logging.Write("Use Item Large Green Sack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(857) >= 1) { ItemsManager.UseItem(857); Logging.Write("Use Item Large Red Sack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(933) >= 1) { ItemsManager.UseItem(933); Logging.Write("Use Item Large Rucksack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(1470) >= 1) { ItemsManager.UseItem(1470); Logging.Write("Use Item Murloc Skin Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(3352) >= 1) { ItemsManager.UseItem(3352); Logging.Write("Use Item Ooze-covered Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(4245) >= 1) { ItemsManager.UseItem(4245); Logging.Write("Use Item Small Silk Pack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(6446) >= 1) { ItemsManager.UseItem(6446); Logging.Write("Use Item Snakeskin Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(5765) >= 1) { ItemsManager.UseItem(5765); Logging.Write("Use Item Black Silk Pack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(918) >= 1) { ItemsManager.UseItem(918); Logging.Write("Use Item Deviate Hide Pack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(932) >= 1) { ItemsManager.UseItem(932); Logging.Write("Use Item Fel Steed Saddlebags"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(5764) >= 1) { ItemsManager.UseItem(5764); Logging.Write("Use Item Green Silk Pack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(1729) >= 1) { ItemsManager.UseItem(1729); Logging.Write("Use Item Gunnysack of the Night Watch"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(4497) >= 1) { ItemsManager.UseItem(4497); Logging.Write("Use Item Heavy Brown Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(804) >= 1) { ItemsManager.UseItem(804); Logging.Write("Use Item Large Blue Sack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(5576) >= 1) { ItemsManager.UseItem(5576); Logging.Write("Use Item Large Brown Sack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(5575) >= 1) { ItemsManager.UseItem(5575); Logging.Write("Use Item Large Green Sack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(857) >= 1) { ItemsManager.UseItem(857); Logging.Write("Use Item Large Red Sack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(933) >= 1) { ItemsManager.UseItem(933); Logging.Write("Use Item Large Rucksack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(1470) >= 1) { ItemsManager.UseItem(1470); Logging.Write("Use Item Murloc Skin Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(3352) >= 1) { ItemsManager.UseItem(3352); Logging.Write("Use Item Ooze-covered Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(4245) >= 1) { ItemsManager.UseItem(4245); Logging.Write("Use Item Small Silk Pack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(6446) >= 1) { ItemsManager.UseItem(6446); Logging.Write("Use Item Snakeskin Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(856) >= 1) { ItemsManager.UseItem(856); Logging.Write("Use Item Blue Leather Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(4498) >= 1) { ItemsManager.UseItem(4498); Logging.Write("Use Item Brown Leather Satchel"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(3343) >= 1) { ItemsManager.UseItem(3343); Logging.Write("Use Item Captain Sander's Booty Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(3233) >= 1) { ItemsManager.UseItem(3233); Logging.Write("Use Item Gnoll Hide Sack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(5573) >= 1) { ItemsManager.UseItem(5573); Logging.Write("Use Item Green Leather Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(4241) >= 1) { ItemsManager.UseItem(4241); Logging.Write("Use Item Green Woolen Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(2657) >= 1) { ItemsManager.UseItem(2657); Logging.Write("Use Item Red Leather Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(5763) >= 1) { ItemsManager.UseItem(5763); Logging.Write("Use Item Red Woolen Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(5574) >= 1) { ItemsManager.UseItem(5574); Logging.Write("Use Item White Leather Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(4240) >= 1) { ItemsManager.UseItem(4240); Logging.Write("Use Item Woolen Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(856) >= 1) { ItemsManager.UseItem(856); Logging.Write("Use Item Blue Leather Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(4498) >= 1) { ItemsManager.UseItem(4498); Logging.Write("Use Item Brown Leather Satchel"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(3343) >= 1) { ItemsManager.UseItem(3343); Logging.Write("Use Item Captain Sander's Booty Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(3233) >= 1) { ItemsManager.UseItem(3233); Logging.Write("Use Item Gnoll Hide Sack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(5573) >= 1) { ItemsManager.UseItem(5573); Logging.Write("Use Item Green Leather Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(4241) >= 1) { ItemsManager.UseItem(4241); Logging.Write("Use Item Green Woolen Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(2657) >= 1) { ItemsManager.UseItem(2657); Logging.Write("Use Item Red Leather Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(5763) >= 1) { ItemsManager.UseItem(5763); Logging.Write("Use Item Red Woolen Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(5574) >= 1) { ItemsManager.UseItem(5574); Logging.Write("Use Item White Leather Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(4240) >= 1) { ItemsManager.UseItem(4240); Logging.Write("Use Item Woolen Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(6756) >= 1) { ItemsManager.UseItem(6756); Logging.Write("Use Item Jewelry Box"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(5081) >= 1) { ItemsManager.UseItem(5081); Logging.Write("Use Item Kodo Hide Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(4238) >= 1) { ItemsManager.UseItem(4238); Logging.Write("Use Item Linen Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(4957) >= 1) { ItemsManager.UseItem(4957); Logging.Write("Use Item Old Moneybag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(5762) >= 1) { ItemsManager.UseItem(5762); Logging.Write("Use Item Red Linen Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(5571) >= 1) { ItemsManager.UseItem(5571); Logging.Write("Use Item Small Black Pouch"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(828) >= 1) { ItemsManager.UseItem(828); Logging.Write("Use Item Small Blue Pouch"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(4496) >= 1) { ItemsManager.UseItem(4496); Logging.Write("Use Item Small Brown Pouch"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(5572) >= 1) { ItemsManager.UseItem(5572); Logging.Write("Use Item Small Green Pouch"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(805) >= 1) { ItemsManager.UseItem(805); Logging.Write("Use Item Small Red Pouch"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(2082) >= 1) { ItemsManager.UseItem(2082); Logging.Write("Use Item Wizbang's Gunnysack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(6756) >= 1) { ItemsManager.UseItem(6756); Logging.Write("Use Item Jewelry Box"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(5081) >= 1) { ItemsManager.UseItem(5081); Logging.Write("Use Item Kodo Hide Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(4238) >= 1) { ItemsManager.UseItem(4238); Logging.Write("Use Item Linen Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(4957) >= 1) { ItemsManager.UseItem(4957); Logging.Write("Use Item Old Moneybag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(5762) >= 1) { ItemsManager.UseItem(5762); Logging.Write("Use Item Red Linen Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(5571) >= 1) { ItemsManager.UseItem(5571); Logging.Write("Use Item Small Black Pouch"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(828) >= 1) { ItemsManager.UseItem(828); Logging.Write("Use Item Small Blue Pouch"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(4496) >= 1) { ItemsManager.UseItem(4496); Logging.Write("Use Item Small Brown Pouch"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(5572) >= 1) { ItemsManager.UseItem(5572); Logging.Write("Use Item Small Green Pouch"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(805) >= 1) { ItemsManager.UseItem(805); Logging.Write("Use Item Small Red Pouch"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(2082) >= 1) { ItemsManager.UseItem(2082); Logging.Write("Use Item Wizbang's Gunnysack"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(11845) >= 1) { ItemsManager.UseItem(11845); Logging.Write("Use Item Handmade Leather Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(1537) >= 1) { ItemsManager.UseItem(1537); Logging.Write("Use Item Old Blanchy's Feed Pouch"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(20474) >= 1) { ItemsManager.UseItem(20474); Logging.Write("Use Item Sunstrider Book Satchel"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(11845) >= 1) { ItemsManager.UseItem(11845); Logging.Write("Use Item Handmade Leather Bag"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(1537) >= 1) { ItemsManager.UseItem(1537); Logging.Write("Use Item Old Blanchy's Feed Pouch"); } if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(20474) >= 1) { ItemsManager.UseItem(20474); Logging.Write("Use Item Sunstrider Book Satchel"); } } } } catch { } Thread.Sleep(1000 * 3); // Wait 3 sec } } public void Dispose() { isLaunched = false; } public void Settings() { MessageBox.Show("No settings for this plugin."); } } I tried this but its dont work Link to comment Share on other sites More sharing options...
TheSmokie 242 Posted July 30, 2019 Share Posted July 30, 2019 Let me finish this game of LoL and I’ll check the code Link to comment Share on other sites More sharing options...
TheSmokie 242 Posted July 30, 2019 Share Posted July 30, 2019 Nothings wrong with it. Link to comment Share on other sites More sharing options...
bio33 12 Posted July 30, 2019 Author Share Posted July 30, 2019 strange why its dont dont work Link to comment Share on other sites More sharing options...
TheSmokie 242 Posted July 30, 2019 Share Posted July 30, 2019 bags.cs This should work (untested) Link to comment Share on other sites More sharing options...
bio33 12 Posted July 31, 2019 Author Share Posted July 31, 2019 yours dont work too Link to comment Share on other sites More sharing options...
TheSmokie 242 Posted July 31, 2019 Share Posted July 31, 2019 what bag are you trying to put on? Link to comment Share on other sites More sharing options...
bio33 12 Posted July 31, 2019 Author Share Posted July 31, 2019 Small Brown Pouch Link to comment Share on other sites More sharing options...
TheSmokie 242 Posted July 31, 2019 Share Posted July 31, 2019 Past this into Dev tools > C# if (ItemsManager.GetItemCountByNameLUA("Small Brown Pouch") >= 1) { ItemsManager.UseItem("Small Brown Pouch"); Logging.Write("Small Brown Pouch Used ! "); } then please provide me with logs plz. Link to comment Share on other sites More sharing options...
bio33 12 Posted July 31, 2019 Author Share Posted July 31, 2019 31 июл 2019 00H29.log.html Link to comment Share on other sites More sharing options...
bio33 12 Posted July 31, 2019 Author Share Posted July 31, 2019 its says what bag used but bot dont equipe this bag Link to comment Share on other sites More sharing options...
TheSmokie 242 Posted July 31, 2019 Share Posted July 31, 2019 what patch you playing? Link to comment Share on other sites More sharing options...
TheSmokie 242 Posted July 31, 2019 Share Posted July 31, 2019 try this if (wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(4496) >= 1) { ItemsManager.UseItem(4496); Logging.Write("Use Item Small Brown Pouch"); } Link to comment Share on other sites More sharing options...
bio33 12 Posted July 31, 2019 Author Share Posted July 31, 2019 same, dont work too Link to comment Share on other sites More sharing options...
TheSmokie 242 Posted July 31, 2019 Share Posted July 31, 2019 Might be the server Link to comment Share on other sites More sharing options...
bio33 12 Posted July 31, 2019 Author Share Posted July 31, 2019 1 hour ago, Smokie said: what patch you playing? TBC netherwing Link to comment Share on other sites More sharing options...
TheSmokie 242 Posted August 4, 2019 Share Posted August 4, 2019 On 7/31/2019 at 12:26 AM, bio33 said: TBC netherwing use this (tested) if (ItemsManager.GetItemCountByNameLUA("Bag name") >= 1) { Logging.Write("running"); wManager.Wow.Helpers.Lua.RunMacroText(/equip bagname); } Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now