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!

[Plugin] ProximityInteract (npcs)

Bender69

Community Developer
Joined
Dec 31, 2015
Messages
59
Hi,

So a little hack I created to salvage/bioanalysis on dead npc's. I think its only decent to clean up after I killed things. Let me know if I should fix it somewhat, useful for anything really.

Also its a fast way to get 1-550 crafting by killing something you can salvage/bioanalysis.

View attachment ProximityInteract.cs

BR, Bender69

EDIT:

0.2 in combat check.
 
Last edited:
I had to shut this off. It's causing the bott to crash. It will harvest corpses in the middle of bott fights as well
 
Code:
2016-03-03 05:38:50,939 [Main Bot Thread] ERROR Log - System.Exception: Function GetHealth does not exist.
   at ?????????????????????????????????????????.????????????????????????????????????????.?????????????????????????????????????????[](Boolean , String , Object[] )
   at Buddy.Swtor.Objects.TorObject.CallScript[T](Boolean hasReturnValue, String function, Object[] args)
   at Buddy.Swtor.Objects.TorCharacter.get_Health()
   at Buddy.Swtor.Objects.TorCharacter.get_IsDead()
   at Buddy.Swtor.Objects.TorNpc.get_IsLootable()
   at Buddy.CommonBot.DefaultLootTargetingProvider.?????????????????????????????????????????.?????????????????????????????????????????(TorNpc )
   at System.Linq.Enumerable.<>c__DisplayClassf`1.<CombinePredicates>b__e(TSource x)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Buddy.CommonBot.DefaultLootTargetingProvider.GetObjectsByWeight()
   at Buddy.CommonBot.Targeting.Pulse()
   at Buddy.CommonBot.Logic.BrainBehavior.?????????????????????????????????????????()
2016-03-03 05:38:54,356 [Main Bot Thread] ERROR Log - Engine class is null, TorObject may no longer be valid!
2016-03-03 05:38:54,357 [Main Bot Thread] ERROR Log - System.Exception: DbOffset is Zero.
   at ?????????????????????????????????????????.?????????????????????????????????????????.?????????????????????????????????????????[](UInt64 , HeroType )
   at Buddy.Swtor.Objects.TorObject.GetField[T](DomFieldIds field, HeroType forcedType)
   at Buddy.Swtor.Objects.TorCharacter.get_Health()
   at Buddy.Swtor.Objects.TorCharacter.get_IsDead()
   at Buddy.Swtor.Objects.TorNpc.get_IsLootable()
   at Buddy.CommonBot.DefaultLootTargetingProvider.?????????????????????????????????????????.?????????????????????????????????????????(TorNpc )
   at System.Linq.Enumerable.<>c__DisplayClassf`1.<CombinePredicates>b__e(TSource x)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Buddy.CommonBot.DefaultLootTargetingProvider.GetObjectsByWeight()
   at Buddy.CommonBot.Targeting.Pulse()
   at Buddy.CommonBot.Logic.BrainBehavior.?????????????????????????????????????????()
2016-03-03 05:38:56,464 [Main Bot Thread] WARN  Log - Blacklisting 216332D1B1 for 00:01:00
2016-03-03 05:38:56,465 [Main Bot Thread] INFO  Log - [Poi.Clear] Reason: Done Looting.
2016-03-03 05:38:56,798 [Main Bot Thread] INFO  Log - Killing Krakjya with 100% health at 44.93 meters
2016-03-03 05:38:58,184 [Main Bot Thread] ERROR Log - System.Exception: Function GetHealth does not exist.
   at ?????????????????????????????????????????.????????????????????????????????????????.?????????????????????????????????????????[](Boolean , String , Object[] )
   at Buddy.Swtor.Objects.TorObject.CallScript[T](Boolean hasReturnValue, String function, Object[] args)
   at Buddy.Swtor.Objects.TorCharacter.get_Health()
   at Buddy.Swtor.Objects.TorCharacter.get_IsDead()
   at Buddy.Swtor.Objects.TorNpc.get_IsLootable()
   at Buddy.CommonBot.DefaultLootTargetingProvider.?????????????????????????????????????????.?????????????????????????????????????????(TorNpc )
   at System.Linq.Enumerable.<>c__DisplayClassf`1.<CombinePredicates>b__e(TSource x)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Buddy.CommonBot.DefaultLootTargetingProvider.GetObjectsByWeight()
   at Buddy.CommonBot.Targeting.Pulse()
   at Buddy.CommonBot.Logic.BrainBehavior.?????????????????????????????????????????()
2016-03-03 05:39:00,615 [Main Bot Thread] INFO  Log - [DefaultCombat] >> Casting <<   Priming Shot
2016-03-03 05:39:02,169 [Main Bot Thread] INFO  Log - [DefaultCombat] >> Casting <<   Tracer Missile
2016-03-03 05:39:03,520 [Main Bot Thread] INFO  Log - [DefaultCombat] >> Casting <<   Blazing Bolts
2016-03-03 05:39:05,352 [Main Bot Thread] INFO  Log - [Poi.Clear] Reason: Targeted unit is dead, clearing Poi and carrying on!
2016-03-03 05:39:06,956 [Main Bot Thread] INFO  Log - Moving to Metallic Junk at 49.67949 meters.
2016-03-03 05:39:11,452 [Main Bot Thread] ERROR Log - System.Exception: Function GetHealth does not exist.
   at ?????????????????????????????????????????.????????????????????????????????????????.?????????????????????????????????????????[](Boolean , String , Object[] )
   at Buddy.Swtor.Objects.TorObject.CallScript[T](Boolean hasReturnValue, String function, Object[] args)
   at Buddy.Swtor.Objects.TorCharacter.get_Health()
   at Buddy.Swtor.Objects.TorCharacter.get_IsDead()
   at Buddy.Swtor.Objects.TorNpc.get_IsLootable()
   at Buddy.CommonBot.DefaultLootTargetingProvider.?????????????????????????????????????????.?????????????????????????????????????????(TorNpc )
   at System.Linq.Enumerable.<>c__DisplayClassf`1.<CombinePredicates>b__e(TSource x)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Buddy.CommonBot.DefaultLootTargetingProvider.GetObjectsByWeight()
   at Buddy.CommonBot.Targeting.Pulse()
   at Buddy.CommonBot.Logic.BrainBehavior.?????????????????????????????????????????()
2016-03-03 05:39:15,578 [Main Bot Thread] WARN  Log - Blacklisting 2163223971 for 00:01:00
2016-03-03 05:39:15,579 [Main Bot Thread] INFO  Log - [Poi.Clear] Reason: Done Looting.
2016-03-03 05:39:18,564 [Main Bot Thread] ERROR Log - Engine class is null, TorObject may no longer be valid!
2016-03-03 05:39:18,565 [Main Bot Thread] ERROR Log - System.Exception: DbOffset is Zero.
   at ?????????????????????????????????????????.?????????????????????????????????????????.?????????????????????????????????????????[](UInt64 , HeroType )
   at Buddy.Swtor.Objects.TorObject.GetField[T](DomFieldIds field, HeroType forcedType)
   at Buddy.Swtor.Objects.TorCharacter.get_Health()
   at Buddy.Swtor.Objects.TorCharacter.get_IsDead()
   at Buddy.Swtor.Objects.TorNpc.get_IsLootable()
   at Buddy.CommonBot.DefaultLootTargetingProvider.?????????????????????????????????????????.?????????????????????????????????????????(TorNpc )
   at System.Linq.Enumerable.<>c__DisplayClassf`1.<CombinePredicates>b__e(TSource x)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Buddy.CommonBot.DefaultLootTargetingProvider.GetObjectsByWeight()
   at Buddy.CommonBot.Targeting.Pulse()
   at Buddy.CommonBot.Logic.BrainBehavior.?????????????????????????????????????????()
2016-03-03 05:39:19,121 [Main Bot Thread] INFO  Log - Killing Lurker Alpha with 100% health at 21.96 meters
2016-03-03 05:39:19,486 [Main Bot Thread] INFO  Log - [DefaultCombat] >> Casting <<   Priming Shot
2016-03-03 05:39:21,047 [Main Bot Thread] INFO  Log - [DefaultCombat] >> Casting <<   Tracer Missile
2016-03-03 05:39:22,321 [Main Bot Thread] INFO  Log - [DefaultCombat] >> Casting <<   Blazing Bolts
2016-03-03 05:39:25,472 [Main Bot Thread] INFO  Log - [DefaultCombat] >> Casting <<   Heatseeker Missiles
2016-03-03 05:39:26,914 [Main Bot Thread] INFO  Log - [DefaultCombat] >> Casting <<   Tracer Missile
2016-03-03 05:39:33,301 [Main Bot Thread] INFO  Log - [Poi.Clear] Reason: Targeted unit is dead, clearing Poi and carrying on!
2016-03-03 05:39:35,043 [Main Bot Thread] INFO  Log - Killing Stoneray with 100% health at 44.37 meters
2016-03-03 05:39:37,615 [Main Bot Thread] INFO  Log - [DefaultCombat] >> Casting <<   Blazing Bolts
2016-03-03 05:39:39,736 [Main Bot Thread] INFO  Log - [Poi.Clear] Reason: I'm in combat, but POI isn't. Clearing POI and picking up a new target.
2016-03-03 05:39:39,798 [Main Bot Thread] INFO  Log - Killing Small Stoneray with 100% health at 30.3 meters
2016-03-03 05:39:40,265 [Main Bot Thread] INFO  Log - [DefaultCombat] >> Casting <<   Priming Shot
2016-03-03 05:39:40,619 [Main Bot Thread] INFO  Log - [Poi.Clear] Reason: Targeted unit is dead, clearing Poi and carrying on!
2016-03-03 05:39:40,658 [Main Bot Thread] INFO  Log - Killing Stoneray with 100% health at 25.02 meters
2016-03-03 05:39:41,787 [Main Bot Thread] INFO  Log - [DefaultCombat] >> Casting <<   Tracer Missile
2016-03-03 05:39:43,016 [Main Bot Thread] INFO  Log - [DefaultCombat] >> Casting <<   Tracer Missile
2016-03-03 05:39:44,906 [Main Bot Thread] INFO  Log - [DefaultCombat] >> Casting <<   Blazing Bolts
2016-03-03 05:39:46,622 [Main Bot Thread] ERROR Log - Engine class is null, TorObject may no longer be valid!
2016-03-03 05:39:46,663 [Main Bot Thread] INFO  Log - [Poi.Clear] Reason: Targeted unit is dead, clearing Poi and carrying on!
2016-03-03 05:39:47,063 [Main Bot Thread] INFO  Log - [ProximityInteract] Stoneray id:143398095400
2016-03-03 05:39:47,239 [Main Bot Thread] INFO  Log - Moving to Small Stoneray at 3.071889 meters.
2016-03-03 05:39:49,618 [Main Bot Thread] WARN  Log - Blacklisting 21633149E4 for 00:01:00
2016-03-03 05:39:49,619 [Main Bot Thread] INFO  Log - [Poi.Clear] Reason: Done Looting.
2016-03-03 05:39:49,783 [Main Bot Thread] INFO  Log - Moving to Small Stoneray at 24.77476 meters.
2016-03-03 05:39:50,254 [Main Bot Thread] INFO  Log - [ProximityInteract] Small Stoneray id:143398095332
2016-03-03 05:39:50,414 [Main Bot Thread] INFO  Log - [ProximityInteract] Stoneray id:143398095400
2016-03-03 05:39:54,491 [Main Bot Thread] WARN  Log - Blacklisting 21633149C2 for 00:01:00
2016-03-03 05:39:54,491 [Main Bot Thread] INFO  Log - [Poi.Clear] Reason: Done Looting.
2016-03-03 05:39:55,337 [Main Bot Thread] INFO  Log - [ProximityInteract] Small Stoneray id:143398095298
2016-03-03 05:40:09,701 [Main Bot Thread] INFO  Log - Killing Massassi Roamer with 100% health at 22.04 meters
2016-03-03 05:40:10,091 [Main Bot Thread] INFO  Log - [DefaultCombat] >> Casting <<   Electro Net
2016-03-03 05:40:11,695 [Main Bot Thread] INFO  Log - [DefaultCombat] >> Casting <<   Priming Shot
2016-03-03 05:40:13,075 [Main Bot Thread] INFO  Log - [DefaultCombat] >> Casting <<   Rapid Shots
2016-03-03 05:40:14,550 [Main Bot Thread] INFO  Log - [DefaultCombat] >> Casting <<   Tracer Missile
2016-03-03 05:40:14,966 [Main Bot Thread] INFO  Log - [DefaultCombat] >> Casting <<   Supercharged Gas
2016-03-03 05:40:15,117 [Main Bot Thread] INFO  Log - [DefaultCombat] >> Casting <<   Supercharged Gas
2016-03-03 05:40:15,845 [Main Bot Thread] INFO  Log - [DefaultCombat] >> Casting <<   Blazing Bolts
2016-03-03 05:40:18,969 [Main Bot Thread] INFO  Log - [DefaultCombat] >> Casting <<   Heatseeker Missiles
2016-03-03 05:40:20,453 [Main Bot Thread] INFO  Log - [DefaultCombat] >> Casting <<   Determination
2016-03-03 05:40:29,991 [Main Bot Thread] INFO  Log - [Poi.Clear] Reason: Targeted unit is dead, clearing Poi and carrying on!
2016-03-03 05:40:32,371 [Main Bot Thread] ERROR Log - Engine class is null, TorObject may no longer be valid!
2016-03-03 05:40:32,392 [Main Bot Thread] ERROR Log - Engine class is null, TorObject may no longer be valid!
2016-03-03 05:40:32,393 [Main Bot Thread] ERROR Log - System.Exception: DbOffset is Zero.
   at ?????????????????????????????????????????.?????????????????????????????????????????.?????????????????????????????????????????[](UInt64 , HeroType )
   at Buddy.Swtor.Objects.TorObject.GetField[T](DomFieldIds field, HeroType forcedType)
   at Buddy.Swtor.Objects.TorCharacter.get_Health()
   at Buddy.Swtor.Objects.TorCharacter.get_IsDead()
   at Buddy.Swtor.Objects.TorNpc.get_IsLootable()
   at Buddy.CommonBot.DefaultLootTargetingProvider.?????????????????????????????????????????.?????????????????????????????????????????(TorNpc )
   at System.Linq.Enumerable.<>c__DisplayClassf`1.<CombinePredicates>b__e(TSource x)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Buddy.CommonBot.DefaultLootTargetingProvider.GetObjectsByWeight()
   at Buddy.CommonBot.Targeting.Pulse()
   at Buddy.CommonBot.Logic.BrainBehavior.?????????????????????????????????????????()
2016-03-03 05:40:36,223 [Main Bot Thread] ERROR Log - System.Exception: Only part of a ReadProcessMemory or WriteProcessMemory request was completed, at addr: 775F4E31, Size: 16
   at GreyMagic.ExternalProcessMemory.ReadByteBuffer(IntPtr addr, Void* buffer, Int32 count)
   at GreyMagic.MemoryBase.ReadBytes(IntPtr addr, Int32 count)
   at "3#vwCS/MsU!?<gY\\2B@f59T#.A'FuW^i7bxQ}k\[RKr\]Cbb\[f<".?????????????????????????????????????????.?????????????????????????????????????????(IntPtr )
   at Buddy.Swtor.Managers.CacheObj`1.Get(IntPtr inPtr, T& value)
   at "3#vwCS/MsU!?<gY\\2B@f59T#.A'FuW^i7bxQ}k\[RKr\]Cbb\[f<"..ctor(IntPtr nativePtr)
   at "3#vwCS/MsU!?<gY\\2B@f59T#.$ PyCAw2Wp6:r\\ZVFWM?#ZJ4$.get_Definition()
   at ?????????????????????????????????????????.?????????????????????????????????????????.?????????????????????????????????????????()
   at ?????????????????????????????????????????.?????????????????????????????????????????.get_NodeView()
   at Buddy.Swtor.Objects.TorObject.get_DataBaseOffset()
   at ?????????????????????????????????????????.?????????????????????????????????????????.get_DbOffset()
   at ?????????????????????????????????????????.?????????????????????????????????????????.?????????????????????????????????????????[](UInt64 , HeroType )
   at Buddy.Swtor.Objects.TorObject.GetField[T](DomFieldIds field, HeroType forcedType)
   at Buddy.Swtor.Objects.TorCharacter.get_Health()
   at Buddy.Swtor.Objects.TorCharacter.get_IsDead()
   at Buddy.Swtor.Objects.TorNpc.get_IsLootable()
   at Buddy.CommonBot.DefaultLootTargetingProvider.?????????????????????????????????????????.?????????????????????????????????????????(TorNpc )
   at System.Linq.Enumerable.<>c__DisplayClassf`1.<CombinePredicates>b__e(TSource x)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Buddy.CommonBot.DefaultLootTargetingProvider.GetObjectsByWeight()
   at Buddy.CommonBot.Targeting.Pulse()
   at Buddy.CommonBot.Logic.BrainBehavior.?????????????????????????????????????????()
2016-03-03 05:40:38,711 [Main Bot Thread] ERROR Log - Engine class is null, TorObject may no longer be valid!
2016-03-03 05:40:38,712 [Main Bot Thread] ERROR Log - System.Exception: DbOffset is Zero.
   at ?????????????????????????????????????????.?????????????????????????????????????????.?????????????????????????????????????????[](UInt64 , HeroType )
   at Buddy.Swtor.Objects.TorObject.GetField[T](DomFieldIds field, HeroType forcedType)
   at Buddy.Swtor.Objects.TorCharacter.get_Health()
   at Buddy.Swtor.Objects.TorCharacter.get_IsDead()
   at Buddy.Swtor.Objects.TorNpc.get_IsLootable()
   at Buddy.CommonBot.DefaultLootTargetingProvider.?????????????????????????????????????????.?????????????????????????????????????????(TorNpc )
   at System.Linq.Enumerable.<>c__DisplayClassf`1.<CombinePredicates>b__e(TSource x)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Buddy.CommonBot.DefaultLootTargetingProvider.GetObjectsByWeight()
   at Buddy.CommonBot.Targeting.Pulse()
   at Buddy.CommonBot.Logic.BrainBehavior.?????????????????????????????????????????()
2016-03-03 05:40:39,759 [Main Bot Thread] ERROR Log - System.Exception: Function GetHealth does not exist.
   at ?????????????????????????????????????????.????????????????????????????????????????.?????????????????????????????????????????[](Boolean , String , Object[] )
   at Buddy.Swtor.Objects.TorObject.CallScript[T](Boolean hasReturnValue, String function, Object[] args)
   at Buddy.Swtor.Objects.TorCharacter.get_Health()
   at Buddy.Swtor.Objects.TorCharacter.get_IsDead()
   at Buddy.Swtor.Objects.TorNpc.get_IsLootable()
   at Buddy.CommonBot.DefaultLootTargetingProvider.?????????????????????????????????????????.?????????????????????????????????????????(TorNpc )
   at System.Linq.Enumerable.<>c__DisplayClassf`1.<CombinePredicates>b__e(TSource x)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Buddy.CommonBot.DefaultLootTargetingProvider.GetObjectsByWeight()
   at Buddy.CommonBot.Targeting.Pulse()
   at Buddy.CommonBot.Logic.BrainBehavior.?????????????????????????????????????????()
2016-03-03 05:40:45,881 [Main Bot Thread] ERROR Log - System.NullReferenceException: Object reference not set to an instance of an object.
   at ?????????????????????????????????????????.?????????????????????????????????????????.?????????????????????????????????????????(????????????????????????????????????????? , IntPtr , HeroType )
   at ?????????????????????????????????????????.?????????????????????????????????????????.?????????????????????????????????????????[](UInt64 , HeroType )
   at Buddy.Swtor.Objects.TorObject.GetField[T](DomFieldIds field, HeroType forcedType)
   at Buddy.Swtor.Objects.TorCharacter.get_Health()
   at Buddy.Swtor.Objects.TorCharacter.get_IsDead()
   at Buddy.Swtor.Objects.TorNpc.get_IsLootable()
   at Buddy.CommonBot.DefaultLootTargetingProvider.?????????????????????????????????????????.?????????????????????????????????????????(TorNpc )
   at System.Linq.Enumerable.<>c__DisplayClassf`1.<CombinePredicates>b__e(TSource x)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Buddy.CommonBot.DefaultLootTargetingProvider.GetObjectsByWeight()
   at Buddy.CommonBot.Targeting.Pulse()
   at Buddy.CommonBot.Logic.BrainBehavior.?????????????????????????????????????????()
2016-03-03 05:40:47,563 [Main Bot Thread] ERROR Log - System.Exception: Function GetHealth does not exist.
   at ?????????????????????????????????????????.????????????????????????????????????????.?????????????????????????????????????????[](Boolean , String , Object[] )
   at Buddy.Swtor.Objects.TorObject.CallScript[T](Boolean hasReturnValue, String function, Object[] args)
   at Buddy.Swtor.Objects.TorCharacter.get_Health()
   at Buddy.Swtor.Objects.TorCharacter.get_IsDead()
   at Buddy.Swtor.Objects.TorNpc.get_IsLootable()
   at Buddy.CommonBot.DefaultLootTargetingProvider.?????????????????????????????????????????.?????????????????????????????????????????(TorNpc )
   at System.Linq.Enumerable.<>c__DisplayClassf`1.<CombinePredicates>b__e(TSource x)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Buddy.CommonBot.DefaultLootTargetingProvider.GetObjectsByWeight()
   at Buddy.CommonBot.Targeting.Pulse()
   at Buddy.CommonBot.Logic.BrainBehavior.?????????????????????????????????????????()
2016-03-03 05:40:51,286 [Main Bot Thread] INFO  Log - Killing Stoneray with 100% health at 44.29 meters
2016-03-03 05:40:54,017 [Main Bot Thread] ERROR Log - Engine class is null, TorObject may no longer be valid!
2016-03-03 05:40:54,019 [Main Bot Thread] ERROR Log - System.Exception: DbOffset is Zero.
   at ?????????????????????????????????????????.?????????????????????????????????????????.?????????????????????????????????????????[](UInt64 , HeroType )
   at Buddy.Swtor.Objects.TorObject.GetField[T](DomFieldIds field, HeroType forcedType)
   at Buddy.Swtor.Objects.TorCharacter.get_InCombat()
   at DefaultCombat.Helpers.Extensions.IsValidTarget(TorCharacter c) in d:\Star Wars-The Old Republic\Killer\Routines\DefaultCombat\Helpers\Extensions.cs:line 217
   at DefaultCombat.Core.Targeting.<get_ScanTargets>b__0(Object param0) in d:\Star Wars-The Old Republic\Killer\Routines\DefaultCombat\Core\Targeting.cs:line 119
   at Buddy.BehaviorTree.Action.RunAction(Object context)
   at Buddy.BehaviorTree.Action.fA'bs\&V~\.q7}$?Vej\]8pXLl\]".MoveNext()
   at (IEnumerator )
   at Buddy.BehaviorTree.Composite.Tick(Object context)
   at Buddy.BehaviorTree.PrioritySelector.V\*h(CLQ'\,=ifY@~\]{xP\\a\[QQ!.MoveNext()
   at (IEnumerator )
   at Buddy.BehaviorTree.Composite.Tick(Object context)
   at Buddy.BehaviorTree.Decorator.3\*:\[}^fnG^\.HVtHxC\*;6`F1o!.MoveNext()
   at (IEnumerator )
   at Buddy.BehaviorTree.Composite.Tick(Object context)
   at Buddy.BehaviorTree.Decorator.3\*:\[}^fnG^\.HVtHxC\*;6`F1o!.MoveNext()
   at (IEnumerator )
   at Buddy.BehaviorTree.Composite.Tick(Object context)
   at Buddy.BehaviorTree.PrioritySelector.V\*h(CLQ'\,=ifY@~\]{xP\\a\[QQ!.MoveNext()
   at (IEnumerator )
   at Buddy.BehaviorTree.Composite.Tick(Object context)
   at Buddy.Common.HookExecutor.Run(Object context)
   at Buddy.BehaviorTree.Action.RunAction(Object context)
   at Buddy.BehaviorTree.Action.fA'bs\&V~\.q7}$?Vej\]8pXLl\]".MoveNext()
   at (IEnumerator )
   at Buddy.BehaviorTree.Composite.Tick(Object context)
   at Buddy.BehaviorTree.Decorator.3\*:\[}^fnG^\.HVtHxC\*;6`F1o!.MoveNext()
   at (IEnumerator )
   at Buddy.BehaviorTree.Composite.Tick(Object context)
   at Buddy.BehaviorTree.PrioritySelector.V\*h(CLQ'\,=ifY@~\]{xP\\a\[QQ!.MoveNext()
   at (IEnumerator )
   at Buddy.BehaviorTree.Composite.Tick(Object context)
   at Buddy.BehaviorTree.Decorator.3\*:\[}^fnG^\.HVtHxC\*;6`F1o!.MoveNext()
   at (IEnumerator )
   at Buddy.BehaviorTree.Composite.Tick(Object context)
   at Buddy.BehaviorTree.PrioritySelector.V\*h(CLQ'\,=ifY@~\]{xP\\a\[QQ!.MoveNext()
   at (IEnumerator )
   at Buddy.BehaviorTree.Composite.Tick(Object context)
   at Buddy.BehaviorTree.Decorator.3\*:\[}^fnG^\.HVtHxC\*;6`F1o!.MoveNext()
   at (IEnumerator )
   at Buddy.BehaviorTree.Composite.Tick(Object context)
   at Buddy.BehaviorTree.PrioritySelector.V\*h(CLQ'\,=ifY@~\]{xP\\a\[QQ!.MoveNext()
   at (IEnumerator )
   at Buddy.BehaviorTree.Composite.Tick(Object context)
   at Buddy.CommonBot.BotMain.?????????????????????????????????????????()
 
Last edited by a moderator:
hmm, I have companion doing the harvest, and has been with 1 harvest able corpse too, so never tried what happens with multiple targets. Those errors is not from my mod but DefaultCombat. For me it has worked, as kill targets, loot and companion does harvesting while I move to next target. Maybe if you can explain how you are doing it and what is happening?

Actually you do have the ProximityInteract, that happened a bit too often, I only have blacklist for 1 target, need to figure out how to blacklist with multiple targets, for now I would filter the target by name, the one you know is "harvestable". So it only triggers on that.
Code:
if (t.IsDead && t.Name == "Stoneray" && !t.IsLootable && LastInteract != t.Guid)

I updated the ProximityInteract to 0.2 with inCombat check. So now it won't trigger during combat.

After I get some feedback on the Blacklist function I will update it again with multiple targets, just like how the current harvesting works.
 
Last edited:
I dont know, is plugin or routine bug, but:

I kill 5 mobs, then:

1. Nothing happens, just run to next pack of mobs.
2. Collect resources from few mobs.
3. Bot mount, dismount, collects 1 mob and runs to the next pack of mobs
4. Boat mount, dismount, collects 1 mob, again mount, dismount again, collecting an additional 1 mob and runs to the next pack of mobs

And never collects resources from all killed mobs.

In my opinion the correct behavior:

1. Kill the monsters
2. Gather resources from all the mobs
3. To run (or mount) to the next pack of mobs
 
I think is routine problem.

[Poi.Clear] Reason: Done Looting. After this bot run to next targets. But routine must check too "Done harvesting" and plugin must send message "Done harvesting" to routine.

And i think better add harvest corpses function to routine and hotkey enable/disable harvesting.
 
Last edited:
Yeah I don't think you understand what this is, this isn't a routine or able to handle loot. That is problems with the bot, what this plugin does, is starting to gather on a killed mob, aka interact with a looted npc every 0.5 seconds or so. It's a hack that will harvest a harvestable npc if it is in range and the bot is not in combat and corpse is not lootable.

All it does, is clicking the non-lootable corpses around you, when your not in combat. aka where the name comes from "Proximity Interact".
 
Last edited:
All it does, is clicking the non-lootable corpses around you, when your not in combat. aka where the name comes from "Proximity Interact".


But if im not in combat - bot run to next target, he dont waiting for harvestings
 
if it's not close enough to start channeling it will keep moving, again, this plugin does not interact with default combat or the main bot, it just triggers a potential harvest, if there is harvest able corpse in range. If your combat is charge, it might not get time to harvest before it has charged to the next npc.
 
Back
Top