Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when updating MoD #45

Open
Sharkgamedev opened this issue Feb 7, 2022 · 2 comments
Open

Crash when updating MoD #45

Sharkgamedev opened this issue Feb 7, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Sharkgamedev
Copy link
Collaborator

Crash when clicking 'update MoD0' button.

Crash Log
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 ABH.Files.MoD.ModManager.UpdateMessegeOfTheDay() in D:\a\Ark-Backup-Handler\Ark-Backup-Handler\Ark-Backup-Handler\Scripts\File System\ModManager.cs:line 60
   at ABH.UI.UIProcess.g_updateMoDButton_MouseClick(Object sender, MouseEventArgs e) in D:\a\Ark-Backup-Handler\Ark-Backup-Handler\Ark-Backup-Handler\Scripts\Window.Events.cs:line 44
   at System.Windows.Forms.Control.OnMouseClick(MouseEventArgs 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)


************** Loaded Assemblies **************
System.Private.CoreLib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.700.21.56803
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Private.CoreLib.dll
----------------------------------------
Ark Backup Handler
    Assembly Version: 0.8.0.0
    Win32 Version: 0.8.0.0
    CodeBase: file:///D:/Apps/Ark%20Backup%20Handler%20v0.8.0/Ark%20Backup%20Handler%20Stable/Ark%20Backup%20Handler.dll
----------------------------------------
System.Runtime
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Runtime.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.800.121.55406
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/3.1.22/System.Windows.Forms.dll
----------------------------------------
System.ComponentModel.Primitives
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.ComponentModel.Primitives.dll
----------------------------------------
System.Drawing.Primitives
    Assembly Version: 4.2.1.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Drawing.Primitives.dll
----------------------------------------
System.Collections.Specialized
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Collections.Specialized.dll
----------------------------------------
System.Runtime.InteropServices
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Runtime.InteropServices.dll
----------------------------------------
System.Drawing.Common
    Assembly Version: 4.0.2.3
    Win32 Version: 4.700.21.51508
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/3.1.22/System.Drawing.Common.dll
----------------------------------------
System.Threading
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Threading.dll
----------------------------------------
System.Diagnostics.TraceSource
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Diagnostics.TraceSource.dll
----------------------------------------
System.Collections
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Collections.dll
----------------------------------------
System.Runtime.Extensions
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Runtime.Extensions.dll
----------------------------------------
System.Diagnostics.Debug
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Diagnostics.Debug.dll
----------------------------------------
System.Threading.Tasks
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Threading.Tasks.dll
----------------------------------------
Octokit
    Assembly Version: 0.50.0.0
    Win32 Version: 0.50.0.0
    CodeBase: file:///D:/Apps/Ark%20Backup%20Handler%20v0.8.0/Ark%20Backup%20Handler%20Stable/Octokit.dll
----------------------------------------
netstandard
    Assembly Version: 2.1.0.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/netstandard.dll
----------------------------------------
System.Net.Http
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Net.Http.dll
----------------------------------------
System.Private.Uri
    Assembly Version: 4.0.6.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Private.Uri.dll
----------------------------------------
System.Net.Primitives
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Net.Primitives.dll
----------------------------------------
System.Diagnostics.Tracing
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Diagnostics.Tracing.dll
----------------------------------------
System.Net.Security
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Net.Security.dll
----------------------------------------
System.Security.Cryptography.X509Certificates
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Security.Cryptography.X509Certificates.dll
----------------------------------------
System.Runtime.InteropServices.RuntimeInformation
    Assembly Version: 4.0.4.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Runtime.InteropServices.RuntimeInformation.dll
----------------------------------------
System.Linq
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Linq.dll
----------------------------------------
System.Diagnostics.DiagnosticSource
    Assembly Version: 4.0.5.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Diagnostics.DiagnosticSource.dll
----------------------------------------
Microsoft.Win32.Primitives
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/Microsoft.Win32.Primitives.dll
----------------------------------------
System.Collections.Concurrent
    Assembly Version: 4.0.15.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Collections.Concurrent.dll
----------------------------------------
System.Threading.Timer
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Threading.Timer.dll
----------------------------------------
System.Text.RegularExpressions
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Text.RegularExpressions.dll
----------------------------------------
System.Net.Sockets
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Net.Sockets.dll
----------------------------------------
System.Threading.Overlapped
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Threading.Overlapped.dll
----------------------------------------
System.Net.NameResolution
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Net.NameResolution.dll
----------------------------------------
System.Memory
    Assembly Version: 4.2.1.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Memory.dll
----------------------------------------
System.ComponentModel.EventBasedAsync
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.ComponentModel.EventBasedAsync.dll
----------------------------------------
System.Threading.Thread
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Threading.Thread.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.800.121.55406
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/3.1.22/Accessibility.dll
----------------------------------------
System.ComponentModel.TypeConverter
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.ComponentModel.TypeConverter.dll
----------------------------------------
System.Resources.ResourceManager
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Resources.ResourceManager.dll
----------------------------------------
System.ComponentModel
    Assembly Version: 4.0.4.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.ComponentModel.dll
----------------------------------------
System.Security.Cryptography.Primitives
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Security.Cryptography.Primitives.dll
----------------------------------------
System.Collections.NonGeneric
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Collections.NonGeneric.dll
----------------------------------------
System.Security.Principal.Windows
    Assembly Version: 4.1.3.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Security.Principal.Windows.dll
----------------------------------------
System.Security.Claims
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Security.Claims.dll
----------------------------------------
System.Security.Principal
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Security.Principal.dll
----------------------------------------
Microsoft.Win32.SystemEvents
    Assembly Version: 4.0.2.0
    Win32 Version: 4.700.19.56404
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/3.1.22/Microsoft.Win32.SystemEvents.dll
----------------------------------------
System.Resources.Extensions
    Assembly Version: 4.0.1.0
    Win32 Version: 4.700.20.21406
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/3.1.22/System.Resources.Extensions.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.800.121.55406
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/3.1.22/System.Drawing.dll
----------------------------------------
System.ObjectModel
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.ObjectModel.dll
----------------------------------------
System.Windows.Extensions
    Assembly Version: 4.0.1.0
    Win32 Version: 4.700.19.56404
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/3.1.22/System.Windows.Extensions.dll
----------------------------------------
System.Buffers
    Assembly Version: 4.0.5.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Buffers.dll
----------------------------------------
System.Threading.ThreadPool
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Threading.ThreadPool.dll
----------------------------------------
System.Security.Cryptography.Encoding
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Security.Cryptography.Encoding.dll
----------------------------------------
System.Configuration.ConfigurationManager
    Assembly Version: 4.0.3.0
    Win32 Version: 4.700.19.56404
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/3.1.22/System.Configuration.ConfigurationManager.dll
----------------------------------------
System.Diagnostics.Tools
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Diagnostics.Tools.dll
----------------------------------------
System.Security.Cryptography.Algorithms
    Assembly Version: 4.3.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Security.Cryptography.Algorithms.dll
----------------------------------------
System.Xml.ReaderWriter
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Xml.ReaderWriter.dll
----------------------------------------
System.Private.Xml
    Assembly Version: 4.0.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Private.Xml.dll
----------------------------------------
System.IO.FileSystem
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.IO.FileSystem.dll
----------------------------------------
System.Net.WebClient
    Assembly Version: 4.0.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Net.WebClient.dll
----------------------------------------
System.Text.Encoding.Extensions
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Text.Encoding.Extensions.dll
----------------------------------------
System.Runtime.Serialization.Formatters
    Assembly Version: 4.0.4.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Runtime.Serialization.Formatters.dll
----------------------------------------
System.Xml.XmlSerializer
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Xml.XmlSerializer.dll
----------------------------------------
System.IO.Compression
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.IO.Compression.dll
----------------------------------------
System.Linq.Expressions
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Linq.Expressions.dll
----------------------------------------
System.Reflection.Emit.ILGeneration
    Assembly Version: 4.1.1.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Reflection.Emit.ILGeneration.dll
----------------------------------------
System.Reflection.Primitives
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Reflection.Primitives.dll
----------------------------------------
System.Reflection.Emit.Lightweight
    Assembly Version: 4.1.1.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Reflection.Emit.Lightweight.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Assembly Version: 0.0.0.0
    Win32 Version: 4.700.21.56803
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Private.CoreLib.dll
----------------------------------------
System.Diagnostics.StackTrace
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Diagnostics.StackTrace.dll
----------------------------------------
System.Reflection.Metadata
    Assembly Version: 1.4.5.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Reflection.Metadata.dll
----------------------------------------
System.Collections.Immutable
    Assembly Version: 1.2.5.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.Collections.Immutable.dll
----------------------------------------
System.IO.MemoryMappedFiles
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.21.57101
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.22/System.IO.MemoryMappedFiles.dll
----------------------------------------

************** JIT Debugging **************


ABH Log.sid File
@17_32_310 - Info: Beginning MoD update.

@17_32_315 - Error: Problem while reading file at C:\\Ark Survival Evolved\\Saved\\\UWPConfig\UWP\GameUserSettings.ini. Path does not exist!
@17_32_319 - Error: Unable to read GameUserSettings.ini at: C:\\Ark Survival Evolved\\Saved\\\UWPConfig\UWP\GameUserSettings.ini
@17_32_936 - Error: Failed to copy files, one or more directories does not exist! Please validate the following directories: Source (What we're trying to copy from) C:\\Ark Survival Evolved\\Saved\\\clusters Target (Where we're trying to copy to) C:\\Ark Backups\\\Automatic Saves\[TRANSFERDATA]\(Save 0) \
@17_32_932 - Error: Failed to copy files, one or more directories does not exist! Please validate the following directories: Source (What we're trying to copy from) C:\\Ark Survival Evolved\\Saved\\\clusters Target (Where we're trying to copy to) C:\\Ark Backups\\\Automatic Saves\[TRANSFERDATA]\(Save 0) \
@17_33_934 - Error: Failed to copy files, one or more directories does not exist! Please validate the following directories: Source (What we're trying to copy from) C:\\Ark Survival Evolved\\Saved\\\clusters Target (Where we're trying to copy to) C:\\Ark Backups\\\Automatic Saves\[TRANSFERDATA]\(Save 0) \
@17_33_668 - Error: Failed to copy files, one or more directories does not exist! Please validate the following directories: Source (What we're trying to copy from) C:\Ark Survival Evolved\Saved\\clusters Target (Where we're trying to copy to) C:\Ark Backups\\Automatic Saves\[TRANSFERDATA]\(Save 0) \
@17_34_666 - Error: Failed to copy files, one or more directories does not exist! Please validate the following directories: Source (What we're trying to copy from) C:\Ark Survival Evolved\Saved\\clusters Target (Where we're trying to copy to) C:\Ark Backups\\Automatic Saves\[TRANSFERDATA]\(Save 0) \
@15_39_974 - Error: Failed to copy files, one or more directories does not exist! Please validate the following directories: Source (What we're trying to copy from) C:\Ark Survival Evolved\Saved\\clusters Target (Where we're trying to copy to) C:\Ark Backups\\Automatic Saves\[TRANSFERDATA]\(Save 0) \
@15_44_974 - Error: Failed to copy files, one or more directories does not exist! Please validate the following directories: Source (What we're trying to copy from) C:\Ark Survival Evolved\Saved\\clusters Target (Where we're trying to copy to) C:\Ark Backups\\Automatic Saves\[TRANSFERDATA]\(Save 0) \
@15_49_972 - Error: Failed to copy files, one or more directories does not exist! Please validate the following directories: Source (What we're trying to copy from) C:\Ark Survival Evolved\Saved\ Target (Where we're trying to copy to) C:\Ark Backups\\Automatic Saves\(Save 0)\
@15_49_976 - Error: Failed to copy files, one or more directories does not exist! Please validate the following directories: Source (What we're trying to copy from) C:\Ark Survival Evolved\Saved\\clusters Target (Where we're trying to copy to) C:\Ark Backups\\Automatic Saves\[TRANSFERDATA]\(Save 0) \
@15_51_948 - Info: Beginning MoD update.
@15_53_859 - Info: Beginning MoD update.
@Sharkgamedev Sharkgamedev added the bug Something isn't working label Feb 7, 2022
@Sharkgamedev Sharkgamedev self-assigned this Feb 7, 2022
@Sharkgamedev
Copy link
Collaborator Author

Another one, looks like it occurs if the GameUserSettings.ini is missing the [MessageOfTheDay] header:

Crash Log

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 ABH.Files.MoD.ModManager.UpdateMessegeOfTheDay() in D:\a\Ark-Backup-Handler\Ark-Backup-Handler\Ark-Backup-Handler\Scripts\File System\ModManager.cs:line 60
   at ABH.UI.UIProcess.g_updateMoDButton_MouseClick(Object sender, MouseEventArgs e) in D:\a\Ark-Backup-Handler\Ark-Backup-Handler\Ark-Backup-Handler\Scripts\Window.Events.cs:line 44
   at System.Windows.Forms.Control.OnMouseClick(MouseEventArgs 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)


************** Loaded Assemblies **************
System.Private.CoreLib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.700.22.16002
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Private.CoreLib.dll
----------------------------------------
Ark Backup Handler
    Assembly Version: 0.8.0.0
    Win32 Version: 0.8.0.0
    CodeBase: file:///D:/Apps/Ark%20Backup%20Handler%20v0.8.0/Ark%20Backup%20Handler%20Stable/Ark%20Backup%20Handler.dll
----------------------------------------
System.Runtime
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Runtime.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.800.122.10304
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/3.1.24/System.Windows.Forms.dll
----------------------------------------
System.ComponentModel.Primitives
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.ComponentModel.Primitives.dll
----------------------------------------
System.Drawing.Primitives
    Assembly Version: 4.2.1.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Drawing.Primitives.dll
----------------------------------------
System.Collections.Specialized
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Collections.Specialized.dll
----------------------------------------
System.Runtime.InteropServices
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Runtime.InteropServices.dll
----------------------------------------
System.Drawing.Common
    Assembly Version: 4.0.2.3
    Win32 Version: 4.700.21.51508
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/3.1.24/System.Drawing.Common.dll
----------------------------------------
System.Threading
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Threading.dll
----------------------------------------
System.Diagnostics.TraceSource
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Diagnostics.TraceSource.dll
----------------------------------------
System.Collections
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Collections.dll
----------------------------------------
System.Runtime.Extensions
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Runtime.Extensions.dll
----------------------------------------
System.Diagnostics.Debug
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Diagnostics.Debug.dll
----------------------------------------
System.Threading.Tasks
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Threading.Tasks.dll
----------------------------------------
Octokit
    Assembly Version: 0.50.0.0
    Win32 Version: 0.50.0.0
    CodeBase: file:///D:/Apps/Ark%20Backup%20Handler%20v0.8.0/Ark%20Backup%20Handler%20Stable/Octokit.dll
----------------------------------------
netstandard
    Assembly Version: 2.1.0.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/netstandard.dll
----------------------------------------
System.Net.Http
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Net.Http.dll
----------------------------------------
System.Private.Uri
    Assembly Version: 4.0.6.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Private.Uri.dll
----------------------------------------
System.Net.Primitives
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Net.Primitives.dll
----------------------------------------
System.Diagnostics.Tracing
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Diagnostics.Tracing.dll
----------------------------------------
System.Net.Security
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Net.Security.dll
----------------------------------------
System.Security.Cryptography.X509Certificates
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Security.Cryptography.X509Certificates.dll
----------------------------------------
System.Runtime.InteropServices.RuntimeInformation
    Assembly Version: 4.0.4.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Runtime.InteropServices.RuntimeInformation.dll
----------------------------------------
System.Linq
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Linq.dll
----------------------------------------
System.Diagnostics.DiagnosticSource
    Assembly Version: 4.0.5.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Diagnostics.DiagnosticSource.dll
----------------------------------------
Microsoft.Win32.Primitives
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/Microsoft.Win32.Primitives.dll
----------------------------------------
System.Collections.Concurrent
    Assembly Version: 4.0.15.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Collections.Concurrent.dll
----------------------------------------
System.Threading.Timer
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Threading.Timer.dll
----------------------------------------
System.Text.RegularExpressions
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Text.RegularExpressions.dll
----------------------------------------
System.Net.Sockets
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Net.Sockets.dll
----------------------------------------
System.Threading.Overlapped
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Threading.Overlapped.dll
----------------------------------------
System.Net.NameResolution
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Net.NameResolution.dll
----------------------------------------
System.Memory
    Assembly Version: 4.2.1.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Memory.dll
----------------------------------------
System.ComponentModel.EventBasedAsync
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.ComponentModel.EventBasedAsync.dll
----------------------------------------
System.Threading.Thread
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Threading.Thread.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.800.122.10304
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/3.1.24/Accessibility.dll
----------------------------------------
System.ComponentModel.TypeConverter
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.ComponentModel.TypeConverter.dll
----------------------------------------
System.Resources.ResourceManager
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Resources.ResourceManager.dll
----------------------------------------
System.ComponentModel
    Assembly Version: 4.0.4.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.ComponentModel.dll
----------------------------------------
System.Security.Cryptography.Primitives
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Security.Cryptography.Primitives.dll
----------------------------------------
System.Collections.NonGeneric
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Collections.NonGeneric.dll
----------------------------------------
System.Security.Principal.Windows
    Assembly Version: 4.1.3.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Security.Principal.Windows.dll
----------------------------------------
System.Security.Claims
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Security.Claims.dll
----------------------------------------
System.Security.Principal
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Security.Principal.dll
----------------------------------------
Microsoft.Win32.SystemEvents
    Assembly Version: 4.0.2.0
    Win32 Version: 4.700.19.56404
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/3.1.24/Microsoft.Win32.SystemEvents.dll
----------------------------------------
System.Resources.Extensions
    Assembly Version: 4.0.1.0
    Win32 Version: 4.700.20.21406
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/3.1.24/System.Resources.Extensions.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.800.122.10304
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/3.1.24/System.Drawing.dll
----------------------------------------
System.ObjectModel
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.ObjectModel.dll
----------------------------------------
System.Windows.Extensions
    Assembly Version: 4.0.1.0
    Win32 Version: 4.700.19.56404
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/3.1.24/System.Windows.Extensions.dll
----------------------------------------
System.Buffers
    Assembly Version: 4.0.5.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Buffers.dll
----------------------------------------
System.Threading.ThreadPool
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Threading.ThreadPool.dll
----------------------------------------
System.Security.Cryptography.Encoding
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Security.Cryptography.Encoding.dll
----------------------------------------
System.Configuration.ConfigurationManager
    Assembly Version: 4.0.3.0
    Win32 Version: 4.700.19.56404
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/3.1.24/System.Configuration.ConfigurationManager.dll
----------------------------------------
System.Diagnostics.Tools
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Diagnostics.Tools.dll
----------------------------------------
System.Security.Cryptography.Algorithms
    Assembly Version: 4.3.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Security.Cryptography.Algorithms.dll
----------------------------------------
System.Xml.ReaderWriter
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Xml.ReaderWriter.dll
----------------------------------------
System.Private.Xml
    Assembly Version: 4.0.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Private.Xml.dll
----------------------------------------
System.IO.FileSystem
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.IO.FileSystem.dll
----------------------------------------
System.Net.WebClient
    Assembly Version: 4.0.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Net.WebClient.dll
----------------------------------------
System.Text.Encoding.Extensions
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Text.Encoding.Extensions.dll
----------------------------------------
System.Runtime.Serialization.Formatters
    Assembly Version: 4.0.4.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Runtime.Serialization.Formatters.dll
----------------------------------------
System.Xml.XmlSerializer
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Xml.XmlSerializer.dll
----------------------------------------
System.IO.Compression
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.IO.Compression.dll
----------------------------------------
System.Linq.Expressions
    Assembly Version: 4.2.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Linq.Expressions.dll
----------------------------------------
System.Reflection.Emit.ILGeneration
    Assembly Version: 4.1.1.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Reflection.Emit.ILGeneration.dll
----------------------------------------
System.Reflection.Primitives
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Reflection.Primitives.dll
----------------------------------------
System.Reflection.Emit.Lightweight
    Assembly Version: 4.1.1.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Reflection.Emit.Lightweight.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Assembly Version: 0.0.0.0
    Win32 Version: 4.700.22.16002
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Private.CoreLib.dll
----------------------------------------
System.Diagnostics.StackTrace
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Diagnostics.StackTrace.dll
----------------------------------------
System.Reflection.Metadata
    Assembly Version: 1.4.5.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Reflection.Metadata.dll
----------------------------------------
System.Collections.Immutable
    Assembly Version: 1.2.5.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.Collections.Immutable.dll
----------------------------------------
System.IO.MemoryMappedFiles
    Assembly Version: 4.1.2.0
    Win32 Version: 4.700.22.17909
    CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/3.1.24/System.IO.MemoryMappedFiles.dll
----------------------------------------

************** JIT Debugging **************  
  
  

@Sharkgamedev
Copy link
Collaborator Author

This ^ is the problem. We are checking if it's zero when in reality it should be equal to the length of the file if it failed. There's our problem. For simplicity and safety in case, someone puts their MoD header at the bottom of the file we should just check again here if the file. includes the header. Also, let's include functionality for adding the header if it's missing, that should be expected of the application rather than the user having to manually do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant