Skip to content

Openmod not loading in #843

@peterferenc

Description

@peterferenc

So I installed OpenMod, but after server loads, I can't use any openmod commands like openmod upgrade or openmod reload. The only thing I found in the logs related was this:
[2024-10-24 18:11:24] Unable to resolve type "HarmonySharedState" for [2024-10-24 18:11:25] Caught exception while initializing module "OpenMod.Unturned" entry point "BootstrapperModule": [2024-10-24 18:11:25] Patching exception in method System.Void SDG.Unturned.Provider::onApplicationQuitting() [2024-10-24 18:11:25] at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0013c] in <2a636e9f47714948917da90a7413bd98>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x000a0] in <2a636e9f47714948917da90a7413bd98>:0 at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <2a636e9f47714948917da90a7413bd98>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <2a636e9f47714948917da90a7413bd98>:0 at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <2a636e9f47714948917da90a7413bd98>:0 at OpenMod.Unturned.Module.Shared.OpenModSharedUnturnedModule.Initialize (System.Boolean isDynamicLoad) [0x0007f] in /_/unturned/OpenMod.Unturned.Module.Shared/OpenModSharedUnturnedModule.cs:54 at OpenMod.Unturned.Module.OpenModUnturnedModule.initialize () [0x0000b] in /_/unturned/OpenMod.Unturned.Module/OpenModUnturnedModule.cs:21 at OpenMod.Unturned.Module.Bootstrapper.BootstrapperModule.initialize () [0x00282] in /_/unturned/OpenMod.Unturned.Module.Bootstrapper/BootstrapperModule.cs:111 at SDG.Framework.Modules.Module.initialize () [0x00066] in <7553df1001e1444cbf2b0ddeaae437ad>:0 [2024-10-24 18:11:25] The method or operation is not implemented. [2024-10-24 18:11:25] at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00094] in <2a636e9f47714948917da90a7413bd98>:0 at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs1+Job[T] job) [0x000be] in <2a636e9f47714948917da90a7413bd98>:0
[2024-10-24 18:11:25] Initialized module "OpenMod.Unturned"
[2024-10-24 18:11:25] Rocket Unturned v4.9.3.17 for Unturned v3.24.6.1
[2024-10-24 18:11:25] Initialized module "Rocket.Unturned"`

I don't have any idea what I'm doing wrong, so any help is appreciated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions