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

System.AccessViolationException: Could not read bytes from 000007D8

Xeon

Member
Joined
Jan 31, 2013
Messages
56
Reaction score
0
Using Fpsware DK combat routine and it fails to face the target. Log file attached, but pertinent error looks to be:

Code:
[07:55:28.562 D] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.AccessViolationException: Could not read bytes from 000007D8 [299]!
   at Styx.MemoryManagement.ExternalProcessReader.ReadBytes(IntPtr address, Int32 count, Boolean isRelative)
   at Styx.MemoryManagement.ExternalProcessReader.Read[T](IntPtr address, Boolean isRelative)
   at Styx.WoWInternals.WoWMovementInfo.()
   at Styx.WoWInternals.WoWMovementInfo.get_Position()
   at Styx.WoWInternals.WoWObjects.WoWUnit.get_RelativeLocation()
   at Styx.WoWInternals.WoWObjects.WoWUnit.get_Location()
   at Styx.WoWInternals.WoWObjects.WoWObject.get_Distance()
   at Styx.CommonBot.Targeting.DefaultTargetWeight(List`1 units)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at System.Delegate.DynamicInvoke(Object[] args)
   at Styx.CommonBot.Targeting.(Delegate , Object[] ) --> System.AccessViolationException: Could not read bytes from 000007D8 [299]!
   at Styx.MemoryManagement.ExternalProcessReader.ReadBytes(IntPtr address, Int32 count, Boolean isRelative)
   at Styx.MemoryManagement.ExternalProcessReader.Read[T](IntPtr address, Boolean isRelative)
   at Styx.WoWInternals.WoWMovementInfo.()
   at Styx.WoWInternals.WoWMovementInfo.get_Position()
   at Styx.WoWInternals.WoWObjects.WoWUnit.get_RelativeLocation()
   at Styx.WoWInternals.WoWObjects.WoWUnit.get_Location()
   at Styx.WoWInternals.WoWObjects.WoWObject.get_Distance()
   at Styx.CommonBot.Targeting.DefaultTargetWeight(List`1 units)
View attachment 81249
 
Ok, so I switched to DirectX 9

Now, I see this error in the log files:

Code:
[19:55:30.684 D] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Styx.InvalidObjectPointerException: Cannot read a descriptor on an invalid object.
   at Styx.WoWInternals.WoWObjects.WoWObject.[](UInt32 )
   at Styx.WoWInternals.WoWObjects.WoWUnit.[]( )
   at Styx.WoWInternals.WoWObjects.WoWUnit.get_PowerType()
   at Styx.WoWInternals.WoWObjects.WoWUnit.(WoWPowerType , Int32& )
   at Styx.WoWInternals.WoWObjects.WoWUnit.GetMaxPower(WoWPowerType type)
   at Styx.WoWInternals.WoWObjects.WoWUnit.get_MaxMana()
   at Styx.CommonBot.Targeting.DefaultTargetWeight(List`1 units)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at System.Delegate.DynamicInvoke(Object[] args)
   at Styx.CommonBot.Targeting.(Delegate , Object[] ) --> Styx.InvalidObjectPointerException: Cannot read a descriptor on an invalid object.
   at Styx.WoWInternals.WoWObjects.WoWObject.[](UInt32 )
   at Styx.WoWInternals.WoWObjects.WoWUnit.[]( )
   at Styx.WoWInternals.WoWObjects.WoWUnit.get_PowerType()
   at Styx.WoWInternals.WoWObjects.WoWUnit.(WoWPowerType , Int32& )
   at Styx.WoWInternals.WoWObjects.WoWUnit.GetMaxPower(WoWPowerType type)
   at Styx.WoWInternals.WoWObjects.WoWUnit.get_MaxMana()
   at Styx.CommonBot.Targeting.DefaultTargetWeight(List`1 units)

Attached is the log file again.View attachment 81316
 
This is in the Thrones of Tides dungeon, where the Unstable Corruption water elementals spawn. It's on a super fast spawn and most of them die in 1 hit or so.
 
make a new Hb installation from scratch and let me know
 
Did a fresh install of HB, but the same thing keeps happening.

However, it only happens with the Fpsware DK combat routine, so I think it's probably just that it's too slow processing dead critters, who's objects no longer exist.

I'll just use the default combat routines for now.
 
Did a fresh install of HB, but the same thing keeps happening.

However, it only happens with the Fpsware DK combat routine, so I think it's probably just that it's too slow processing dead critters, who's objects no longer exist.

I'll just use the default combat routines for now.
if it ONLY happens with his combat routines then yea, its his code, and you might need to report it in his thread so he can check it out.
 
Back
Top