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!

Gowing Pains: Is it me or buddywing?

Lashaer

New Member
Joined
Feb 16, 2015
Messages
38
For the sake of learning, yeah I am a masochist like that, I have been reading all I can find about creating profiles. I also know that the only way to really learn programming of any sort is to do it. So..... I have started a new toon and started "recreating the wheel" on Koriban with a Sith Warrior.

I have run into a problem and I don't know if it's me or buddywing that is causing the problems.

I have written the Questbot from the very beginning to the main training area with one toon and now I am running a new toon through it.

First I grab the bindpoint with;
<UseObject QuestId="0xE000E15C7BB9C0FB" Name="Offworld Orientation" BranchId="1" StepId="3" IgnoreLOS="True" IgnoreQuestRelation="True" X="6.573695" Y="-0.1590797" Z="-4.400409" />

Then I have it grind the area until level 3 with;
<Grind GrindRef="Valley of the Dark Lords" While="Me.Level &lt; 3" />

for which I have set up multiple hotspots in a grindarea that it refers to.

1st problem is it continuiosly uses the bindpoint, blacklists it for 00:00:30 (30 seconds?). rinse and repeat.
I have to click stop the start to move forward.
2nd problem is that while grinding I continuiosly see these errors.

Error:1
Code:
Killing K'lor'slug Forager with 100% health at 2.05 meters
[DefaultCombat] >> Casting <<   Assault
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_HealthPercent()
   at DefaultCombat.Core.Targeting.<get_ScanTargets>b__0(Object param0)
   at Buddy.BehaviorTree.Action.RunAction(Object context)
   at Buddy.BehaviorTree.Action..()
   at Buddy.BehaviorTree.Composite.Tick(Object context)
   at Buddy.BehaviorTree.PrioritySelector..()
   at Buddy.BehaviorTree.Composite.Tick(Object context)
   at DefaultCombat.Core.LockSelector.Tick(Object context)
   at Buddy.BehaviorTree.Decorator..()
   at Buddy.BehaviorTree.Composite.Tick(Object context)
   at Buddy.BehaviorTree.PrioritySelector..()
   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..()
   at Buddy.BehaviorTree.Composite.Tick(Object context)
   at Buddy.BehaviorTree.PrioritySelector..()
   at Buddy.BehaviorTree.Composite.Tick(Object context)
   at Buddy.BehaviorTree.Decorator..()
   at Buddy.BehaviorTree.Composite.Tick(Object context)
   at Buddy.BehaviorTree.PrioritySelector..()
   at Buddy.BehaviorTree.Composite.Tick(Object context)
   at Buddy.BehaviorTree.Decorator..()
   at Buddy.BehaviorTree.Composite.Tick(Object context)
   at Buddy.BehaviorTree.PrioritySelector..()
   at Buddy.BehaviorTree.Composite.Tick(Object context)
   at Buddy.BehaviorTree.Decorator..()
   at Buddy.BehaviorTree.Composite.Tick(Object context)
   at Buddy.BehaviorTree.PrioritySelector..()
   at Buddy.BehaviorTree.Composite.Tick(Object context)
   at Buddy.CommonBot.BotMain.()

Error:2
Code:
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.()

attached is a log showing both errors.

View attachment 2015-03-05 00.01.txt
 

Attachments

Bindpoint i code like this:

Code:
<MoveTo QuestId="1" Name="QT: Promenade" X="-101.4845" Y="53.801" Z="-51.91128" />
<Interact Name="Promenade" Radius="20" UseRange="5" IgnoreLOS="true" X="-101.4845" Y="53.801" Z="-51.91128" />	<!-- QT: Promenade -->

UseObject needs a check back, which you dont get with bindpoints.
Use Interact with everything that needs one click and go on, which arent related to quests.

Other bugs, normal
 
Back
Top