• Visit Honorbuddy
  • Visit Rebornbuddy
  • Visit Demonbuddy
  • Visit Exilebuddy
  • Visit Hearthbuddy
  • Visit Pokefarmer
  • Visit Buddystore

Ouroboros - Extended OldRoutine

Discussion in 'Combat Routines' started by Infinite Monkeys, Jan 15, 2016.

  1. moldytaco

    moldytaco New Member

    Joined:
    Oct 13, 2016
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    It appears to be defunct, as it hasn't been updated in quite some time, and other people have reported it as not working as well. I tried making a 3rdparty.txt for it and putting it in the 3rdparty folder but it just doesn't show up in routines.
     
  2. SoupToob

    SoupToob New Member

    Joined:
    Aug 25, 2015
    Messages:
    27
    Likes Received:
    1
    Trophy Points:
    3
    It works. You just have to find the updated version... It's on page 12.
     
  3. blue01boy

    blue01boy New Member

    Joined:
    Mar 25, 2017
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    "Latency" appears five times in ouroboros.cs file in string: "await Coroutines.LatencyWait();" (lines: 1204, 1216, 1221, 1225, 1930)

    Sorry, but I still don't know what should I do next. Should I put some numbers in the brackets?
     
  4. altoids18

    altoids18 New Member

    Joined:
    Nov 24, 2012
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Vendetta's download link is broken, would someone mind sending me a link to it that works, pretty please?
     
  5. weenston

    weenston Member

    Joined:
    Apr 1, 2014
    Messages:
    74
    Likes Received:
    1
    Trophy Points:
    8
    Or post it here :). Thanks.
     
  6. DontRememBerMe

    DontRememBerMe New Member

    Joined:
    Apr 24, 2017
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Someone can help add 3rdparty for Ouroboros 1.10 ?
    Don't find 3rdparty
     
  7. Bornlegend

    Bornlegend New Member

    Joined:
    Apr 19, 2016
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
  8. DontRememBerMe

    DontRememBerMe New Member

    Joined:
    Apr 24, 2017
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
  9. ridz89

    ridz89 Member

    Joined:
    Jul 1, 2012
    Messages:
    249
    Likes Received:
    3
    Trophy Points:
    18
    I was editing this CR for my vaalfireball elementalist and it kept getting stuck on shrines, not sure if this will help anyone but if you copy and paste over the shrine handling routine from OldRoutine into Ouroburos. it should fix most of the shrine stuck issues using this CR! Ouro's just hasn't been updated in a while.

    Code:
    private readonly Dictionary<int, int> _shrineTries = new Dictionary<int, int>();
            
            private async Task<bool> HandleShrines()
            {
                // If the user wants to avoid shrine logic due to stuck issues, simply return without doing anything.
                if (OuroborosSettings.Instance.SkipShrines)
                    return false;
    
                // TODO: Shrines need speical CR logic, because it's now the CRs responsibility for handling all combaat situations,
                // and shrines are now considered a combat situation due their nature.
    
                // Check for any active shrines.
                var shrines =
                    LokiPoe.ObjectManager.Objects.OfType<Shrine>()
                        .Where(s => !Blacklist.Contains(s.Id) && !s.IsDeactivated && s.Distance < 50)
                        .OrderBy(s => s.Distance)
                        .ToList();
    
                if (!shrines.Any())
                    return false;
    
                Log.InfoFormat("[HandleShrines]");
    
                // For now, just take the first shrine found.
    
                var shrine = shrines[0];
                int tries;
    
                if (!_shrineTries.TryGetValue(shrine.Id, out tries))
                {
                    tries = 0;
                    _shrineTries.Add(shrine.Id, tries);
                }
    
                if (tries > 10)
                {
                    Blacklist.Add(shrine.Id, TimeSpan.FromHours(1), "Could not interact with the shrine.");
    
                    return true;
                }
    
                // Handle Skeletal Shrine in a special way, or handle priority between multiple shrines at the same time.
                var skellyOverride = shrine.ShrineId == "Skeletons";
    
                // Try and only move to touch it when we have a somewhat navigable path.
                if ((NumberOfMobsBetween(LokiPoe.Me, shrine, 5, true) < 5 &&
                    NumberOfMobsNear(LokiPoe.Me, 20) < 3) || skellyOverride)
                {
                    var myPos = LokiPoe.MyPosition;
    
                    var pos = ExilePather.FastWalkablePositionFor(shrine);
    
                    // We need to filter out based on pathfinding, since otherwise, a large gap will lockup the bot.
                    var pathDistance = ExilePather.PathDistance(myPos, pos, false, !OuroborosSettings.Instance.LeaveFrame);
    
                    Log.DebugFormat("[HandleShrines] Now moving towards the Shrine {0} [pathPos: {1} pathDis: {2}].", shrine.Id, pos,
                        pathDistance);
    
                    if (pathDistance > 50)
                    {
                        Log.DebugFormat("[HandleShrines] Not attempting to move towards Shrine [{0}] because the path distance is: {1}.",
                            shrine.Id, pathDistance);
                        return false;
                    }
    
                    //var canSee = ExilePather.CanObjectSee(LokiPoe.Me, pos, !OldRoutineSettings.Instance.LeaveFrame);
    
                    // We're in distance when we're sure we're close to the position, but also that the path we need to take to the position
                    // isn't too much further. This prevents problems with things on higher ground when we are on lower, and vice-versa.
                    var inDistance = myPos.Distance(pos) < 20 && pathDistance < 25;
                    if (inDistance)
                    {
                        Log.DebugFormat("[HandleShrines] Now attempting to interact with the Shrine {0}.", shrine.Id);
    
                        await Coroutines.FinishCurrentAction();
    
                        await Coroutines.InteractWith(shrine);
    
                        _shrineTries[shrine.Id]++;
                    }
                    else
                    {
                        if (!PlayerMover.MoveTowards(pos))
                        {
                            Log.ErrorFormat("[HandleShrines] MoveTowards failed for {0}.", pos);
    
                            Blacklist.Add(shrine.Id, TimeSpan.FromHours(1), "Could not move towards the shrine.");
    
                            await Coroutines.FinishCurrentAction();
                        }
                    }
    
                    return true;
                }
    
                return false;
            }

    Just copy that code over the original HandleShrines()

    and then edit SettingsGui.xaml and paste this entire thing over existing code (this just enables the skip shrines checkbox):

    Code:
    <UserControl
                 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                 mc:Ignorable="d"
                 d:DesignHeight="440" d:DesignWidth="627">
        <Grid x:Name="Root">
            <ScrollViewer VerticalScrollBarVisibility="Auto">
                <StackPanel>
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                        </Grid.RowDefinitions>
    
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto" />
                            <ColumnDefinition Width="Auto" />
                        </Grid.ColumnDefinitions>
    
                        <Label Grid.Row="0" Grid.Column="0" Content="Single Target Melee Skill Slot: "  Margin="3,5,3,1" ToolTipService.ToolTip="The skill slot  (1-8) to use in melee range. If set to -1, it will not be used."/>
                        <ComboBox Name="SingleTargetMeleeSlotComboBox" Grid.Row="0" Grid.Column="1" Margin="3" IsEditable="False" />
    
                        <Label Grid.Row="1" Grid.Column="0" Content="Single Target Ranged Skill Slot: "  Margin="3,5,3,1" ToolTipService.ToolTip="The skill slot (1-8) to use outside of melee range. If set to -1, it will not be used."/>
                        <ComboBox Name="SingleTargetRangedSlotComboBox" Grid.Row="1" Grid.Column="1" Margin="3" IsEditable="False" />
    
                        <Label Grid.Row="2" Grid.Column="0" Content="AOE Melee Skill Slot: "  Margin="3,5,3,1" ToolTipService.ToolTip="The skill slot  (1-8) to use in melee range for AoE. If set to -1, it will not be used."/>
                        <ComboBox Name="AoeMeleeSlotComboBox" Grid.Row="2" Grid.Column="1" Margin="3" IsEditable="False" />
    
                        <Label Grid.Row="3" Grid.Column="0" Content="AOE Ranged Skill Slot: "  Margin="3,5,3,1" ToolTipService.ToolTip="The skill slot (1-8) to use outside of melee range for AoE. If set to -1, it will not be used."/>
                        <ComboBox Name="AoeRangedSlotComboBox" Grid.Row="3" Grid.Column="1" Margin="3" IsEditable="False" />
                        
                        <Label Grid.Row="4" Grid.Column="0" Content="Fallback Skill Slot: "  Margin="3,5,3,1" ToolTipService.ToolTip="The skill to force use when out of mana, or the desired skill cannot be cast."/>
                        <ComboBox Name="FallbackSlotComboBox" Grid.Row="4" Grid.Column="1" Margin="3" IsEditable="False" />
                    </Grid>
                    
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                        </Grid.RowDefinitions>
    
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto" />
                            <ColumnDefinition Width="Auto" />
                        </Grid.ColumnDefinitions>
    
                        <Label Grid.Row="0" Grid.Column="0" Content="Combat Range: "  Margin="3,5,3,1" ToolTipService.ToolTip="How far to consider combat targets. Do not set too high, or the bot might get stuck running back and forth trying to get to a target."/>
                        <TextBox Name="CombatRangeTextBox" Grid.Row="0" Grid.Column="1" Margin="3"/>
    
                        <Label Grid.Row="1" Grid.Column="0" Content="Max Melee Range: "  Margin="3,5,3,1" ToolTipService.ToolTip="How close does a mob need to be to trigger the Melee skill? Do not set too high, as the cursor will overlap the GUI."/>
                        <TextBox Name="MaxMeleeRangeTextBox" Grid.Row="1" Grid.Column="1" Margin="3"/>
    
                        <Label Grid.Row="2" Grid.Column="0" Content="Max Ranged Range: "  Margin="3,5,3,1" ToolTipService.ToolTip="How close does a mob need to be to trigger the Range skill? Do not set too high, as the cursor will overlap the GUI."/>
                        <TextBox Name="MaxRangeRangeTextBox" Grid.Row="2" Grid.Column="1" Margin="3"/>
    
                        <Label Grid.Row="3" Grid.Column="0" Content="Melee AOE Range: "  Margin="3,5,3,1" ToolTipService.ToolTip="How close do mobs have to be to our main target to be counted towards melee AOE targets?"/>
                        <TextBox Name="MeleeAOERangeTextBox" Grid.Row="3" Grid.Column="1" Margin="3"/>
    
                        <Label Grid.Row="4" Grid.Column="0" Content="Ranged AOE Range: "  Margin="3,5,3,1" ToolTipService.ToolTip="How close do mobs have to be to our main target to be counted towards ranged AOE targets?"/>
                        <TextBox Name="RangedAOERangeTextBox" Grid.Row="4" Grid.Column="1" Margin="3"/>
    
                        <Label Grid.Row="5" Grid.Column="0" Content="Curse AOE Range: "  Margin="3,5,3,1" ToolTipService.ToolTip="The radius of your curses."/>
                        <TextBox Name="CurseAOERangeTextBox" Grid.Row="5" Grid.Column="1" Margin="3"/>
    
                        <Label Grid.Row="6" Grid.Column="0" Content="AlwaysAttackInPlace: "  Margin="3,5,3,1" ToolTipService.ToolTip="Should the CR always attack in place?"/>
                        <CheckBox Name="AlwaysAttackInPlaceCheckBox" Grid.Row="6" Grid.Column="1" Margin="3"/>
    
                        <Label Grid.Row="7" Grid.Column="0" Content="MaxFlameBlastCharges"  Margin="3,5,3,1" ToolTipService.ToolTip="How many flameblast charges to build up before releasing."/>
                        <TextBox Name="MaxFlameBlastChargesTextBox" Grid.Row="7" Grid.Column="1" Margin="3"/>
    
                        <Label Grid.Row="9" Grid.Column="0" Content="MoltenShellDelayMs"  Margin="3,5,3,1" ToolTipService.ToolTip="The delay between casting molten shells in combat."/>
                        <TextBox Name="MoltenShellDelayMsTextBox" Grid.Row="9" Grid.Column="1" Margin="3"/>
    
                        <Label Grid.Row="10" Grid.Column="0" Content="TotemDelayMs"  Margin="3,5,3,1" ToolTipService.ToolTip="The delay between casting totems in combat."/>
                        <TextBox Name="TotemDelayMsTextBox" Grid.Row="10" Grid.Column="1" Margin="3"/>
    
                        <Label Grid.Row="11" Grid.Column="0" Content="TrapDelayMs"  Margin="3,5,3,1" ToolTipService.ToolTip="The delay between casting traps in combat."/>
                        <TextBox Name="TrapDelayMsTextBox" Grid.Row="11" Grid.Column="1" Margin="3"/>
    
                        <Label Grid.Row="13" Grid.Column="0" Content="SummonRagingSpiritCountPerDelay"  Margin="3,5,3,1" ToolTipService.ToolTip="How many casts to perform before the delay happens."/>
                        <TextBox Name="SummonRagingSpiritCountPerDelayTextBox" Grid.Row="13" Grid.Column="1" Margin="3"/>
    
                        <Label Grid.Row="14" Grid.Column="0" Content="SummonRagingSpiritDelayMs"  Margin="3,5,3,1" ToolTipService.ToolTip="How long should the CR wait after performing all the casts?"/>
                        <TextBox Name="SummonRagingSpiritDelayMsTextBox" Grid.Row="14" Grid.Column="1" Margin="3"/>
    
                        <Label Grid.Row="15" Grid.Column="0" Content="SummonSkeletonCountPerDelay"  Margin="3,5,3,1" ToolTipService.ToolTip="How many casts to perform before the delay happens."/>
                        <TextBox Name="SummonSkeletonCountPerDelayTextBox" Grid.Row="15" Grid.Column="1" Margin="3"/>
    
                        <Label Grid.Row="16" Grid.Column="0" Content="SummonSkeletonDelayMs"  Margin="3,5,3,1" ToolTipService.ToolTip="How long should the CR wait after performing all the casts?"/>
                        <TextBox Name="SummonSkeletonDelayMsTextBox" Grid.Row="16" Grid.Column="1" Margin="3"/>
    
                        <Label Grid.Row="17" Grid.Column="0" Content="MineDelayMs"  Margin="3,5,3,1" ToolTipService.ToolTip="How long should the CR wait before using mines again?"/>
                        <TextBox Name="MineDelayMsTextBox" Grid.Row="17" Grid.Column="1" Margin="3"/>
                      
                        <Label Grid.Row="18" Grid.Column="0" Content="DebugAuras: "  Margin="3,5,3,1" ToolTipService.ToolTip="Should the CR output debug information on why auras aren't being cast?"/>
                        <CheckBox Name="DebugAurasCheckBox" Grid.Row="19" Grid.Column="1" Margin="3"/>
    
                        <Label Grid.Row="19" Grid.Column="0" Content="EnableAurasFromItems: "  Margin="3,5,3,1" ToolTipService.ToolTip="Should the CR use auras granted by items rather than skill gems?"/>
                        <CheckBox Name="EnableAurasFromItemsCheckBox" Grid.Row="20" Grid.Column="1" Margin="3"/>
    
                        <Label Grid.Row="20" Grid.Column="0" Content="LeaveFrame: "  Margin="3,5,3,1" ToolTipService.ToolTip="Should the CR leave the current frame for pathfinding operations?"/>
                        <CheckBox Name="LeaveFrameCheckBox" Grid.Row="21" Grid.Column="1" Margin="3"/>
    
                                  <Label Grid.Row="21" Grid.Column="0" Content="BlacklistedSkillIds: "  Margin="3,5,3,1" ToolTipService.ToolTip="A list of aura ids not to cast. Comma or space separated."/>
                                  <TextBox Name="BlacklistedSkillIdsTextBox" Grid.Row="22" Grid.Column="1" Margin="3"/>
                          </Grid>
    
                  <Grid>
                    <Grid.RowDefinitions>
                      <RowDefinition Height="Auto" />
                      <RowDefinition Height="Auto" />
                      <RowDefinition Height="Auto" />
                      <RowDefinition Height="Auto" />
                      <RowDefinition Height="Auto" />
                      <RowDefinition Height="Auto" />
                    </Grid.RowDefinitions>
    
                    <Grid.ColumnDefinitions>
                      <ColumnDefinition Width="Auto" />
                      <ColumnDefinition Width="Auto" />
                      <ColumnDefinition Width="Auto" />
                    </Grid.ColumnDefinitions>
    
                    <Label Grid.Row="0" Grid.Column="0" Content="Target Rarity"  Margin="3,5,3,1" ToolTipService.ToolTip="The rarity of the main target."/>
                    <Label Grid.Row="0" Grid.Column="1" Content="Mobs to AOE: "  Margin="3,5,3,1" ToolTipService.ToolTip="Number of mobs within the relevant (melee/ranged) AOE range in order to use AOE. -1 for never."/>
                    <Label Grid.Row="0" Grid.Column="2" Content="Use Vaal skills?"  Margin="3,5,3,1" ToolTipService.ToolTip="Whether to use Vaal skills against a main target of this rarity."/>
    
                    <Label Grid.Row="1" Grid.Column="0" Content="Normal"  Margin="3,5,3,1"/>
                    <TextBox Name="NormalMobsToAOETextBox" Grid.Row="1" Grid.Column="1" Margin="3"/>
                    <CheckBox Name="VaalNormalMobsCheckBox" Grid.Row="1" Grid.Column="2" Margin="3"/>
    
                    <Label Grid.Row="2" Grid.Column="0" Content="Magic"  Margin="3,5,3,1"/>
                    <TextBox Name="MagicMobsToAOETextBox" Grid.Row="2" Grid.Column="1" Margin="3"/>
                    <CheckBox Name="VaalMagicMobsCheckBox" Grid.Row="2" Grid.Column="2" Margin="3"/>
    
                    <Label Grid.Row="3" Grid.Column="0" Content="Rare"  Margin="3,5,3,1"/>
                    <TextBox Name="RareMobsToAOETextBox" Grid.Row="3" Grid.Column="1" Margin="3"/>
                    <CheckBox Name="VaalRareMobsCheckBox" Grid.Row="3" Grid.Column="2" Margin="3"/>
    
                    <Label Grid.Row="4" Grid.Column="0" Content="Unique"  Margin="3,5,3,1"/>
                    <TextBox Name="UniqueMobsToAOETextBox" Grid.Row="4" Grid.Column="1" Margin="3"/>
                    <CheckBox Name="VaalUniqueMobsCheckBox" Grid.Row="4" Grid.Column="2" Margin="3"/>
                    
                    <Label Grid.Row="5" Grid.Column="0" Content="SkipShrines: " Margin="3,5,3,1"
                            ToolTipService.ToolTip="Should the CR skip shrines?" />
                    <CheckBox Name="SkipShrinesCheckBox" Grid.Row="5" Grid.Column="1" Margin="3" />
                  </Grid>
                </StackPanel>
            </ScrollViewer>
        </Grid>
    </UserControl>
    
     
  10. kuskner

    kuskner Member

    Joined:
    Oct 12, 2013
    Messages:
    500
    Likes Received:
    1
    Trophy Points:
    18
    Can any one add so this routine uses Ancestral Warchief Gem at boss/uniq's only?
     
  11. DontRememBerMe

    DontRememBerMe New Member

    Joined:
    Apr 24, 2017
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    file 1.10 can't use, it's need 3rdparty
     
  12. TheGracefulWorm

    TheGracefulWorm New Member

    Joined:
    Sep 25, 2016
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1

    Hi there! The will is expired and automaticly deleted

    Hi there! The file is deleted from that site, and i have issues with CoH setup aka im using 1.7 now, coz only that version got the 3rdparty.txt . Whould you be so kind and upload it again please? :)
     
  13. demonviper

    demonviper Member

    Joined:
    Apr 8, 2014
    Messages:
    66
    Likes Received:
    6
    Trophy Points:
    8
    Anyone find a fix for this bullshit?:

    [LatencyWait] Now sleeping 96 ms.
    [UseAt] 2 False {1724, 2258}
    [LatencyWait] Now sleeping 96 ms.
    [UseAt] 2 False {1724, 2258}
    [LatencyWait] Now sleeping 96 ms.
    [UseAt] 2 False {1724, 2258}
    [LatencyWait] Now sleeping 96 ms.
    [UseAt] 2 False {1724, 2258}
    [LatencyWait] Now sleeping 96 ms.
    [UseAt] 2 False {1724, 2258}
    [LatencyWait] Now sleeping 96 ms.
    [UseAt] 2 False {1724, 2258}
    [LatencyWait] Now sleeping 96 ms.
    [UseAt] 2 False {1724, 2258}
    [LatencyWait] Now sleeping 96 ms.
    [UseAt] 2 False {1724, 2258}
    [LatencyWait] Now sleeping 96 ms.
    [UseAt] 2 False {1724, 2258}
    [LatencyWait] Now sleeping 96 ms.
    [UseAt] 2 False {1724, 2258}
    [LatencyWait] Now sleeping 96 ms.
    [UseAt] 2 False {1724, 2258}
    [LatencyWait] Now sleeping 96 ms.
    [UseAt] 2 False {1724, 2258}
    [LatencyWait] Now sleeping 96 ms.
    [UseAt] 2 False {1724, 2258}
    [LatencyWait] Now sleeping 96 ms.
    [UseAt] 2 False {1724, 2258}
    [LatencyWait] Now sleeping 96 ms.
    [UseAt] 2 False {1724, 2258}
    [LatencyWait] Now sleeping 96 ms.
    [UseAt] 2 False {1724, 2258}
    [LatencyWait] Now sleeping 96 ms.
    [UseAt] 2 False {1724, 2258}
    [LatencyWait] Now sleeping 96 ms.
    [UseAt] 2 False {1724, 2258}
    [LatencyWait] Now sleeping 96 ms.
     

Share This Page