February 12, 20179 yr Hi, I noticed a problem with the ammo bag on a hunter, it counts it as free bag space. So if i have 3+ free spaces in my ammo bag and the bot set to sell when it hits 2 free spaces it will never sell! Will continue to try and loot and fail everytime. Can we have the ammo bags blacklisted so it doesnt count? Also, was looking for an option to buy ammo, but cant see to see it on the advanced setting, options for dont sell your ammo and hearthstone, but nothing for buy. Is this coming? Or am i a dope!? Great product! Keep up the good work and support :)
February 12, 20179 yr Author I took most of this from an exising profile and tweaked it for vanilla. Its far from perfect, i cant get heal pet to work... But its grinding away for me ok. I also included the fixes for auto shot. Been using this since about level 15, now nearly 20. Legion lowbie BM Hunter2.xml
May 16, 20178 yr To bad no one is willing to help here. I think it has to do with greedy hands..... ( I.E. intentionally left out to encourage more fighter class sales )
June 7, 20178 yr Just make an open while statement - like: If ObjectManager.Me.Level > xxxx While wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(xxxxx) < xxxxx; Runcode: Var npc = new Npc{Entry = xxxx,Position = new Vector3(Xxxxx, xxxxx, xxxx),Type = Npc.NpcType.Vendor};int itemId = xxxx;if (GoToTask.ToPositionAndIntecractWith(npc)){Vendor.BuyItem(ItemsManager.GetNameById(itemId), xxxxx);}return true; And end if ObjectManager.Me.Level <= xxxx And make a go to step, to make it a loop? ? And for the blacklisting: wManager.wManagerSetting.Add blacklist "find where the bag is stores"Entry(xxxx, true); - And it have nothing to do with the fightclass... It is the profiles that needs tweaks. Personally I don't put stuff like this in my profiles, as that would be a hell, if you don't run a hunter ;) I haven't tested it - so you might need to tweak it :-) - but this should give you an idea to move forward
December 9, 20178 yr I have something like this in my fight class to detect this situation: wManager.Events.LootingEvents.OnLootingTaskEnd += (cancelable) => { this.CheckBagStopConditions(); }; /* * Check whether or not to stop the bot when the inventory is full * or no ammonition is available anymore. * (The full bag detection of wrobot is broken (because of the quiver)) */ private void CheckBagStopConditions() { if (!this.HasBagSpaceFree() || !this.HasAmmonition()) { Logging.Write("Stop the bot!"); Products.ProductStop(); } } private bool HasBagSpaceFree() { int FreeTotal = wManager.Wow.Helpers.Bag.GetContainerNumFreeSlotsNormalType; int FreeQuiver = wManager.Wow.Helpers.Bag.GetContainerNumFreeSlotsByBagID(4); // TODO: Make configurable int FreeForLoot = FreeTotal - FreeQuiver; return FreeForLoot > 0; } private bool HasAmmonition() { if (MySettings.CurrentSetting.AmmonitionName == "") { return true; // disable this check } return ItemsManager.GetItemCountByNameLUA(MySettings.CurrentSetting.AmmonitionName) > 0; } It currently simply stops the bot. But you could use it to do anything else in this situation. You will need to replace MySettings.CurrentSetting.AmmonitionName with the name of the ammonition you use.
Create an account or sign in to comment