Closed Polantaris closed 5 years ago
I am also getting this error, I will download source code and run within Visual Studio to see if I can determine the issue. Seems to only happen when Random Map option is chosen:
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
** Exception Text ** System.IndexOutOfRangeException: Index was outside the bounds of the array. at DW4RandoHacker.Form1.createBridges(Random r1) at DW4RandoHacker.Form1.randomizeMapv5(Random r1) at DW4RandoHacker.Form1.hackRom() at DW4RandoHacker.Form1.btnRandomize_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.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
** JIT Debugging ** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.
For example:
When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
Note that version 2.0.1 runs fine for me, this bug must have been introduced in the latest release.
This should be fixed in the next version. :)
I got the below IndexOutOfRangeException when randomizing with the following seed and flags: Seed: 736201374 Flags: tUB0z@CA51
App Image