Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[C#] LF Studio by wirwl
i keep getting this error,
Code:
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at LFStudio.MainWindow.Caret_PositionChanged(Object sender, EventArgs e) in c:\Users\Yinseko\Desktop\lfs-master\LFStudio\MainWindow.xaml.cs:line 1689
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at ICSharpCode.AvalonEdit.Editing.Caret.RaisePositionChanged() in c:\Users\Yinseko\Desktop\lfs-master\ThirdParty\ICSharpCode.AvalonEdit\Editing\Caret.cs:line 249
   at ICSharpCode.AvalonEdit.Editing.Caret.set_Position(TextViewPosition value) in c:\Users\Yinseko\Desktop\lfs-master\ThirdParty\ICSharpCode.AvalonEdit\Editing\Caret.cs:line 81
   at ICSharpCode.AvalonEdit.Editing.SelectionMouseHandler.SetCaretOffsetToMousePosition(MouseEventArgs e, ISegment allowedSegment) in c:\Users\Yinseko\Desktop\lfs-master\ThirdParty\ICSharpCode.AvalonEdit\Editing\SelectionMouseHandler.cs:line 580
   at ICSharpCode.AvalonEdit.Editing.SelectionMouseHandler.SetCaretOffsetToMousePosition(MouseEventArgs e) in c:\Users\Yinseko\Desktop\lfs-master\ThirdParty\ICSharpCode.AvalonEdit\Editing\SelectionMouseHandler.cs:line 565
   at ICSharpCode.AvalonEdit.Editing.SelectionMouseHandler.textArea_MouseLeftButtonDown(Object sender, MouseButtonEventArgs e) in c:\Users\Yinseko\Desktop\lfs-master\ThirdParty\ICSharpCode.AvalonEdit\Editing\SelectionMouseHandler.cs:line 395
   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.OnMouseDownThunk(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)
   at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at System.Windows.Application.Run()
   at LFStudio.App.Main() in c:\Users\Yinseko\Desktop\lfs-master\LFStudio\obj\Debug\App.g.cs:line 0

any solutions?
"I'm the president of the shadow government
The grand governor of the federal reserve
Public enemy of the society
The one you cannot see the thirty three degree"
Reply
Thanks given by:
You're keep getting my error log? ;D

Well. LFS has a lot of things added by each realse. And after LFS has been abadoned, all bugs from added features still there.

As long as sources are open, maybe someone will fix damn bugs, but for now it's still so.
Reply
Thanks given by:
I realized that links are not working (at least for me) and didn't want this project to die somehow. It should be available for anyone who want it (even though I made my own data changer) so I re-built it from source. Also fixed a little bug and updated to version v1.0.3

LF Studio - Source

Good luck... :D
Ultimately, my constant dissatisfaction with the way things are becomes the driving force behind everything I do.
[Image: sigline.png]
LF2 IDE - Advanced visual data changer featuring instant data loader
LF2 Sprite Sheet Generator - Template based sprite sheet generator based on Gad's method
[Image: sigline.png]
There is no perfect language, but C++ is the worst.
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)