ARKStatsExtractor icon indicating copy to clipboard operation
ARKStatsExtractor copied to clipboard

Error when importing new creatures

Open MateusRocha000 opened this issue 3 years ago • 2 comments

This is happening everytime I try to add a new creature. I tried to close, open again and import all my exported creatures. It works fine when I start to reload, but it stops working after a few creatures.

System.InvalidOperationException: A sequência contém mais de um elemento de correspondência em System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable1 source, Func2 predicate) em ARKBreedingStats.Form1.ExportedCreatureList_CheckGuidInLibrary(ExportedCreatureControl exportedCreatureControl) em ARKBreedingStats.importExported.ExportedCreatureControl.DoCheckArkIdInLibrary() em ARKBreedingStats.importExported.ExportedCreatureList.LoadFilesInFolder(String folderPath) em ARKBreedingStats.Form1.ImportExportedCreaturesDefaultFolder() em ARKBreedingStats.Form1.btnReadValuesFromArk_Click(Object sender, EventArgs e) em System.Windows.Forms.Control.OnClick(EventArgs e) em System.Windows.Forms.Button.OnClick(EventArgs e) em System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) em System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) em System.Windows.Forms.Control.WndProc(Message& m) em System.Windows.Forms.ButtonBase.WndProc(Message& m) em System.Windows.Forms.Button.WndProc(Message& m) em System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) em System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) em System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Assemblies Carregados ************** mscorlib Versão do Assembly: 4.0.0.0 Versão do Win32: 4.8.4515.0 built by: NET48REL1LAST_C Base de Código: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

ARK Smart Breeding Versão do Assembly: 1.0.0.0 Versão do Win32: 0.50.0.0 Base de Código: file:///C:/Users/T-Gamer/Downloads/ARK.Smart.Breeding_0.50.0.0/ARK%20Smart%20Breeding.exe

System.Windows.Forms Versão do Assembly: 4.0.0.0 Versão do Win32: 4.8.4515.0 built by: NET48REL1LAST_C Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System Versão do Assembly: 4.0.0.0 Versão do Win32: 4.8.4488.0 built by: NET48REL1LAST_C Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing Versão do Assembly: 4.0.0.0 Versão do Win32: 4.8.4390.0 built by: NET48REL1LAST_C Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Core Versão do Assembly: 4.0.0.0 Versão do Win32: 4.8.4515.0 built by: NET48REL1LAST_C Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Configuration Versão do Assembly: 4.0.0.0 Versão do Win32: 4.8.4190.0 built by: NET48REL1LAST_B Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml Versão do Assembly: 4.0.0.0 Versão do Win32: 4.8.4084.0 built by: NET48REL1 Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Accessibility Versão do Assembly: 4.0.0.0 Versão do Win32: 4.8.4084.0 built by: NET48REL1 Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

ARK Smart Breeding.resources Versão do Assembly: 1.0.0.0 Versão do Win32: 0.50.0.0 Base de Código: file:///C:/Users/T-Gamer/Downloads/ARK.Smart.Breeding_0.50.0.0/pt-BR/ARK%20Smart%20Breeding.resources.DLL

System.Windows.Forms.resources Versão do Assembly: 4.0.0.0 Versão do Win32: 4.8.4084.0 built by: NET48REL1 Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_pt-BR_b77a5c561934e089/System.Windows.Forms.resources.dll

WindowsBase Versão do Assembly: 4.0.0.0 Versão do Win32: 4.8.4515.0 built by: NET48REL1LAST_C Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll

Newtonsoft.Json Versão do Assembly: 13.0.0.0 Versão do Win32: 13.0.1.25517 Base de Código: file:///C:/Users/T-Gamer/Downloads/ARK.Smart.Breeding_0.50.0.0/Newtonsoft.Json.DLL

System.Numerics Versão do Assembly: 4.0.0.0 Versão do Win32: 4.8.4084.0 built by: NET48REL1 Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

System.Runtime.Serialization Versão do Assembly: 4.0.0.0 Versão do Win32: 4.8.4455.0 built by: NET48REL1LAST_C Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

System.Data Versão do Assembly: 4.0.0.0 Versão do Win32: 4.8.4455.0 built by: NET48REL1LAST_C Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

Microsoft.GeneratedCode Versão do Assembly: 1.0.0.0 Versão do Win32: 4.8.4084.0 built by: NET48REL1 Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Microsoft.GeneratedCode Versão do Assembly: 1.0.0.0 Versão do Win32: 4.8.4084.0 built by: NET48REL1 Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

mscorlib.resources Versão do Assembly: 4.0.0.0 Versão do Win32: 4.8.4084.0 built by: NET48REL1 Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_pt-BR_b77a5c561934e089/mscorlib.resources.dll

System.Core.resources Versão do Assembly: 4.0.0.0 Versão do Win32: 4.8.4084.0 built by: NET48REL1 Base de Código: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core.resources/v4.0_4.0.0.0_pt-BR_b77a5c561934e089/System.Core.resources.dll

************** Depuração JIT ************** Para habilitar a depuração just-in-time (JIT), o arquivo .config deste aplicativo ou computador (machine.config) deve ter o valor jitDebugging definido na seção system.windows.forms. O aplicativo também deve ser compilado com a depuração habilitada.

Por exemplo:

MateusRocha000 avatar Jul 16 '22 20:07 MateusRocha000

Hi, that means somehow there are two different creatures with the same id. Do you use mods, e.g. for breeding or did you clone a creature?

cadon avatar Jul 17 '22 17:07 cadon

Hi, sorry for the late answer. I wasn't using breeding mods and didn't clone a creature. I think the application was crashing because I was trying to load too fast. Waiting a little bit between each creature worked.

MateusRocha000 avatar Aug 03 '22 17:08 MateusRocha000