Jump to content

TheSmokie

Banned
  • Posts

    1215
  • Joined

Posts posted by TheSmokie

  1. edit this to you're needs. it will take a little editing to make work for you're needs.

    private Dictionary<int, uint> FoodDictionary = new Dictionary<int, uint>
        {
            { 5, 2287 },
            { 15, 3770 },
            { 25, 3771 },
            { 35, 4599 },
            { 45, 8952 },
            { 55, 8952 },
            { 65, 8952 },
            { 75, 8952 },
            
        };
      int previousFoodLevel = 0;
                foreach (int level in FoodDictionary.Keys)
                {
                    if (previousFoodLevel <= Me.Level && level > Me.Level)
                    {
                        CurrentFood = FoodDictionary[previousFoodLevel];
                        string foodName = ItemsManager.GetNameById(FoodDictionary[previousFoodLevel]);
                        wManagerSetting.CurrentSetting.FoodName = foodName;
                        
                        
                    }
                    previousFoodLevel = level;
                }

     

  2. if (ObjectManager.Pet.IsDead && !ObjectManager.Me.IsMounted && !ObjectManager.Me.IsDead && CallPet.KnownSpell && CallPet.IsSpellUsable)
            {
                CallPet.Launch();
                Thread.Sleep(Usefuls.Latency + 500);
    		}

    I've edited you're C# with a few code problems. There is a lot of conditions you can use. like i said via discord message. watch @Marsbar Amazing guide on how to make fightclasses. he taught me everything i know from that single video and a lot of trial and error.

    Try disabling all you're wow addons , this might case you to dismount.

     

    also looping is good and all but the way you have it will case a lot of problems with lag, cpu heating up. just use a array list.

  3. Hello,

    First off using this "Lua.LuaDoString(@"WrathCS.text:SetText(""Buffing Hunter's Mark"")");" is slowing you're rotation down. Reason can be found Here

    2nd with you're mend problem, you need to add a space inbetween <= Here 60 (should fix the problem

    3rd you do not really need to keep using Thread.Sleep(Usefuls.Latency + 14000);, you can use "Usefuls.WaitIsCasting();" its a lot better in my option.

    4th : for feeding you can use code like this

    // food list, it will choost whats best food inside you're bags.
    private List<string> FoodList()
      {
        return new List<string>()
        {
          "Tough Jerky",
        };
      }
     
    // choost from the food list
    private void FeedPet()
     {
    if (PetFoodType().Contains("Food type"))
          FeedByType(FruitList());
     }
    
    // feed from list
    FeedPet();
    Thread.Sleep(600);

    5th id try adding "Usefuls.WaitIsCasting();" to mark and sting. 

    make sure to check if you're spelling is correct.

    if you need anymore help join my discord server and id be more then happy to help. Link : ttps://discord.gg/ppm8Ufc

×
×
  • Create New...