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

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

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

ski

Well-Known Member
Joined
Feb 12, 2010
Messages
3,720
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.
 
Back
Top