09:15:13.721 ERROR Pulsator System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: Only part of a ReadProcessMemory or WriteProcessMemory request was completed, at addr: 000001D8, Size: 4
at GreyMagic.ExternalProcessMemory.ReadByteBuffer(IntPtr addr, Void* buffer, Int32 count)
at GreyMagic.MemoryBase.Read[T](IntPtr addr)
at Zeta.Game.Internals.FastAttribGroupsEntry.?????????????????????????????????????????[](Int32 , ACD , & )
at Zeta.Game.Internals.FastAttribGroupsEntry.?????????????????????????????????????????[](Int32 , ACD )
at Zeta.Game.Internals.Actors.ACD.GetAttribute[T](Int32 attribute)
at Zeta.Game.Internals.Actors.ACD.?????????????????????????????????????????()
at Zeta.Game.PerFrameCachedValue`1.get_Value()
at Zeta.Game.Internals.Actors.ACD.get_ItemStackQuantityHi()
at Zeta.Game.Internals.Actors.ACD.get_ItemStackQuantity()
at TrinityCoroutines.Resources.Inventory.GetMaterials(IList`1 types) in c:\Demon\599b\Plugins\Trinity\Coroutines\Resources\Inventory.cs:line 312
at TrinityCoroutines.Resources.Inventory.MaterialStore.Update(Boolean updateAllProperties) in c:\Demon\599b\Plugins\Trinity\Coroutines\Resources\Inventory.cs:line 97
at TrinityCoroutines.Resources.Inventory.Pulsator_OnPulse(Object sender, EventArgs e) in c:\Demon\599b\Plugins\Trinity\Coroutines\Resources\Inventory.cs:line 74
--- 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 Zeta.Bot.Pulsator.?????????????????????????????????????????(Delegate , Object[] )
09:21:02.092 DEBUG TrinityDebug [Trinity 2.14.39] Exception in TownRunCoroutineWrapper Buddy.Coroutines.CoroutineUnhandledException: Exception was thrown by coroutine ---> Zeta.Game.Internals.ACDAttributeLookupFailedException: ACD was disposed or invalid! Cannot lookup attribute: ItemBoundToACD
at Zeta.Game.Internals.FastAttribGroupsEntry.?????????????????????????????????????????[](Int32 , ACD )
at Zeta.Game.Internals.Actors.ACD.GetAttribute[T](Int32 attribute)
at Zeta.Game.Internals.Actors.ACD.?????????????????????????????????????????()
at Zeta.Game.PerFrameCachedValue`1.get_Value()
at Zeta.Game.Internals.Actors.ACD.get_ItemBoundToACD()
at Zeta.Bot.Logic.BrainBehavior.?????????????????????????????????????????.?????????????????????????????????????????(ACDItem )
at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
at Zeta.Bot.Logic.BrainBehavior.)jAMma1GC)\,v>S2Ysge1<D_\\.MoveNext()
--- 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 Zeta.Bot.ActionRunCoroutine.3P9O1(Sn%WA_b}gFAnH('bwA%.4@e5\\9mcw|3}Tw_k:I)aIPa\[.MoveNext()
--- End of inner exception stack trace ---
at Buddy.Coroutines.Coroutine.????????????????????????????????????????(Boolean )
at Buddy.Coroutines.Coroutine.?????????????????????????????????????????(Boolean )
at Buddy.Coroutines.Coroutine.Resume()
at Zeta.Bot.ActionRunCoroutine.Run(Object context)
at Zeta.TreeSharp.Action.RunAction(Object context)
at Zeta.TreeSharp.Action.69!Kim\\=FGi"\,\.R1hQ!!0<#Z$.MoveNext()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.TreeSharp.PrioritySelector.Dbr~\]`tg{eEN(:jym\\RDsa?Q.MoveNext()
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.69!Kim\\=FGi"\,\.R1hQ!!0<#Z$.MoveNext()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.TreeSharp.PrioritySelector.Dbr~\]`tg{eEN(:jym\\RDsa?Q.MoveNext()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.Bot.Coroutines.CoroutineCompositeExtensions.no=)h7\,eWFmo$l\\08kY/Db~g.MoveNext()
--- 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 System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Trinity.DbProvider.TownRun.<TownRunCoroutineWrapper>d__e.MoveNext() in c:\Demon\599b\Plugins\Trinity\DbProvider\TownRun.cs:line 305
15:45:12.253 DEBUG TrinityDebug [Trinity 2.14.39] Exception in TownRunCoroutineWrapper Buddy.Coroutines.CoroutineUnhandledException: Exception was thrown by coroutine ---> Zeta.Game.Internals.ACDAttributeLookupFailedException: ACD was disposed or invalid! Cannot lookup attribute: ItemBoundToACD
at Zeta.Game.Internals.FastAttribGroupsEntry.?????????????????????????????????????????[](Int32 , ACD )
at Zeta.Game.Internals.Actors.ACD.GetAttribute[T](Int32 attribute)
at Zeta.Game.Internals.Actors.ACD.?????????????????????????????????????????()
at Zeta.Game.PerFrameCachedValue`1.get_Value()
at Zeta.Game.Internals.Actors.ACD.get_ItemBoundToACD()
at Zeta.Bot.Logic.BrainBehavior.?????????????????????????????????????????.?????????????????????????????????????????(ACDItem )
at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
at Zeta.Bot.Logic.BrainBehavior.)jAMma1GC)\,v>S2Ysge1<D_\\.MoveNext()
--- 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 Zeta.Bot.ActionRunCoroutine.3P9O1(Sn%WA_b}gFAnH('bwA%.4@e5\\9mcw|3}Tw_k:I)aIPa\[.MoveNext()
--- End of inner exception stack trace ---
at Buddy.Coroutines.Coroutine.????????????????????????????????????????(Boolean )
at Buddy.Coroutines.Coroutine.?????????????????????????????????????????(Boolean )
at Buddy.Coroutines.Coroutine.Resume()
at Zeta.Bot.ActionRunCoroutine.Run(Object context)
at Zeta.TreeSharp.Action.RunAction(Object context)
at Zeta.TreeSharp.Action.69!Kim\\=FGi"\,\.R1hQ!!0<#Z$.MoveNext()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.TreeSharp.PrioritySelector.Dbr~\]`tg{eEN(:jym\\RDsa?Q.MoveNext()
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.69!Kim\\=FGi"\,\.R1hQ!!0<#Z$.MoveNext()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.TreeSharp.PrioritySelector.Dbr~\]`tg{eEN(:jym\\RDsa?Q.MoveNext()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.Bot.Coroutines.CoroutineCompositeExtensions.no=)h7\,eWFmo$l\\08kY/Db~g.MoveNext()
--- 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 System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Trinity.DbProvider.TownRun.<TownRunCoroutineWrapper>d__e.MoveNext() in c:\Demon\599b\Plugins\Trinity\DbProvider\TownRun.cs:line 305
This is proving difficult to reproduce.
Although that exception references Trinity TownRun.cs that part is executing Db's internal vendor composites.
I suspect that the problem is that the additional stuff Trinity injects into the VendorRun (gambling/cube etc) may be advancing the tick with Coroutine.Yield() and DB's composites are not realising this and trying to read data from stale item objects, which is causing bad data.
If that's the case, then if all trinity special town run goodness is turned off, the issue wont occur.
Could those who are seeing this issue try something for me, replace your DB\Provider\VendorHook.cs with the attached one.
This is proving difficult to reproduce.
Although that exception references Trinity TownRun.cs that part is executing Db's internal vendor composites.
I suspect that the problem is that the additional stuff Trinity injects into the VendorRun (gambling/cube etc) may be advancing the tick with Coroutine.Yield() and DB's composites are not realising this and trying to read data from stale item objects, which is causing bad data.
If that's the case, then if all trinity special town run goodness is turned off, the issue wont occur.
Could those who are seeing this issue try something for me, replace your DB\Provider\VendorHook.cs with the attached one.
2/16/2016 11:21:19 PM:
====================
WeaponOneHand - Axe 'The Butcher's Sickle'. Score = 104240 {legendary item}
Intelligence=696. Vitality=682. DPS=2202
Armor - Chest 'Firebird's Breast'. Score = 39241 {legendary item}
Intelligence=458. Life Regen=5488. Sockets=3. +Highest Single Resist=158. Globe Bonus=22369
WeaponOneHand - Dagger 'The Barber'. Score = 90892 {legendary item}
Intelligence=638. Vitality=705. Crit Damage %=31. DPS=2014
Jewelry - Ring 'Manald Heal'. Score = 40080 {legendary item}
Intelligence=464. Vitality=493. Life Regen=7148. Thorns=2853
Jewelry - Ring 'Nagelring'. Score = 58374 {legendary item}
Intelligence=486. Vitality=459. Life Regen=6532. Magic Find %=47. Attack Speed %=7
WeaponOneHand - Sword 'Devil Tongue'. Score = 199700 {legendary item}
Intelligence=916. Vitality=987. DPS=2928
Armor - WizardHat 'The Swami'. Score = 34891 {legendary item}
Intelligence=750. +All Resist=98. Arcane-On-Crit=4
Offhand - Orb 'Primordial Soul'. Score = 13077 {legendary item}
Intelligence=630. Life Regen=5236. Crit Chance %=8. +Max Damage=65
Jewelry - Amulet 'Amulet'. Score = 0 {legendary item}
(no scorable attributes)
Jewelry - Ring 'Ring'. Score = 0 {legendary item}
(no scorable attributes)
00:38:19.068 DEBUG TrinityDebug [Trinity 2.14.39] Exception in TownRunCoroutineWrapper Buddy.Coroutines.CoroutineUnhandledException: Exception was thrown by coroutine ---> System.Exception: Only part of a ReadProcessMemory or WriteProcessMemory request was completed, at addr: 000002C0, Size: 4
at GreyMagic.ExternalProcessMemory.ReadByteBuffer(IntPtr addr, Void* buffer, Int32 count)
at GreyMagic.MemoryBase.Read[T](IntPtr addr)
at Zeta.Game.Internals.Actors.ACD.get_GoodFood()
at Zeta.Game.Internals.FastAttribGroupsEntry.?????????????????????????????????????????[](Int32 , ACD , & )
at Zeta.Game.Internals.FastAttribGroupsEntry.?????????????????????????????????????????[](Int32 , ACD )
at Zeta.Game.Internals.Actors.ACD.GetAttribute[T](Int32 attribute)
at Zeta.Game.Internals.Actors.ACD.?????????????????????????????????????????()
at Zeta.Game.PerFrameCachedValue`1.get_Value()
at Zeta.Game.Internals.Actors.ACD.get_ItemBoundToACD()
at Zeta.Bot.Logic.BrainBehavior.?????????????????????????????????????????.?????????????????????????????????????????(ACDItem )
at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
at Zeta.Bot.Logic.BrainBehavior.)jAMma1GC)\,v>S2Ysge1<D_\\.MoveNext()
--- 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 Zeta.Bot.ActionRunCoroutine.3P9O1(Sn%WA_b}gFAnH('bwA%.4@e5\\9mcw|3}Tw_k:I)aIPa\[.MoveNext()
--- End of inner exception stack trace ---
at Buddy.Coroutines.Coroutine.????????????????????????????????????????(Boolean )
at Buddy.Coroutines.Coroutine.?????????????????????????????????????????(Boolean )
at Buddy.Coroutines.Coroutine.Resume()
at Zeta.Bot.ActionRunCoroutine.Run(Object context)
at Zeta.TreeSharp.Action.RunAction(Object context)
at Zeta.TreeSharp.Action.69!Kim\\=FGi"\,\.R1hQ!!0<#Z$.MoveNext()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.TreeSharp.PrioritySelector.Dbr~\]`tg{eEN(:jym\\RDsa?Q.MoveNext()
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.69!Kim\\=FGi"\,\.R1hQ!!0<#Z$.MoveNext()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.TreeSharp.PrioritySelector.Dbr~\]`tg{eEN(:jym\\RDsa?Q.MoveNext()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.Bot.Coroutines.CoroutineCompositeExtensions.no=)h7\,eWFmo$l\\08kY/Db~g.MoveNext()
--- 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 System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Trinity.DbProvider.TownRun.<TownRunCoroutineWrapper>d__e.MoveNext() in c:\Demon\599b\Plugins\Trinity\DbProvider\TownRun.cs:line 305
00:38:19.946 DEBUG BrainBehavior Closing inventory window
00:38:19.948 DEBUG BrainBehavior Done vendoring!
12:16:02.102 DEBUG TrinityDebug [Trinity 2.14.39] Exception in TownRunCoroutineWrapper Buddy.Coroutines.CoroutineUnhandledException: Exception was thrown by coroutine ---> Zeta.Game.Internals.ACDAttributeLookupFailedException: ACD was disposed or invalid! Cannot lookup attribute: ItemBoundToACD
at Zeta.Game.Internals.FastAttribGroupsEntry.?????????????????????????????????????????[](Int32 , ACD )
at Zeta.Game.Internals.Actors.ACD.GetAttribute[T](Int32 attribute)
at Zeta.Game.Internals.Actors.ACD.?????????????????????????????????????????()
at Zeta.Game.PerFrameCachedValue`1.get_Value()
at Zeta.Game.Internals.Actors.ACD.get_ItemBoundToACD()
at Zeta.Bot.Logic.BrainBehavior.?????????????????????????????????????????.?????????????????????????????????????????(ACDItem )
at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
at Zeta.Bot.Logic.BrainBehavior.)jAMma1GC)\,v>S2Ysge1<D_\\.MoveNext()
--- 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 Zeta.Bot.ActionRunCoroutine.3P9O1(Sn%WA_b}gFAnH('bwA%.4@e5\\9mcw|3}Tw_k:I)aIPa\[.MoveNext()
--- End of inner exception stack trace ---
at Buddy.Coroutines.Coroutine.????????????????????????????????????????(Boolean )
at Buddy.Coroutines.Coroutine.?????????????????????????????????????????(Boolean )
at Buddy.Coroutines.Coroutine.Resume()
at Zeta.Bot.ActionRunCoroutine.Run(Object context)
at Zeta.TreeSharp.Action.RunAction(Object context)
at Zeta.TreeSharp.Action.69!Kim\\=FGi"\,\.R1hQ!!0<#Z$.MoveNext()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.TreeSharp.PrioritySelector.Dbr~\]`tg{eEN(:jym\\RDsa?Q.MoveNext()
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.69!Kim\\=FGi"\,\.R1hQ!!0<#Z$.MoveNext()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.TreeSharp.PrioritySelector.Dbr~\]`tg{eEN(:jym\\RDsa?Q.MoveNext()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.Bot.Coroutines.CoroutineCompositeExtensions.no=)h7\,eWFmo$l\\08kY/Db~g.MoveNext()
--- 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 System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Trinity.DbProvider.TownRun.<TownRunCoroutineWrapper>d__e.MoveNext() in c:\Demon\599b\Plugins\Trinity\DbProvider\TownRun.cs:line 305
12:16:02.173 DEBUG Logger [Trinity 2.14.39] PreVendor Hook Started
12:16:02.247 DEBUG Logger [Trinity 2.14.39] [UseCraftingRecipes] No Jeweler or Blacksmith Plans
12:16:02.251 DEBUG Logger [Trinity 2.14.39] [Gamble]Should Gamble! Shards=329 SaveShards=True SaveThreshold=450 CanAffordItem=True SelectedSlots=1
12:16:02.252 DEBUG Logger [Trinity 2.14.39] [Gamble]Should Save Shards! Shards=329 SaveShards=True SaveThreshold=450 CanAffordItem=True SelectedSlots=1
12:16:02.252 DEBUG Logger [Trinity 2.14.39] [CubeRaresToLegendary] No item types selected in settings - (Config => Items => Kanai's Cube)
12:16:03.231 DEBUG TrinityDebug [Trinity 2.14.39] Exception in TownRunCoroutineWrapper Buddy.Coroutines.CoroutineUnhandledException: Exception was thrown by coroutine ---> System.Exception: Only part of a ReadProcessMemory or WriteProcessMemory request was completed, at addr: 00000000, Size: 4
at GreyMagic.ExternalProcessMemory.ReadByteBuffer(IntPtr addr, Void* buffer, Int32 count)
at GreyMagic.MemoryBase.Read[T](IntPtr addr)
at Zeta.Game.Internals.Actors.ACD.get_ACDId()
at Zeta.Bot.Logic.BrainBehavior.)jAMma1GC)\,v>S2Ysge1<D_\\.MoveNext()
--- 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 Zeta.Bot.ActionRunCoroutine.3P9O1(Sn%WA_b}gFAnH('bwA%.4@e5\\9mcw|3}Tw_k:I)aIPa\[.MoveNext()
--- End of inner exception stack trace ---
at Buddy.Coroutines.Coroutine.????????????????????????????????????????(Boolean )
at Buddy.Coroutines.Coroutine.?????????????????????????????????????????(Boolean )
at Buddy.Coroutines.Coroutine.Resume()
at Zeta.Bot.ActionRunCoroutine.Run(Object context)
at Zeta.TreeSharp.Action.RunAction(Object context)
at Zeta.TreeSharp.Action.69!Kim\\=FGi"\,\.R1hQ!!0<#Z$.MoveNext()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.TreeSharp.PrioritySelector.Dbr~\]`tg{eEN(:jym\\RDsa?Q.MoveNext()
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.69!Kim\\=FGi"\,\.R1hQ!!0<#Z$.MoveNext()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.TreeSharp.PrioritySelector.Dbr~\]`tg{eEN(:jym\\RDsa?Q.MoveNext()
at Zeta.TreeSharp.Composite.Tick(Object context)
at Zeta.Bot.Coroutines.CoroutineCompositeExtensions.no=)h7\,eWFmo$l\\08kY/Db~g.MoveNext()
--- 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 System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Trinity.DbProvider.TownRun.<TownRunCoroutineWrapper>d__e.MoveNext() in c:\Demon\599b\Plugins\Trinity\DbProvider\TownRun.cs:line 305