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!

SRS Routine Help?

ysbear

Member
Joined
Mar 13, 2014
Messages
147
I am trying to use OldRoutine to get SRS casting consistently but seem to be having some trouble doing so. I've been playing with the Ms delay and all that but for some reason cant get it right.

Can anyone that is running SRS give me some pointers or offer some help!

Much appreciated and thanks in advance.
 
I am trying to use OldRoutine to get SRS casting consistently but seem to be having some trouble doing so. I've been playing with the Ms delay and all that but for some reason cant get it right.

Can anyone that is running SRS give me some pointers or offer some help!

Much appreciated and thanks in advance.

This is the original OldRoutine code:

Code:
                if (_summonRagingSpiritSlot != -1 &&                    _summonRagingSpiritStopwatch.ElapsedMilliseconds >
                    OldRoutineSettings.Instance.SummonRagingSpiritDelayMs)
                {
                    var skill = LokiPoe.InGameState.SkillBarHud.Slot(_summonRagingSpiritSlot);
                    var max = skill.GetStat(StatTypeGGG.NumberOfRagingSpiritsAllowed);
                    if (skill.NumberDeployed < max && skill.CanUse())
                    {
                        ++_summonRagingSpiritCount;


                        await Coroutines.FinishCurrentAction();


                        var err1 = LokiPoe.InGameState.SkillBarHud.UseAt(_summonRagingSpiritSlot, false, targetPosition);


                        if (_summonRagingSpiritCount >=
                            OldRoutineSettings.Instance.SummonRagingSpiritCountPerDelay)
                        {
                            _summonRagingSpiritCount = 0;
                            _summonRagingSpiritStopwatch.Restart();
                        }


                        if (err1 == LokiPoe.InGameState.UseResult.None)
                        {
                            await Coroutines.LatencyWait();


                            await Coroutines.FinishCurrentAction(false);


                            await Coroutines.LatencyWait();


                            return true;
                        }


                        Log.ErrorFormat("[Logic] Use returned {0} for {1}.", err1, skill.Name);
                    }

Simply removing the lines below makes SRS play a whole lot smoother:

Code:
                if (_summonRagingSpiritSlot != -1 &&                    _summonRagingSpiritStopwatch.ElapsedMilliseconds >
                    OldRoutineSettings.Instance.SummonRagingSpiritDelayMs)
                {
                    var skill = LokiPoe.InGameState.SkillBarHud.Slot(_summonRagingSpiritSlot);
                    var max = skill.GetStat(StatTypeGGG.NumberOfRagingSpiritsAllowed);
                    if (skill.NumberDeployed < max && skill.CanUse())
                    {
                        ++_summonRagingSpiritCount;


                        await Coroutines.FinishCurrentAction();


                        var err1 = LokiPoe.InGameState.SkillBarHud.UseAt(_summonRagingSpiritSlot, false, targetPosition);


                        if (_summonRagingSpiritCount >=
                            OldRoutineSettings.Instance.SummonRagingSpiritCountPerDelay)
                        {
                            _summonRagingSpiritCount = 0;
                            _summonRagingSpiritStopwatch.Restart();
                        }


                        if (err1 == LokiPoe.InGameState.UseResult.None)
                        {
                            [COLOR=#b22222]await Coroutines.LatencyWait();[/COLOR]


                            [COLOR=#b22222]await Coroutines.FinishCurrentAction(false);[/COLOR]


                            [COLOR=#b22222]await Coroutines.LatencyWait();[/COLOR]


                            return true;
                        }


                        Log.ErrorFormat("[Logic] Use returned {0} for {1}.", err1, skill.Name);
                    }

I know the above lines probably served a purpose at some point in time. But i have removed nearly all them from the skills and the bot runs 10x smoother (started doing this about a year ago). Removing the delays saved me a ton of deaths. Vaal skills used to pause before using, then use the skill, then another pause after the skill was used, then back to fighting... at which point i could have been dead if i was using a defensive vaal on a boss like discipline. Without the delays its literally instant and handles the vaal skills perfectly.

Im guessing these delays are used for people on VMs? Honestly no clue why they are still there.
 
This is the original OldRoutine code:

I know the above lines probably served a purpose at some point in time. But i have removed nearly all them from the skills and the bot runs 10x smoother (started doing this about a year ago). Removing the delays saved me a ton of deaths. Vaal skills used to pause before using, then use the skill, then another pause after the skill was used, then back to fighting... at which point i could have been dead if i was using a defensive vaal on a boss like discipline. Without the delays its literally instant and handles the vaal skills perfectly.

Im guessing these delays are used for people on VMs? Honestly no clue why they are still there.

Got it Nevermind

THANK YOU will give it a shot
 
Last edited:
Back
Top