Jump to content

Stopped working after Rust update today

Pending 2.2.4

BellaaGaming
BellaaGaming

Posted

The plugin was working fine after wipe/update yesterday. After the forced update today, it stopped working on my server. 

0xF

Posted

Just restart the server with verifing the game files, it will help

Jayson

Posted

Same
Plugin will not load even after a restart
Get this in console:

AdminMap was compiled successfully in 4646ms
ExType: HarmonyException
Failed to initialize plugin 'AdminMap v2.2.4' (TypeLoadException: Could not resolve type with token 010001d3 from typeref (expected class 'ProtoBuf.PerformanceReport' in assembly 'Rust.Data, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'))
  at (wrapper managed-to-native) System.Reflection.MonoMethodInfo.get_method_info(intptr,System.Reflection.MonoMethodInfo&)
  at System.Reflection.MonoMethodInfo.GetMethodInfo (System.IntPtr handle) [0x00000] in <f98723dd4586469db5213ec59da723ca>:0 
  at System.Reflection.MonoMethodInfo.GetDeclaringType (System.IntPtr handle) [0x00000] in <f98723dd4586469db5213ec59da723ca>:0 
  at System.Reflection.RuntimeMethodInfo.get_DeclaringType () [0x00000] in <f98723dd4586469db5213ec59da723ca>:0 
  at MonoMod.Utils.Extensions.Is (Mono.Cecil.MemberReference mref, System.Reflection.MemberInfo minfo) [0x0008f] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 
  at MonoMod.Utils.ReflectionHelper+<>c__DisplayClass20_0.<_ResolveReflection>b__23 (System.Reflection.MethodBase m) [0x00000] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 
  at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0003f] in <8b0c76c7efa244bc95eeee75bf1314cd>:0 
  at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <8b0c76c7efa244bc95eeee75bf1314cd>:0 
  at MonoMod.Utils.ReflectionHelper._ResolveReflection (Mono.Cecil.MemberReference mref, System.Reflection.Module[] modules) [0x008fc] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 
  at MonoMod.Utils.ReflectionHelper.ResolveReflection (Mono.Cecil.MemberReference mref) [0x00000] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 
  at MonoMod.Utils._DMDEmit.Generate (MonoMod.Utils.DynamicMethodDefinition dmd, System.Reflection.MethodBase _mb, System.Reflection.Emit.ILGenerator il) [0x005f2] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 
  at MonoMod.Utils.DMDEmitDynamicMethodGenerator.GenerateCore (MonoMod.Utils.DynamicMethodDefinition dmd, System.Object context) [0x00342] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 
  at MonoMod.Utils.DMDGenerator`1[TSelf].Generate (MonoMod.Utils.DynamicMethodDefinition dmd, System.Object context) [0x00013] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 
  at MonoMod.Utils.DynamicMethodDefinition.Generate (System.Object context) [0x00149] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 
  at MonoMod.Utils.DynamicMethodDefinition.Generate () [0x00000] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 
  at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary`2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x006a4] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 
  at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00059] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 
  at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000be] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 
Unloaded plugin AdminMap v2.2.4 by 0xF // dsc.gg/0xf-plugins

Rackstreams

Posted

1 hour ago, Jayson said:

Same
Plugin will not load even after a restart
Get this in console:

AdminMap was compiled successfully in 4646ms
ExType: HarmonyException
Failed to initialize plugin 'AdminMap v2.2.4' (TypeLoadException: Could not resolve type with token 010001d3 from typeref (expected class 'ProtoBuf.PerformanceReport' in assembly 'Rust.Data, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'))
  at (wrapper managed-to-native) System.Reflection.MonoMethodInfo.get_method_info(intptr,System.Reflection.MonoMethodInfo&)
  at System.Reflection.MonoMethodInfo.GetMethodInfo (System.IntPtr handle) [0x00000] in <f98723dd4586469db5213ec59da723ca>:0 
  at System.Reflection.MonoMethodInfo.GetDeclaringType (System.IntPtr handle) [0x00000] in <f98723dd4586469db5213ec59da723ca>:0 
  at System.Reflection.RuntimeMethodInfo.get_DeclaringType () [0x00000] in <f98723dd4586469db5213ec59da723ca>:0 
  at MonoMod.Utils.Extensions.Is (Mono.Cecil.MemberReference mref, System.Reflection.MemberInfo minfo) [0x0008f] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 
  at MonoMod.Utils.ReflectionHelper+<>c__DisplayClass20_0.<_ResolveReflection>b__23 (System.Reflection.MethodBase m) [0x00000] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 
  at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0003f] in <8b0c76c7efa244bc95eeee75bf1314cd>:0 
  at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <8b0c76c7efa244bc95eeee75bf1314cd>:0 
  at MonoMod.Utils.ReflectionHelper._ResolveReflection (Mono.Cecil.MemberReference mref, System.Reflection.Module[] modules) [0x008fc] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 
  at MonoMod.Utils.ReflectionHelper.ResolveReflection (Mono.Cecil.MemberReference mref) [0x00000] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 
  at MonoMod.Utils._DMDEmit.Generate (MonoMod.Utils.DynamicMethodDefinition dmd, System.Reflection.MethodBase _mb, System.Reflection.Emit.ILGenerator il) [0x005f2] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 
  at MonoMod.Utils.DMDEmitDynamicMethodGenerator.GenerateCore (MonoMod.Utils.DynamicMethodDefinition dmd, System.Object context) [0x00342] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 
  at MonoMod.Utils.DMDGenerator`1[TSelf].Generate (MonoMod.Utils.DynamicMethodDefinition dmd, System.Object context) [0x00013] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 
  at MonoMod.Utils.DynamicMethodDefinition.Generate (System.Object context) [0x00149] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 
  at MonoMod.Utils.DynamicMethodDefinition.Generate () [0x00000] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 
  at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary`2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x006a4] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 
  at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00059] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 
  at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000be] in <6c906b4f1de440f3a86cb0ebb3f48ea6>:0 
Unloaded plugin AdminMap v2.2.4 by 0xF // dsc.gg/0xf-plugins

I'm going to try dropping it in a AI with the error and see if it can give me a fix for it. I generated my own temp ESP mod until there is a fix for this. 

bigchenny

Posted

add that line 

if (player == null || !player.IsConnected) return;

there

public void RestoreTeam()
{
    BasePlayer player = this.Player;
    if (player == null || !player.IsConnected) return;  // ← ajout
    if (player.currentTeam != 0UL)
        player.TeamUpdate();
    else
        player.ClientRPC(RpcTarget.PlayerAndSpectators("CLIENT_ClearTeam", player));
}

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.5m
Total downloads
Customers
11.1k
Customers served
Files Sold
159k
Marketplace sales
Payments
3.4m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.