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

Logic.Common.Rest.Feed(); not functioning?

ski

Well-Known Member
Joined
Feb 12, 2010
Messages
3,720
Reaction score
48
Anyone testing with 1.333 notice that Logic.Common.Rest.Feed(); isn't working anymore?

Using the following code:
Code:
            if (!noDrink &&
                    Me.HealthPercent < restHealth && !Me.IsSwimming)
            {
                slog("Rest: Drinking Drink");
                Logic.Common.Rest.Feed();
            }

My log shows the following:
Code:
needRest: Need mana.
Rest: Drinking Drink
needRest: Need mana.
Rest: Drinking Drink
Resting.
needRest: Need mana.
Rest: Drinking Drink
Resting.
needRest: Need mana.
Rest: Drinking Drink
Resting.
needRest: Need mana.
Rest: Drinking Drink
Resting.
needRest: Need mana.
Rest: Drinking Drink
Resting.
Stopping Honorbuddy.

So needRest is setting true, Rest is being called, and its getting all the way to the line before Logic.Common.Rest.Feed() but Feed() isn't actually doing anything.

This happening to anyone else?
 
here my need rest.
Code:
             if (Me.HealthPercent < Ecliptor.Default.EatAt &&
                    !Me.Buffs.ContainsKey("Food")) //To prevent food spam.
                {
                    slog("Need food");
                    return true;
                }
and heres my rest
Code:
            // this ought never get run over level 3
            if (Me.HealthPercent < Ecliptor.Default.EatAt)
            {
                if (Me.ManaPercent > 50)
                {
                    SelfHealLogic();
                }
                else
                Styx.Logic.Common.Rest.Feed(); //these arent needed.
            }

            if (Me.ManaPercent < Ecliptor.Default.DrinkAt)
            {
                Styx.Logic.Common.Rest.Feed(); //these arent needed.
            }
        }
so its working for me, ignore the comments, and the self healing logic, the comments mostly because they where left over from project e
 
here my need rest.
Code:
             if (Me.HealthPercent < Ecliptor.Default.EatAt &&
                    !Me.Buffs.ContainsKey("Food")) //To prevent food spam.
                {
                    slog("Need food");
                    return true;
                }
and heres my rest
Code:
            // this ought never get run over level 3
            if (Me.HealthPercent < Ecliptor.Default.EatAt)
            {
                if (Me.ManaPercent > 50)
                {
                    SelfHealLogic();
                }
                else
                Styx.Logic.Common.Rest.Feed(); //these arent needed.
            }

            if (Me.ManaPercent < Ecliptor.Default.DrinkAt)
            {
                Styx.Logic.Common.Rest.Feed(); //these arent needed.
            }
        }
so its working for me, ignore the comments, and the self healing logic, the comments mostly because they where left over from project e

Which looks exactly like mine, but mine doesn't work. I don't get it.
 
Which looks exactly like mine, but mine doesn't work. I don't get it.
its the ghost in the machine.
you could use RunMacroText, to do the same thing, but idk its kinda weird.
 
Back
Top