Filigrani / SkyCoop

Multiplayer for The Long Dark game
MIT License
157 stars 25 forks source link

HEEEELP #31

Closed Anonimus3400 closed 1 year ago

Anonimus3400 commented 1 year ago

Mod Version: v0.5.5 Game Version: v2.02 Launcher: No Launcher Additional mods installed: No Perspective: Client

Description

Nothing changes when I put in a mod and MelonLoader

How to reproduce

  1. Being host/client.
  2. On region '....'
  3. Do '....'
  4. It works wrong / it worsn't work.

Expected behavior

If not obvious, what did you expect to happen?

Logs

Host side log

[15:58:38.736] ------------------------------
[15:58:38.743] MelonLoader v0.5.5 Open-Beta
[15:58:38.746] OS: Windows 10
[15:58:38.755] Hash Code: 57545710048555350515452101521025297995653101559949575755515399509950
[15:58:38.758] ------------------------------
[15:58:38.761] Game Type: Il2Cpp
[15:58:38.764] Game Arch: x64
[15:58:38.767] ------------------------------
[15:58:38.770] Core::BasePath = D:\The Long Dark v2.02 99904
[15:58:38.774] Game::BasePath = D:\The Long Dark v2.02 99904
[15:58:38.778] Game::DataPath = D:\The Long Dark v2.02 99904\tld_Data
[15:58:38.783] Game::ApplicationPath = D:\The Long Dark v2.02 99904\tld.exe

[15:58:39.833] ------------------------------
[15:58:39.836] Game Name: TheLongDark
[15:58:39.838] Game Developer: Hinterland
[15:58:39.843] Unity Version: 2019.4.34f1
[15:58:39.845] Game Version: 2.02
[15:58:39.848] ------------------------------
[15:58:40.178] Preferences Loaded!
[15:58:40.188] [Il2CppUnityTls] Patching mono_unity_get_unitytls_interface...
[15:58:40.191] [Il2CppUnityTls] Patching il2cpp_unity_install_unitytls_interface...
[15:58:40.383] [Il2CppUnityTls] Calling Il2CppInstallUnityTlsInterface...

[15:58:40.446] Loading Plugins from 'D:\The Long Dark v2.02 99904\Plugins'...
[15:58:40.450] ---------------------------------------------------------------

[15:58:40.455] ---------------------------------------------------------------
[15:58:40.457] 0 Plugins loaded.

[15:58:41.332] [MelonStartScreen] Initializing...
[15:58:41.379] [MelonStartScreen] Using Start Screen Theme: "Default"
[15:58:42.595] Loading Il2CppAssemblyGenerator...
[15:58:42.636] [Il2CppAssemblyGenerator] Contacting RemoteAPI...
[15:58:43.114] [Il2CppAssemblyGenerator] RemoteAPI.DumperVersion = null
[15:58:43.120] [Il2CppAssemblyGenerator] RemoteAPI.UnhollowerVersion = null
[15:58:43.124] [Il2CppAssemblyGenerator] RemoteAPI.ObfuscationRegex = null
[15:58:43.128] [Il2CppAssemblyGenerator] RemoteAPI.MappingURL = null
[15:58:43.131] [Il2CppAssemblyGenerator] RemoteAPI.MappingFileSHA512 = null
[15:58:43.138] [Il2CppAssemblyGenerator] Using Dumper Version: 2022.1.0-pre-release.7
[15:58:43.143] [Il2CppAssemblyGenerator] Using Il2CppAssemblyUnhollower Version = 0.4.18.0
[15:58:43.147] [Il2CppAssemblyGenerator] Using Unity Dependencies Version = 2019.4.34
[15:58:43.153] [Il2CppAssemblyGenerator] Using Deobfuscation Regex = null
[15:58:43.157] [Il2CppAssemblyGenerator] Cpp2IL is up to date.
[15:58:43.160] [Il2CppAssemblyGenerator] Il2CppAssemblyUnhollower is up to date.
[15:58:43.166] [Il2CppAssemblyGenerator] UnityDependencies is up to date.
[15:58:43.171] [Il2CppAssemblyGenerator] Checking GameAssembly...
[15:58:44.026] [Il2CppAssemblyGenerator] Assembly Generation Needed!
[15:58:44.037] [Il2CppAssemblyGenerator] Executing Cpp2IL...
[15:58:44.051] [Il2CppAssemblyGenerator] "D:\The Long Dark v2.02 99904\MelonLoader\Dependencies\Il2CppAssemblyGenerator\Cpp2IL\Cpp2IL.exe" --game-path "D:\The Long Dark v2.02 99904" --exe-name "tld" --use-processor attributeinjector --output-as dummydll
[15:58:44.148] [Il2CppAssemblyGenerator] ===Cpp2IL by Samboy063===
[15:58:44.154] [Il2CppAssemblyGenerator] A Tool to Reverse Unity's "il2cpp" Build Process.
[15:58:44.160] [Il2CppAssemblyGenerator] Version 2022.1.0-pre-release.7
[15:58:44.166] [Il2CppAssemblyGenerator] 
[15:58:44.177] [Il2CppAssemblyGenerator] [Warn] [Program] NO_COLOR set, disabling ANSI color codes as you requested.
[15:58:44.182] [Il2CppAssemblyGenerator] [Info] [Program] Running on Win32NT
[15:58:44.282] [Il2CppAssemblyGenerator] [Info] [Plugins] Loading plugins from D:\The Long Dark v2.02 99904\MelonLoader\Dependencies\Il2CppAssemblyGenerator\Cpp2IL\Plugins...
[15:58:44.304] [Il2CppAssemblyGenerator] [Info] [Plugins] Using Plugin: Cpp2IL Built-In
[15:58:44.313] [Il2CppAssemblyGenerator] [Info] [Program] Determined game's unity version to be 2019.4.34a0
[15:58:44.376] [Il2CppAssemblyGenerator] [Info] [Library] Initializing Metadata...
[15:58:44.380] [Il2CppAssemblyGenerator] [Info] [Library]   Using actual IL2CPP Metadata version 24,5
[15:58:44.747] [Il2CppAssemblyGenerator] [Info] [Library] Initialized Metadata in 368ms
[15:58:44.752] [Il2CppAssemblyGenerator] [Info] [Library] Using binary type Portable Executable (from LibCpp2IL)
[15:58:44.757] [Il2CppAssemblyGenerator] [Info] [Library] Searching Binary for Required Data...
[15:58:45.327] [Il2CppAssemblyGenerator] [Info] [Library] Got Binary codereg: 0x183B69600, metareg: 0x183B69D10 in 575ms.
[15:58:45.331] [Il2CppAssemblyGenerator] [Info] [Library] Initializing Binary...
[15:58:45.472] [Il2CppAssemblyGenerator] [Info] [Library] Initialized Binary in 148ms
[15:58:45.496] [Il2CppAssemblyGenerator] [Info] [Library] Mapping Globals...OK (22ms)
[15:58:45.560] [Il2CppAssemblyGenerator] [Info] [Library] Mapping pointers to Il2CppMethodDefinitions...Processed 102334 OK (66ms)
[15:58:45.575] [Il2CppAssemblyGenerator] [Info] [Program] Creating application model...
[15:58:47.646] [Il2CppAssemblyGenerator] [Info] [Program] Application model created in 2072,1374ms
[15:58:47.654] [Il2CppAssemblyGenerator] [Info] [Program] Pre-processing processing layers...
[15:58:47.659] [Il2CppAssemblyGenerator] [Info] [Program]     Attribute Injector...
[15:58:47.664] [Il2CppAssemblyGenerator] [Info] [Program]     Attribute Injector finished in 0ms
[15:58:47.670] [Il2CppAssemblyGenerator] [Info] [Program] Invoking processing layers...
[15:58:47.675] [Il2CppAssemblyGenerator] [Info] [Program]     Attribute Injector...
[15:58:48.344] [Il2CppAssemblyGenerator] [Info] [Program]     Attribute Injector finished in 692,5936ms
[15:58:48.355] [Il2CppAssemblyGenerator] [Info] [Program] Outputting as Stub ("Dummy") DLL Files to D:\The Long Dark v2.02 99904\MelonLoader\Dependencies\Il2CppAssemblyGenerator\Cpp2IL\cpp2il_out...
[15:58:54.163] [Il2CppAssemblyGenerator] [ERROR] 
[15:58:54.762] [Il2CppAssemblyGenerator] [ERROR] Необработанное исключение: System.UnauthorizedAccessException: Отказано в доступе по пути "D:\The Long Dark v2.02 99904\MelonLoader\Dependencies\Il2CppAssemblyGenerator\Cpp2IL\cpp2il_out\Assembly-CSharp.dll".
[15:58:54.768] [Il2CppAssemblyGenerator] [ERROR]    в System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
[15:58:54.782] [Il2CppAssemblyGenerator] [ERROR]    в System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
[15:58:54.788] [Il2CppAssemblyGenerator] [ERROR]    в System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
[15:58:54.796] [Il2CppAssemblyGenerator] [ERROR]    в AsmResolver.PE.File.PEFile.Write(String filePath)
[15:58:54.806] [Il2CppAssemblyGenerator] [ERROR]    в Cpp2IL.Core.CorePlugin.AsmResolverDummyDllOutputFormat.DoOutput(ApplicationAnalysisContext context, String outputRoot) в C:\Users\Sam\RiderProjects\Cpp2IL\Cpp2IL.Core\CorePlugin\AsmResolverDummyDllOutputFormat.cs:строка 103
[15:58:54.816] [Il2CppAssemblyGenerator] [ERROR]    в Cpp2IL.Program.MainWithArgs(Cpp2IlRuntimeArgs runtimeArgs) в C:\Users\Sam\RiderProjects\Cpp2IL\Cpp2IL\Program.cs:строка 436
[15:58:54.824] [Il2CppAssemblyGenerator] [ERROR]    в Cpp2IL.Program.Main(String[] args) в C:\Users\Sam\RiderProjects\Cpp2IL\Cpp2IL\Program.cs:строка 359

[15:58:59.891] Loading Mods from 'D:\The Long Dark v2.02 99904\Mods'...
[15:58:59.895] ---------------------------------------------------------
[15:58:59.906] Melon Assembly loaded: '.\Mods\KeyboardUtilities.dll'
[15:58:59.911] SHA256 Hash: 'c1652a5a877ac61c5d62af6b1d70ec0b173fff8315f064919788656c68972202'
[15:58:59.964] Melon Assembly loaded: '.\Mods\SkyCoop.dll'
[15:58:59.968] SHA256 Hash: '633fb6129ca401791c4ad6bab6106a21b4d296ba39558234560c2171960c7af1'
[15:58:59.993] Melon Assembly loaded: '.\Mods\Steamworks.NET.dll'
[15:58:59.998] SHA256 Hash: 'a61778cbce992f1d3ab48577d8c6c1c43778727b6127cdfa8b97eccc353ce6ab'
[15:59:00.015] [ERROR] Failed to load 1 Melon from SkyCoop.dll:
[15:59:00.021] [ERROR] Failed to load Melon 'SkyCoop.MyMod': Failed to create an instance of the Melon.
[15:59:00.115] [ERROR] System.TypeLoadException: Could not load type of field 'SkyCoop.MyMod:playerbody' (15) due to: Could not load file or assembly 'UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. assembly:UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null type:<unknown type> member:(null) signature:<none>

  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00018] in <e1319b7195c343e79b385cd3aa43f5dc>:0 

  at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000a8] in <e1319b7195c343e79b385cd3aa43f5dc>:0 

  at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <e1319b7195c343e79b385cd3aa43f5dc>:0 

  at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <e1319b7195c343e79b385cd3aa43f5dc>:0 

  at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in <e1319b7195c343e79b385cd3aa43f5dc>:0 

  at System.RuntimeType.CreateInstanceImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Threading.StackCrawlMark& stackMark) [0x00213] in <e1319b7195c343e79b385cd3aa43f5dc>:0 

  at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00095] in <e1319b7195c343e79b385cd3aa43f5dc>:0 

  at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture) [0x00000] in <e1319b7195c343e79b385cd3aa43f5dc>:0 

  at MelonLoader.MelonAssembly.LoadMelons () [0x000c4] in <80a94e21ac074902a9d511c653789548>:0 

[15:59:00.145] [WARNING] Some Melons are missing dependencies, which you may have to install.
If these are optional dependencies, mark them as optional using the MelonOptionalDependencies attribute.
This warning will turn into an error and Melons with missing dependencies will not be loaded in the next version of MelonLoader.
- 'KeyboardUtilities' is missing the following dependencies:
    - 'UnityEngine.CoreModule' v3.7.1.6
[15:59:00.156] ------------------------------
[15:59:00.156] KeyboardUtilities v1.3.0
[15:59:00.158] by Sinai, ds5678
[15:59:00.164] Assembly: KeyboardUtilities.dll
[15:59:00.169] ------------------------------
[15:59:00.175] ---------------------------------------------------------
[15:59:00.177] 1 Mod loaded.

[15:59:00.189] [ERROR] No Support Module Loaded!

Client side log

Paste crash between the triple backticks.

Log can be found in game directory "TheLongDark\MelonLoader\Logs", please make sure that you paste CORRECT LOG, every log named with date of session, so please paste log only from session where you exactly had a problem.

If you are host, please ask your friend(s) client(s) that experience probelm send log to you.
Filigrani commented 1 year ago

No help to pirates. Rule number 5.