• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Belphegor Test Release

    Discussion in 'Archives' started by Nuok, Jun 27, 2012.

    1. greenblood

      greenblood New Member

      Joined:
      Jun 22, 2012
      Messages:
      172
      Likes Received:
      0
      Trophy Points:
      0
      So is there any way to only avoid Desecrator but not the others? Can't set the sliders to 0.
       
    2. superreeen

      superreeen Member

      Joined:
      Jan 28, 2011
      Messages:
      307
      Likes Received:
      2
      Trophy Points:
      18
      Currently not. It's all or nothing and very experimental.
       
    3. TreeK

      TreeK New Member

      Joined:
      Jul 10, 2012
      Messages:
      170
      Likes Received:
      1
      Trophy Points:
      0
      Hey Nuok/Superreeen. been playing around with the new build for a bit and really like it. Love the new options - and the fact that they actually show up when I launch DB from a shortcut.

      I've only just turned on the avoidance and ran into a plagued elite right off the bat and my toon shut down and just stood there once the first bit of green goo appeared. He got knocked back and started fighting again until he ended up back in a plagued area where he stopped again. At that point I took over and killed the mob. Attached (hopefully) is the log with the encounter. 22:33:36.151 is the time stamp when things went bad.

      View attachment 2012-07-31 17.24.txt
       
    4. theatristformallyknownasG

      theatristformallyknownasG Active Member

      Joined:
      Jan 16, 2010
      Messages:
      3,041
      Likes Received:
      8
      Trophy Points:
      38


      lets hope so :)

      G
       
    5. tesslerc

      tesslerc New Member

      Joined:
      Jun 27, 2012
      Messages:
      803
      Likes Received:
      9
      Trophy Points:
      0
      Code:
      [10:00:09.523 N] Demonbuddy v1.0.744.185 started
      [10:00:09.565 N] Logging in...
      [10:00:10.094 N] Attached to Diablo III with pid: 5760
      [10:00:10.690 D] Executable Path: C:\Users\Chen\Desktop\DRelog\Demonbuddys\Joker\Demonbuddy_Joker.exe
      [10:00:10.690 D] OS Architecture: AMD64
      [10:00:10.692 D] OS: Windows 7 Service Pack 1 64-bit
      [10:00:10.692 D] OS Language: Hebrew (Israel)
      [10:00:11.391 D] Reloading AssemblyLoader<Zeta.CommonBot.ICombat> - Initializing
      [10:00:12.019 N] Compiler Error: c:\Users\Chen\Desktop\DRelog\Demonbuddys\Joker\Routines\Belphegor\GUI\SettingsWindow.xaml.cs(140,44) : error CS1061: 'Belphegor.Settings.BelphegorSettings' does not contain a definition for 'Barbarain' and no extension method 'Barbarain' accepting a first argument of type 'Belphegor.Settings.BelphegorSettings' could be found (are you missing a using directive or an assembly reference?)
      [10:00:12.019 N] Compiler Error: c:\Users\Chen\Desktop\DRelog\Demonbuddys\Joker\Routines\Belphegor\GUI\SettingsWindow.xaml.cs(141,44) : error CS1061: 'Belphegor.Settings.BelphegorSettings' does not contain a definition for 'Barbarain' and no extension method 'Barbarain' accepting a first argument of type 'Belphegor.Settings.BelphegorSettings' could be found (are you missing a using directive or an assembly reference?)
      [10:00:12.019 N] Compiler Error: c:\Users\Chen\Desktop\DRelog\Demonbuddys\Joker\Routines\Belphegor\GUI\SettingsWindow.xaml.cs(142,44) : error CS1061: 'Belphegor.Settings.BelphegorSettings' does not contain a definition for 'Barbarain' and no extension method 'Barbarain' accepting a first argument of type 'Belphegor.Settings.BelphegorSettings' could be found (are you missing a using directive or an assembly reference?)
      [10:00:12.019 N] Compiler Error: c:\Users\Chen\Desktop\DRelog\Demonbuddys\Joker\Routines\Belphegor\GUI\SettingsWindow.xaml.cs(143,44) : error CS1061: 'Belphegor.Settings.BelphegorSettings' does not contain a definition for 'Barbarain' and no extension method 'Barbarain' accepting a first argument of type 'Belphegor.Settings.BelphegorSettings' could be found (are you missing a using directive or an assembly reference?)
      [10:00:12.019 N] Compiler Error: c:\Users\Chen\Desktop\DRelog\Demonbuddys\Joker\Routines\Belphegor\GUI\SettingsWindow.xaml.cs(144,44) : error CS1061: 'Belphegor.Settings.BelphegorSettings' does not contain a definition for 'Barbarain' and no extension method 'Barbarain' accepting a first argument of type 'Belphegor.Settings.BelphegorSettings' could be found (are you missing a using directive or an assembly reference?)
      [10:00:12.019 N] Compiler Error: c:\Users\Chen\Desktop\DRelog\Demonbuddys\Joker\Routines\Belphegor\GUI\SettingsWindow.xaml.cs(145,44) : error CS1061: 'Belphegor.Settings.BelphegorSettings' does not contain a definition for 'Barbarain' and no extension method 'Barbarain' accepting a first argument of type 'Belphegor.Settings.BelphegorSettings' could be found (are you missing a using directive or an assembly reference?)
      [10:00:12.019 N] Compiler Error: c:\Users\Chen\Desktop\DRelog\Demonbuddys\Joker\Routines\Belphegor\GUI\SettingsWindow.xaml.cs(146,44) : error CS1061: 'Belphegor.Settings.BelphegorSettings' does not contain a definition for 'Barbarain' and no extension method 'Barbarain' accepting a first argument of type 'Belphegor.Settings.BelphegorSettings' could be found (are you missing a using directive or an assembly reference?)
      [10:00:12.019 N] Compiler Error: c:\Users\Chen\Desktop\DRelog\Demonbuddys\Joker\Routines\Belphegor\GUI\SettingsWindow.xaml.cs(147,44) : error CS1061: 'Belphegor.Settings.BelphegorSettings' does not contain a definition for 'Barbarain' and no extension method 'Barbarain' accepting a first argument of type 'Belphegor.Settings.BelphegorSettings' could be found (are you missing a using directive or an assembly reference?)
      [10:00:12.019 N] Compiler Error: c:\Users\Chen\Desktop\DRelog\Demonbuddys\Joker\Routines\Belphegor\GUI\SettingsWindow.xaml.cs(169,44) : error CS1061: 'Belphegor.Settings.BelphegorSettings' does not contain a definition for 'Barbarain' and no extension method 'Barbarain' accepting a first argument of type 'Belphegor.Settings.BelphegorSettings' could be found (are you missing a using directive or an assembly reference?)
      [10:00:12.019 N] Compiler Error: c:\Users\Chen\Desktop\DRelog\Demonbuddys\Joker\Routines\Belphegor\GUI\SettingsWindow.xaml.cs(199,44) : error CS1061: 'Belphegor.Settings.BelphegorSettings' does not contain a definition for 'Barbarain' and no extension method 'Barbarain' accepting a first argument of type 'Belphegor.Settings.BelphegorSettings' could be found (are you missing a using directive or an assembly reference?)
      [10:00:12.019 N] Compiler Error: c:\Users\Chen\Desktop\DRelog\Demonbuddys\Joker\Routines\Belphegor\GUI\SettingsWindow.xaml.cs(203,44) : error CS1061: 'Belphegor.Settings.BelphegorSettings' does not contain a definition for 'Barbarain' and no extension method 'Barbarain' accepting a first argument of type 'Belphegor.Settings.BelphegorSettings' could be found (are you missing a using directive or an assembly reference?)
      [10:00:12.019 N] Compiler Error: c:\Users\Chen\Desktop\DRelog\Demonbuddys\Joker\Routines\Belphegor\GUI\SettingsWindow.xaml.cs(207,44) : error CS1061: 'Belphegor.Settings.BelphegorSettings' does not contain a definition for 'Barbarain' and no extension method 'Barbarain' accepting a first argument of type 'Belphegor.Settings.BelphegorSettings' could be found (are you missing a using directive or an assembly reference?)
      [10:00:12.019 N] Compiler Error: c:\Users\Chen\Desktop\DRelog\Demonbuddys\Joker\Routines\Belphegor\GUI\SettingsWindow.xaml.cs(211,58) : error CS1061: 'Belphegor.Settings.BelphegorSettings' does not contain a definition for 'Barbarain' and no extension method 'Barbarain' accepting a first argument of type 'Belphegor.Settings.BelphegorSettings' could be found (are you missing a using directive or an assembly reference?)
      [10:00:12.019 N] Compiler Error: c:\Users\Chen\Desktop\DRelog\Demonbuddys\Joker\Routines\Belphegor\GUI\SettingsWindow.xaml.cs(212,59) : error CS1061: 'Belphegor.Settings.BelphegorSettings' does not contain a definition for 'Barbarain' and no extension method 'Barbarain' accepting a first argument of type 'Belphegor.Settings.BelphegorSettings' could be found (are you missing a using directive or an assembly reference?)
      [10:00:12.019 N] Compiler Error: c:\Users\Chen\Desktop\DRelog\Demonbuddys\Joker\Routines\Belphegor\GUI\SettingsWindow.xaml.cs(213,56) : error CS1061: 'Belphegor.Settings.BelphegorSettings' does not contain a definition for 'Barbarain' and no extension method 'Barbarain' accepting a first argument of type 'Belphegor.Settings.BelphegorSettings' could be found (are you missing a using directive or an assembly reference?)
      [10:00:12.019 N] Compiler Error: c:\Users\Chen\Desktop\DRelog\Demonbuddys\Joker\Routines\Belphegor\GUI\SettingsWindow.xaml.cs(214,61) : error CS1061: 'Belphegor.Settings.BelphegorSettings' does not contain a definition for 'Barbarain' and no extension method 'Barbarain' accepting a first argument of type 'Belphegor.Settings.BelphegorSettings' could be found (are you missing a using directive or an assembly reference?)
      [10:00:12.019 N] Compiler Error: c:\Users\Chen\Desktop\DRelog\Demonbuddys\Joker\Routines\Belphegor\GUI\SettingsWindow.xaml.cs(215,61) : error CS1061: 'Belphegor.Settings.BelphegorSettings' does not contain a definition for 'Barbarain' and no extension method 'Barbarain' accepting a first argument of type 'Belphegor.Settings.BelphegorSettings' could be found (are you missing a using directive or an assembly reference?)
      
      my guess typo? Barbarain instead of barbarian?
       
    6. Nuok

      Nuok Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      975
      Likes Received:
      28
      Trophy Points:
      28
      You still have old files, deleting everything in the belphegor folder and copy them back across.
       
    7. superreeen

      superreeen Member

      Joined:
      Jan 28, 2011
      Messages:
      307
      Likes Received:
      2
      Trophy Points:
      18
      Can you suply a screenshot where it was happening? The pointgeneration logic seems to fail at that spot.
       
    8. TreeK

      TreeK New Member

      Joined:
      Jul 10, 2012
      Messages:
      170
      Likes Received:
      1
      Trophy Points:
      0
      It was after I exited Leorics Manor into the courtyard, and was on or near the stairs leading up to the entrance to Leorics Manor. Got knocked back a time or 2 in that general area. Can't supply a SS right now, but will later today if you still need it.
       
    9. TreeK

      TreeK New Member

      Joined:
      Jul 10, 2012
      Messages:
      170
      Likes Received:
      1
      Trophy Points:
      0
      Any chance of making the combat range adjustable in the DemonHunter routine? I much prefer shooting at things off screen rather than vaulting to within 15...what ever units the game uses... and risk getting pounded.
       
    10. GilesSmith

      GilesSmith New Member

      Joined:
      Jun 2, 2012
      Messages:
      1,564
      Likes Received:
      34
      Trophy Points:
      0
      Trying the latest version, found bot sometimes gets stuck after killing a group of enemies at once. Think it's killing one while the combat-routine is in the middle of trying to do something in the combat routine. Seems the more complex combat routine is more vulnerable to the possibility of a mob dying between the time DemonBuddy passes the target object to the CC, and the time the CC actually tries to do something with that DiaObject/DiaUnit? Unsure. Either way all the mobs were dead and the bot gets "stuck";

      Code:
      [01:41:23.677 V] Using power Barbarian_BattleRage clickPos:<0, 0, 0> worldDynamicId:1999568897 targetACDGuid:-1
      [01:41:24.406 V] Using power Barbarian_Frenzy clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2025324781
      [01:41:25.403 D] System.AccessViolationException: Could not read bytes from 00000000 [299]!
         at Zeta.MemoryManagement.ExternalProcessReader.ReadBytes(IntPtr address, Int32 count, Boolean isRelative)
         at Zeta.MemoryManagement.ExternalProcessReader.Read[T](IntPtr address, Boolean isRelative)
         at Zeta.Internals.Actors.DiaObject.()
         at Zeta.Internals.Actors.DiaObject.get_Position()
         at Belphegor.Helpers.Clusters.<>c__DisplayClassb.<GetRadiusClusterCount>b__a(DiaObject u)
         at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source, Func`2 predicate)
         at Belphegor.Helpers.Clusters.GetRadiusClusterCount(DiaObject target, IEnumerable`1 otherUnits, Single radius)
         at Belphegor.Helpers.Clusters.GetClusterCount(DiaUnit target, IEnumerable`1 otherUnits, ClusterType type, Single clusterRange)
         at Belphegor.Routines.Barbarian.<BarbarianCombat>b__9(Object require)
         at Belphegor.Composites.SpellCast.<Execute>d__0.MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.Decorator..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.Common.HookExecutor.Run(Object context)
         at Zeta.TreeSharp.Action.RunAction(Object context)
         at Zeta.TreeSharp.Action..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.Decorator..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.Common.HookExecutor.Run(Object context)
         at Zeta.TreeSharp.Action.RunAction(Object context)
         at Zeta.TreeSharp.Action..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.CommonBot.BotMain.()
      [01:41:25.802 V] Using power Barbarian_Frenzy clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2026176742
      [01:41:27.553 V] Using power Barbarian_Frenzy clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2026373347
      [01:41:28.802 V] Using power Barbarian_Frenzy clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2026569952
      [01:41:29.357 V] Using power Barbarian_Frenzy clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2026832098
      [01:41:30.201 V] Using power Barbarian_Frenzy clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2027028602
      [01:41:31.045 V] Using power Barbarian_Leap clickPos:<442.3982, 574.3003, 26.30818> worldDynamicId:1999568897 targetACDGuid:-1
      [01:41:31.204 V] Using power Barbarian_Frenzy clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2027225326
      [01:41:31.522 V] Blacklisting 79820048 for 00:10:00
      [01:41:31.552 V] Using power Barbarian_Frenzy clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2027356268
      [01:41:32.032 V] Using power Barbarian_IgnorePain clickPos:<0, 0, 0> worldDynamicId:1999568897 targetACDGuid:-1
      [01:41:32.524 V] Blacklisting 799E004C for 00:10:00
      [01:41:32.706 V] Using power Barbarian_Frenzy clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2027290861
      [01:41:33.065 D] System.AccessViolationException: Could not read bytes from 00000000 [299]!
         at Zeta.MemoryManagement.ExternalProcessReader.ReadBytes(IntPtr address, Int32 count, Boolean isRelative)
         at Zeta.MemoryManagement.ExternalProcessReader.Read[T](IntPtr address, Boolean isRelative)
         at Zeta.Internals.Actors.DiaObject.()
         at Zeta.Internals.Actors.DiaObject.get_Position()
         at Belphegor.Helpers.Clusters.<>c__DisplayClassb.<GetRadiusClusterCount>b__a(DiaObject u)
         at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source, Func`2 predicate)
         at Belphegor.Helpers.Clusters.GetRadiusClusterCount(DiaObject target, IEnumerable`1 otherUnits, Single radius)
         at Belphegor.Helpers.Clusters.GetClusterCount(DiaUnit target, IEnumerable`1 otherUnits, ClusterType type, Single clusterRange)
         at Belphegor.Routines.Barbarian.<BarbarianCombat>b__9(Object require)
         at Belphegor.Composites.SpellCast.<Execute>d__0.MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.Decorator..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.Common.HookExecutor.Run(Object context)
         at Zeta.TreeSharp.Action.RunAction(Object context)
         at Zeta.TreeSharp.Action..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.Decorator..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.Common.HookExecutor.Run(Object context)
         at Zeta.TreeSharp.Action.RunAction(Object context)
         at Zeta.TreeSharp.Action..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.CommonBot.BotMain.()
      [01:41:34.101 V] Using power Barbarian_Frenzy clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2027421931
      [01:41:34.556 V] Using power Barbarian_Frenzy clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2027618540
      [01:41:34.821 V] Blacklisting 79B60055 for 00:10:00
      [01:41:34.994 V] Using power Barbarian_Frenzy clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2027749473
      [01:41:35.800 D] System.AccessViolationException: Could not read bytes from 00000000 [299]!
         at Zeta.MemoryManagement.ExternalProcessReader.ReadBytes(IntPtr address, Int32 count, Boolean isRelative)
         at Zeta.MemoryManagement.ExternalProcessReader.Read[T](IntPtr address, Boolean isRelative)
         at Zeta.Internals.Actors.DiaObject.()
         at Zeta.Internals.Actors.DiaObject.get_Position()
         at Belphegor.Helpers.Clusters.<>c__DisplayClassb.<GetRadiusClusterCount>b__a(DiaObject u)
         at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source, Func`2 predicate)
         at Belphegor.Helpers.Clusters.GetRadiusClusterCount(DiaObject target, IEnumerable`1 otherUnits, Single radius)
         at Belphegor.Helpers.Clusters.GetClusterCount(DiaUnit target, IEnumerable`1 otherUnits, ClusterType type, Single clusterRange)
         at Belphegor.Routines.Barbarian.<BarbarianCombat>b__9(Object require)
         at Belphegor.Composites.SpellCast.<Execute>d__0.MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.Decorator..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.Common.HookExecutor.Run(Object context)
         at Zeta.TreeSharp.Action.RunAction(Object context)
         at Zeta.TreeSharp.Action..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.Decorator..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.Common.HookExecutor.Run(Object context)
         at Zeta.TreeSharp.Action.RunAction(Object context)
         at Zeta.TreeSharp.Action..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.CommonBot.BotMain.()
      [01:41:37.431 V] Using power Barbarian_Frenzy clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2027946082
      [01:41:38.652 V] Using power Barbarian_Frenzy clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2027684073
      [01:41:39.017 V] Blacklisting 79E40050 for 00:10:00
      [01:41:39.061 V] Using power Barbarian_Frenzy clickPos:<0, 0, 0> worldDynamicId:0 targetACDGuid:2027684073
      [01:41:39.430 V] Using power Barbarian_Revenge clickPos:<0, 0, 0> worldDynamicId:1999568897 targetACDGuid:-1
      [01:41:40.153 D] System.AccessViolationException: Could not read bytes from 00000000 [299]!
         at Zeta.MemoryManagement.ExternalProcessReader.ReadBytes(IntPtr address, Int32 count, Boolean isRelative)
         at Zeta.MemoryManagement.ExternalProcessReader.Read[T](IntPtr address, Boolean isRelative)
         at Zeta.Internals.Actors.DiaObject.()
         at Zeta.Internals.Actors.DiaObject.get_Position()
         at Belphegor.Helpers.Clusters.<>c__DisplayClassb.<GetRadiusClusterCount>b__a(DiaObject u)
         at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source, Func`2 predicate)
         at Belphegor.Helpers.Clusters.GetRadiusClusterCount(DiaObject target, IEnumerable`1 otherUnits, Single radius)
         at Belphegor.Helpers.Clusters.GetClusterCount(DiaUnit target, IEnumerable`1 otherUnits, ClusterType type, Single clusterRange)
         at Belphegor.Routines.Barbarian.<BarbarianCombat>b__9(Object require)
         at Belphegor.Composites.SpellCast.<Execute>d__0.MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.Decorator..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.Common.HookExecutor.Run(Object context)
         at Zeta.TreeSharp.Action.RunAction(Object context)
         at Zeta.TreeSharp.Action..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.Decorator..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.Common.HookExecutor.Run(Object context)
         at Zeta.TreeSharp.Action.RunAction(Object context)
         at Zeta.TreeSharp.Action..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.CommonBot.BotMain.()
      [01:41:40.297 V] Blacklisting 79F4004F for 00:10:00
      [01:41:40.303 V] Blacklisting 79F30011 for 00:10:00
      [01:41:40.307 D] System.AccessViolationException: Could not read bytes from 00000000 [299]!
         at Zeta.MemoryManagement.ExternalProcessReader.ReadBytes(IntPtr address, Int32 count, Boolean isRelative)
         at Zeta.MemoryManagement.ExternalProcessReader.Read[T](IntPtr address, Boolean isRelative)
         at Zeta.Internals.Actors.DiaObject.()
         at Zeta.Internals.Actors.DiaObject.get_Position()
         at Belphegor.Helpers.Clusters.<>c__DisplayClassb.<GetRadiusClusterCount>b__a(DiaObject u)
         at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source, Func`2 predicate)
         at Belphegor.Helpers.Clusters.GetRadiusClusterCount(DiaObject target, IEnumerable`1 otherUnits, Single radius)
         at Belphegor.Helpers.Clusters.GetClusterCount(DiaUnit target, IEnumerable`1 otherUnits, ClusterType type, Single clusterRange)
         at Belphegor.Routines.Barbarian.<BarbarianCombat>b__9(Object require)
         at Belphegor.Composites.SpellCast.<Execute>d__0.MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.Decorator..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.Common.HookExecutor.Run(Object context)
         at Zeta.TreeSharp.Action.RunAction(Object context)
         at Zeta.TreeSharp.Action..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.Decorator..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.Common.HookExecutor.Run(Object context)
         at Zeta.TreeSharp.Action.RunAction(Object context)
         at Zeta.TreeSharp.Action..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.CommonBot.BotMain.()
      [01:41:41.793 V] Blacklisting 7A000036 for 00:10:00
      [01:41:41.800 D] System.AccessViolationException: Could not read bytes from 00000000 [299]!
         at Zeta.MemoryManagement.ExternalProcessReader.ReadBytes(IntPtr address, Int32 count, Boolean isRelative)
         at Zeta.MemoryManagement.ExternalProcessReader.Read[T](IntPtr address, Boolean isRelative)
         at Zeta.Internals.Actors.DiaObject.()
         at Zeta.Internals.Actors.DiaObject.get_Position()
         at Belphegor.Helpers.Clusters.<>c__DisplayClassb.<GetRadiusClusterCount>b__a(DiaObject u)
         at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source, Func`2 predicate)
         at Belphegor.Helpers.Clusters.GetRadiusClusterCount(DiaObject target, IEnumerable`1 otherUnits, Single radius)
         at Belphegor.Helpers.Clusters.GetClusterCount(DiaUnit target, IEnumerable`1 otherUnits, ClusterType type, Single clusterRange)
         at Belphegor.Routines.Barbarian.<BarbarianCombat>b__9(Object require)
         at Belphegor.Composites.SpellCast.<Execute>d__0.MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.Decorator..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.Common.HookExecutor.Run(Object context)
         at Zeta.TreeSharp.Action.RunAction(Object context)
         at Zeta.TreeSharp.Action..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.Decorator..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.Common.HookExecutor.Run(Object context)
         at Zeta.TreeSharp.Action.RunAction(Object context)
         at Zeta.TreeSharp.Action..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.TreeSharp.PrioritySelector..MoveNext()
         at (Object )
         at Zeta.TreeSharp.Composite.Tick(Object context)
         at Zeta.CommonBot.BotMain.()
      [01:41:49.744 D] Start/Stop Button Clicked!
      
       
    11. GilesSmith

      GilesSmith New Member

      Joined:
      Jun 2, 2012
      Messages:
      1,564
      Likes Received:
      34
      Trophy Points:
      0
      Added some memory-error checking into clusters.cs and barbarian.cs and fixed all of those errors I posted above plus some other errors I was getting that were popping up now and then, all relating to memory reading. All the routines will need to match the (very minor) change I made to barbarian.cs - these memory checks are necessary to avoid DB memory-reading bugs, simply checking if an object is not null is not enough.

      First, in barbarian.cs (and every other combat.cs file);
      Code:
              public static Composite BarbarianCombat()
              {
                  return
                      new PrioritySelector(ctx => CombatTargeting.Instance.FirstNpc,
                          new Decorator(ctx => ctx != null && CombatTargeting.Instance.FirstNpc.BaseAddress != IntPtr.Zero,
                              new PrioritySelector(
      
                                  // Buff attack rate or get free!
      
      ^^ All I have done is add that IntPtr.Zero check to the FirstNPC.BaseAddress. This fixed a lot of the errors. Next up I edited clusters.cs, the entire file is below (based on latest version .174 of Belphegor test release)

      clusters.cs
      Code:
      using System;
      using System.Collections.Generic;
      using System.Linq;
      using System.Text;
      using Zeta.Internals.Actors;
      
      namespace Belphegor.Helpers
      {
          internal static class Clusters
          {
              public static int GetClusterCount(DiaUnit target, IEnumerable<DiaObject> otherUnits, ClusterType type, float clusterRange)
              {
                  if (otherUnits.Count() == 0)
                      return 0;
      
                  switch (type)
                  {
                      case ClusterType.Radius:
                          return GetRadiusClusterCount(target, otherUnits, clusterRange);
                      case ClusterType.Chained:
                          return GetChainedClusterCount(target, otherUnits, clusterRange);
                      //case ClusterType.Cone:
                      //    return GetConeClusterCount(target, otherUnits, clusterRange);
                      default:
                          throw new ArgumentOutOfRangeException("type");
                  }
              }
      
              public static DiaObject GetBestUnitForCluster(IEnumerable<DiaObject> units, ClusterType type, float clusterRange)
              {
                  if (units.Count() == 0)
                      return null;
      
                  switch (type)
                  {
                      case ClusterType.Radius:
                          return (from u in units
                                  select new { Count = GetRadiusClusterCount(u, units, clusterRange), Unit = u }).OrderByDescending(a => a.Count).
                              FirstOrDefault().Unit;
                      case ClusterType.Chained:
                          return (from u in units
                                  select new { Count = GetChainedClusterCount(u, units, clusterRange), Unit = u }).OrderByDescending(a => a.Count).
                              FirstOrDefault().Unit;
                      // coned doesn't have a best unit, since we are the source
                      default:
                          throw new ArgumentOutOfRangeException("type");
                  }
              }
      
              //private static int GetConeClusterCount(RActorUnit target, IEnumerable<RActorUnit> otherUnits, float distance)
              //{
              //    var targetLoc = target.Position;
              //    return otherUnits.Count(u => target.IsSafelyFacing(u, 90f) && u.Position.Distance(targetLoc) <= distance); // most (if not all) cone spells are 90 degrees
              //}
      
              private static int GetRadiusClusterCount(DiaObject target, IEnumerable<DiaObject> otherUnits, float radius)
              {
                  if (target.BaseAddress == IntPtr.Zero)
                      return 0;
                  var targetLoc = target.Position;
                  return otherUnits.Count(u =>
                  {
                      //my own code, just a couple of value comparisons, very quick
                      if (u == null)
                          return false;
                      if (u.BaseAddress == IntPtr.Zero)
                          return false;
                      return (u.Position.DistanceSqr(targetLoc) <= (radius * radius));
                  });
              }
      
              private static int GetChainedClusterCount(DiaObject target, IEnumerable<DiaObject> otherUnits, float chainRange)
              {
                  if (target.BaseAddress == IntPtr.Zero)
                      return 0;
                  var unitCounters = otherUnits.Select(u => GetUnitsChainWillJumpTo(target, otherUnits.ToList(), chainRange).Count);
      
                  return unitCounters.Max() + 1;
              }
      
              private static List<DiaObject> GetUnitsChainWillJumpTo(DiaObject target, List<DiaObject> otherUnits, float chainRange)
              {
                  if (target.BaseAddress == IntPtr.Zero)
                      return otherUnits;
                  var targetLoc = target.Position;
                  var targetGuid = target.ACDGuid;
                  for (int i = otherUnits.Count - 1; i >= 0; i--)
                  {
                      if (otherUnits[i].ACDGuid == targetGuid || otherUnits[i].Position.DistanceSqr(targetLoc) > chainRange)
                          otherUnits.RemoveAt(i);
                  }
                  return otherUnits;
              }
          }
      }
      
      The real changes are the;
      if (target.BaseAddress == IntPtr.Zero)
      return otherUnits;
      Additions to a couple of the cluster count functions, and then a larger change to GetRadiusClusterCount as this was failing if trying to pull up the location of a unit from otherUnits if it'd vanished from D3 memory/DB memory, I changed this to;
      Code:
                  return otherUnits.Count(u =>
                  {
                      if (u == null)
                          return false;
                      if (u.BaseAddress == IntPtr.Zero)
                          return false;
                      return (u.Position.DistanceSqr(targetLoc) <= (radius * radius));
                  });
      
       
      Last edited: Aug 2, 2012
    12. frostfire

      frostfire Member

      Joined:
      Dec 17, 2010
      Messages:
      161
      Likes Received:
      1
      Trophy Points:
      18
      Is there supposed to be a settings GUI when you hit the settings button on the main screen of the bot?

      That button has never done anything for me... and adds nothing to the log when I click it. I just installed this newest version of the combat routine, but no settings to be found anywhere in it... ?
       
    13. superreeen

      superreeen Member

      Joined:
      Jan 28, 2011
      Messages:
      307
      Likes Received:
      2
      Trophy Points:
      18
      You need to be ingame for the settings to work. When it's not working supply a full log.
       
    14. Haley

      Haley New Member

      Joined:
      Feb 1, 2010
      Messages:
      152
      Likes Received:
      3
      Trophy Points:
      0
      you've to be ingame to get the settings working.
       
    15. Midas

      Midas New Member

      Joined:
      Jul 22, 2012
      Messages:
      120
      Likes Received:
      0
      Trophy Points:
      0
      haha giles I love that you are helping out with other peoples plugins! Awesome.
       
    16. Midas

      Midas New Member

      Joined:
      Jul 22, 2012
      Messages:
      120
      Likes Received:
      0
      Trophy Points:
      0
      idea: my barb uses cleave. If there are say 4 monsters in his melee hit radius...and say 1 monster on one side and 3 on another side, it would make sense to attack the 3 first (as cleave will hit all three at once tripling dps and life hit/steal)

      Is there any way to include this in belph, or perhaps it would be too cpu intensive?

      Or Giles is this something that your monster priority plugin could do? it prioritizes targets for the combat routine?
       
    17. frostfire

      frostfire Member

      Joined:
      Dec 17, 2010
      Messages:
      161
      Likes Received:
      1
      Trophy Points:
      18
      Lol. I never would have guessed that. I always try to set settings before pressing start, and try to never mess with the bot UI when the game is active.

      A note about that when settings is clicked outside the game might be handy!
       
    18. Ganondorf1

      Ganondorf1 New Member

      Joined:
      Jul 12, 2012
      Messages:
      25
      Likes Received:
      0
      Trophy Points:
      0
      I found it once now i'm missing it again, sorry for the noob question: Where i can download the test version ?
       
    19. superreeen

      superreeen Member

      Joined:
      Jan 28, 2011
      Messages:
      307
      Likes Received:
      2
      Trophy Points:
      18
      The test Version is out dated. When there will be a new test version you'll find it in the first thread.
       
    20. Nuok

      Nuok Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      975
      Likes Received:
      28
      Trophy Points:
      28
      Version .181:
      Avoidance behavior improved significant.

      ISearchAreaProvider <3
       

    Share This Page