• Visit Rebornbuddy
  • problem with advanceditemfilter

    Discussion in 'Archives' started by ketorol, Dec 19, 2015.

    1. ketorol

      ketorol New Member

      Joined:
      Dec 17, 2015
      Messages:
      4
      Likes Received:
      0
      Trophy Points:
      1
      Hi! Until yesterday my setup worked just fine( AdvancedItemFilter RELOADED with HighEnd Looting Profile For AdvancedItemFilter). Now when I enable the custom rules from highend the content of the file gets deleted and i get this :
      [Application_DispatcherUnhandledException] Unhandled exceptionNewtonsoft.Json.JsonReaderException: After parsing a value an unexpected character was encountered: {. Path '[324]', line 1953, position 1.
      at Newtonsoft.Json.JsonTextReader.ParsePostValue()
      at Newtonsoft.Json.JsonTextReader.ReadInternal()
      at Newtonsoft.Json.JsonTextReader.Read()
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
      at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
      at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
      at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
      at AdvancedItemFilter.Classes.RulesManager.Load(String filename) in d:\Blabla\Plugins\AdvancedItemFilter\Classes\RulesManager.cs:line 78
      at AdvancedItemFilter.AdvancedItemFilterSettingsGui.LoadRulesButtonClick(Object sender, RoutedEventArgs e) in d:\Blabla\Plugins\AdvancedItemFilter\AdvancedItemFilterGUI.xaml.cs:line 358
      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.ButtonBase.OnClick()
      at System.Windows.Controls.Button.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)
       
    2. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Your rules file is not valid, typos or something can provoke that.
       
    3. kabuto1

      kabuto1 New Member

      Joined:
      Mar 30, 2014
      Messages:
      13
      Likes Received:
      0
      Trophy Points:
      1
      Looks like there is an error in your HighEnd.json file at line 1953 or thereabout.
       
    4. gdub87

      gdub87 Member

      Joined:
      Nov 9, 2015
      Messages:
      76
      Likes Received:
      0
      Trophy Points:
      6
      Any idea on this one Tony?

      [Tick] Exception during execution:Buddy.Coroutines.CoroutineUnhandledException: Exception was thrown by coroutine ---> System.MissingMemberException: 'EvaluableItem' object has no attribute 'CritChance'
      at Microsoft.Scripting.Runtime.LightExceptions.CheckAndThrow(Object value)
      at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2)
      at Microsoft.Scripting.Interpreter.DynamicInstruction`4.Run(InterpretedFrame frame)
      at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
      at Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0)
      at IronPython.Compiler.PythonCallTargets.OriginalCallTarget0(PythonFunction function)
      at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
      at _Scripting_(Object[] )
      at AdvancedItemFilter.Python.ConditionParserPython.EvaluateCondition(Item i, String cond, RuleType type, Boolean onlyEvaluating) in c:\(FILE PATH)\ConditionParserPython.cs:line 74
      at AdvancedItemFilter.MyItemEvaluator.Match(Item item, EvaluationType type, IItemFilter& filter) in c:\(FILE PATH)\(BOT EXE):line 1034
      at Loki.Bot.ItemEvaluator.Match(Item item, EvaluationType type, IItemFilter& filter)
      at Loki.Bot.Logic.Bots.OldGrindBot.OldGrindBot.*​‫*‬*‫‏*‫‎*‪‫***​‎**‬​‬**‪​*‎‪*(Item , Object )
      at Loki.Bot.Logic.Bots.OldGrindBot.Coroutines.\.7YE2!H1{?6'2z!$D36pY5:)8.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.ValidateEnd(Task task)
      at Loki.Bot.Logic.Bots.OldGrindBot.SellTask.PsG`|JX Kp9T%Hd0@REe18/F!.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 Loki.Bot.TaskManager.Yy\\ymd?X#'KS0ME\]D\*^WaAJb".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.ValidateEnd(Task task)
      at Loki.Bot.Logic.Bots.OldGrindBot.OldGrindBot.O\*uy$6K!?3N\[A{}iAd2=|Of}!.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 Buddy.Coroutines.Coroutine.-TXcL\[{r3G{!5IZP$Fn#"0{s#.r#K5Xu$9zz:<~31ykU@\*QB`.MoveNext()
      --- 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.OldGrindBot.OldGrindBot.Tick()
      at Loki.Bot.BotManager.*‪‪‪‪*​*‏‪‪*‬‎**‬**‏*‪‬*‏‬‏*(IBot )

      i took out the file info
       
      Last edited: Dec 21, 2015
    5. cjstk90

      cjstk90 Member

      Joined:
      Sep 8, 2014
      Messages:
      37
      Likes Received:
      0
      Trophy Points:
      6
      use ctrl+f to search for all the critchance, and change them to item.ItemCritChance
       

    Share This Page