• Visit Rebornbuddy
  • BestTarget is bugged

    Discussion in 'Wildbuddy Support' started by Greencat, Feb 9, 2016.

    1. Greencat

      Greencat New Member

      Joined:
      Nov 6, 2015
      Messages:
      5
      Likes Received:
      0
      Trophy Points:
      0
      Hello everyone, I'm trying to farm expeditions but my bot time from time going crazy (stops targeting mobs and run in random direction).
      From my little research i found that problem is most likely with this function:

      public static Actor BestTarget
      {
      get
      {
      if (PullTarget != null && PullTarget.IsValid && !PullTarget.IsDead)
      return PullTarget;
      return BestTargetCache;
      }
      }

      When i remove !PullTarget.IsDead bot run fine without this error, but unable to target mobs, medic just aoe them, and continue doing objectives.

      Any way to fix this properly?

      Unhandled exception!Buddy.Coroutines.CoroutineUnhandledException: Exception was thrown by coroutine ---> ReadWriteMemoryException: Error while reading memory! Only part of a ReadProcessMemory or WriteProcessMemory request was completed, at addr: 17BE38010, Size: 36F8
      at GreyMagic.ExternalProcessMemory.ReadByteBuffer(IntPtr addr, Void* buffer, Int32 count)
      at GreyMagic.MemoryBase.Read[T](IntPtr addr)
      at Buddy.Wildstar.Engine.PerCachedValue`1.get_Value()
      at Buddy.Wildstar.Game.Actors.Actor.get_IsDead()
      at Buddy.DefaultRoutine.Targeting.get_BestTarget() in d:\Games\bots\Wildbuddy 1.1.596.1\Routines\Default Routine\Targeting.cs:line 123
      at Buddy.DefaultRoutine.DefaultRoutine.<Combat>d__0.MoveNext() in d:\Games\bots\Wildbuddy 1.1.596.1\Routines\Default Routine\DefaultRoutine.cs:line 101
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at Buddy.Wildstar.BotCommon.CombatRoutineBase..()
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at Buddy.Coroutines.Coroutine...()
      --- End of inner exception stack trace ---
      at Buddy.Coroutines.Coroutine.(Boolean )
      at Buddy.Coroutines.Coroutine.(Boolean )
      at Buddy.Wildstar.Engine.CoroutinePulsable.Pulse()

      Bot loading header in attachment
       

      Attached Files:

      • log.zip
        File size:
        1.3 KB
        Views:
        109
    2. Shock18

      Shock18 New Member

      Joined:
      Feb 27, 2010
      Messages:
      253
      Likes Received:
      0
      Trophy Points:
      0
      I am also getting this error. Anyone have any info?

      Unhandled exception!Buddy.Coroutines.CoroutineUnhandledException: Exception was thrown by coroutine ---> ReadWriteMemoryException: Error while reading memory! Only part of a ReadProcessMemory or WriteProcessMemory request was completed, at addr: 287FB6C0010, Size: 36F8
      at GreyMagic.ExternalProcessMemory.ReadByteBuffer(IntPtr addr, Void* buffer, Int32 count)
      at GreyMagic.MemoryBase.Read[T](IntPtr addr)
      at Buddy.Wildstar.Engine.PerCachedValue`1.get_Value()
      at Buddy.Wildstar.Game.Actors.Actor.get_IsDead()
      at Buddy.DefaultRoutine.Targeting.get_BestTarget() in c:\Users\Joey\Desktop\Wildbuddy\Routines\Default Routine\Targeting.cs:line 123
      at Buddy.DefaultRoutine.DefaultRoutine.<Combat>d__0.MoveNext() in c:\Users\Joey\Desktop\Wildbuddy\Routines\Default Routine\DefaultRoutine.cs:line 101
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at Buddy.Wildstar.BotCommon.CombatRoutineBase..()
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at Buddy.Coroutines.Coroutine...()
      --- End of inner exception stack trace ---
      at Buddy.Coroutines.Coroutine.(Boolean )
      at Buddy.Coroutines.Coroutine.(Boolean )
      at Buddy.Wildstar.Engine.CoroutinePulsable.Pulse()
       

      Attached Files:

    3. KingDwink

      KingDwink New Member

      Joined:
      Jan 11, 2016
      Messages:
      8
      Likes Received:
      0
      Trophy Points:
      0
      Use agility bridge rather than default combat routine it should fix your issues
       
    4. Shock18

      Shock18 New Member

      Joined:
      Feb 27, 2010
      Messages:
      253
      Likes Received:
      0
      Trophy Points:
      0
      I have never been a fan of agility but i will give it a try and see if it will fix the issues.
       
    5. Shock18

      Shock18 New Member

      Joined:
      Feb 27, 2010
      Messages:
      253
      Likes Received:
      0
      Trophy Points:
      0
      Update! This did fix my issue thanks for the info.
       

    Share This Page