Just found out that it's throwing an exception when enabling the cavebot with targeting on.
Code:
[2015-11-19 10:43:59] At least one object must implement IComparable.
vid System.Collections.Comparer.Compare(Object a, Object b)
vid KarelazisBot.Objects.PathFinder.PriorityQueue`1.OnCompare(Int32 i, Int32 j) i C:\Users\Tony\Desktop\bot-master\Objects\PathFinder.PriorityQueue.cs:rad 42
vid KarelazisBot.Objects.PathFinder.PriorityQueue`1.Push(T item) i C:\Users\Tony\Desktop\bot-master\Objects\PathFinder.PriorityQueue.cs:rad 57
vid KarelazisBot.Objects.PathFinder.FindPath(UInt16 startX, UInt16 startY, UInt16 endX, UInt16 endY, Boolean stopWhenAdjacent) i C:\Users\Tony\Desktop\bot-master\Objects\PathFinder.cs:rad 181
vid KarelazisBot.Objects.PathFinder.FindPath(Point start, Point end, Boolean stopWhenAdjacent) i C:\Users\Tony\Desktop\bot-master\Objects\PathFinder.cs:rad 92
vid KarelazisBot.Objects.PathFinder.FindPath(Location start, Location end, Boolean stopWhenAdjacent) i C:\Users\Tony\Desktop\bot-master\Objects\PathFinder.cs:rad 98
vid KarelazisBot.Objects.Creature.GetTilesToCreature(TileCollection tileCollection, PathFinder pathFinder) i C:\Users\Tony\Desktop\bot-master\Objects\Creature.cs:rad 335
vid KarelazisBot.Modules.Cavebot.Target.GetBestSetting(IEnumerable`1 creaturesOnScreen, IEnumerable`1 playersOnScreen, TileCollection tileCollection, Boolean setCreature) i C:\Users\Tony\Desktop\bot-master\Modules\Cavebot.Target.cs:rad 156
vid KarelazisBot.Modules.Cavebot.GetBestTarget(TileCollection tilesOnScreen, IEnumerable`1 creatures, IEnumerable`1 players, Boolean setCreature) i C:\Users\Tony\Desktop\bot-master\Modules\Cavebot.cs:rad 888
vid KarelazisBot.Modules.Cavebot.CavebotLogic() i C:\Users\Tony\Desktop\bot-master\Modules\Cavebot.cs:rad 1598
Variables:
Waypoint: 0/1
CurrentSubNode: -1,-1,-1
CurrentTarget: not null
CurrentTarget.Creature: null
Sorry, but the exception is mostly in Swedish unfortunately.
So far, I head it's because sorting an array causes issues, but I'm not sure..
Originally Posted by
DarkstaR
Hey man, just a heads up, don't expect any help from the author. I'm sorry to say that he logged out irl shortly after posting this thread.
Didn't get it until now, wow.. That's ... yeah.. Sad to hear