I21 Kheldian Bug(s).

Started by Haunt, September 26, 2011, 09:06:51 AM

Haunt

Mid's is a bit borked for khelds at the moment. Builds from the prior version fail to load with an "Unable to read data - Index was outside the bounds of the array" error message, which might be an understandable version change issue....

More seriously, trying to change power pools on a new Peacebringer or Warshade build cause the same error, and make the program crash.

Diellan

Huh. Can you post your Kheldian build here (open the save file in notepad and paste it)? I didn't have problems with it in testing (though there was a different Kheld bug that got fixed).

Mids

I've noticed the same issue when loading my own Kheld build. There's something very ironic about my submitting a bug report. ;)

The issue noted with changing/selecting pool powers on a Kheld appears to be an index out of bounds error in frmMain.ChangeSets()
The load one may be down to the same piece of code, but the file load error handler is still active and displaying its own 'graceful' failure message, so I can't tell.

The save file contents follow:

Hero Plan by Mids' Hero Designer 1.942
http://www.cohplanner.com/

Andromeda Helios: Level 48 Natural Peacebringer
Primary Power Set: Luminous Blast
Secondary Power Set: Luminous Aura
Power Pool: Speed

Hero Profile:
------------
Level 1:   Gleaming Bolt         (A)
Level 1:   Incandescence         (A)
Level 2:   Gleaming Blast         (A)(5)(5)(7)(7)(9)
Level 4:   Shining Shield         (A)(34)
Level 6:   Radiant Strike         (A)(9)(11)(11)(13)(13)
Level 8:   Essence Boost         (A)(42)(43)
Level 10:   Hasten            (A)(15)(15)
Level 12:   Build Up         (A)(17)(17)
Level 14:   Thermal Shield         (A)
Level 16:   Quantum Shield         (A)
Level 18:   Incandescent Strike      (A)(19)(19)(21)(21)(23)
Level 20:   White Dwarf         (A)(23)(25)
Level 22:   Pulsar            (A)(25)(27)(27)(29)
Level 24:   Reform Essence         (A)(29)(31)(31)(31)
Level 26:   Solar Flare         (A)(33)(33)(33)(34)(34)
Level 28:   Conserve Energy         (A)
Level 30:   Glowing Touch         (A)
Level 32:   Dawn Strike         (A)(43)
Level 35:   Restore Essence         (A)
Level 38:   Light Form         (A)(39)(39)
Level 41:   Photon Seekers         (A)
Level 44:   Quantum Flight         (A)
Level 47:   [Empty]   
Level 49:   [Empty]   
------------
Level 1:   Brawl            (A)
Level 1:   Cosmic Balance   
Level 1:   Energy Flight         (A)
Level 1:   Sprint            (A)
Level 2:   Rest            (A)
Level 4:   Ninja Run   
Level 10:   Combat Flight         (A)
Level 2:   Swift            (A)
Level 2:   Health            (A)
Level 2:   Hurdle            (A)
Level 2:   Stamina            (A)(3)(3)
------------
Level 20:   White Dwarf Antagonize      (A)
Level 20:   White Dwarf Flare      (A)(40)(40)(42)
Level 20:   White Dwarf Smite      (A)(37)(37)(39)(40)
Level 20:   White Dwarf Step      (A)
Level 20:   White Dwarf Strike      (A)(36)(36)(36)(37)
Level 20:   White Dwarf Sublimation      (A)(42)(43)
------------

|              Do not modify anything below this line!              |
|-------------------------------------------------------------------|
|MxDz;1855;728;1456;HEX;|
|78DA6D9469531A411086676111418D222A7823A0418D562CFD9E32B12A5AF1A042F|
|259571875232E148B78E4434CF2237255CEFFA72695BB8C21BDBDC3F458D9AD6279|
|78E979BBB7777A560E175A193BB9C5B4CE3B45C3B6D7B3DCC8F3CD8A696DF34A70D|
|5A8EE578CE2C0BC55A894F678C1482CF2A259B213F7B95DE6F944666E763CC8181B|
|5557ADAF6D6D71CB366B7C7A797FCFB44AFBF6FA6DF0AEA6AF442DF0FFA2E621596|
|4C9DAE1156E55A71B10CE964AC5E95C99F3422BE23237CAE011C11F4B56CDB4CD4D|
|B368568FDA1B7F1778C5DE31CB2C0EB54DC1E7778089ABCE581F7C25B53A5CA78EA|
|C09390E1046F9222054560F686FE12BA5BD70D6E8EF905F22BF477EE570D307E4D7|
|C81F91DF38DCFC09D9B927CFC0D3EFA6D2FC31996AE4862CE6122202226B6003E52|
|D677DB381BCED7078137907398F6C3ADC5A407E84CC91771D3E07C3A0EBE90BDED5|
|1AA9C617254E2C494C426448048726655DD73CB10ECE2D22B885E40E4FFC0CC16DA|
|2CF6D2352FE0272BB90DB49D69A188B8846449446742A8DE8541AD1A534A24B6944|
|8FD288AF902A2ACA8D52CF7B08E3843E28A0DB0DD6BB9FC8FEC44F24F63D257C267|
|1E0B9C46F902F262C62F7286245E2D02AE11A6156A20E55F48A36F4D6B0B80B1FDC|
|1307C87F900F912F918F90FF3A3C72EC3E0CF26364E687FB7728AB5FCC413FBD1F3|
|FA41A14F220BD8800C8C3AEAC0D0F4A7982F027F825C5C224F9FD027954747BD495|
|67E0B952632ECF22BBFD9E73B8091265844D86DC7F80CDA490277167D4AF5C03BAE|
|7540FA1ECECAB7A3DA386A4E81154593ADFF454673CD5594F754E5543D0FD28CACB|
|9EC1595D1E334C936AA88339AF0AABCFE972225988AA3F0DC3423137DA9494CF553|
|92DE53355CED04C92ECD312B4F73DB14B97E3C3A2BBBE86DC4DB23F5A93D1D78F08|
|0F248E1FD3D8D13A3DBA21E5B4419897385620372E31A656445B36EEED9C22E7143|
|9A7C8394DCEBDBA7254E4E8CC7C4067E64389FF00C77D135E|
|-------------------------------------------------------------------|
Give me Fire.
Give me Information.


eabrace

#3
I had a similar issue trying to open a Peacebringer build during testing.  I was able to open the save file as text, copy the text, and import to Mids successfully.  The really odd thing was that after doing so, the issues I had opening the file the normal way just disappeared, so I wasn't able to reproduce the issue.

Edit:  Just tried this again with the official release version.  Same error when opening the file with the planner.  Was still able to open the MXD file in a text editor, copy the upper half of the text (not the data chuck), and import to the planner.  Noticed, however, that where I had selected "Build Up", there was no power selected.  Any chance the error is related to the name change from "Build Up" to "Inner Light"?
Titan Twitter broadcasting at 5.000 mWh and growing.
Titan Facebook

Paragon Wiki admin
I was once being interviewed by Barbara Walters...In between two of the segments she asked me..."But what would you do if the doctor gave you only six months to live?" I said, "Type faster." - Isaac Asimov

Diellan

Quote from: eabrace on September 26, 2011, 12:53:17 PM
I had a similar issue trying to open a Peacebringer build during testing.  I was able to open the save file as text, copy the text, and import to Mids successfully.  The really odd thing was that after doing so, the issues I had opening the file the normal way just disappeared, so I wasn't able to reproduce the issue.

Edit:  Just tried this again with the official release version.  Same error when opening the file with the planner.  Was still able to open the MXD file in a text editor, copy the upper half of the text (not the data chuck), and import to the planner.  Noticed, however, that where I had selected "Build Up", there was no power selected.  Any chance the error is related to the name change from "Build Up" to "Inner Light"?

The bug that was fixed during testing was due to the fact that Kheldians don't have epic pools, and it was trying to access one. I think this bug might be related to that. It should have nothing to do with the name of the power, since the code block uses static ID numbers (which haven't changed).

Diellan

I just replaced the file on the server with one that fixes this bug (and the Blaster Dark Blast Aim and Soul Drain bugs).

Mids

That's faster bugfixing than I ever managed!
Give me Fire.
Give me Information.


Skeeve

I'm noticing a similar bug affecting Kheldians; whenever I select one of the travel power pools on a Peacebringer or Warshade, the program does not change the powers in the pool, and instead throws an unhandled exception, with the following details:

System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at Hero_Designer.frmMain.ChangeSets()
   at Hero_Designer.frmMain.cbPool1_SelectedIndexChanged(Object sender, EventArgs e)
   at System.Windows.Forms.ComboBox.OnSelectionChangeCommitted(EventArgs e)
   at System.Windows.Forms.ComboBox.OnSelectionChangeCommittedInternal(EventArgs e)
   at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
   at System.Windows.Forms.ComboBox.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)

However, if I click 'continue', the program continues to run with no errors, and selecting any power makes the power pool in question suddenly display the correct choices.

DeProgrammer

Did you download the fixed installer Diellan posted a day later? He didn't update the version number for some reason, so the automatic updater wouldn't tell you about it.