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

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[Plugin]AdvanceGrindZoneChanger

Hi :) I'm having some trouble, i got alot of these errors but i don't know why or what it is affecting.

[Tick] Exception during execution:System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Enumerator.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 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 Loki.Bot.v3.GridExplorer.(Node , Vector2i , Boolean )
at Loki.Bot.v3.GridExplorer.(Node , Boolean )
at Loki.Bot.v3.GridExplorer.Tick()
at Loki.Bot.v3.AreaStateCache.()
at Loki.Bot.v3.AreaStateCache.Tick()
at Loki.Bot.Logic.Bots.BasicGrindBot.BasicGrindBot.Tick()
at Loki.Bot.BotManager.(IBot )


And



Exception during InvokeEventSystem.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Enumerator.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 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 Loki.Game.LokiPoe.get_Me()
at AdvanceGrindZoneChanger.AdvanceGrindZoneChanger.LokiPoeOnOnGuiTick(Object sender, GuiTickEventArgs guiTickEventArgs) in c:\Users\PoE\Desktop\Exilebuddy 0.1.2912.81\Plugins\AdvanceGrindZoneChanger\AdvanceGrindZoneChanger.cs:line 245
--- 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 Loki.Game.LokiPoe.InvokeEvent(Delegate d, Object[] args)


And


Exception during InvokeEventSystem.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: The calling thread cannot access this object because a different thread owns it.
at System.Windows.Threading.Dispatcher.VerifyAccess()
at System.Windows.Threading.DispatcherObject.VerifyAccess()
at System.Windows.Media.Imaging.BitmapDecoder.ToString()
at System.Windows.Media.Imaging.BitmapFrameDecode.ConvertToString(String format, IFormatProvider provider)
at System.Windows.Media.ImageSourceConverter.ConvertTo(ITypeDescriptorContext context, CultureInfo culture, Object value, Type destinationType)
at System.ComponentModel.TypeConverter.ConvertToString(ITypeDescriptorContext context, CultureInfo culture, Object value)
at System.ComponentModel.TypeConverter.ConvertToInvariantString(Object value)
at €..(Object , Type , String& )
at €..(JsonWriter , Object , JsonStringContract )
at €..(JsonWriter , Object , JsonContract , JsonProperty , JsonContainerContract , JsonProperty )
at €..(JsonWriter , Object , JsonObjectContract , JsonProperty , JsonContainerContract , JsonProperty )
at €..(JsonWriter , Object , JsonContract , JsonProperty , JsonContainerContract , JsonProperty )
at €..(JsonWriter , Object , Type )
at Newtonsoft.Json.JsonSerializer.(JsonWriter , Object , Type )
at Newtonsoft.Json.JsonSerializer.Serialize(JsonWriter jsonWriter, Object value, Type objectType)
at Newtonsoft.Json.JsonConvert.SerializeObject(Object value, Type type, Formatting formatting, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.SerializeObject(Object value, Formatting formatting, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.SerializeObject(Object value, Formatting formatting)
at Loki.Utilities.JsonSettings.SaveAs(String file)
at Loki.Utilities.JsonSettings.Save()
at AdvanceGrindZoneChanger.AdvanceGrindZoneChangerGui.ChangeLogic() in c:\Users\PoE\Desktop\Exilebuddy 0.1.2912.81\Plugins\AdvanceGrindZoneChanger\AdvanceGrindZoneChangerGui.xaml.cs:line 525
at AdvanceGrindZoneChanger.AdvanceGrindZoneChanger.ExplorationCompleteTaskOnCompleted(Object sender, ExplorationCompleteEventArgs explorationCompleteEventArgs) in c:\Users\PoE\Desktop\Exilebuddy 0.1.2912.81\Plugins\AdvanceGrindZoneChanger\AdvanceGrindZoneChanger.cs:line 287
--- 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 Loki.Game.LokiPoe.InvokeEvent(Delegate d, Object[] args)

Also sometimes i get an error where the bot stops and restarts, resulting in standing still and doing nothing. (sometimes it restarts quick so it's going after 1-2 sec, sometimes longer)
Tick] Exception during execution:Buddy.Coroutines.CoroutineUnhandledException: Exception was thrown by coroutine ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Collections.Generic.List`1.set_Capacity(Int32 value)
at System.Collections.Generic.List`1.EnsureCapacity(Int32 min)
at System.Collections.Generic.List`1.Add(T item)
at Loki.Bot.Pathfinding.ExilePather..(Int32 , Int32 )
at Loki.Bot.Pathfinding.ExilePather.GetPointsOnSegment(Vector2i start, Vector2i end)
at Loki.Bot.Utility.ClosedDoorBetween(Vector2i start, Vector2i end, Int32 distanceFromPoint, Int32 stride)
at Loki.Bot.Utility.ClosedDoorBetween(NetworkObject start, NetworkObject end, Int32 distanceFromPoint, Int32 stride)
at ExampleRoutine.ExampleRoutine.<Logic>d__50.MoveNext() in c:\Users\PoE\Desktop\Exilebuddy 0.1.2912.81\Routines\ExampleRoutine\ExampleRoutine.cs:line 1469
--- 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 Loki.Bot.Logic.Bots.BasicGrindBot.CombatTask..()
--- 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 Loki.Bot.v3.TaskManager..()
--- 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 Loki.Bot.Logic.Bots.BasicGrindBot.BasicGrindBot..()
--- 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.Coroutines.Coroutine.Resume()
at Loki.Bot.Logic.Bots.BasicGrindBot.BasicGrindBot.Tick()
at Loki.Bot.BotManager.(IBot )

The bot coroutine has finished in a state of Faulted
[Stop] Now requesting the BotThread to stop.
[Tick] Attempting to start the bot again. This is bot restart # 1.
[Start] The BotThread is already running. Please use BotManager.Stop first.
[BasicGrindBot] OnStop
[AdvanceGrindZoneChanger] Stop
[AutoFlask] Stop
[ChaosChanceRecipe] Stop
[GemLeveler] Stop
[StuckDetection] Stop
[ExampleRoutine] Stop
[Start] Now creating the BotThread.
[BasicGrindBot] Start
[Start] PlayerMover.Instance: Loki.Bot.v3.DefaultPlayerMover.
[Start] MsBetweenTicks: 15.
[Start] InputEventMsDelay: 100.
[Start] LowFpsMode: False.
[AddAtBack] Now adding [ResurrectTask] This task handles resurrection..
[AddAtBack] Now adding [ClearCursorTask] This task places any item left on the cursor into the inventory..
[AddAtBack] Now adding [AssignMoveSkillTask] A task to handle assigning the Move skill if it's not already on the skill bar..
[AddAtBack] Now adding [HandleBlockingChestsTask] This task will handle breaking any blocking chests that interfere with movement..
[AddAtBack] Now adding [HandleDoorsTask] This task handles opening doors..
[AddAtBack] Now adding [CombatTask (Leash 50)] This task executes routine logic for combat..
[AddAtBack] Now adding [TownRunTask] A task to go back to town during the middle of a bot run..
[AddAtBack] Now adding [LootItemTask (Leash 50)] This task handles looting items..
[AddAtBack] Now adding [OpenChestTask (Leash 50)] This task handles opening chests..
[AddAtBack] Now adding [LootItemTask (Leash -1)] This task handles looting items..
[AddAtBack] Now adding [MergeInventoryTask] A task to handle merging the inventory into full stacks..
[AddAtBack] Now adding [IdTask] A task to identify items in inventory..
[AddAtBack] Now adding [SellTask] A task to vendor items in the inventory..
[AddAtBack] Now adding [StashTask] This task will stash all applicable items in town..
[AddAtBack] Now adding [WithdrawTask] A task to withdraw items from stash when we are in town..
[AddAtBack] Now adding [HandleInventoryItemsTask] A task to manage inventory items that are not stashed..
[AddAtBack] Now adding [SortInventoryTask] A task to sort the main inventory by moving items towards the top left corner..
[AddAtBack] Now adding [ReturnToGrindZoneTask] This task will return the bot to the previous grind zone after a town run..
[AddAtBack] Now adding [TagWaypointTask] This task will tag a waypoint if it is not already unlocked..
[AddAtBack] Now adding [UseLooseCandleTask] This task will use the Loose Candle when the grind zone is set to The Archives..
[AddAtBack] Now adding [UnblockCorruptedAreaTransitionTask] This task will use the Loose Grate and Sarcophagus covers for corrupted area transitions..
[AddAtBack] Now adding [TakeCorruptedAreaTask] A task to take corrupted areas..
[AddAtBack] Now adding [TravelToGrindZoneTask] This task will travel to the grind zone configured..
[AddAtBack] Now adding [TravelThroughBossAreasTask-BossFarm] This task will travel though the local area transitions in boss zones..
[AddAtBack] Now adding [OpenChestTask (Leash -1)] This task handles opening chests..
[AddAtBack] Now adding [CombatTask (Leash -1)] This task executes routine logic for combat..
[AddAtBack] Now adding [TravelThroughBossAreasTask-PassThrough] This task will travel though the local area transitions in boss zones..
[AddAtBack] Now adding [ExplorationCompleteTask (Early)] A task to execute exploration complete logic..
[AddAtBack] Now adding [ExploreTask] This task handles exploring an area..
[AddAtBack] Now adding [ExplorationCompleteTask] A task to execute exploration complete logic..
[AddAtBack] Now adding [FallbackTask] This task is the last task executed. It should not execute..
[AdvanceGrindZoneChanger] Start
[AutoFlask] Start
[ChaosChanceRecipe] Start
[AddAtFront] Now adding [ChaosAndChanceRecipeWithdrawTask] ..
[GemLeveler] Start
[GemLeveler] Now resetting task state.
[StuckDetection] Start
[ExampleRoutine] Start
[ChaosAndChanceRecipeWithdrawTask] Now resetting task state.
[ChaosAndChanceRecipeSellTask] Now resetting task state.
[HandleBlockingChestsTask] Now resetting task state.
[IdTask] Now resetting task state.
[SellTask] Now resetting task state.
[WithdrawTask] Now resetting task state.
[ReturnToGrindZoneTask] Now resetting task state.
[TagWaypointTask] Now resetting task state.
[UseLooseCandleTask] Now resetting task state.
[UnblockCorruptedAreaTransitionTask] Now resetting task state.
[TravelToGrindZoneTask] Now resetting task state.
[TravelThroughBossAreasTask] Now resetting task state.
[TravelThroughBossAreasTask] Now resetting task state.
[Start] The plugin AdvanceGrindZoneChanger is enabled.
[Start] The plugin AutoFlask is enabled.
[Start] The plugin ChaosChanceRecipe is enabled.
[Start] The plugin GemLeveler is enabled.
[Start] The plugin StuckDetection is enabled.
[Start] PlayerMover.Instance: Loki.Bot.v3.DefaultPlayerMover.
[IdTask] We cannot id items out of town/hideout. Skipping this task until an area change or restart.
[WithdrawTask] We cannot withdraw items out of town/hideout. Skipping this task until an area change or restart.


Also, why does it create a new instance, go back to town and create a new instance again in the same location?

Don't know if any of this is related to your plugin tho.

Thanks for taking a look! :)
Hey Greenbotter,
I've fixed most of the errors related to my plugin. The other ones that do not have any mention of my AdvanceGrindZoneChanger plugin, I believe is from my Quest Plugin not disposing properly it's tasks. I'll add some code to hopefully fix that.
There was a bunch of fixes I did on this version I'll be posting soon. Let me know again after you try the new one. Also please for future reference. Post full logs. Thanks.

Info on full logs here
 
View attachment 157149

Fresh install.
Your plugin makes EB not "responding" after click on "AdvanceGrindZoneChanger" in Settings Tab.
Hey gen0m,
Um what region is your computer??
Code:
System.Windows.Markup.XamlParseException: Âõîäíàÿ ñòðîêà èìåëà íåâåðíûé ôîðìàò. ---> System.FormatException: Âõîäíàÿ ñòðîêà èìåëà íåâåðíûé ôîðìàò.
   â System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
   â System.Double.Parse(String s)
   â Util.GridUtils.ParseLength(String length) â c:\Users\RAMDOMNAME\Downloads\ExilebuddyBETA 0.1.2915.966\Plugins\AdvanceGrindZoneChanger\GridUtils.cs:ñòðîêà 139
   â Util.GridUtils.OnRowDefinitionsPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) â c:\Users\RAMDOMNAME\Downloads\ExilebuddyBETA 0.1.2915.966\Plugins\AdvanceGrindZoneChanger\GridUtils.cs:ñòðîêà 58
 
Hey gen0m,
Um what region is your computer??
Code:
System.Windows.Markup.XamlParseException: Âõîäíàÿ ñòðîêà èìåëà íåâåðíûé ôîðìàò. ---> System.FormatException: Âõîäíàÿ ñòðîêà èìåëà íåâåðíûé ôîðìàò.
   â System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
   â System.Double.Parse(String s)
   â Util.GridUtils.ParseLength(String length) â c:\Users\RAMDOMNAME\Downloads\ExilebuddyBETA 0.1.2915.966\Plugins\AdvanceGrindZoneChanger\GridUtils.cs:ñòðîêà 139
   â Util.GridUtils.OnRowDefinitionsPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) â c:\Users\RAMDOMNAME\Downloads\ExilebuddyBETA 0.1.2915.966\Plugins\AdvanceGrindZoneChanger\GridUtils.cs:ñòðîêà 58


Its a Russian language.
new version - same problem. log attached.
 

Attachments

Its a Russian language.
new version - same problem. log attached.
Hey gen0m,
I found the issue, it was my mistake
Find
Code:
 public static int GetZoneLevel(string zone, string difficulty)
in that code block change
Code:
            using (StreamReader file = new StreamReader(AppDomain.CurrentDomain.BaseDirectory + "/Plugins/QuestPlugin/zonelevels.txt"))
to
Code:
            using (StreamReader file = new StreamReader(AppDomain.CurrentDomain.BaseDirectory + "/Plugins/AdvanceGrindZoneChanger/zonelevels.txt"))
 
Hey gen0m,
I found the issue, it was my mistake
Find
Code:
 public static int GetZoneLevel(string zone, string difficulty)
in that code block change
Code:
            using (StreamReader file = new StreamReader(AppDomain.CurrentDomain.BaseDirectory + "/Plugins/QuestPlugin/zonelevels.txt"))
to
Code:
            using (StreamReader file = new StreamReader(AppDomain.CurrentDomain.BaseDirectory + "/Plugins/AdvanceGrindZoneChanger/zonelevels.txt"))

done.

but.. same problem
AdvanceGrindZoneChanger-1-12-2014-2.5 works fine for me. i can see GUI and etc.
 

Attachments

done.

but.. same problem
AdvanceGrindZoneChanger-1-12-2014-2.5 works fine for me. i can see GUI and etc.
Hey gen0m,
That's weird, the only problem I can think of is the region is not english. What the error is pointing to is a base for the progress bars, which is pulling data from the Xaml, I think. Can you change region to english based like USA or Canada and let me know if it works?
 
2014-12-12 04:27:51,223 [1] ERROR Logger (null) - [Application_DispatcherUnhandledException] Unhandled exception
System.Windows.Markup.XamlParseException: Âõîäíàÿ ñòðîêà èìåëà íåâåðíûé ôîðìàò. ---> System.FormatException: Âõîäíàÿ ñòðîêà èìåëà íåâåðíûé ôîðìàò.
â System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)

The issue is indeed a regional difference. Regions that use ',' rather than '.' for decimal, and ';' rather than ',' for list separators.

You can test this and make adjustments by going to: "Region" -> "Format: " -> Change to something like Russian or Turkish -> "Additional settings..." and you'll see the differences in punctuation characters. If you change the format for the region, you should be able to replicate the error and see if it's by the culture format functionality .Net provides. You'll have to do some searching though, I don't know them off the top of my head.
 
The issue is indeed a regional difference. Regions that use ',' rather than '.' for decimal, and ';' rather than ',' for list separators.

You can test this and make adjustments by going to: "Region" -> "Format: " -> Change to something like Russian or Turkish -> "Additional settings..." and you'll see the differences in punctuation characters. If you change the format for the region, you should be able to replicate the error and see if it's by the culture format functionality .Net provides. You'll have to do some searching though, I don't know them off the top of my head.
Thanks Pushedx,
Edit, I had 99 problems, this ain't one =).
 
Dark,

when i have overlevel set to 5, i have like 5 zones marked to be farmed.

Thou, it keeps repeating the same over and over, instead of alternating. This happens only when overlevel is set something else then 0 . . .
 
Dark,

when i have overlevel set to 5, i have like 5 zones marked to be farmed.

Thou, it keeps repeating the same over and over, instead of alternating. This happens only when overlevel is set something else then 0 . . .
Hey IeU, yea sorry there's a big bug with it, new version tonight that will fix everything before I go MIA for a week or two, need to get bots running for new leagues and selling, my cash is running low XD.
 
I get this error when ever I check a zone.

Code:
[Application_DispatcherUnhandledException] Unhandled exceptionSystem.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\jackus\Desktop\POE bot\Plugins\QuestPlugin\zonelevels.txt'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
   at System.IO.StreamReader..ctor(String path)
   at AdvanceGrindZoneChanger.AdvanceGrindZoneChangerGui.GetZoneLevel(String zone, String difficulty) in c:\Users\jackus\Desktop\POE bot\Plugins\AdvanceGrindZoneChanger\AdvanceGrindZoneChangerGui.xaml.cs:line 390
   at AdvanceGrindZoneChanger.AdvanceGrindZoneChangerGui.HandleCheck(Object sender, RoutedEventArgs e) in c:\Users\jackus\Desktop\POE bot\Plugins\AdvanceGrindZoneChanger\AdvanceGrindZoneChangerGui.xaml.cs:line 826
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   at System.Windows.Controls.Primitives.ToggleButton.OnChecked(RoutedEventArgs e)
   at System.Windows.Controls.Primitives.ToggleButton.OnIsCheckedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
   at System.Windows.DependencyObject.SetCurrentValueInternal(DependencyProperty dp, Object value)
   at System.Windows.Controls.Primitives.ToggleButton.OnToggle()
   at System.Windows.Controls.Primitives.ToggleButton.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
 
I get this error when ever I check a zone.

Code:
[Application_DispatcherUnhandledException] Unhandled exceptionSystem.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\jackus\Desktop\POE bot\Plugins\QuestPlugin\zonelevels.txt'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
   at System.IO.StreamReader..ctor(String path)
   at AdvanceGrindZoneChanger.AdvanceGrindZoneChangerGui.GetZoneLevel(String zone, String difficulty) in c:\Users\jackus\Desktop\POE bot\Plugins\AdvanceGrindZoneChanger\AdvanceGrindZoneChangerGui.xaml.cs:line 390
   at AdvanceGrindZoneChanger.AdvanceGrindZoneChangerGui.HandleCheck(Object sender, RoutedEventArgs e) in c:\Users\jackus\Desktop\POE bot\Plugins\AdvanceGrindZoneChanger\AdvanceGrindZoneChangerGui.xaml.cs:line 826
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   at System.Windows.Controls.Primitives.ToggleButton.OnChecked(RoutedEventArgs e)
   at System.Windows.Controls.Primitives.ToggleButton.OnIsCheckedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
   at System.Windows.DependencyObject.SetCurrentValueInternal(DependencyProperty dp, Object value)
   at System.Windows.Controls.Primitives.ToggleButton.OnToggle()
   at System.Windows.Controls.Primitives.ToggleButton.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
Hey kuskner,
It's because I had an issue with the plugin pointing to the wrong location.
Can you do a search inside AdvanceGrindZoneChanger.cs for
Code:
Plugins\QuestPlugin\
Change it to
Code:
Plugins\AdvanceGrindZoneChanger\
That should fix that, I was suppose to update this plugin and Quest Plugin yesterday, still not updated. There are a few bugs I still gotta fix which are persistant.
Good news is I let the bot run 24 hours yesterday, got me from Level 1 - 68, and it's mapping atm. So yea, progress indeed.
 
Hey kuskner,
It's because I had an issue with the plugin pointing to the wrong location.
Can you do a search inside AdvanceGrindZoneChanger.cs for
Code:
Plugins\QuestPlugin\
Change it to
Code:
Plugins\AdvanceGrindZoneChanger\
That should fix that, I was suppose to update this plugin and Quest Plugin yesterday, still not updated. There are a few bugs I still gotta fix which are persistant.
Good news is I let the bot run 24 hours yesterday, got me from Level 1 - 68, and it's mapping atm. So yea, progress indeed.

When i search in AdvanceGrindZoneChanger.cs that is located in C:\Users\jackus\Desktop\POE bot\Plugins\AdvanceGrindZoneChanger it cant find the code: Plugins\QuestPlugin\

What line should it be in??

I found /Plugins/AdvanceGrindZoneChanger/Images/ but thats something about images.
 
When i search in AdvanceGrindZoneChanger.cs that is located in C:\Users\jackus\Desktop\POE bot\Plugins\AdvanceGrindZoneChanger it cant find the code: Plugins\QuestPlugin\

What line should it be in??

I found /Plugins/AdvanceGrindZoneChanger/Images/ but thats something about images.
Hey kuskner,
What version are you using? Can you paste the filename? Thanks.
 
Back
Top