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!

General Combat Routine [Current: 0.0.1.1] - Picking up where Old Routine left off

Max Flameblast stacks doesnt seem to work, it just channels it until out of mana.
 
Oh this routine is amazing, but only if you could change not counting mobs around totems or those nercros spawning skeletons as obstacles, so he isnt looking for line of sight, as it keeps running around until it dies
 
Last edited:
anyone running any type of cyclone build with this CR? i've got my fb totem build working "okay" with this, but it's still averaging about 9 minutes per t1-4 map at level 79 and often dies about 4-5 times per map
 
anyone else got the problem that discipline is turned on/off till bot logs out?

Yes. I fixed this myself by commenting out lines 2304 through 2310.

Code:
                // Discipline requires special handling - AmIUsingConsideredAuraWithThis always returns "false" for it.              //  if (skill.Id == DisciplineSkillId)
              //  {
              //      var myId = LokiPoe.Me.Id;
              //      var isDisciplineAuraPresentFromMe = LokiPoe.Me.Auras.Any(a => a.CasterId == myId && a.Name == DisciplineAuraName);
              //      if (isDisciplineAuraPresentFromMe) continue;
              //  }

Not sure this routine should be used tho. While the author made very good changes in an extremely short amount of time, he has completely disappeared off these forums after working on this project for a few days. So if anything breaks, its unlikely it will ever get fixed and the changes he made are pretty substantial so the odds of something breaking is pretty high.
 
Not sure this routine should be used tho. While the author made very good changes in an extremely short amount of time, he has completely disappeared off these forums after working on this project for a few days. So if anything breaks, its unlikely it will ever get fixed and the changes he made are pretty substantial so the odds of something breaking is pretty high.

yeah i know, tried to find a routine working for golemancer, so i tried this one and ouros, but came back to old routine then, fixing 5 golem summoning for myself. actually none of those routines are working perfect -.-
 
Is there anyway to add support for blade flurry stack control? like the one by fujiyama.
 
View attachment Routine.cs

Updated this and added some features:

Discipline works
Blade Flurry releases at 6 stacks
Curse on Hit support, just put a CoH skill on your bar (untested)
Uses frenzy to maintain charges
Uses flesh and bone offering when they're on your bar, enemies are nearby and you have a minion alive (untested)
While using Caustic Arrow, prioritises targets not already affected by a caustic cloud
Maybe other stuff? I forget
 
View attachment 217799

Updated this and added some features:

Discipline works
Blade Flurry releases at 6 stacks
Curse on Hit support, just put a CoH skill on your bar (untested)
Uses frenzy to maintain charges
Uses flesh and bone offering when they're on your bar, enemies are nearby and you have a minion alive (untested)
While using Caustic Arrow, prioritises targets not already affected by a caustic cloud
Maybe other stuff? I forget

cool, thanks! :-)
 
[QuestBot] Start
[ItemEvaluator] Instance = Loki.Bot.DefaultItemEvaluator.
[Start] MsBetweenTicks: 15.
[Start] NetworkingMode: Auto.
[Start] KeyPickup: Disabled.
[Start] IsAutoEquipEnabled: False.
[Start] PlayerMover.Instance: Loki.Bot.DefaultPlayerMover.
[Add] Now adding [ResurrectTask] This task handles resurrection..
[Add] Now adding [ClearCursorTask] This task places any item left on the cursor into the inventory..
[Add] Now adding [HandleBlockingChestsTask] This task will handle breaking any blocking chests that interfere with movement..
[Add] Now adding [HandleBlockingObjectTask] Task that handles various blocking objects..
[Add] Now adding [CombatTask (Leash 50)] This task executes routine logic for combat..
[Add] Now adding [PostCombatHookTask] This task provides a coroutine hook for executing user logic after combat has completed..
[Add] Now adding [ReturnAfterDeathTask] Task for taking closest local transition after death..
[Add] Now adding [OpenChestTask(Early)] Task for opening chests, strongboxes and moving to shrines..
[Add] Now adding [LootItemTask] Task that handles item looting..
[Add] Now adding [OpenChestTask] Task for opening chests, strongboxes and moving to shrines..
[Add] Now adding [CombatTask (Leash -1)] This task executes routine logic for combat..
[Add] Now adding [IdTask] Task that handles item identification..
[Add] Now adding [SellTask] Task that handles item selling..
[Add] Now adding [StashTask] Task that handles item stashing..
[Add] Now adding [SortInventoryTask] Task for organizing items in inventory.
[Add] Now adding [ReturnAfterTownrunTask] Task for returning to overworld area after townrun..
[Add] Now adding [OpenWaypointTask] Task that handles waypoint opening..
[Add] Now adding [QuestTask] Task that executes quest logic..
[Add] Now adding [FallbackTask] This task is the last task executed. It should not execute..
[CommonEvents] Start
[AdvancedItemFilter] Start
[AdvancedItemFilter::VerifyBotSettings (QuestBot)] Detected specific Current Bot, processing AIF settings
[AdvancedItemFilter::VerifyBotSettings (QuestBot)] Keep Scroll of Wisdom is now Enabled
[AdvancedItemFilter::VerifyBotSettings (QuestBot)] Keep Portal Scrolls is now Enabled
[Task](Single) Adding task "IdentifyItemsTask".
[Replace] Now replacing task [IdTask] with [IdentifyItemsTask].
[Task](Single) Task "IdentifyItemsTask" added succesfully.
[Task](Single) Adding task "CheckForRecipeItemsTask".
[Task](Single) Task "CheckForRecipeItemsTask" added succesfully.
[Task](Single) Adding task "HandleMultipleBaseNameItemsTask".
[Task](Single) Task "HandleMultipleBaseNameItemsTask" added succesfully.
[Task](Single) Adding task "GCPRecipeTask".
[Task](Single) Task "GCPRecipeTask" added succesfully.
[Task](Single) Adding task "RecipeTask".
[Task](Single) Task "RecipeTask" added succesfully.
[Task](Single) Adding task "CountReagentsTask".
[Task](Single) Task "CountReagentsTask" added succesfully.
[Task](Single) Adding task "StashToSpecificTabTask".
[Task](Single) Task "StashToSpecificTabTask" added succesfully.
[Task](Single) Adding task "RefillOrKeepTask".
[Task](Single) Task "RefillOrKeepTask" added succesfully.
[AutoLogin] Start
[Breaches] Start
[Add] Now adding [HandleBreachesTask] This task will handle interacting with Breaches..
[CommunityLib] Starting
[DevTab] Start
[EXtensions] Start
[FlaskHelper] Start
[AddAtFront] Now adding [TownRunToRefill] Back to town if flasks are too loooooooooooooooooooooow.
[GemLeveler] Start
[GemLeveler] Now resetting task state.
[Add] Now adding [LevelSkillGemTask] This task will level skillgems after close range combat is taken care of..
[ObjectExplorer] Start
[Overlay] Start
[StashBuddy] Start
[Task](Single) Adding task "VaalUniquesTask".
[Task](Single) Task "VaalUniquesTask" added succesfully.
[Task](Single) Adding task "ChanceItemsTask".
[Task](Single) Task "ChanceItemsTask" added succesfully.
[StashBuddy][ForcesTaskPosition] Checking for fix. TaskList count is 29.
[StashBuddy][ForcesTaskPosition] Got sort task! It's number is 24
[StashBuddy][ForcesTaskPosition] Next Task name is: ReturnAfterTownrunTask.
[StashBuddy][ForcesTaskPosition] Fixing tasks.
[Task](Single) Adding task "HandleCurrencyTask".
[Task](Single) Task "HandleCurrencyTask" added succesfully.
[Task](Single) Adding task "DivinationCardsExchangeTask".
[Task](Single) Task "DivinationCardsExchangeTask" added succesfully.
[AdvancedItemFilter] Adding ItemEvaluatorMatch handler...
[Stats] Start
[General Combat Routine] Start
[Remove] Now removing [HandleBlockingChestsTask].
[GCPRecipeTask] Now resetting task state.
[Start] The plugin CommonEvents is enabled.
[Start] The plugin AdvancedItemFilter is enabled.
[Start] The plugin AutoLogin is enabled.
[Start] The plugin Breaches is enabled.
[Start] The plugin CommunityLib is enabled.
[Start] The plugin DevTab is enabled.
[Start] The plugin EXtensions is enabled.
[Start] The plugin FlaskHelper is enabled.
[Start] The plugin GemLeveler is enabled.
[Start] The plugin ObjectExplorer is enabled.
[Start] The plugin Overlay is enabled.
[Start] The plugin StashBuddy is enabled.
[Start] The plugin Stats is enabled.
[Start] PlayerMover.Instance: Loki.Bot.DefaultPlayerMover.
[Start] ReactionMinSleepDelay: 250.
[Start] ReactionMaxSleepDelay: 300.
[ComplexExplorer] Using QuestBot exploration settings.
[ItemEvaluator] Instance = AdvancedItemFilter.MyItemEvaluator.
[AdvancedItemFilter] AIF ItemEvaluator has been set
[General Combat Routine:Tick] Skill Interaction (614) was unrecognized.
[General Combat Routine:Tick] Skill Move (10505) was unrecognized.
[General Combat Routine:Tick] Skill WashedUp (14297) was unrecognized.
[General Combat Routine:Tick] Skill 15153 (15153) was unrecognized.
[General Combat Routine:Tick] Skill Default Attack (16384) was unrecognized.
[General Combat Routine:Tick] Skill Clarity (32777) was unrecognized.
[General Combat Routine:Tick] Skill Firestorm (33794) was unrecognized.
[General Combat Routine:Tick] Skill Portal (33801) was unrecognized.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 118 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 101 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 66 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 96 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 95 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 83 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 101 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 84 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 86 ms sleep for 84.
[StuckDetection] Small range stuck count: 3
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 80 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 78 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 85 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 101 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 101 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 101 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 101 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 101 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 101 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 101 ms sleep for 84.
[StuckDetection] Small range stuck count: 4
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 95 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 63 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 80 ms sleep for 84.
[Stop] Now requesting the BotThread to stop.

Bot Spams Clarity and stop or relogin non-stop
 
[QuestBot] Start
[ItemEvaluator] Instance = Loki.Bot.DefaultItemEvaluator.
[Start] MsBetweenTicks: 15.
[Start] NetworkingMode: Auto.
[Start] KeyPickup: Disabled.
[Start] IsAutoEquipEnabled: False.
[Start] PlayerMover.Instance: Loki.Bot.DefaultPlayerMover.
[Add] Now adding [ResurrectTask] This task handles resurrection..
[Add] Now adding [ClearCursorTask] This task places any item left on the cursor into the inventory..
[Add] Now adding [HandleBlockingChestsTask] This task will handle breaking any blocking chests that interfere with movement..
[Add] Now adding [HandleBlockingObjectTask] Task that handles various blocking objects..
[Add] Now adding [CombatTask (Leash 50)] This task executes routine logic for combat..
[Add] Now adding [PostCombatHookTask] This task provides a coroutine hook for executing user logic after combat has completed..
[Add] Now adding [ReturnAfterDeathTask] Task for taking closest local transition after death..
[Add] Now adding [OpenChestTask(Early)] Task for opening chests, strongboxes and moving to shrines..
[Add] Now adding [LootItemTask] Task that handles item looting..
[Add] Now adding [OpenChestTask] Task for opening chests, strongboxes and moving to shrines..
[Add] Now adding [CombatTask (Leash -1)] This task executes routine logic for combat..
[Add] Now adding [IdTask] Task that handles item identification..
[Add] Now adding [SellTask] Task that handles item selling..
[Add] Now adding [StashTask] Task that handles item stashing..
[Add] Now adding [SortInventoryTask] Task for organizing items in inventory.
[Add] Now adding [ReturnAfterTownrunTask] Task for returning to overworld area after townrun..
[Add] Now adding [OpenWaypointTask] Task that handles waypoint opening..
[Add] Now adding [QuestTask] Task that executes quest logic..
[Add] Now adding [FallbackTask] This task is the last task executed. It should not execute..
[CommonEvents] Start
[AdvancedItemFilter] Start
[AdvancedItemFilter::VerifyBotSettings (QuestBot)] Detected specific Current Bot, processing AIF settings
[AdvancedItemFilter::VerifyBotSettings (QuestBot)] Keep Scroll of Wisdom is now Enabled
[AdvancedItemFilter::VerifyBotSettings (QuestBot)] Keep Portal Scrolls is now Enabled
[Task](Single) Adding task "IdentifyItemsTask".
[Replace] Now replacing task [IdTask] with [IdentifyItemsTask].
[Task](Single) Task "IdentifyItemsTask" added succesfully.
[Task](Single) Adding task "CheckForRecipeItemsTask".
[Task](Single) Task "CheckForRecipeItemsTask" added succesfully.
[Task](Single) Adding task "HandleMultipleBaseNameItemsTask".
[Task](Single) Task "HandleMultipleBaseNameItemsTask" added succesfully.
[Task](Single) Adding task "GCPRecipeTask".
[Task](Single) Task "GCPRecipeTask" added succesfully.
[Task](Single) Adding task "RecipeTask".
[Task](Single) Task "RecipeTask" added succesfully.
[Task](Single) Adding task "CountReagentsTask".
[Task](Single) Task "CountReagentsTask" added succesfully.
[Task](Single) Adding task "StashToSpecificTabTask".
[Task](Single) Task "StashToSpecificTabTask" added succesfully.
[Task](Single) Adding task "RefillOrKeepTask".
[Task](Single) Task "RefillOrKeepTask" added succesfully.
[AutoLogin] Start
[Breaches] Start
[Add] Now adding [HandleBreachesTask] This task will handle interacting with Breaches..
[CommunityLib] Starting
[DevTab] Start
[EXtensions] Start
[FlaskHelper] Start
[AddAtFront] Now adding [TownRunToRefill] Back to town if flasks are too loooooooooooooooooooooow.
[GemLeveler] Start
[GemLeveler] Now resetting task state.
[Add] Now adding [LevelSkillGemTask] This task will level skillgems after close range combat is taken care of..
[ObjectExplorer] Start
[Overlay] Start
[StashBuddy] Start
[Task](Single) Adding task "VaalUniquesTask".
[Task](Single) Task "VaalUniquesTask" added succesfully.
[Task](Single) Adding task "ChanceItemsTask".
[Task](Single) Task "ChanceItemsTask" added succesfully.
[StashBuddy][ForcesTaskPosition] Checking for fix. TaskList count is 29.
[StashBuddy][ForcesTaskPosition] Got sort task! It's number is 24
[StashBuddy][ForcesTaskPosition] Next Task name is: ReturnAfterTownrunTask.
[StashBuddy][ForcesTaskPosition] Fixing tasks.
[Task](Single) Adding task "HandleCurrencyTask".
[Task](Single) Task "HandleCurrencyTask" added succesfully.
[Task](Single) Adding task "DivinationCardsExchangeTask".
[Task](Single) Task "DivinationCardsExchangeTask" added succesfully.
[AdvancedItemFilter] Adding ItemEvaluatorMatch handler...
[Stats] Start
[General Combat Routine] Start
[Remove] Now removing [HandleBlockingChestsTask].
[GCPRecipeTask] Now resetting task state.
[Start] The plugin CommonEvents is enabled.
[Start] The plugin AdvancedItemFilter is enabled.
[Start] The plugin AutoLogin is enabled.
[Start] The plugin Breaches is enabled.
[Start] The plugin CommunityLib is enabled.
[Start] The plugin DevTab is enabled.
[Start] The plugin EXtensions is enabled.
[Start] The plugin FlaskHelper is enabled.
[Start] The plugin GemLeveler is enabled.
[Start] The plugin ObjectExplorer is enabled.
[Start] The plugin Overlay is enabled.
[Start] The plugin StashBuddy is enabled.
[Start] The plugin Stats is enabled.
[Start] PlayerMover.Instance: Loki.Bot.DefaultPlayerMover.
[Start] ReactionMinSleepDelay: 250.
[Start] ReactionMaxSleepDelay: 300.
[ComplexExplorer] Using QuestBot exploration settings.
[ItemEvaluator] Instance = AdvancedItemFilter.MyItemEvaluator.
[AdvancedItemFilter] AIF ItemEvaluator has been set
[General Combat Routine:Tick] Skill Interaction (614) was unrecognized.
[General Combat Routine:Tick] Skill Move (10505) was unrecognized.
[General Combat Routine:Tick] Skill WashedUp (14297) was unrecognized.
[General Combat Routine:Tick] Skill 15153 (15153) was unrecognized.
[General Combat Routine:Tick] Skill Default Attack (16384) was unrecognized.
[General Combat Routine:Tick] Skill Clarity (32777) was unrecognized.
[General Combat Routine:Tick] Skill Firestorm (33794) was unrecognized.
[General Combat Routine:Tick] Skill Portal (33801) was unrecognized.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 118 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 101 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 66 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 96 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 95 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 83 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 101 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 84 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 86 ms sleep for 84.
[StuckDetection] Small range stuck count: 3
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 80 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 78 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 85 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 101 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 101 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 101 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 101 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 101 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 101 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 101 ms sleep for 84.
[StuckDetection] Small range stuck count: 4
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 95 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 63 ms sleep for 84.
[UseAt] 8 False {711, 410}
[InjectKeyEvent] 80 ms sleep for 84.
[Stop] Now requesting the BotThread to stop.

Bot Spams Clarity and stop or relogin non-stop

Check the posts right before yours :D
 
If you've got auras that reserve mana to the point where you don't have enough mana to cast a minion you've got socketed then it will cast the auras first then enter an infinite loop trying to cast the minion anyways.

Another issue I have might fall under "target selection." As a melee build when a mob is under the effect of a totem or rare with Allies Cannot Die it will try to kite the affected mob back, but then immediately run back towards it once it hits its specific kiteback range which I think was 20 in the log and 9/10 times the mob will stay in range of the aura forever while you just pace back and forth. I catch the routine doing this all the time VS allies cannot die totems when the totem is easily in range of a leap slam or something, but it decides to just not target it.
 
Last edited:
If you've got auras that reserve mana to the point where you don't have enough mana to cast a minion you've got socketed then it will cast the auras first then enter an infinite loop trying to cast the minion anyways.

Another issue I have might fall under "target selection." As a melee build when a mob is under the effect of a totem or rare with Allies Cannot Die it will try to kite the affected mob back, but then immediately run back towards it once it hits its specific kiteback range which I think was 20 in the log and 9/10 times the mob will stay in range of the aura forever while you just pace back and forth. I catch the routine doing this all the time VS allies cannot die totems when the totem is easily in range of a leap slam or something, but it decides to just not target it.

Hm, the problem is i don`t have a minion, i use only Blast Rain.
 
Idk it uses Vaal Discipline but it never uses Vaal Haste? Anyone has the same problem?
 
If you've got auras that reserve mana to the point where you don't have enough mana to cast a minion you've got socketed then it will cast the auras first then enter an infinite loop trying to cast the minion anyways.

Another issue I have might fall under "target selection." As a melee build when a mob is under the effect of a totem or rare with Allies Cannot Die it will try to kite the affected mob back, but then immediately run back towards it once it hits its specific kiteback range which I think was 20 in the log and 9/10 times the mob will stay in range of the aura forever while you just pace back and forth. I catch the routine doing this all the time VS allies cannot die totems when the totem is easily in range of a leap slam or something, but it decides to just not target it.
Fixed the kiting/allies cannot die thing: View attachment Routine.cs
Re: the aura thing, if your auras reserve too much mana for you to cast your spells then your character isn't set up right.
 
Hello this has been great from what I have used! That said I had to switch back to Ouroboros because of a couple small things that I think would be great additions to the bot! Also, I am not a programmer so I am sorry if I do not know certain things that may be obvious to programmers. :)

1. I saw someone above this post say their vaal disc worked but not Vaal Haste. I am having the opposite problem with some additions. My vaal H is working and not Vdisc or VCyclone. I am not sure why this is because i tried to move the skills around and it still only picks VHaste.

2. If it is at all possible to pull the code from the ouroboros routine for when to use vaal skills i think that would be amazing because then I think this would be the perfect routine. (to be honest I am not completely sure that the logic the ouroboros routine as far as vaal use range isnt flawed but at least it uses all of the vaal skills)

3. Finally I am not sure if this would be the place to put it but for Cyclone characters the bot will get stuck a lot of the time and really all it would take is some sort of mouse wiggle to get it off the rock, wall, anthill, pebble, etc. Would you be able to code this as a condition when the bot realizes that it is stuck or is that part of some other part of the bot?
 
Back
Top