Menu

#11 Exception thrown when saving changes to MP save file

1.0
open
nobody
MP (1)
2018-05-10
2018-05-05
Ark
No

Hello !
I've got a problem with saving changes I made in a multiplayer file :

** Exception Text **
System.IndexOutOfRangeException: Unknown child SAVE_GAME_HEADER
at EsfLibrary.ParentNode.get_Item(String key)
at SaveParserLibrary.ParserFunctions.markSavegameFileAsModifiedW2(EsfFile esfFile)
at SaveParser.SaveParser.saveGame(String fileName, String path)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

** Loaded Assemblies **
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2633.0 built by: NET471REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll


SaveParser
Assembly Version: 1.35.0.0
Win32 Version: 1.35.0.0
CodeBase: file:///C:/Users/***/Desktop/SaveParser/SaveParser/SaveParser.exe


System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll


System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll


System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll


RoninXLibrary
Assembly Version: 1.15.0.0
Win32 Version: 1.15.0.0
CodeBase: file:///C:/Users/***/Desktop/SaveParser/SaveParser/RoninXLibrary.DLL


System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll


System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2633.0 built by: NET471REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll


System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll


SaveParserLibrary
Assembly Version: 1.30.0.0
Win32 Version: 1.30.0.0
CodeBase: file:///C:/Users/***/Desktop/SaveParser/SaveParser/SaveParserLibrary.DLL


PackParserLibrary
Assembly Version: 1.30.0.0
Win32 Version: 1.30.0.0
CodeBase: file:///C:/Users/***/Desktop/SaveParser/SaveParser/PackParserLibrary.DLL


Filetypes
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/***/Desktop/SaveParser/SaveParser/Filetypes.DLL


Common
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/***/Desktop/SaveParser/SaveParser/Common.DLL


EsfLibrary
Assembly Version: 1.2.0.1
Win32 Version: 1.2.0.1
CodeBase: file:///C:/Users/***/Desktop/SaveParser/SaveParser/EsfLibrary.DLL


7Zip
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/***/Desktop/SaveParser/SaveParser/7Zip.DLL


Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll


SaveParserDialogs
Assembly Version: 1.30.0.0
Win32 Version: 1.30.0.0
CodeBase:


** 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">
</system.windows.forms></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.

I have attached the MP save file. :)

1 Attachments

Discussion

  • Ark

    Ark - 2018-05-06

    Oh it's Total War : WARHAMMER 2, forgot to mention that :p

     
    • RoninX2807

      RoninX2807 - 2018-05-07

      Which Version are you using?
      Did you check "multi-player files" in "File" menu?

       
  • Ark

    Ark - 2018-05-08

    My apologies, didn't see the "multi-player files". It worked way better. The only things that resulted in an exception were the "unit" and "diplomacy" editing as well as "Recruitment" in "Edit". I'll open a new ticket for those if you want.

     
    • RoninX2807

      RoninX2807 - 2018-05-08

      You are welcome.
      What exactlly happend at
      - unit
      - diplomacy
      - recruitment
      by doing what?
      Can you provide me your savegame file somewhere?

       
  • Ark

    Ark - 2018-05-10

    In Unit by opening in EditSF :
    System.IO.InvalidDataException: Invalid type code 00000023 at 14e0db
    at EsfLibrary.EsfCodec.Decode(BinaryReader reader, Byte code)
    at EsfLibrary.AbcaFileCodec.Decode(BinaryReader reader, Byte typeCode)
    at EsfLibrary.EsfCodec.Decode(BinaryReader reader)
    at EsfLibrary.EsfCodec.ReadToOffset(BinaryReader reader, Int64 targetOffset)
    at EsfLibrary.RecordNode.Decode(BinaryReader reader, EsfType unused)
    at EsfLibrary.EsfCodec.ReadRecordNode(BinaryReader reader, Byte typeCode, Boolean forceDecode)
    at EsfLibrary.AbcaFileCodec.ReadRecordNode(BinaryReader reader, Byte typeCode, Boolean forceDecode)
    at EsfLibrary.MemoryMappedRecordNode.DecodeDelegate()
    at EsfLibrary.DelegatingNode.get_Decoded()
    at EsfLibrary.DelegatingNode.get_Value()
    at EsfLibrary.ParentNode.get_Children()
    at EsfControl.EsfTreeNode.Fill()
    at EsfControl.TreeEventHandler.FillNode(Object sender, TreeViewCancelEventArgs args)
    at System.Windows.Forms.TreeView.OnBeforeExpand(TreeViewCancelEventArgs e)
    at System.Windows.Forms.TreeView.TvnExpanding(NMTREEVIEW* nmtv)
    at System.Windows.Forms.TreeView.WmNotify(Message& m)
    at System.Windows.Forms.TreeView.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    In Diplomacy, when editing a stance :
    System.IO.InvalidDataException: Invalid type code 00000023 at 14e0db
    at EsfLibrary.EsfCodec.Decode(BinaryReader reader, Byte code)
    at EsfLibrary.AbcaFileCodec.Decode(BinaryReader reader, Byte typeCode)
    at EsfLibrary.EsfCodec.Decode(BinaryReader reader)
    at EsfLibrary.EsfCodec.ReadToOffset(BinaryReader reader, Int64 targetOffset)
    at EsfLibrary.RecordNode.Decode(BinaryReader reader, EsfType unused)
    at EsfLibrary.EsfCodec.ReadRecordNode(BinaryReader reader, Byte typeCode, Boolean forceDecode)
    at EsfLibrary.AbcaFileCodec.ReadRecordNode(BinaryReader reader, Byte typeCode, Boolean forceDecode)
    at EsfLibrary.MemoryMappedRecordNode.DecodeDelegate()
    at EsfLibrary.DelegatingNode.get_Decoded()
    at EsfLibrary.DelegatingNode.get_Value()
    at EsfLibrary.ParentNode.get_Children()
    at EsfControl.EsfTreeNode.Fill()
    at EsfControl.TreeEventHandler.FillNode(Object sender, TreeViewCancelEventArgs args)
    at System.Windows.Forms.TreeView.OnBeforeExpand(TreeViewCancelEventArgs e)
    at System.Windows.Forms.TreeView.TvnExpanding(NMTREEVIEW* nmtv)
    at System.Windows.Forms.TreeView.WmNotify(Message& m)
    at System.Windows.Forms.TreeView.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    And in Recruitment when changing rank and clicking on Complete recruitment :
    System.IndexOutOfRangeException: Unknown child RECRUITMENT_MANAGER
    at EsfLibrary.ParentNode.get_Item(String key)
    at SaveParserLibrary.Util_Faction.completeRecruitment(Int32 factionIndex)
    at SaveParser.SaveParser.b_RecruitmentComplete_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)

    For the last one it greys out everything and you can't do anything anymore.

    The multiplayer save file is the one already provided.

    Thanks a bunch !

     
    • RoninX2807

      RoninX2807 - 2018-05-12

      Sorry for late reply. I check it our

       

Log in to post a comment.