//
Program version: 4.1.5 / 0x159
Program module: Input Editor
Module part: Script List
Bug severity: minor
//
Reproduction rate: 100% (so far)
//
How to reproduce:
//
Exception text:
//
Comment:
Seems to be a minor problem, You can avoid it just by not clicking on the arrow on the right side of the list. It would be also nice not to stumble upon that. The bug is probably not tied to any of the scripts, and it looks like it is a simple list index problem.
//
Screen:
https://imgur.com/6Nwvmse
Program version: 4.1.5 / 0x159
Program module: Input Editor
Module part: Script List
Bug severity: minor
//
Reproduction rate: 100% (so far)
//
How to reproduce:
- load simple movement scripts (from tutorial)
- set Game State to: MainGame
- select button on pad image (this case: Down button)
- Press - Hold - Release button: set to Hold
- add script(s) to list (this case: Start Moving Player Down)
- click on down arrow on left side of the list > exception
//
Exception text:
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(ExceptionArgument argument, ExceptionResource resource)
at MysticSearchesTool.InputEditorControl.buttonDown_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
//
Comment:
Seems to be a minor problem, You can avoid it just by not clicking on the arrow on the right side of the list. It would be also nice not to stumble upon that. The bug is probably not tied to any of the scripts, and it looks like it is a simple list index problem.
//
Screen:
https://imgur.com/6Nwvmse