Ok... first off thank you Mids for the wonderful builder, top marks. I think however I've stumbled across a dreaded intermittent bug, but managed to trigger it repeatedly.
What was I doing? Trying to make a DA/EM tank. On the second run through that I am documenting here, I built it to lvl 19 in level up mode and then decided to go back and start putting in some enhancements. I put a lvl 28 Taunt/Recharge Mocking Beratement in the first slot of the Taunt, and then when I put a lvl 28 Acc/Rech Mocking Beratement into the other slot the error popped up. The error report is saved below along with the build.
I've rebuilt the build in dynamic mode, and hit it as well. Pressing continue on the error box (well I had to to get the build data-chunk included below) and then saving and exiting results in the same error on restart.
However, slotting the same enhancements into saved tank builds that I have already made does not trip the error.
Nor does importing the data-chunk below ...
until you double flip the taunt power, that is you flip the taunt power to the second blank set of enhancements and then flip it again back to the first set... then the error reappears. And the enhancements disappear... sorta. (see pic below) They are still there, just not appearing.
Gremlins... blame the gremlins.
Here is the build:
| Copy & Paste this data into Mids' Hero Designer to view the build |
|-------------------------------------------------------------------|
|MxDz;816;370;740;HEX;|
|78DAA591CD4AC34010C7276D629A2FDB5A103F2F7A2A485E418AAD2018285A3CA92|
|1C6350D8D69D9E4606F3E80AFE07B587DB87567771B023D76607FBBF39FFF668749|
|F03174013E2F4173AFB2A828C24994CF0835822849633001E0502AE190BC91BC20F|
|E30A2B37040DFE7745D094846883FCA094D9632E9DEE45342495EFAEB833D9ECF33|
|FF7E41C8AB2B8ED7699993A2F054924CCB344F1C996598F6468B34F607342ED3380|
|CA2A2247479C0FBE9F3F56371687C016B02E3010DC11DC18E60CB06154CAB7B2C5B|
|5D05A66B42D1056DC15DC13DA9706753399B35676BC3B9E2FD18AA1FA3D649ABD6C|
|F2FF798D203E605DF4EC1E10F58AA452B6D001C833D13DB199FBC232B0D475C776B|
|3CE7554F56C1138AC195B6FA785B282657BA4AE90A856D1B277A35519013BDDD50C|
|67A355D90D3EDEBD5BFDA2A56EEFA2DEB0E7FED0431463C201E114F886744847841|
|C408F657DD76BE503071BA0EC24578885D441BD141F410FB8823C43782FD034F264|
|C6C|
|-------------------------------------------------------------------|
here is the pic - (this is after importing the build and doing the double flip described above.):
and here is the error report:
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 Hero_Designer.clsToonX.GBD_Stage(clsPowerV2& tPwr, BuffsX& nBuffs, Boolean IsSetBonus, Boolean EnhancementPass, Boolean IsAccolades)
at Hero_Designer.clsToonX.GenerateBuffData(BuffsX& nBuffs, Boolean EnhancementPass)
at Hero_Designer.clsToonX.GenerateBuffedPowerArray()
at Hero_Designer.frmMain.info_Totals()
at Hero_Designer.frmMain.RefreshInfo()
at Hero_Designer.frmMain.PowerModified()
at Hero_Designer.frmMain.DoOpen(String fName)
at Hero_Designer.frmMain.frmMain_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.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)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Hero Designer
Assembly Version: 1.3.0.0
Win32 Version: 1.3.0.0
CodeBase: file:///H:/MidsDesigner/Hero%20Designer.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
************** 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:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
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.