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

New error, possibly related to "LokiPoe.ObjectManager.Me.GetStat()"

leroy1978

New Member
Joined
Mar 5, 2014
Messages
30
Reaction score
0
I couldn't track down when this happens but I find my PoE on Log-In screen everytime this happens. And this happens every 3-4 runs. Maybe related to this line on Exile.cs;

Code:
                    _cachedMaxTotems = LokiPoe.ObjectManager.Me.GetStat(StatType.NumberOfTotemsAllowed);



The Error:
Code:
2014-02-20 08:49:50,509 [Main Bot Thread] ERROR BotMain (null) - Error during bot tick: 
System.NullReferenceException: Object reference not set to an instance of an object.
   at Loki.Game.Objects.Components.StatsComponent.GetStat(StatType stat)
   at Loki.Game.Objects.Actor.GetStat(StatType stat)
   at Loki.Game.Objects.Monster.get_IsHidden()
   at Loki.Game.Objects.Monster.get_IsActive()
   at GrindBot7.GrindBot.(Monster )
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Linq.Enumerable.<UnionIterator>d__88`1.MoveNext()
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at GrindBot7.GrindBot.()
   at GrindBot7.GrindBot.UpdateExploration()
   at GrindBot7.GrindBot.Pulse()
   at Loki.Bot.Pulsator.(PulseFlags , PulseFlags , Action , String )
   at Loki.Bot.Pulsator.Pulse(PulseFlags flags)
   at Loki.Bot.BotMain.()

BotMain.
2014-02-20 09:06:16,556 [Main Bot Thread] ERROR PerCachedValue`1 (null) - !IsInsideHook

PerCachedValue`1.get_Value
2014-02-20 09:06:16,557 [Main Bot Thread] ERROR PerCachedValue`1 (null) - !IsInsideHook

PerCachedValue`1.get_Value
2014-02-20 09:06:16,606 [Main Bot Thread] ERROR PerCachedValue`1 (null) - !IsInsideHook

PerCachedValue`1.get_Value
2014-02-20 09:06:16,607 [Main Bot Thread] ERROR PerCachedValue`1 (null) - !IsInsideHook

PerCachedValue`1.get_Value
2014-02-20 09:15:17,381 [Main Bot Thread] ERROR BotMain (null) - Error invoking event.
System.Exception: Only part of a ReadProcessMemory or WriteProcessMemory request was completed, at addr: 00000000, Size: 2084
   at GreyMagic.ExternalProcessMemory.ReadByteBuffer(IntPtr addr, Void* buffer, Int32 count)
   at GreyMagic.MemoryBase.ReadBytes(IntPtr addr, Int32 count)
   at Loki.Game.LokiPoe.LocalData.()
   at Loki.Game.Utilities.PerCachedValue`1.get_Value()
   at Loki.Game.LokiPoe.LocalData.()
   at Loki.Game.Utilities.PerAreaCachedValue`1.ShouldUpdateCache(Boolean force)
   at Loki.Game.Utilities.PerCachedValue`1.get_Value()
   at Loki.Game.LokiPoe.ObjectManager.()
   at Loki.Game.LokiPoe.ObjectManager.()
   at Loki.Game.Utilities.PerCachedValue`1.get_Value()
   at Loki.Game.LokiPoe.ObjectManager.get_Objects()
   at Loki.Game.LokiPoe.ObjectManager.()
   at Loki.Game.Utilities.PerCachedValue`1.get_Value()
   at Loki.Game.LokiPoe.ObjectManager.get_Me()
   at GrindBot7.Poi.get_Distance()
   at GrindBot7.Poi.ToString()
   at System.String.Concat(Object arg0, Object arg1)
   at GrindBot7.Poi.Set(Poi poi)
   at GrindBot7.Poi.Clear()
   at GrindBot7.Poi.(IBot )
   at Loki.Bot.BotEvent.Invoke(IBot bot)
   at Loki.Bot.BotMain.(BotEvent )

BotMain.
 
Can you please attach the full non-error log? The problem isn't from the CR but just memory going bad during an UpdateExploration call.
 
Back
Top