Filigrani / SkyCoop

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

Access to the path "Plugins\AutoUpdatingPlugin.dll" is denied #36

Closed RADIALTHRONE1 closed 1 year ago

RADIALTHRONE1 commented 1 year ago

Mod Version: v10.4 Game Version: v2.02 (99904) Launcher: Steam Additional mods installed: Yes Perspective: Host

Description

Mod seems to not like it if you already have the "AutoUpdatingPlugin.dll" present in the plugins folder upon startup without also having "AudioCore.dll" and "AudioCoreData.tpk"

Logs

Host side log

[20:49:19.384] ------------------------------
[20:49:19.385] MelonLoader v0.5.5 Open-Beta
[20:49:19.386] OS: Windows 10
[20:49:19.387] Hash Code: 57545710048555350515452101521025297995653101559949575755515399509950
[20:49:19.387] ------------------------------
[20:49:19.388] Game Type: Il2Cpp
[20:49:19.389] Game Arch: x64
[20:49:19.390] ------------------------------
[20:49:19.391] Core::BasePath = T:\SteamLibrary\steamapps\common\TheLongDark
[20:49:19.391] Game::BasePath = T:\SteamLibrary\steamapps\common\TheLongDark
[20:49:19.392] Game::DataPath = T:\SteamLibrary\steamapps\common\TheLongDark\tld_Data
[20:49:19.393] Game::ApplicationPath = T:\SteamLibrary\steamapps\common\TheLongDark\tld.exe

[20:49:20.450] ------------------------------
[20:49:20.451] Game Name: TheLongDark
[20:49:20.451] Game Developer: Hinterland
[20:49:20.455] Unity Version: 2019.4.34f1
[20:49:20.455] Game Version: 2.02
[20:49:20.456] ------------------------------
[20:49:20.788] Preferences Loaded!
[20:49:20.794] [Il2CppUnityTls] Patching mono_unity_get_unitytls_interface...
[20:49:20.795] [Il2CppUnityTls] Patching il2cpp_unity_install_unitytls_interface...
[20:49:21.046] [Il2CppUnityTls] Calling Il2CppInstallUnityTlsInterface...

[20:49:21.106] Loading Plugins from 'T:\SteamLibrary\steamapps\common\TheLongDark\Plugins'...
[20:49:21.107] -------------------------------------------------------------------------------
[20:49:21.115] Melon Assembly loaded: '.\Plugins\AutoUpdatingPlugin.dll'
[20:49:21.115] SHA256 Hash: 'f9b7149de2361dc0b515f01563c5212b2343ebdca11d03924957b2ecad9c589b'

[20:49:21.169] ------------------------------
[20:49:21.170] AutoUpdatingPlugin v1.2.0
[20:49:21.171] by ds5678
[20:49:21.173] Assembly: AutoUpdatingPlugin.dll
[20:49:21.175] ------------------------------
[20:49:21.176] -------------------------------------------------------------------------------
[20:49:21.177] 1 Plugin loaded.

[20:49:21.689] [AutoUpdatingPlugin] Fetching updater version data...
[20:49:21.694] [AutoUpdatingPlugin] Attempting to get version information from the repository...
[20:49:21.890] [AutoUpdatingPlugin] Downloaded from the repository. Attempting to parse data...
[20:49:21.897] [AutoUpdatingPlugin] The Auto Updating Plugin (1.2.0) is up-to-date.
[20:49:21.899] [AutoUpdatingPlugin] Fetching remote mods...
[20:49:21.900] [AutoUpdatingPlugin] Attempting to download from API site...
[20:49:23.993] [AutoUpdatingPlugin] Downloaded from API site. Attempting to parse data...
[20:49:24.003] [AutoUpdatingPlugin] Automatic updating for FoxCompanion has been disabled by the mod author.
[20:49:24.004] [AutoUpdatingPlugin] Automatic updating for AudioCore Plugin has been disabled by the mod author.
[20:49:24.005] [AutoUpdatingPlugin] Automatic updating for Candlelight has been disabled by the mod author.
[20:49:24.006] [AutoUpdatingPlugin] Automatic updating for CookWhileFishing has been disabled due to having no valid download links.
[20:49:24.008] [AutoUpdatingPlugin] Automatic updating for ExtraHotkeys has been disabled due to having no valid download links.
[20:49:24.009] [AutoUpdatingPlugin] Automatic updating for MovableContainers has been disabled due to having no valid download links.
[20:49:24.011] [AutoUpdatingPlugin] Automatic updating for PlaceFromInventory has been disabled due to having no valid download links.
[20:49:24.012] [AutoUpdatingPlugin] Automatic updating for SaveAnywhere has been disabled due to having no valid download links.
[20:49:24.016] [AutoUpdatingPlugin] Automatic updating for Agriculture has been disabled by the mod author.
[20:49:24.017] [AutoUpdatingPlugin] Automatic updating for Bedtime-Stories has been disabled by the mod author.
[20:49:24.018] [AutoUpdatingPlugin] Automatic updating for NewWorldFoods has been disabled by the mod author.
[20:49:24.020] [AutoUpdatingPlugin] Automatic updating for StoneTools has been disabled by the mod author.
[20:49:24.021] [AutoUpdatingPlugin] Automatic updating for Wall_Interior has been disabled by the mod author.
[20:49:24.022] [AutoUpdatingPlugin] Automatic updating for HowToSurviveBook has been disabled due to having no valid download links.
[20:49:24.023] [AutoUpdatingPlugin] Automatic updating for DiyBySantana has been disabled by the mod author.
[20:49:24.024] [AutoUpdatingPlugin] Automatic updating for ItemPiles has been disabled by the mod author.
[20:49:24.026] [AutoUpdatingPlugin] Automatic updating for Vehicle Mod has been disabled due to having no valid download links.
[20:49:24.027] [AutoUpdatingPlugin] Automatic updating for Home-Made Soup Redux has been disabled due to having no valid download links.
[20:49:24.030] [AutoUpdatingPlugin] Automatic updating for Always Rest Maximum has been disabled due to having no valid download links.
[20:49:24.031] [AutoUpdatingPlugin] Automatic updating for Opguns has been disabled by the mod author.
[20:49:24.032] [AutoUpdatingPlugin] API returned 169 mods, including 149 supported mods.
[20:49:24.033] [AutoUpdatingPlugin] Scanning for installed mods...
[20:49:24.078] [AutoUpdatingPlugin] Failed to read modcomponent file T:\SteamLibrary\steamapps\common\TheLongDark\Mods\SkyCoop.modcomponent: MelonLoader.ICSharpCode.SharpZipLib.Zip.ZipException: Wrong Local header signature: 0x21726152

  at MelonLoader.ICSharpCode.SharpZipLib.Zip.ZipInputStream.GetNextEntry () [0x000a0] in <80a94e21ac074902a9d511c653789548>:0 

  at (wrapper remoting-invoke-with-check) MelonLoader.ICSharpCode.SharpZipLib.Zip.ZipInputStream.GetNextEntry()

  at AutoUpdatingPlugin.InternalZipInspector.InspectZipFile (System.String zipFilePath) [0x00099] in <f7fef12e7b0a47848d2cace507b4df02>:0 

  at AutoUpdatingPlugin.ModComponentScanner.ScanForModComponentFiles () [0x00071] in <f7fef12e7b0a47848d2cace507b4df02>:0 
[20:49:24.079] [AutoUpdatingPlugin] Found 18 unique non-dev mods installed
[20:49:24.080] [AutoUpdatingPlugin] Generating an intersection of installed mods and the supported api...
[20:49:24.081] [AutoUpdatingPlugin] [WARNING] There is no associated API entry for 'SaveAnywhere'
[20:49:24.082] [AutoUpdatingPlugin] Found 17 supported mods installed.
[20:49:24.084] [AutoUpdatingPlugin] Checking for outdated mods...
[20:49:24.085] [AutoUpdatingPlugin] Found 0 outdated mods.
[20:49:24.087] [AutoUpdatingPlugin] All installed mods are already up to date !
[20:49:24.088] [AutoUpdatingPlugin] Checking for missing dependencies...
[20:49:24.090] [AutoUpdatingPlugin] Found 0 missing dependencies.

[20:49:27.952] [MelonStartScreen] Initializing...
[20:49:27.994] [MelonStartScreen] Using Start Screen Theme: "Default"
[20:49:29.502] Loading Il2CppAssemblyGenerator...
[20:49:29.517] [Il2CppAssemblyGenerator] Contacting RemoteAPI...
[20:49:29.838] [Il2CppAssemblyGenerator] RemoteAPI.DumperVersion = null
[20:49:29.839] [Il2CppAssemblyGenerator] RemoteAPI.UnhollowerVersion = null
[20:49:29.840] [Il2CppAssemblyGenerator] RemoteAPI.ObfuscationRegex = null
[20:49:29.841] [Il2CppAssemblyGenerator] RemoteAPI.MappingURL = null
[20:49:29.843] [Il2CppAssemblyGenerator] RemoteAPI.MappingFileSHA512 = null
[20:49:29.845] [Il2CppAssemblyGenerator] Using Dumper Version: 2022.1.0-pre-release.7
[20:49:29.847] [Il2CppAssemblyGenerator] Using Il2CppAssemblyUnhollower Version = 0.4.18.0
[20:49:29.848] [Il2CppAssemblyGenerator] Using Unity Dependencies Version = 2019.4.34
[20:49:29.850] [Il2CppAssemblyGenerator] Using Deobfuscation Regex = null
[20:49:29.851] [Il2CppAssemblyGenerator] Cpp2IL is up to date.
[20:49:29.852] [Il2CppAssemblyGenerator] Il2CppAssemblyUnhollower is up to date.
[20:49:29.854] [Il2CppAssemblyGenerator] UnityDependencies is up to date.
[20:49:29.855] [Il2CppAssemblyGenerator] Checking GameAssembly...
[20:49:30.680] [Il2CppAssemblyGenerator] Assembly is up to date. No Generation Needed.

[20:49:30.712] Loading Mods from 'T:\SteamLibrary\steamapps\common\TheLongDark\Mods'...
[20:49:30.713] -------------------------------------------------------------------------
[20:49:30.718] Melon Assembly loaded: '.\Mods\CacheControl_1.5.dll'
[20:49:30.720] SHA256 Hash: 'a318455dc616dc8e9fa532439d9698ac7303b35189b671c9c38ceae539a708ce'
[20:49:30.724] Melon Assembly loaded: '.\Mods\ChooseStartingGear_1.2.2.dll'
[20:49:30.725] SHA256 Hash: 'f85e632a8c5565ad5c333035b8fd005feb7b026e90e958d48a5811e65ef72f25'
[20:49:30.728] Melon Assembly loaded: '.\Mods\CraftingRevisions.dll'
[20:49:30.729] SHA256 Hash: 'a35658c67f9f48c59efc0ca921c0a6294e6a6917b5886179c47f9b0e391171a4'
[20:49:30.732] Melon Assembly loaded: '.\Mods\EnableFeatProgressInCustomMode_1.2.dll'
[20:49:30.733] SHA256 Hash: '9ed588f50d5efdbf3f3cbd3b701aba6751df8564dba7094f5e4b5632b0d56349'
[20:49:30.736] Melon Assembly loaded: '.\Mods\FasterSearching_1.1.dll'
[20:49:30.737] SHA256 Hash: '8b2c14f9c9afd6e0af76e2c1ed0fa461cf9eb857eb578da52c5bd1eeb4972670'
[20:49:30.740] Melon Assembly loaded: '.\Mods\GearSpawner.dll'
[20:49:30.742] SHA256 Hash: 'f2265a2495345d8e20572765c6d1afe1837c39756b4b22426c70e93a77364a34'
[20:49:30.745] Melon Assembly loaded: '.\Mods\IncreaseSaveSlotLimit.dll'
[20:49:30.746] SHA256 Hash: '90130acb003a766414a0f379beeccaa4f2d8cc215d98725011f58024ceae27df'
[20:49:30.749] Melon Assembly loaded: '.\Mods\KeyboardUtilities.dll'
[20:49:30.750] SHA256 Hash: 'c1652a5a877ac61c5d62af6b1d70ec0b173fff8315f064919788656c68972202'
[20:49:30.753] Melon Assembly loaded: '.\Mods\LocalizationUtilities.dll'
[20:49:30.754] SHA256 Hash: '27cd621317faf8a69faf93614b8b75d1101aabb506e57dad43bc16a4d01faebd'
[20:49:30.759] Melon Assembly loaded: '.\Mods\ModComponent.dll'
[20:49:30.760] SHA256 Hash: 'ed944cd76c0ebbf8f7ecf733c964de5f40b7db9556efe2fea0a59093a324d612'
[20:49:30.764] Melon Assembly loaded: '.\Mods\ModSettings_1.8.2.dll'
[20:49:30.765] SHA256 Hash: '129b32511931a6403a6d3b3b76375f1f45c22b371aa024b070a187df079aca2d'
[20:49:30.768] Melon Assembly loaded: '.\Mods\QuickWitted.dll'
[20:49:30.769] SHA256 Hash: '0077de93a5a391b81020032f9246811ef51ffcba47f1c32ea6f2eca94aae5b33'
[20:49:30.771] Melon Assembly loaded: '.\Mods\RandomMainMenu_2.1.dll'
[20:49:30.773] SHA256 Hash: 'cf227a9ec93847126cde5219f46501eed2e8f26128e3132b2dfc4c4e8ebbff6f'
[20:49:30.777] Melon Assembly loaded: '.\Mods\RelativeConsumptionTime_2.0.0.dll'
[20:49:30.778] SHA256 Hash: 'ad8ddf83dfc166f29ca5398660ebbf3f3c0f06239ea605e2d11abe5cd4621fe2'
[20:49:30.781] Melon Assembly loaded: '.\Mods\SaveAnywhere.dll'
[20:49:30.783] SHA256 Hash: '172502b1a4501a6084429adfc6be8229338a620ca660941b802087d4d5cf7a61'
[20:49:30.786] Melon Assembly loaded: '.\Mods\Show-Map-Location_4.1.0.1.dll'
[20:49:30.787] SHA256 Hash: 'bd59051abd96f5cbbd70256e125fb9fb4f499ac88b9b69c59be54d390bfbea91'
[20:49:30.789] Melon Assembly loaded: '.\Mods\SkipIntroRedux.dll'
[20:49:30.790] SHA256 Hash: '64804c70581b59006abff4f568495d28696d5f963af26168cc5e2bffe2b46f6f'
[20:49:30.816] Melon Assembly loaded: '.\Mods\SkyCoop.dll'
[20:49:30.818] SHA256 Hash: '633fb6129ca401791c4ad6bab6106a21b4d296ba39558234560c2171960c7af1'
[20:49:30.838] Melon Assembly loaded: '.\Mods\Steamworks.NET.dll'
[20:49:30.839] SHA256 Hash: 'a61778cbce992f1d3ab48577d8c6c1c43778727b6127cdfa8b97eccc353ce6ab'
[20:49:30.970] [WARNING] ==Normal users can ignore this warning==
Melon 'Show-Map-Location' by 'Wulf Marius, ds5678, stmSantana' has version '4.1.0.1' which does not use the Semantic Versioning format. Versions using formats other than the Semantic Versioning format will not be supported in the future versions of MelonLoader.
For more details, see: https://semver.org

[20:49:31.019] ------------------------------
[20:49:31.020] CacheControl v1.5.0
[20:49:31.022] by zeobviouslyfakeacc
[20:49:31.023] Assembly: CacheControl_1.5.dll
[20:49:31.024] ------------------------------
[20:49:31.025] ------------------------------
[20:49:31.025] ChooseStartingGear v1.2.2
[20:49:31.027] by GruffCassquatch
[20:49:31.028] Assembly: ChooseStartingGear_1.2.2.dll
[20:49:31.029] ------------------------------
[20:49:31.031] ------------------------------
[20:49:31.031] CraftingRevisions v1.0.1
[20:49:31.032] by ds5678
[20:49:31.033] Assembly: CraftingRevisions.dll
[20:49:31.034] ------------------------------
[20:49:31.035] ------------------------------
[20:49:31.035] EnableFeatProgressInCustomMode v1.2.0
[20:49:31.038] by zeobviouslyfakeacc
[20:49:31.039] Assembly: EnableFeatProgressInCustomMode_1.2.dll
[20:49:31.040] ------------------------------
[20:49:31.041] ------------------------------
[20:49:31.042] FasterSearching v1.1.0
[20:49:31.043] by MikeyPdog, zeobviouslyfakeacc
[20:49:31.044] Assembly: FasterSearching_1.1.dll
[20:49:31.045] ------------------------------
[20:49:31.046] ------------------------------
[20:49:31.046] GearSpawner v1.0.1
[20:49:31.047] by ds5678
[20:49:31.048] Assembly: GearSpawner.dll
[20:49:31.049] ------------------------------
[20:49:31.050] ------------------------------
[20:49:31.050] IncreaseSaveSlotLimit v1.1.0
[20:49:31.051] by zeobviouslyfake, ds5678
[20:49:31.054] Assembly: IncreaseSaveSlotLimit.dll
[20:49:31.055] ------------------------------
[20:49:31.056] ------------------------------
[20:49:31.057] KeyboardUtilities v1.3.0
[20:49:31.057] by Sinai, ds5678
[20:49:31.059] Assembly: KeyboardUtilities.dll
[20:49:31.060] ------------------------------
[20:49:31.061] ------------------------------
[20:49:31.061] LocalizationUtilities v1.0.0
[20:49:31.062] by ds5678
[20:49:31.064] Assembly: LocalizationUtilities.dll
[20:49:31.065] ------------------------------
[20:49:31.066] ------------------------------
[20:49:31.066] ModComponent v5.1.4
[20:49:31.067] by ds5678
[20:49:31.070] Assembly: ModComponent.dll
[20:49:31.071] ------------------------------
[20:49:31.072] ------------------------------
[20:49:31.073] ModSettings v1.8.2
[20:49:31.073] by zeobviouslyfakeacc
[20:49:31.075] Assembly: ModSettings_1.8.2.dll
[20:49:31.076] ------------------------------
[20:49:31.077] ------------------------------
[20:49:31.078] QuickWitted v2.0.0
[20:49:31.079] by felipeds, ds5678
[20:49:31.080] Assembly: QuickWitted.dll
[20:49:31.081] ------------------------------
[20:49:31.082] ------------------------------
[20:49:31.082] Random main Menu v2.1.0
[20:49:31.084] by Xpazeman
[20:49:31.086] Assembly: RandomMainMenu_2.1.dll
[20:49:31.087] ------------------------------
[20:49:31.088] ------------------------------
[20:49:31.088] RelativeConsumptionTime v2.0.0
[20:49:31.089] by Remodor
[20:49:31.091] Assembly: RelativeConsumptionTime_2.0.0.dll
[20:49:31.091] ------------------------------
[20:49:31.093] ------------------------------
[20:49:31.093] SaveAnywhere v1.3.0
[20:49:31.095] by zorgesho
[20:49:31.096] Assembly: SaveAnywhere.dll
[20:49:31.097] ------------------------------
[20:49:31.098] ------------------------------
[20:49:31.098] Show-Map-Location v4.1.0.1
[20:49:31.101] by Wulf Marius, ds5678, stmSantana
[20:49:31.102] Assembly: Show-Map-Location_4.1.0.1.dll
[20:49:31.103] ------------------------------
[20:49:31.104] ------------------------------
[20:49:31.104] SkipIntroRedux v2.2.0
[20:49:31.105] by AlexTheRegent, ds5678
[20:49:31.106] Assembly: SkipIntroRedux.dll
[20:49:31.107] ------------------------------
[20:49:31.108] ------------------------------
[20:49:31.109] Sky Co-op v0.10.4
[20:49:31.110] by Filigrani
[20:49:31.112] Assembly: SkyCoop.dll
[20:49:31.113] ------------------------------
[20:49:31.113] -------------------------------------------------------------------------
[20:49:31.114] 18 Mods loaded.

[20:49:33.905] [Sky_Co-op] [Plugins] Checking plugins...
[20:49:33.906] [Sky_Co-op] [Plugins] There no AudioCore.dll
[20:49:33.908] [Sky_Co-op] [Plugins] There no AudioCoreData.tpk
[20:49:33.909] [Sky_Co-op] [Plugins] Some plugins are missing, removing current installed ones for safe replace of them
[20:49:33.911] [Sky_Co-op] [ERROR] System.UnauthorizedAccessException: Access to the path "Plugins\AutoUpdatingPlugin.dll" is denied.
  at System.IO.File.Delete (System.String path) [0x00073] in <e1319b7195c343e79b385cd3aa43f5dc>:0 

  at SkyCoop.MyMod.CheckPlugins () [0x000c0] in <2edeae9df83f46db902c898476189553>:0 

  at SkyCoop.MyMod.OnApplicationStart () [0x00001] in <2edeae9df83f46db902c898476189553>:0 

  at MelonLoader.MelonEvent+<>c.<Invoke>b__1_0 (MelonLoader.LemonAction x) [0x00000] in <80a94e21ac074902a9d511c653789548>:0 

  at MelonLoader.MelonEventBase`1[T].Invoke (System.Action`1[T] delegateInvoker) [0x00018] in <80a94e21ac074902a9d511c653789548>:0 

MelonLoader_22-10-19_20-49-19.378.log

Filigrani commented 1 year ago

Yep, there another person reported about this before, https://github.com/Filigrani/SkyCoop/issues/26 but this not fixed yet, so you can check that link for more detailed explanation. Or shortly, delete Plugins folder and mod will restore it automaticly.

Filigrani commented 1 year ago

But still, thanks for help!