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

Behavour Tree of Loot Hook ... Help

darkfriend77

Member
Joined
Jun 14, 2011
Messages
467
Reaction score
2
Hi,

im working on a Standalone for my ItemRules Plugin ...

http://www.thebuddyforum.com/demonb...item-rules-file-based-scripting-language.html

one of the major issue at the moment is the big dependency on GilesTrinity Plugin ... so im trying to build up my

own hook implementation ... to workaround the standard demonbuddy ItemRules ...

Is it possible to have the Bevaiour Tree of the Bot in detail ... with described Actions ...

Im asking this because i don't want to reinvent the wheel ..

i just want to replace the actions where it is using the following functions of the ItemManager

if some one could point just at those Actions where .. those functionalitys are used ...

  • public static bool ShouldPickUpItem(Zeta.Internals.Actors.ACDItem item) Member von Zeta.CommonBot.ItemManager
  • public static bool ShouldSalvageItem(Zeta.Internals.Actors.ACDItem item) Member von Zeta.CommonBot.ItemManager
  • public static bool ShouldSellItem(Zeta.Internals.Actors.ACDItem item) Member von Zeta.CommonBot.ItemManager
  • public static bool ShouldStashItem(Zeta.Internals.Actors.ACDItem item) Member von Zeta.CommonBot.ItemManager

should be something like ...

11/12/2012 21:45:23: inside HandleBotStart
11/12/2012 21:45:23: hook.Key = TreeStart
11/12/2012 21:45:23: hook.Key = Scheduler_Hook
11/12/2012 21:45:23: hook.Key = OutOfGame
11/12/2012 21:45:23: hook.Key = Death
11/12/2012 21:45:23: hook.Key = RoutineBuffs
11/12/2012 21:45:23: hook.Key = RoutineCombat
11/12/2012 21:45:23: hook.Key = Combat
11/12/2012 21:45:23: hook.Key = IdentifyItems
11/12/2012 21:45:23: hook.Key = StashItems
11/12/2012 21:45:23: hook.Key = SellAndRepair
11/12/2012 21:45:23: hook.Key = SalvageItems
11/12/2012 21:45:23: hook.Key = VendorRun
11/12/2012_21:45:23:_hook.Key_=_Loot
11/12/2012_21:45:23:_____|-Zeta.TreeSharp.Decorator
11/12/2012_21:45:23:________|-Zeta.TreeSharp.PrioritySelector
11/12/2012_21:45:23:___________|-Zeta.TreeSharp.Decorator
11/12/2012_21:45:23:______________|-Zeta.TreeSharp.Action
11/12/2012_21:45:23:___________|-Zeta.TreeSharp.Decorator
11/12/2012_21:45:23:______________|-Zeta.TreeSharp.Sequence
11/12/2012_21:45:23:_________________|-Zeta.TreeSharp.Action
11/12/2012_21:45:23:_________________|-Zeta.TreeSharp.Action
11/12/2012_21:45:24:_________________|-Zeta.TreeSharp.Action
11/12/2012_21:45:24:___________|-Zeta.TreeSharp.Decorator
11/12/2012_21:45:24:______________|-Zeta.TreeSharp.Sequence
11/12/2012_21:45:24:_________________|-Zeta.TreeSharp.Action
11/12/2012_21:45:24:_________________|-Zeta.TreeSharp.Action
11/12/2012_21:45:24:___________|-Zeta.TreeSharp.Decorator
11/12/2012_21:45:24:______________|-Zeta.TreeSharp.PrioritySelector
11/12/2012_21:45:24:_________________|-Zeta.TreeSharp.Decorator
11/12/2012_21:45:24:____________________|-Zeta.TreeSharp.PrioritySelector
11/12/2012_21:45:24:_______________________|-Zeta.TreeSharp.Decorator
11/12/2012_21:45:24:__________________________|-Zeta.TreeSharp.Action
11/12/2012_21:45:24:_______________________|-Zeta.TreeSharp.Action
11/12/2012_21:45:24:_________________|-Zeta.TreeSharp.Sequence
11/12/2012_21:45:24:____________________|-Zeta.TreeSharp.Action
11/12/2012_21:45:24:____________________|-Zeta.TreeSharp.Action
11/12/2012_21:45:24:____________________|-Zeta.TreeSharp.Sleep
11/12/2012_21:45:24:____________________|-Zeta.TreeSharp.Action
11/12/2012_21:45:24:____________________|-Zeta.TreeSharp.Action
11/12/2012_21:45:24:___________|-Zeta.TreeSharp.Decorator
11/12/2012_21:45:24:______________|-Zeta.TreeSharp.PrioritySelector
11/12/2012_21:45:24:_________________|-Zeta.TreeSharp.Decorator
11/12/2012_21:45:24:____________________|-Zeta.TreeSharp.PrioritySelector
11/12/2012_21:45:24:_______________________|-Zeta.TreeSharp.Decorator
11/12/2012_21:45:24:__________________________|-Zeta.TreeSharp.Action
11/12/2012_21:45:24:_______________________|-Zeta.TreeSharp.Action
11/12/2012_21:45:24:_________________|-Zeta.TreeSharp.Sequence
11/12/2012_21:45:24:____________________|-Zeta.TreeSharp.Action
11/12/2012_21:45:24:____________________|-Zeta.TreeSharp.Action
11/12/2012_21:45:24:____________________|-Zeta.TreeSharp.Action
11/12/2012_21:45:24:___________|-Zeta.TreeSharp.Decorator
11/12/2012_21:45:24:______________|-Zeta.TreeSharp.PrioritySelector
11/12/2012_21:45:24:_________________|-Zeta.TreeSharp.Decorator_..._what_is_it_doing_here_...
11/12/2012_21:45:24:____________________|-.
11/12/2012_21:45:24:_________________|-Zeta.TreeSharp.Sequence
11/12/2012_21:45:24:____________________|-Zeta.TreeSharp.Action..._what_is_it_doing_here_...
11/12/2012_21:45:24:____________________|-Zeta.TreeSharp.Action..._what_is_it_doing_here_...
11/12/2012_21:45:24:____________________|-Zeta.TreeSharp.Sleep

11/12/2012_21:45:24:___________|-Zeta.TreeSharp.Decorator
11/12/2012_21:45:24:______________|-Zeta.TreeSharp.PrioritySelector
11/12/2012_21:45:24:_________________|-Zeta.TreeSharp.Decorator
11/12/2012_21:45:24:____________________|-Zeta.TreeSharp.Sequence
11/12/2012_21:45:24:_______________________|-Zeta.TreeSharp.Action
11/12/2012_21:45:24:_______________________|-Zeta.TreeSharp.Action
11/12/2012_21:45:24:_______________________|-Zeta.TreeSharp.Action
11/12/2012_21:45:24:_________________|-Zeta.TreeSharp.Decorator
11/12/2012_21:45:24:____________________|-Zeta.TreeSharp.PrioritySelector
11/12/2012_21:45:24:_______________________|-Zeta.TreeSharp.Decorator
11/12/2012_21:45:24:__________________________|-Zeta.TreeSharp.Action
11/12/2012_21:45:24:_______________________|-Zeta.TreeSharp.Action
11/12/2012_21:45:24:_________________|-Zeta.TreeSharp.Decorator
11/12/2012_21:45:24:____________________|-Zeta.TreeSharp.Action
11/12/2012_21:45:24:_________________|-Zeta.TreeSharp.Sequence
11/12/2012_21:45:24:____________________|-Zeta.TreeSharp.Action
11/12/2012_21:45:24:____________________|-Zeta.TreeSharp.Action
11/12/2012_21:45:24:____________________|-Zeta.TreeSharp.Action
11/12/2012_21:45:24:____________________|-Zeta.TreeSharp.Sleep
11/12/2012 21:45:24: hook.Key = BotBehavior
11/12/2012 21:45:24: hook.Key = ProfileOrderBehavior_Hook
11/12/2012 21:45:33: inside HandleBotStop


thanx for ur help.
 
anyone can help ???

or someone has a good idear how ... to find out which ... actions are doing the ItemRule matches???
 
Back
Top