Jump to content

burnii

Members
  • Posts

    12
  • Joined

  • Last visited

Posts posted by burnii

  1. Hey I tried to check if I'm mounted on "Reins of the Traveler's Tundra Mammoth" with:

    ObjectManager.Me.HaveBuff("Reins of the Traveler's Tundra Mammoth")

    and

    ObjectManager.Me.HaveBuff(44234);

    but it didn't work.

    To check other buffs works just find just this mammoth is a problem.

  2. Yes I already have the profile. The bot pulls many mobs some of them cast a healing spell. I just want the bot to kill them first when he is fighting. The problem is, that sometimes he just fights one mob that gets healed by 3 other mobs and that wastes a lot of time

  3. Hey, I try to get free bag slots with 

    if(wManager.Wow.Helpers.Usefuls.GetContainerNumFreeSlots <= 25 && !ObjectManager.Me.InCombat){
    		wManager.Wow.Bot.States.ToTown.ForceToTown = true;
    }

    it tells me that there is no definition of "GetContainerNumFreeSlots" in "WManager.Wow.Helpers.Usefuls". Am I missing something?

  4. 20 minutes ago, iMod said:

    Hm could be a reason. Replace it with

    
    ObjectManager.GetObjectWoWUnit().Count(u => u.Skinnable && u.GetDistance2D <= 40);

    If you just want dead units that are skinnable you need to add "&& u.IsDead"
    Hope that helps

    Works now, thank you !

  5. 18 hours ago, iMod said:
    
    int count = ObjectManager.GetWoWUnitHostile().Count(u => u.Type == WoWObjectType.Unit && u.Skinnable && u.GetDistance2D <= 40);

    This would return the count of all unit around you in range of 40 yards who are skinnable.

    Okay, first of all thank you for the answer. 
    To test the function I wrote an infinite loop and if there are no more skinnable mobs near the bot he should write sth into the log. I positioned the bot next to some skinnable corpses and started the bot. Seems like he doesnt find any skinnable mobs since he just writes the message over and over again into the log, doesnt matter how many skinnable corpses are next to him :/

×
×
  • Create New...