Skip to content

Mod Crashes on "Connect to AP" on Linux #5

@G4PLS

Description

@G4PLS

The UI loads but on startup you get this error:

[Error  :   BepInEx] Error loading [Hacknet Archipelago Client 0.6.2]: HarmonyLib.Harmon
yException: IL Compile Error (unknown location) ---> HarmonyLib.HarmonyException: IL Com
pile Error (unknown location) ---> System.InvalidProgramException: Invalid IL code in (w
rapper dynamic-method) Hacknet.MissionHubServer:DMD<Hacknet.MissionHubServer::doContract
PreviewScreen> (Hacknet.MissionHubServer,Microsoft.Xna.Framework.Rectangle,Microsoft.Xna
.Framework.Graphics.SpriteBatch): IL_0286: stloc.0


  at (wrapper managed-to-native) System.RuntimeMethodHandle.GetFunctionPointer(intptr)
  at System.RuntimeMethodHandle.GetFunctionPointer () [0x00000] in <94942505ad4c4982af4d
b0763017d52e>:0
  at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.GetFunctionPointer (System.
Reflection.MethodBase method, System.RuntimeMethodHandle handle) [0x00000] in <4beead04a
ffa4898a3516e434c871339>:0
  at MonoMod.RuntimeDetour.Platforms.DetourRuntimeILPlatform.GetNativeStart (System.Refl
ection.MethodBase method) [0x00019] in <4beead04affa4898a3516e434c871339>:0
  at MonoMod.RuntimeDetour.DetourHelper.GetNativeStart (System.Reflection.MethodBase met
hod) [0x00005] in <4beead04affa4898a3516e434c871339>:0
  at MonoMod.RuntimeDetour.Detour._TopApply () [0x00025] in <4beead04affa4898a3516e434c8
71339>:0
  at MonoMod.RuntimeDetour.Detour._RefreshChain (System.Reflection.MethodBase method) [0
x00151] in <4beead04affa4898a3516e434c871339>:0
  at MonoMod.RuntimeDetour.Detour.Apply () [0x00053] in <4beead04affa4898a3516e434c87133
9>:0
  at MonoMod.RuntimeDetour.Detour..ctor (System.Reflection.MethodBase from, System.Refle
ction.MethodBase to, MonoMod.RuntimeDetour.DetourConfig& config) [0x002ec] in <4beead04a
ffa4898a3516e434c871339>:0
  at (wrapper dynamic-method) MonoMod.RuntimeDetour.ILHook+Context.DMD<MonoMod.RuntimeDe
tour.ILHook+Context::Refresh>(MonoMod.RuntimeDetour.ILHook/Context)
  at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Trampoline<MonoMod.R
untimeDetour.ILHook+Context::Refresh>?334257475(object)
  at HarmonyLib.Internal.RuntimeFixes.StackTraceFixes.OnILChainRefresh (System.Object se
lf) [0x00000] in <6a76ca31c4a341c784e66278380f6082>:0
  at MonoMod.RuntimeDetour.ILHook.Apply () [0x00059] in <4beead04affa4898a3516e434c87133
9>:0
  at HarmonyLib.Public.Patching.ManagedMethodPatcher.DetourTo (System.Reflection.MethodB
ase replacement) [0x00047] in <6a76ca31c4a341c784e66278380f6082>:0
   --- End of inner exception stack trace ---
  at HarmonyLib.Public.Patching.ManagedMethodPatcher.DetourTo (System.Reflection.MethodB
ase replacement) [0x0005f] in <6a76ca31c4a341c784e66278380f6082>:0
  at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, Har
monyLib.PatchInfo patchInfo) [0x00033] in <6a76ca31c4a341c784e66278380f6082>:0
   --- End of inner exception stack trace ---
  at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.
Reflection.MethodBase original) [0x00045] in <6a76ca31c4a341c784e66278380f6082>:0
  at HarmonyLib.PatchClassProcessor.Patch () [0x00084] in <6a76ca31c4a341c784e66278380f6
082>:0
  at HarmonyLib.Harmony.<PatchAll>b__11_0 (System.Type type) [0x00007] in <6a76ca31c4a34
1c784e66278380f6082>:0
  at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T]
sequence, System.Action`1[T] action) [0x00014] in <6a76ca31c4a341c784e66278380f6082>:0
  at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <6a7
6ca31c4a341c784e66278380f6082>:0
  at HacknetArchipelago.HacknetAPCore.Load () [0x00026] in <70d9420da89b47e9a3d422c0a292
aa83>:0
  at (wrapper dynamic-method) BepInEx.Hacknet.HacknetChainloader.DMD<BepInEx.Hacknet.Hac
knetChainloader::LoadPlugin>(BepInEx.Hacknet.HacknetChainloader,BepInEx.PluginInfo,Syste
m.Reflection.Assembly)
  at BepInEx.Bootstrap.BaseChainloader`1[TPlugin].Execute () [0x00222] in <457a6528dc1d4
381a836b8ff96344719>:0

I cant enter the Port for Archipelago and when I click on "Connect" it just crashes with this:

Image

Is this related to #3 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions