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

Where should i put CustomBehavior in my xml?

<PickUp QuestName="Forced to Watch from Afar" QuestId="313" GiverName="Captain Tharran" GiverId="40950" />
<CustomBehavior QuestId="313" File="InteractWith" MobId="40991" NumOfTimes="1" Location= "227.9975 354.3482" />
<TurnIn QuestName="Forced to Watch from Afar" QuestId="313" TurnInName="Captain Tharran" TurnInId="40950" />

Like that?
 
Last edited:
[23:57:24:566] Cleared POI
[23:57:24:799] System.NullReferenceException: Object reference not set to an instance of an object.
at Styx.Bot.Quest_Behaviors.InteractWith.<CreateBehavior>b__7(Object ) in z:\Games\Bottar\HonorBuddy\Quest Behaviors\InteractWith.cs:line 85
at TreeSharp.Action.RunAction(Object context)
at TreeSharp.Action.a.a()
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.a.b()
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.a.b()
at TreeSharp.Composite.Tick(Object context)
at QuestBot.Actions.ForcedBehaviorExecutor.a.a()
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.a.b()
at TreeSharp.Composite.Tick(Object context)
at TreeSharp.PrioritySelector.a.b()
at TreeSharp.Composite.Tick(Object context)
at Styx.Logic.BehaviorTree.TreeRoot.b()
[23:57:24:799] Cleared POI
[23:57:24:959] Start/Stop button pressed.
[23:57:24:965] Stop called!
[23:57:25:41] System.Threading.ThreadAbortException: Thread was being aborted.
at Styx.Logic.BehaviorTree.TreeRoot.b()
at Styx.Logic.BehaviorTree.TreeRoot.a()
[23:57:25:42] System.Threading.ThreadAbortException: Thread was being aborted.
at Styx.Logic.BehaviorTree.TreeRoot.a()
 
any one that can sort this out for me?

im new at this could really use som help.
 
Ill give a cookie to any one who can answer to theese questions.
 
M1k3 said:
<CustomBehavior QuestId="313" File="InteractWith" MobId="40991" NumOfTimes="1" Location= "227.9975 354.3482" />

First, I'll assume you are using the CustomBehaviors that ship with Honorbuddy, and not the similar behaviors from Natfoth's Megathread. The two sets of CustomBehaviors frequently do not take the same sets of attributes.

The parameters you've passed to CustomBehavior don't agree with what the documentation says is required...
[wiki]Honorbuddy Custom Behavior: InteractWith[/wiki]
  • Location should be discrete X, Y, and Z.
    ...and you are missing the "Z" component in the location anyway--it is not 'optional'.
  • You are missing a required ObjectType attribute

You might also read the "Things to Know" section of the CustomBehavior documentation. Specifically, the part about required parameters.
[wiki]Honorbuddy Profile Tag: CustomBehavior[/wiki]

cheers,
chinajade
 
thanks for the answer. yeah i went there late last night.
 
I use to have his and now i use the default ones again. About the coords i must have missread somewhere, pretty sure that it said that i where sopose to leave out x,y,z for some od reason.
 
Back
Top