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

[Plugin] Icools Sarkoth Helper

I edited the file and "If" it gets Hit or dies it turns on killing AND Looting for 20 sec.. hate to see loot left on the ground. if it kills it should loot. Good work icools

using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using System.Threading;
using System.Windows;
using System.Windows.Forms;
using System.Xml;
using System.Xml.Linq;
using System.Xml.XPath;
using Zeta;
using Zeta.Common;
using Zeta.CommonBot;
using Zeta.Common.Plugins;
using Zeta.Internals;
using Zeta.Internals.Actors;
using Zeta.Internals.Service;

//Edited and continued by Icool
//Created by: w3eZle
//Credit to: eax (http://www.thebuddyforum.com/members/144149-eax.html) No1KnowsY (http://www.thebuddyforum.com/members/11607-no1knowsy.html)
//Based script on these guys work
//Created Date: 12June2012

namespace Sarkoth
{
public class Sarkoth : IPlugin
{
private bool IsRestarting { get; set; }
public Version Version { get { return new Version(0, 1); } }
public string Author { get { return "Icool"; } }
public string Description { get { return "Provides helpful methods while farming Sarkoth."; } }
public string Name { get { return "Icool's Sarkoth farm helper v" + Version; } }
public bool hasDied { get; set; }
public int diedTickCount { get; set; }
public int cellarsFoundInGames { get; set; }
public int games { get; set; }
public int startingMoney { get; set; }
public int startingMoneyThisRound { get; set; }
public bool initialized { get; set; }
public bool foundCellar { get; set; }

public long averageFail { get; set; }
public long averageClear { get; set; }

public long thisRunStart { get; set; }

public int lastSSTick { get; set; }
public Window DisplayWindow
{
get
{
return null;
}
}

private void Log(string message)
{
Logging.Write(string.Format("[{0}] {1}", Name, message));
}


public void OnInitialize()
{
games = 0;
cellarsFoundInGames = 0;
averageFail = 0;
averageClear = 0;

IsRestarting = false;
lastSSTick = 0;
initialized = false;
}

public void RemoveAllBehavior()
{
ProfileManager.CurrentProfileBehavior.ResetCachedDone();
}

public void OnPulse()
{

//Checks if 20 seconds has passed since you died
if (hasDied)
{
if (System.Environment.TickCount - diedTickCount > 20000)
{
Log("20seconds has passed since you died, turning of the attack");
hasDied = false;
return;
}
}

// if we're not in game and not in the process of restarting, do nothing
if (!ZetaDia.IsInGame || !ZetaDia.Me.IsValid || IsRestarting)
{
return;
}

//Turns on the attack for 20s after you get killed to prevent graveyard ganking
if (ZetaDia.Actors.Me.HitpointsCurrentPct == 0.00)
{
Log("Wooooa, seems like i just died, lets turn on the attack for 20s");
hasDied = true;
ProfileManager.CurrentProfile.KillMonsters = true;
ProfileManager.CurrentProfile.PickupLoot = true;
diedTickCount = System.Environment.TickCount;
return;
}

//Turning on the attack if you get attacked outside the cellar w3eZle's method
if (ZetaDia.Actors.Me.HitpointsCurrentPct < 0.80 && ProfileManager.CurrentProfile.KillMonsters == false)
{
Log("Turning on KillMonsters -Health to low");
ProfileManager.CurrentProfile.KillMonsters = true;
ProfileManager.CurrentProfile.PickupLoot = true;
return;
}

//Outside of DankC ellar, Diable Kill Monsters
if (ZetaDia.Actors.Me.HitpointsCurrentPct > 0.80 && ProfileManager.CurrentProfile.KillMonsters == true && ZetaDia.CurrentWorldDynamicId == 1999503360 && !hasDied)
{
Log("Disabeling KillMonsters & PickupLoot");
ProfileManager.CurrentProfile.KillMonsters = false;
ProfileManager.CurrentProfile.PickupLoot = false;
return;
}



//Inside of Dank Cellar, Enable Kill Monsters
if (ProfileManager.CurrentProfile.KillMonsters == false && ZetaDia.CurrentWorldDynamicId == 1999568897)
{
Log("Enabeling KillMonsters");
ProfileManager.CurrentProfile.KillMonsters = true;

return;
}

//Enabling loot if loot is off while entering the cellar
if (ProfileManager.CurrentProfile.PickupLoot == false && ZetaDia.CurrentWorldDynamicId == 1999568897)
{
Log("Enabling Loot");
ProfileManager.CurrentProfile.PickupLoot = true;
return;
}

}

public void OnShutdown()
{
}

public void OnEnabled()
{
GameEvents.OnGameJoined += new EventHandler<EventArgs>(OnGameJoined);
GameEvents.OnGameLeft += new EventHandler<EventArgs>(OnGameLeft);
GameEvents.OnWorldChanged += new EventHandler<EventArgs>(OnWorldChanged);
GameEvents.OnItemLooted += new EventHandler<ItemLootedEventArgs>(OnItemLooted);
Log("Enabled.");
}

public void OnGameJoined(object sender, EventArgs e)
{
Log("Joined Game");
thisRunStart = System.Environment.TickCount;
startingMoneyThisRound = ZetaDia.Me.Inventory.Coinage;
foundCellar = false;
if (!initialized)
{
Log("First time logging in, init gold...");
startingMoney = ZetaDia.Me.Inventory.Coinage;
Log("Current gold: " + startingMoney);
initialized = true;
}
}

public void OnGameLeft(object sender, EventArgs e)
{
Log("Left Game");
games++;
Log("Cellars found in " + cellarsFoundInGames + "/" + games + " games!");

long thisTime = System.Environment.TickCount - thisRunStart;
if (foundCellar)
{
averageClear = ((averageClear * (cellarsFoundInGames - 1)) + thisTime) / cellarsFoundInGames;
Log("This Run took: " + (thisTime / 1000) + "s");
Log("The average cellar run is: " + (averageClear / 1000) + "s");
}
else
{
averageFail = ((averageFail * ((games - cellarsFoundInGames) - 1)) + thisTime) / (games - cellarsFoundInGames);
Log("This Run took: " + (thisTime/1000) + "s");
Log("The average fail run is: " + (averageFail / 1000) + "s");
}

Log("Money made this run: " + (ZetaDia.Me.Inventory.Coinage - startingMoneyThisRound));
Log("Money made in total: " + (ZetaDia.Me.Inventory.Coinage - startingMoney));

}

public void OnWorldChanged(object sender, EventArgs e)
{
Log("Changed world to " + ZetaDia.CurrentWorldDynamicId);
if (ZetaDia.CurrentWorldDynamicId == 1999568897 && !foundCellar)
{
Log("Found a cellar!");
cellarsFoundInGames++;
foundCellar = true;
}
}

public void OnItemLooted(object sender, ItemLootedEventArgs e)
{
}

public void OnDisabled()
{
Log("Disabled.");
}

public bool Equals(IPlugin other)
{
return (other.Name == Name) && (other.Version == Version);
}
}

}

The Loot rules i am using are Salvage59-60KeepRares&GFMFSellEverythingElse edited to keep a few items, it loots all blues and above Keeps and stores all pages and tomes, designs and plans, All gems, Mythic Health Potion, ALL Legendary and rares level 55+. Keeps all items with gold find and magic find over 20%, Any item with Dexterity 100+,Any item with ResistAll 45+ , Any 900 dps+ twoHanded weapon and any 800+ oneHanded. It will Sell any thing left Under level 59 and salvage all 59-60+ and stash all mats


[/QUOTE]
<?xml version="1.0" encoding="utf-8" ?>
<!--
Set your bot settings and allow at least one page to deposit looted items.
Otherwise bot will just stand front of stash and do nothing.
-->
<ItemRules name="Default Item Rules" useRoundedValues="false">

<Priority priority1="Keep" priority2="Salvage" priority3="Sell" />

<Categories>
<Category ruleType="PickUp">

<!-- Pick up all magic+ items -->
<ItemRule>
<StatRules>
<Rule quality="Magic1" />
</StatRules>
</ItemRule>

<!-- Pick up gold, at least in stacks of 50 -->
<ItemRule itemName="Gold" stack="50" />

<!-- Pick up all pages and tomes, blacksmithing/jewelcrafting -->
<ItemRule itemName="Page of*" stack="1" />
<ItemRule itemName="Tome of*" stack="1" />

<!-- Pick up designs and plans, blacksmithing/jewelcrafting -->
<ItemRule itemName="Plan:*" stack="1" />
<ItemRule itemName="Design:*" stack="1" />

<!-- Gems -->
<ItemRule itemName="*Ruby*" stack="1" />
<ItemRule itemName="*Emerald*" stack="1" />
<ItemRule itemName="*Topaz*" stack="1" />
<ItemRule itemName="*Amethyst*" stack="1" />

<!-- Mythic Health potions -->
<ItemRule itemName="Mythic Health Potion" stack="1" />
</Category>

<Category ruleType="Keep">

<!-- Keep designs and plans, blacksmithing/jewelcrafting -->
<ItemRule itemName="Plan:*" />
<ItemRule itemName="Design:*" />

<!-- Just in case keeps pages, tomes and salvage materials-->
<ItemRule itemName="Page of*" />
<ItemRule itemName="Tome of*" />
<ItemRule itemName="*Essence" />
<ItemRule itemName="*Tear" />
<ItemRule itemName="*Hoof" />
<ItemRule itemName="*Brimstone" />

<!-- Keep rare items level 55 or more regardless of stats. -->
<ItemRule description="Rare Items">
<StatRules>
<Rule quality="Rare4" stat="level" minValue="50" />
</StatRules>
</ItemRule>

<!-- Keep legendaries, regardless of stats. -->
<ItemRule ruleType="Keep" description="Legendary">
<StatRules>
<Rule quality="Legendary" />
</StatRules>
</ItemRule>

<!-- Keep magic items with gold find. -->
<ItemRule description="Gold Find Items">
<StatRules>
<Rule quality="Magic1" stat="GoldFind" minValue="20" />
</StatRules>
</ItemRule>
<!-- Keep magic items with magic find. -->
<ItemRule description="Magic Find Items">
<StatRules>
<Rule quality="Magic1" stat="MagicFind" minValue="20" />
</StatRules>
</ItemRule>

<!-- Keep magic items with Dexterity. -->
<ItemRule description="Dexterity">
<StatRules>
<Rule quality="Magic1" stat="Dexterity" minValue="100" />
</StatRules>
</ItemRule>

<!-- Keep magic items with ResistAll. -->
<ItemRule description="ResistAll">
<StatRules>
<Rule quality="Magic1" stat="ResistAll" minValue="45" />
</StatRules>
</ItemRule>

<ItemRule itemBaseType="Weapon" twoHanded="true" description="High DPS 2H Weapons">
<StatRules>
<!-- Magic Weapons should have at least 900 DPS -->
<Rule stat="DPS" minValue="900" quality="Magic2" />
<!-- Rare weapons should have at least 900 considering they provide extra stats most of the time. -->
<Rule stat="DPS" minValue="9000" quality="Rare4" />
</StatRules>
</ItemRule>

<ItemRule itemBaseType="Weapon" twoHanded="false" description="High DPS 1H Weapons">
<StatRules>
<!-- Magic Weapons should have at least 900 DPS -->
<Rule stat="DPS" minValue="900" quality="Magic2" />
<!-- Rare weapons should have at least 800 considering they provide extra stats most of the time. -->
<Rule stat="DPS" minValue="800" quality="Rare4" />
</StatRules>
</ItemRule>

<!-- Keep legendaries, regardless of stats. -->
<ItemRule ruleType="Keep" description="Legendary">
<StatRules>
<Rule quality="Legendary" />
</StatRules>
</ItemRule>

</Category>

<!-- Salvages everything between level 59 and 60. -->
<Category ruleType="Salvage">
<!-- Salvages jewelry level 59 -->

<ItemRule itemBaseType="Jewelry" description="Salvage Jewelry">
<StatRules>
<Rule quality="Magic1" stat="level" minValue="59" />
</StatRules>
</ItemRule>

<!-- Salvages everything else level 60 -->
<ItemRule description="Salvage Everything">
<StatRules>
<Rule quality="Magic1" stat="level" minValue="60" />
</StatRules>
</ItemRule>
</Category>

<!--Sells everything else -->
<Category ruleType="Sell">
<ItemRule description="Sell Everything">
<StatRules>
<Rule quality="Magic1" />
</StatRules>
</ItemRule>
</Category>
</Categories>
</ItemRules>
[/QUOTE]
 
Is there any way to make the bot so it doesn't disable the loot pickup / mob kill function after a failed run? My character will sometimes die on this part if a mob attacks it while TPing
 
Is there any way to make the bot so it doesn't disable the loot pickup / mob kill function after a failed run? My character will sometimes die on this part if a mob attacks it while TPing

^ this :-/
 
mhhh :( no comments no update maybe author end this plugin^^
 
why dont u update this??????????????? the best one and the author abandons it

all the crap ones keep getting updated with crapiness
 
I`m using CancelLogut plugin to avoid die while Tping, but i still die some times because of my gear... the problem is, I`m using NotificationOkButton plugin too and he`s seen to not click the revive button, and the bot get stuck there. This is actually my only problem with this bot.
 
You shouldnt have to compile it, just extract it and place the content in the Plugins folders
 
You shouldnt have to compile it, just extract it and place the content in the Plugins folders


but i want to change the hp percent that it turns auto attack on (i am witch doctor it doesnt matter if i go to 0% cuz of spirit vessel) now i cant do it anymore because its loads of weird files... suggestion?
 
The only file you need is IcoolsSarkothKillWait.cs, you can delete the rest, however i have removed the function to turn on attack at a certain percantage since it seemed to cause alot of exceptions... might be able to add it again later
 
ty for the hard work, its best one by far just needs more editable function :D
 
Definitely one of the best plugins available, glad you updated.

One thing I noticed is that it seems to be attacking mobs on the way to the cellar at full HP (after checking if the cellar is up). Is that intentional because as a WD I just want to Spirit Walk/Spirit Vessel to the cellar asap. :p
 
The bot stopped any time it see a monster near cellar entrance and only move if that monster get killed (version 1.4), the problem is it just stand there and wont attack anything
 
Last edited:
bot gets stuck when ever dank cellar is open and just runs on the spot

Code:
[12:09:54.484 N] Loaded profile Sarkoth farm profile by Nesox
[12:09:54.484 D] Starting bot Order Bot
[12:09:54.484 D] Added new hook [OutOfGame] a7aaf325-b7f7-49ec-91c3-70793863dd20
[12:09:54.484 D] Added new hook [Death] 3cb95583-5a33-42dc-8278-625e94b392fd
[12:09:54.484 D] Added new hook [RoutineBuffs] 085ec4aa-3882-4a23-a5ad-04ab13a2ad4a
[12:09:54.484 D] Added new hook [RoutineCombat] 868f97e3-b8e4-4024-ad9e-57c500ba4821
[12:09:54.484 D] Added new hook [Combat] 648e77f1-461c-46c2-b2bb-b728716c6690
[12:09:54.484 D] Added new hook [VendorRun] 8dacf943-e897-49ee-91c0-59ab29eb871d
[12:09:54.484 D] Added new hook [Loot] 6d90967c-0ecc-425b-9289-925ea542965e
[12:09:54.484 D] Replaced hook [BotBehavior] 54b66788-d826-4198-bcb8-da303810d447
[12:09:54.484 D] Spooling up bot thread.
[12:09:54.484 D] Bot thread started.
[12:09:54.640 N] ###################### REPORT ######################
[12:09:54.640 N] Gold: 17314222
[12:09:54.656 N] Blues: 8
[12:09:54.656 N] Yellows: 1
[12:09:54.656 N] Legendaries: 0
[12:09:54.656 N] Set items: 0
[12:09:54.656 N] ####################################################
[12:09:54.812 D] Replaced hook [ProfileOrderBehavior_Hook] 507c3bf9-9927-41bf-801a-f9869a3bbf1e
[12:09:54.843 D] Generating path to Dank cellar portal, Scout spot - <2021.738, 2566.262, 27.1>
[12:09:54.875 D] Raycast path generated.
[12:09:54.875 D] Generated path to <2021.738, 2566.262, 27.1> (Dank cellar portal, Scout spot) with 1 hops.
[12:09:54.875 D] [Stuck Handler] We're stuck at <2060.01, 2520, 27.1>
[12:09:54.875 D] Navigator.Clear
[12:09:54.875 V] Using power Walk clickPos:<2070.01, 2520, 27.1> worldDynamicId:1999503360 targetACDGuid:-1
[12:09:55.031 D] Generating path to Dank cellar portal, Scout spot - <2021.738, 2566.262, 27.1>
[12:09:55.062 D] Raycast path generated.
[12:09:55.062 D] Generated path to <2021.738, 2566.262, 27.1> (Dank cellar portal, Scout spot) with 1 hops.
[12:09:55.062 V] Using power Walk clickPos:<2021.738, 2566.262, 27.1> worldDynamicId:1999503360 targetACDGuid:-1
[12:09:56.640 D] Generating path to Moving towards unit - <2013.27, 2569.291, 27.1>
[12:09:56.640 D] Raycast path generated.
[12:09:56.640 D] Generated path to <2013.27, 2569.291, 27.1> (Moving towards unit) with 1 hops.
[12:09:56.640 V] Using power Walk clickPos:<2013.27, 2569.291, 27.1> worldDynamicId:1999503360 targetACDGuid:-1
[12:09:57.140 D] System.NullReferenceException: Object reference not set to an instance of an object.
   at Zeta.Internals.Actors.DiaUnit.get_SummonedByACDId()
   at Belphegor.Routines.Monk.<>c__DisplayClass45.<get_HasMysticAlly>b__44(DiaUnit u)
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   at Belphegor.Routines.Monk.get_HasMysticAlly()
   at Belphegor.Routines.Monk.<MonkBuff>b__0(Object extra)
   at Belphegor.Helpers.Spell.<>c__DisplayClass2.<Cast>b__0(Object ret)
   at Zeta.TreeSharp.Decorator.CanRun(Object context)
   at Zeta.TreeSharp.Decorator..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.Common.HookExecutor.Run(Object context)
   at Zeta.TreeSharp.Action.RunAction(Object context)
   at Zeta.TreeSharp.Action..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.Common.HookExecutor.Run(Object context)
   at Zeta.TreeSharp.Action.RunAction(Object context)
   at Zeta.TreeSharp.Action..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.CommonBot.BotMain.()
[12:09:57.343 V] Using power Monk_MantraOfConviction clickPos:<0, 0, 0> worldDynamicId:1999503360 targetACDGuid:-1
[12:09:57.343 V] Using power: Monk_MantraOfConviction
[12:09:57.531 V] Using power Monk_FistsofThunder clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2009137157
[12:09:57.531 V] Using power: Monk_FistsofThunder
[12:09:58.078 V] Using power Monk_FistsofThunder clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2009137157
[12:09:58.078 V] Using power: Monk_FistsofThunder
[12:09:58.281 V] Using power Monk_FistsofThunder clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2009137157
[12:09:58.281 V] Using power: Monk_FistsofThunder
[12:09:58.765 D] Navigator.Clear
[12:09:58.890 D] Replaced hook [ProfileOrderBehavior_Hook] 84370ba0-9835-4639-8f30-cc4a3cb3b9a8
[12:09:58.953 V] Using power Monk_FistsofThunder clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2009137157
[12:09:58.953 V] Using power: Monk_FistsofThunder
[12:09:59.375 V] Using power Monk_FistsofThunder clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2009137157
[12:09:59.375 V] Using power: Monk_FistsofThunder
[12:09:59.921 V] Using power Monk_FistsofThunder clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2009071620
[12:09:59.921 V] Using power: Monk_FistsofThunder
[12:10:00.218 D] Generating path to Interact with object - <2061.332, 2477.899, 27.31482>
[12:10:00.343 D] Successfully generated path from {X=1026,Y=806} to {X=991,Y=824} in 00:00:00.0178565 with 19(2) hops
[12:10:00.343 D] Client path generated.
[12:10:00.343 D] Generated path to <2061.332, 2477.899, 27.31482> (Interact with object) with 2 hops.
[12:10:00.343 V] Using power Walk clickPos:<2060, 2520, 0> worldDynamicId:1999503360 targetACDGuid:-1
[12:10:00.531 V] Using power Monk_FistsofThunder clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2009071620
[12:10:00.546 V] Using power: Monk_FistsofThunder
[12:10:00.984 V] Using power Monk_FistsofThunder clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2009071620
[12:10:00.984 V] Using power: Monk_FistsofThunder
[12:10:01.375 V] Using power Monk_FistsofThunder clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2009071620
[12:10:01.375 V] Using power: Monk_FistsofThunder
[12:10:01.671 V] Using power Walk clickPos:<2060, 2520, 0> worldDynamicId:1999503360 targetACDGuid:-1
[12:10:04.328 D] Navigation reached current destination. Within 42.26728
[12:10:04.328 D] Navigator.Clear
[12:10:04.484 D] Generating path to Interact with object - <2061.332, 2477.899, 27.31482>
[12:10:04.578 D] Successfully generated path from {X=1008,Y=823} to {X=991,Y=824} in 00:00:00.0170162 with 2(2) hops
[12:10:04.578 D] Client path generated.
[12:10:04.578 D] Generated path to <2061.332, 2477.899, 27.31482> (Interact with object) with 2 hops.
[12:10:04.578 V] Using power Walk clickPos:<2060, 2520, 0> worldDynamicId:1999503360 targetACDGuid:-1
[12:10:06.703 D] [Stuck Handler] We're stuck at <2059.885, 2520.141, 27.1>
[12:10:06.750 D] Navigator.Clear
[12:10:06.750 V] Using power Walk clickPos:<2069.885, 2520.141, 27.1> worldDynamicId:1999503360 targetACDGuid:-1
[12:10:06.890 D] Generating path to Interact with object - <2061.332, 2477.899, 27.31482>
[12:10:07.015 D] Successfully generated path from {X=1008,Y=825} to {X=991,Y=824} in 00:00:00.0171044 with 2(2) hops
[12:10:07.015 D] Client path generated.
[12:10:07.015 D] Generated path to <2061.332, 2477.899, 27.31482> (Interact with object) with 2 hops.
[12:10:07.015 V] Using power Walk clickPos:<2060, 2520, 0> worldDynamicId:1999503360 targetACDGuid:-1
[12:10:11.265 D] [Stuck Handler] We're stuck at <2060.01, 2520, 27.1>
[12:10:11.312 D] Navigator.Clear
[12:10:11.312 V] Using power Walk clickPos:<2070.01, 2520, 27.1> worldDynamicId:1999503360 targetACDGuid:-1
[12:10:11.453 D] Generating path to Interact with object - <2061.332, 2477.899, 27.31482>
[12:10:11.578 D] Successfully generated path from {X=1008,Y=826} to {X=991,Y=824} in 00:00:00.0178058 with 3(2) hops
[12:10:11.578 D] Client path generated.
[12:10:11.578 D] Generated path to <2061.332, 2477.899, 27.31482> (Interact with object) with 2 hops.
[12:10:11.578 V] Using power Walk clickPos:<2060, 2520, 0> worldDynamicId:1999503360 targetACDGuid:-1
[12:10:13.140 D] Start/Stop Button Clicked!
[12:10:13.140 N] Stopping the bot.
[12:10:13.140 D] CurrentBot.Stop()
[12:10:13.140 D] Navigator.Clear()
[12:10:13.140 D] Navigator.Clear
[12:10:13.140 D] TreeHooks.Instance.ClearAll()
[12:10:13.140 D] OnStop event
[12:10:13.140 D] OnStop Event Invoking
[12:10:13.140 D] QuestOrderManager.OnBotStop(). Resetting caches.
[12:10:13.140 D] Resetting current behavior.
[12:10:13.140 D] QuestOrderManager.OnBotStop(). Resetting caches.
[12:10:13.140 D] Resetting current behavior.
[12:10:13.140 D] QuestOrderManager.OnBotStop(). Resetting caches.
[12:10:13.140 D] Resetting current behavior.
[12:10:13.140 D] QuestOrderManager.OnBotStop(). Resetting caches.
[12:10:13.140 D] Resetting current behavior.
[12:10:13.140 D] QuestOrderManager.OnBotStop(). Resetting caches.
[12:10:13.140 D] Resetting current behavior.
[12:10:13.140 D] QuestOrderManager.OnBotStop(). Resetting caches.
[12:10:13.140 D] Resetting current behavior.
[12:10:13.140 D] QuestOrderManager.OnBotStop(). Resetting caches.
[12:10:13.140 D] Resetting current behavior.
[12:10:13.140 D] QuestOrderManager.OnBotStop(). Resetting caches.
[12:10:13.140 D] Resetting current behavior.
[12:10:13.140 D] Calling OnDone() on current behavior. UseObjectTag: IsDone: False, ActorId: 176007, X: 2058.653, Y: 2476.354, Z: 26.32902, InteractRange: 10, IsPortal: True, DestinationWorld: 106746, Position: <2058.653, 2476.354, 26.32902>, QuestId: 1, StepId: 0, QuestName: Quest Id: 1, IsDoneCache: False, Behavior: Zeta.TreeSharp.PrioritySelector, 
[12:10:13.171 N] Bot Thread Ended. Was this requested?

Attack radius: 35
Loot radius: 60

Using a monk if that makes a differance

This could be script or plugin fault im unsure
 
Allow me to ask a dumbass question, and it may have already been asked so humor me please. FYI I'm using the previous version of the plugin and it's working great.

I die a lot while porting on wizard/barb both.

Is there any way to do something like the following (this is not .net java or anything else just random spam),

a)

while (mobs within distance 30-40 yards or something) {
fight
}
townportal()

b)

def healthBeforePort = getCurrentHealth();
townPortal()
some kind of listener (alternatively while, if townPortal doesn't have a sleep inside it) {
if health < healthBeforePort {
fight
}
}

and something similar for logout.

I seem to get 3-6 deaths an hour on wizard
2-5 on barb
 
Last edited:
Somethings wrong here..

When cellar isnt up, it leaps to nearby enemis and attacks them. Even though it could've teleported away safely.

View attachment 45982
Try to lower your attack radius to 30, because i would guess it's pretty high.

Definitely one of the best plugins available, glad you updated.

One thing I noticed is that it seems to be attacking mobs on the way to the cellar at full HP (after checking if the cellar is up). Is that intentional because as a WD I just want to Spirit Walk/Spirit Vessel to the cellar asap. :p
Is it printing something like "Didnt find a cellar within 90y, turning on attack and loot"? because if it does it means that the plugin searches for the celar from too far away... it shouldnt enable the attack outside the cellar with a celar present or if you died recently...

Allow me to ask a dumbass question, and it may have already been asked so humor me please. FYI I'm using the previous version of the plugin and it's working great.

I die a lot while porting on wizard/barb both.

Is there any way to do something like the following (this is not .net java or anything else just random spam),

a)

while (mobs within distance 30-40 yards or something) {
fight
}
townportal()

b)

def healthBeforePort = getCurrentHealth();
townPortal()
some kind of listener (alternatively while, if townPortal doesn't have a sleep inside it) {
if health < healthBeforePort {
fight
}
}

and something similar for logout.

I seem to get 3-6 deaths an hour on wizard
2-5 on barb
If you arent using 1.4b try it, it turns on the attack before teleporting if a cellar isnt present...
It already kills all enemies within your attack range as soon as it finds that there are no cellar, the only problem with this is that when it killed all and started to teleport it will not interrupt tping even if a monster sneaks up on you... Will try to find a way to interrupt the teleport if a enemy comes within range.
 
bot gets stuck when ever dank cellar is open and just runs on the spot

Code:
[12:09:54.484 N] Loaded profile Sarkoth farm profile by Nesox
[12:09:54.484 D] Starting bot Order Bot
[12:09:54.484 D] Added new hook [OutOfGame] a7aaf325-b7f7-49ec-91c3-70793863dd20
[12:09:54.484 D] Added new hook [Death] 3cb95583-5a33-42dc-8278-625e94b392fd
[12:09:54.484 D] Added new hook [RoutineBuffs] 085ec4aa-3882-4a23-a5ad-04ab13a2ad4a
[12:09:54.484 D] Added new hook [RoutineCombat] 868f97e3-b8e4-4024-ad9e-57c500ba4821
[12:09:54.484 D] Added new hook [Combat] 648e77f1-461c-46c2-b2bb-b728716c6690
[12:09:54.484 D] Added new hook [VendorRun] 8dacf943-e897-49ee-91c0-59ab29eb871d
[12:09:54.484 D] Added new hook [Loot] 6d90967c-0ecc-425b-9289-925ea542965e
[12:09:54.484 D] Replaced hook [BotBehavior] 54b66788-d826-4198-bcb8-da303810d447
[12:09:54.484 D] Spooling up bot thread.
[12:09:54.484 D] Bot thread started.
[12:09:54.640 N] ###################### REPORT ######################
[12:09:54.640 N] Gold: 17314222
[12:09:54.656 N] Blues: 8
[12:09:54.656 N] Yellows: 1
[12:09:54.656 N] Legendaries: 0
[12:09:54.656 N] Set items: 0
[12:09:54.656 N] ####################################################
[12:09:54.812 D] Replaced hook [ProfileOrderBehavior_Hook] 507c3bf9-9927-41bf-801a-f9869a3bbf1e
[12:09:54.843 D] Generating path to Dank cellar portal, Scout spot - <2021.738, 2566.262, 27.1>
[12:09:54.875 D] Raycast path generated.
[12:09:54.875 D] Generated path to <2021.738, 2566.262, 27.1> (Dank cellar portal, Scout spot) with 1 hops.
[12:09:54.875 D] [Stuck Handler] We're stuck at <2060.01, 2520, 27.1>
[12:09:54.875 D] Navigator.Clear
[12:09:54.875 V] Using power Walk clickPos:<2070.01, 2520, 27.1> worldDynamicId:1999503360 targetACDGuid:-1
[12:09:55.031 D] Generating path to Dank cellar portal, Scout spot - <2021.738, 2566.262, 27.1>
[12:09:55.062 D] Raycast path generated.
[12:09:55.062 D] Generated path to <2021.738, 2566.262, 27.1> (Dank cellar portal, Scout spot) with 1 hops.
[12:09:55.062 V] Using power Walk clickPos:<2021.738, 2566.262, 27.1> worldDynamicId:1999503360 targetACDGuid:-1
[12:09:56.640 D] Generating path to Moving towards unit - <2013.27, 2569.291, 27.1>
[12:09:56.640 D] Raycast path generated.
[12:09:56.640 D] Generated path to <2013.27, 2569.291, 27.1> (Moving towards unit) with 1 hops.
[12:09:56.640 V] Using power Walk clickPos:<2013.27, 2569.291, 27.1> worldDynamicId:1999503360 targetACDGuid:-1
[12:09:57.140 D] System.NullReferenceException: Object reference not set to an instance of an object.
   at Zeta.Internals.Actors.DiaUnit.get_SummonedByACDId()
   at Belphegor.Routines.Monk.<>c__DisplayClass45.<get_HasMysticAlly>b__44(DiaUnit u)
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   at Belphegor.Routines.Monk.get_HasMysticAlly()
   at Belphegor.Routines.Monk.<MonkBuff>b__0(Object extra)
   at Belphegor.Helpers.Spell.<>c__DisplayClass2.<Cast>b__0(Object ret)
   at Zeta.TreeSharp.Decorator.CanRun(Object context)
   at Zeta.TreeSharp.Decorator..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.Common.HookExecutor.Run(Object context)
   at Zeta.TreeSharp.Action.RunAction(Object context)
   at Zeta.TreeSharp.Action..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.Common.HookExecutor.Run(Object context)
   at Zeta.TreeSharp.Action.RunAction(Object context)
   at Zeta.TreeSharp.Action..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.TreeSharp.PrioritySelector..MoveNext()
   at (Object )
   at Zeta.TreeSharp.Composite.Tick(Object context)
   at Zeta.CommonBot.BotMain.()
[12:09:57.343 V] Using power Monk_MantraOfConviction clickPos:<0, 0, 0> worldDynamicId:1999503360 targetACDGuid:-1
[12:09:57.343 V] Using power: Monk_MantraOfConviction
[12:09:57.531 V] Using power Monk_FistsofThunder clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2009137157
[12:09:57.531 V] Using power: Monk_FistsofThunder
[12:09:58.078 V] Using power Monk_FistsofThunder clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2009137157
[12:09:58.078 V] Using power: Monk_FistsofThunder
[12:09:58.281 V] Using power Monk_FistsofThunder clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2009137157
[12:09:58.281 V] Using power: Monk_FistsofThunder
[12:09:58.765 D] Navigator.Clear
[12:09:58.890 D] Replaced hook [ProfileOrderBehavior_Hook] 84370ba0-9835-4639-8f30-cc4a3cb3b9a8
[12:09:58.953 V] Using power Monk_FistsofThunder clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2009137157
[12:09:58.953 V] Using power: Monk_FistsofThunder
[12:09:59.375 V] Using power Monk_FistsofThunder clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2009137157
[12:09:59.375 V] Using power: Monk_FistsofThunder
[12:09:59.921 V] Using power Monk_FistsofThunder clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2009071620
[12:09:59.921 V] Using power: Monk_FistsofThunder
[12:10:00.218 D] Generating path to Interact with object - <2061.332, 2477.899, 27.31482>
[12:10:00.343 D] Successfully generated path from {X=1026,Y=806} to {X=991,Y=824} in 00:00:00.0178565 with 19(2) hops
[12:10:00.343 D] Client path generated.
[12:10:00.343 D] Generated path to <2061.332, 2477.899, 27.31482> (Interact with object) with 2 hops.
[12:10:00.343 V] Using power Walk clickPos:<2060, 2520, 0> worldDynamicId:1999503360 targetACDGuid:-1
[12:10:00.531 V] Using power Monk_FistsofThunder clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2009071620
[12:10:00.546 V] Using power: Monk_FistsofThunder
[12:10:00.984 V] Using power Monk_FistsofThunder clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2009071620
[12:10:00.984 V] Using power: Monk_FistsofThunder
[12:10:01.375 V] Using power Monk_FistsofThunder clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2009071620
[12:10:01.375 V] Using power: Monk_FistsofThunder
[12:10:01.671 V] Using power Walk clickPos:<2060, 2520, 0> worldDynamicId:1999503360 targetACDGuid:-1
[12:10:04.328 D] Navigation reached current destination. Within 42.26728
[12:10:04.328 D] Navigator.Clear
[12:10:04.484 D] Generating path to Interact with object - <2061.332, 2477.899, 27.31482>
[12:10:04.578 D] Successfully generated path from {X=1008,Y=823} to {X=991,Y=824} in 00:00:00.0170162 with 2(2) hops
[12:10:04.578 D] Client path generated.
[12:10:04.578 D] Generated path to <2061.332, 2477.899, 27.31482> (Interact with object) with 2 hops.
[12:10:04.578 V] Using power Walk clickPos:<2060, 2520, 0> worldDynamicId:1999503360 targetACDGuid:-1
[12:10:06.703 D] [Stuck Handler] We're stuck at <2059.885, 2520.141, 27.1>
[12:10:06.750 D] Navigator.Clear
[12:10:06.750 V] Using power Walk clickPos:<2069.885, 2520.141, 27.1> worldDynamicId:1999503360 targetACDGuid:-1
[12:10:06.890 D] Generating path to Interact with object - <2061.332, 2477.899, 27.31482>
[12:10:07.015 D] Successfully generated path from {X=1008,Y=825} to {X=991,Y=824} in 00:00:00.0171044 with 2(2) hops
[12:10:07.015 D] Client path generated.
[12:10:07.015 D] Generated path to <2061.332, 2477.899, 27.31482> (Interact with object) with 2 hops.
[12:10:07.015 V] Using power Walk clickPos:<2060, 2520, 0> worldDynamicId:1999503360 targetACDGuid:-1
[12:10:11.265 D] [Stuck Handler] We're stuck at <2060.01, 2520, 27.1>
[12:10:11.312 D] Navigator.Clear
[12:10:11.312 V] Using power Walk clickPos:<2070.01, 2520, 27.1> worldDynamicId:1999503360 targetACDGuid:-1
[12:10:11.453 D] Generating path to Interact with object - <2061.332, 2477.899, 27.31482>
[12:10:11.578 D] Successfully generated path from {X=1008,Y=826} to {X=991,Y=824} in 00:00:00.0178058 with 3(2) hops
[12:10:11.578 D] Client path generated.
[12:10:11.578 D] Generated path to <2061.332, 2477.899, 27.31482> (Interact with object) with 2 hops.
[12:10:11.578 V] Using power Walk clickPos:<2060, 2520, 0> worldDynamicId:1999503360 targetACDGuid:-1
[12:10:13.140 D] Start/Stop Button Clicked!
[12:10:13.140 N] Stopping the bot.
[12:10:13.140 D] CurrentBot.Stop()
[12:10:13.140 D] Navigator.Clear()
[12:10:13.140 D] Navigator.Clear
[12:10:13.140 D] TreeHooks.Instance.ClearAll()
[12:10:13.140 D] OnStop event
[12:10:13.140 D] OnStop Event Invoking
[12:10:13.140 D] QuestOrderManager.OnBotStop(). Resetting caches.
[12:10:13.140 D] Resetting current behavior.
[12:10:13.140 D] QuestOrderManager.OnBotStop(). Resetting caches.
[12:10:13.140 D] Resetting current behavior.
[12:10:13.140 D] QuestOrderManager.OnBotStop(). Resetting caches.
[12:10:13.140 D] Resetting current behavior.
[12:10:13.140 D] QuestOrderManager.OnBotStop(). Resetting caches.
[12:10:13.140 D] Resetting current behavior.
[12:10:13.140 D] QuestOrderManager.OnBotStop(). Resetting caches.
[12:10:13.140 D] Resetting current behavior.
[12:10:13.140 D] QuestOrderManager.OnBotStop(). Resetting caches.
[12:10:13.140 D] Resetting current behavior.
[12:10:13.140 D] QuestOrderManager.OnBotStop(). Resetting caches.
[12:10:13.140 D] Resetting current behavior.
[12:10:13.140 D] QuestOrderManager.OnBotStop(). Resetting caches.
[12:10:13.140 D] Resetting current behavior.
[12:10:13.140 D] Calling OnDone() on current behavior. UseObjectTag: IsDone: False, ActorId: 176007, X: 2058.653, Y: 2476.354, Z: 26.32902, InteractRange: 10, IsPortal: True, DestinationWorld: 106746, Position: <2058.653, 2476.354, 26.32902>, QuestId: 1, StepId: 0, QuestName: Quest Id: 1, IsDoneCache: False, Behavior: Zeta.TreeSharp.PrioritySelector, 
[12:10:13.171 N] Bot Thread Ended. Was this requested?

Attack radius: 35
Loot radius: 60

Using a monk if that makes a differance

This could be script or plugin fault im unsure

I noticed this kind of behavior with my dh after demonbuddy was first released, after a vault the character would just run on the spot and freeze the bot or something... dont know why this happens :S
 
Back
Top