• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Rift Bot - Yet Another Rifter!

    Discussion in 'Archives' started by DyingHymn, Apr 17, 2014.

    Thread Status:
    Not open for further replies.
    1. Oksehode

      Oksehode Active Member

      Joined:
      Apr 3, 2014
      Messages:
      1,398
      Likes Received:
      4
      Trophy Points:
      38
      DyingHymn Is making the profile. I'm just helping him with a few things. :)
       
    2. tomdolar

      tomdolar New Member

      Joined:
      Sep 27, 2012
      Messages:
      21
      Likes Received:
      0
      Trophy Points:
      0
      i have problem
      What should I do?>
       
    3. cossie_topaloglou

      cossie_topaloglou New Member

      Joined:
      Apr 30, 2013
      Messages:
      84
      Likes Received:
      0
      Trophy Points:
      0
      Hello mate,

      done this change in Trinity ED.cs and the bot seems to be going throu maps a lot faster, minimizing backtracking : ))

      Thnx a lot for this!! Have u done any other mods u would like to share?
      Btw the profile is almost flawless now (runnin common atm)
       
    4. eric0011

      eric0011 New Member

      Joined:
      Jun 29, 2013
      Messages:
      57
      Likes Received:
      0
      Trophy Points:
      0
      this profile even cannot work now.


      DemonbuddyBETA v1.1.1816.394 started
      Logging in...
      T: 5247024604347545823 H: 2753336869
      Attached to Diablo III with pid: 7980
      Flashing window
      [Trinity] Initialized v1.8.25
      [EZUpdater] Enabled
      [EZUpdater] Starting EZUpdater Thread
      [LumberJack] Plugin v1.0.16 Enabled
      [QuestTools] Plugin v1.5.50 Enabled
      [Trinity] OnEnable start
      Setting up Trinity Logging
      [Trinity] Loading BattleTag Settings
      [Trinity] Configuration file loaded
      [Trinity] ENABLED: Trinity v1.8.25 now in action!
      Current bot set to Order Bot
      Loaded profile Act 1 - Loader
      Loaded profile Rift Bot Common
      Chose Trinity as your combat routine
      Loaded profile Rift Bot Common
      Chose Trinity as your combat routine
      [Trinity] Bot Starting
      [LumberJack] Compressing log file 3732 2014-04-23 17.43.txt, age 02:04:41.1299814
      Loaded profile Rift Bot Common
      GameChanged. Clearing actors
      [Trinity] New Game - resetting everything
      ProfileOrderManager.OnGameJoined, Reloading profile.
      Loaded profile Rift Bot Common
      Game joined, Resetting profile caches.
      [Trinity] Starting up Generic Cache Manage thread
      [Trinity] Starting up Generic Blacklist Manager thread
      [Trinity] Clicking UI element Conversation Button (728076288)
      =================WARNING=================
      Currently Trinity .25 seems not working well with exploration.
      I strongly recommend you to downgrade to Trinity .24
      =================WARNING=================
      Loaded profile Rift Bot Common
      Loaded profile Rift Bot Common
      [Trinity] TrinityLoadOnce: Found 1 Total Profiles, 0 Used Profiles, 1 Unused Profiles
      [Trinity] TrinityLoadOnce: Loading next profile: RiftCommon.xml
      Failed to load profile: Element RiftQuestAndStep is not supported. Please check your XML and try again. (<RiftQuestAndStep questId="337492" stepId="1">
      <If condition="CurrentWorldId == 288454">
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876094" interactRange="15" destinationWorldId="288685" />
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876094" destinationWorldId="288685" />
      </If>
      <If condition="CurrentWorldId == 288685">
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876095" interactRange="15" destinationWorldId="288687" />
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876095" destinationWorldId="288687" />
      </If>
      <If condition="CurrentWorldId == 288687">
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876096" interactRange="15" destinationWorldId="288798" />
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876096" destinationWorldId="288798" />
      </If>
      <If condition="CurrentWorldId == 288798">
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876097" interactRange="15" destinationWorldId="288800" />
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876097" destinationWorldId="288800" />
      </If>
      <If condition="CurrentWorldId == 288800">
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876098" interactRange="15" destinationWorldId="288802" />
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876098" destinationWorldId="288802" />
      </If>
      <If condition="CurrentWorldId == 288802">
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876099" interactRange="15" destinationWorldId="288804" />
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876099" destinationWorldId="288804" />
      </If>
      <If condition="CurrentWorldId == 288804">
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876100" interactRange="15" destinationWorldId="288810" />
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876100" destinationWorldId="288810" />
      </If>
      <WaitTimer questId="312429" stepId="2" waitTime="1000" />
      <LoadProfile file="RiftExploreCommon.xml" />
      </RiftQuestAndStep>) Line 50
      System.Exception: Element RiftQuestAndStep is not supported. Please check your XML and try again. (<RiftQuestAndStep questId="337492" stepId="1">
      <If condition="CurrentWorldId == 288454">
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876094" interactRange="15" destinationWorldId="288685" />
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876094" destinationWorldId="288685" />
      </If>
      <If condition="CurrentWorldId == 288685">
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876095" interactRange="15" destinationWorldId="288687" />
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876095" destinationWorldId="288687" />
      </If>
      <If condition="CurrentWorldId == 288687">
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876096" interactRange="15" destinationWorldId="288798" />
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876096" destinationWorldId="288798" />
      </If>
      <If condition="CurrentWorldId == 288798">
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876097" interactRange="15" destinationWorldId="288800" />
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876097" destinationWorldId="288800" />
      </If>
      <If condition="CurrentWorldId == 288800">
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876098" interactRange="15" destinationWorldId="288802" />
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876098" destinationWorldId="288802" />
      </If>
      <If condition="CurrentWorldId == 288802">
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876099" interactRange="15" destinationWorldId="288804" />
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876099" destinationWorldId="288804" />
      </If>
      <If condition="CurrentWorldId == 288804">
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876100" interactRange="15" destinationWorldId="288810" />
      <MoveToMapMarker questId="312429" stepId="2" exitNameHash="1938876100" destinationWorldId="288810" />
      </If>
      <WaitTimer questId="312429" stepId="2" waitTime="1000" />
      <LoadProfile file="RiftExploreCommon.xml" />
      </RiftQuestAndStep>) Line 50
      在 ..(PropertyInfo , XElement , Object )
      在 Zeta.XmlEngine.XmlEngine.Load(Object obj, XElement element)
      在 ..(PropertyInfo , XElement , Object )
      在 Zeta.XmlEngine.XmlEngine.Load(Object obj, XElement element)
      在 ..(XElement , Type )
      在 ...(XElement )
      在 System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
      在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
      在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
      在 ..(XElement , PropertyInfo )
      在 ..(PropertyInfo , XElement , Object )
      在 Zeta.XmlEngine.XmlEngine.Load(Object obj, XElement element)
      在 Zeta.Bot.Profile.Profile.Load(XElement element, String path)
      在 Zeta.Bot.Profile.Profile.Load(String path)
      在 Zeta.Bot.ProfileManager.Load(String profilePath, Boolean rememberPath)
      [Trinity] TrinityLoadOnce: Found 1 Total Profiles, 1 Used Profiles, 0 Unused Profiles
      [Trinity] TrinityLoadOnce: All available profiles have been used!
      Leaving game, reason:
      Profile completed
      Number of games completed: 1
      Last run acquired 0 gold.
      [Trinity] New Game - resetting everything
      Waiting 3.5 seconds before next game...
      Stopping the bot.
      Session lasted for: 00:00:10.8251344
      Bot Thread Ended. Was this requested?
      Chose Trinity as your combat routine
      Loaded profile Rift Bot Full
      Chose Trinity as your combat routine
      Loaded profile Rift Bot Full
      Chose Trinity as your combat routine
      [Trinity] Bot Starting
      [Trinity] Note: Maintaining item stats from previous run. To reset stats fully, please restart DB.
      [Logger] System.Exception: 仅完成部分的 ReadProcessMemory 或 WriteProcessMemory 请求。, at addr: 00000500, Size: 4
      在 GreyMagic.ExternalProcessMemory.ReadByteBuffer(IntPtr addr, Void* buffer, Int32 count)
      在 GreyMagic.MemoryBase.Read[T](IntPtr addr)
      在 Zeta.Game.Internals.FastAttribGroupsEntry.GetAttribute[T](Int32 attribute)
      在 Zeta.Game.Internals.Actors.ACD.GetAttribute[T](Int32 attribute)
      在 Zeta.Game.Internals.Actors.ACD.GetAttribute[T](ActorAttributeType attributeType)
      在 Zeta.Game.Internals.Actors.DiaPlayer.get_IsInConversation()
      在 QuestTools.QuestTools.OnPulse()
      [Trinity] Exception in Pulse: System.Exception: 仅完成部分的 ReadProcessMemory 或 WriteProcessMemory 请求。, at addr: 000008E0, Size: 4
      在 GreyMagic.ExternalProcessMemory.ReadByteBuffer(IntPtr addr, Void* buffer, Int32 count)
      在 GreyMagic.MemoryBase.Read[T](IntPtr addr)
      在 Zeta.Game.Internals.FastAttribGroupsEntry.GetAttribute[T](Int32 attribute)
      在 Zeta.Game.Internals.Actors.ACD.GetAttribute[T](Int32 attribute)
      在 Zeta.Game.Internals.Actors.ACD.GetAttribute[T](ActorAttributeType attributeType)
      在 Zeta.Game.Internals.Actors.DiaActivePlayer.get_LoopingAnimationEndTime()
      在 Trinity.GameUI.SafeClickUIButtons() 位置 d:\D3bot\DemonbuddyBETA 1.1.1816.394\Plugins\Trinity\Helpers\GameUI.cs:行号 152
      在 Trinity.Trinity.OnPulse() 位置 d:\D3bot\DemonbuddyBETA 1.1.1816.394\Plugins\Trinity\Plugin.cs:行号 62
      System.Reflection.TargetInvocationException: 调用的目标发生了异常。 ---> System.Exception: 仅完成部分的 ReadProcessMemory 或 WriteProcessMemory 请求。, at addr: 0000003B, Size: 4
      在 GreyMagic.ExternalProcessMemory.ReadByteBuffer(IntPtr addr, Void* buffer, Int32 count)
      在 GreyMagic.MemoryBase.Read[T](IntPtr addr)
      在 Zeta.Game.Internals.FastAttribGroupsEntry.GetAttribute[T](Int32 attribute)
      在 Zeta.Game.Internals.Actors.ACD.GetAttribute[T](Int32 attribute)
      在 Zeta.Game.Internals.Actors.ACD.GetAttribute[T](ActorAttributeType attributeType)
      在 Zeta.Game.Internals.Actors.ACDItem.get_Gold()
      在 Zeta.Game.Internals.Actors.ACDItem.get_ItemStackQuantity()
      在 Zeta.Game.Internals.Actors.DiaActivePlayer.InventoryManager.get_Coinage()
      在 Zeta.Bot.GameStats.(Object , EventArgs )
      --- 内部异常堆栈跟踪的结尾 ---
      在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
      在 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
      在 System.Delegate.DynamicInvokeImpl(Object[] args)
      在 System.Delegate.DynamicInvoke(Object[] args)
      在 Zeta.Bot.Pulsator.(Delegate , Object[] )
      Loaded profile Rift Bot Full
      GameChanged. Clearing actors
      [Trinity] New Game - resetting everything
      ProfileOrderManager.OnGameJoined, Reloading profile.
      Loaded profile Rift Bot Full
      Game joined, Resetting profile caches.
      =================WARNING=================
      Currently Trinity .25 seems not working well with exploration.
      I strongly recommend you to downgrade to Trinity .24
      =================WARNING=================
      Loaded profile Rift Bot Full
      Loaded profile Rift Bot Full
      [Trinity] TrinityLoadOnce: Found 1 Total Profiles, 0 Used Profiles, 1 Unused Profiles
      [Trinity] TrinityLoadOnce: Loading next profile: RiftFull.xml
      Failed to load profile: Element TrinityExploreRift is not supported. Please check your XML and try again. (<TrinityExploreRift questId="337492" stepId="1" until="FullyExplored" markerDistance="45" boxTolerance="0.01" boxSize="20" />) Line 83
      System.Exception: Element TrinityExploreRift is not supported. Please check your XML and try again. (<TrinityExploreRift questId="337492" stepId="1" until="FullyExplored" markerDistance="45" boxTolerance="0.01" boxSize="20" />) Line 83
      在 ..(PropertyInfo , XElement , Object )
      在 Zeta.XmlEngine.XmlEngine.Load(Object obj, XElement element)
      在 ..(PropertyInfo , XElement , Object )
      在 Zeta.XmlEngine.XmlEngine.Load(Object obj, XElement element)
      在 ..(XElement , Type )
      在 ...(XElement )
      在 System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
      在 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
      在 System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
      在 ..(XElement , PropertyInfo )
      在 ..(PropertyInfo , XElement , Object )
      在 Zeta.XmlEngine.XmlEngine.Load(Object obj, XElement element)
      在 Zeta.Bot.Profile.Profile.Load(XElement element, String path)
      在 Zeta.Bot.Profile.Profile.Load(String path)
      在 Zeta.Bot.ProfileManager.Load(String profilePath, Boolean rememberPath)
      [Trinity] TrinityLoadOnce: Found 1 Total Profiles, 1 Used Profiles, 0 Unused Profiles
      [Trinity] TrinityLoadOnce: All available profiles have been used!
      Leaving game, reason:
      Profile completed
      Number of games completed: 2
      Last run acquired 0 gold.
      [Trinity] New Game - resetting everything
      Waiting 9.5 seconds before next game...
      Stopping the bot.
      Session lasted for: 00:00:07.7609720
      Bot Thread Ended. Was this requested?
      Chose Trinity as your combat routine
       
    5. DyingHymn

      DyingHymn New Member

      Joined:
      Apr 12, 2014
      Messages:
      821
      Likes Received:
      14
      Trophy Points:
      0
      Been busy with affairs today. Anyone can give me a brief summary on the posts? I am working on integrating the raycast thing into plugin.
       
    6. Oksehode

      Oksehode Active Member

      Joined:
      Apr 3, 2014
      Messages:
      1,398
      Likes Received:
      4
      Trophy Points:
      38
      You need to log into your account in Diablo before launching Demonbuddy.
       
    7. Smitie

      Smitie New Member

      Joined:
      Apr 18, 2014
      Messages:
      74
      Likes Received:
      0
      Trophy Points:
      0
      Would like to try this but cannot find the Trinity ED.cs file.

      Also what does deleting the CompiledAssemblies directory do?

      Smitie
       
    8. Oksehode

      Oksehode Active Member

      Joined:
      Apr 3, 2014
      Messages:
      1,398
      Likes Received:
      4
      Trophy Points:
      38
      TrinityExploreDungeon.cs
      TED or TrinityED is just faster to type. :)

      The CompiledAssemblies files can sometimes get corrupted and cause issues with DB. I just delete it every time before I start Demonbuddy just as a precaution.
       
    9. Oksehode

      Oksehode Active Member

      Joined:
      Apr 3, 2014
      Messages:
      1,398
      Likes Received:
      4
      Trophy Points:
      38

      Not much happened since you were here last. Just been answering a few questions and updated my compilation package.

      Just sat down. Haven't boted yet today.
       
    10. DyingHymn

      DyingHymn New Member

      Joined:
      Apr 12, 2014
      Messages:
      821
      Likes Received:
      14
      Trophy Points:
      0
      It seems really hard to integrate the raycast. Too many private functions.
       
    11. Oksehode

      Oksehode Active Member

      Joined:
      Apr 3, 2014
      Messages:
      1,398
      Likes Received:
      4
      Trophy Points:
      38
      I have no knowledge with C# So I wouldn't be able to help you with that unfortunately. :(

      You could however update post #2 with this.
       
    12. Smitie

      Smitie New Member

      Joined:
      Apr 18, 2014
      Messages:
      74
      Likes Received:
      0
      Trophy Points:
      0
      Thanks I'm doing that now and will run for a bit and post results. One additional question how do people get there results say after a few hours I cannot seem to find that output.

      You two are doing a great job with this profile, has anyone try Grom's Trinity Fork as I believe he's correct quite a few of the issues?

      Thanks again,

      Smitie
       
    13. DyingHymn

      DyingHymn New Member

      Joined:
      Apr 12, 2014
      Messages:
      821
      Likes Received:
      14
      Trophy Points:
      0
      Well I'll forget about the raycast thing and wait for a new Trinity. Come back to buggy maps. The Silver Spire and Garden of Hope is the current issues?
       
    14. night555

      night555 New Member

      Joined:
      Apr 23, 2014
      Messages:
      5
      Likes Received:
      0
      Trophy Points:
      0
      Need some help, I get this when I start

      Exception when terminating bot thread. System.ArgumentException: The path is not of a legal form.
      at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
      at System.IO.Path.GetDirectoryName(String path)
      at Zeta.Bot.Profile.Common.LoadProfileTag.get_ProfileDirectory()
      at Zeta.Bot.Profile.Common.LoadProfileTag.(Object )
      at Zeta.TreeSharp.Action.RunAction(Object context)
      at Zeta.TreeSharp.Action..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.PrioritySelector..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.PrioritySelector..()
      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..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.PrioritySelector..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.PrioritySelector..()
      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..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.TreeSharp.PrioritySelector..()
      at Zeta.TreeSharp.Composite.Tick(Object context)
      at Zeta.Bot.BotMain.()
       
    15. Oksehode

      Oksehode Active Member

      Joined:
      Apr 3, 2014
      Messages:
      1,398
      Likes Received:
      4
      Trophy Points:
      38
      Those issues is mostly related to Trinity .25. This profile uses Trinity .24 and I have added some of them to my compilation package posted here.
       
    16. onimoschta

      onimoschta New Member

      Joined:
      Apr 2, 2014
      Messages:
      20
      Likes Received:
      0
      Trophy Points:
      0
      EDIT: Delte, cause im dumb... :D
       
      Last edited: Apr 23, 2014
    17. Oksehode

      Oksehode Active Member

      Joined:
      Apr 3, 2014
      Messages:
      1,398
      Likes Received:
      4
      Trophy Points:
      38
      No issue with them for me yet though. Haven't gotten many rifts using those maps anyway so hard to say.

      I have however added these to my compilation:
      Code:
      		<If condition="CurrentLevelAreaId == 343965"> <!-- Whimsyshire-->
      			<LogMessage quest="1" step="2" output="[Rift Bot] Explore Whimsyshire @ 15/30/0.5" />
      			<TrinityExploreRift questId="1" stepId="2" until="FullyExplored" markerDistance="45" boxSize="15" pathPrecision="30" boxTolerance="0.5"/>
      			<LoadProfile file="RiftFull.xml" />
      		</If>
      		<If condition="CurrentLevelAreaId == 275923"> <!-- Forgotten Battlefield-->
      			<LogMessage quest="1" step="2" output="[Rift Bot] Explore Forgotten Battlefield @ 15/30/0.5" />
      			<TrinityExploreRift questId="1" stepId="2" until="FullyExplored" markerDistance="45" boxSize="15" pathPrecision="30" boxTolerance="0.5"/>
      			<LoadProfile file="RiftFull.xml" />
      		</If
      
      They are untested though.
       
    18. DyingHymn

      DyingHymn New Member

      Joined:
      Apr 12, 2014
      Messages:
      821
      Likes Received:
      14
      Trophy Points:
      0
      OK will be added with a smaller tollerance. 0.5 sounds too tight for me. Ty for the work!
      what about you get an assembla account so I can invite you as a contributor and can directly edit the source?
       
      Last edited: Apr 23, 2014
    19. Oksehode

      Oksehode Active Member

      Joined:
      Apr 3, 2014
      Messages:
      1,398
      Likes Received:
      4
      Trophy Points:
      38
      Does this look too tight?
       
    20. DyingHymn

      DyingHymn New Member

      Joined:
      Apr 12, 2014
      Messages:
      821
      Likes Received:
      14
      Trophy Points:
      0
      looks awesome. Will change
       
    Thread Status:
    Not open for further replies.

    Share This Page