iRebbok / RemoteKeycard

An SMod & EXILED plugin for SCP: Secret Laboratory keeps door functioning with cards in your inventory
1 stars 4 forks source link

Error Out of Index #11

Closed LegendaryRyan closed 3 years ago

LegendaryRyan commented 3 years ago

Getting this error with the latest version of EXILED. Happening even if this is the only plugin on the server.

This is the latest release, and the latest version of EXILED.

[2021-03-19 00:43:57.914 -05:00] [ERROR] [RemoteKeycard] An exception was thrown during patching, it won't interfere with the overall work of the plugin but affects the activating outsite panel feature. [2021-03-19 00:43:57.924 -05:00] [ERROR] [RemoteKeycard] System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <9577ac7a62ef43179789031239ba8798>:0 at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0
at RemoteKeycard.RemoteKeycard+d__19.MoveNext () [0x00259] in <869b6d76a9e24d039b576cbbb74175a4>:0
at System.Collections.Generic.List1[T]..ctor (System.Collections.Generic.IEnumerable1[T] collection) [0x00077] in <9577ac7a62ef43179789031239ba8798>:0 at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x00018] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at HarmonyLib.CodeTranspiler.GetResult (System.Reflection.Emit.ILGenerator generator, System.Reflection.MethodBase method) [0x00051] in <0dff4ff9ce7a4af99336d09823a08cb2>:0 at HarmonyLib.MethodBodyReader.FinalizeILCodes (HarmonyLib.Emitter emitter, System.Collections.Generic.List1[T] transpilers, System.Collections.Generic.List1[T] endLabels, System.Boolean& hasReturnCode) [0x0014a] in <0dff4ff9ce7a4af99336d09823a08cb2>:0 at HarmonyLib.MethodCopier.Finalize (HarmonyLib.Emitter emitter, System.Collections.Generic.List1[T] endLabels, System.Boolean& hasReturnCode) [0x00000] in <0dff4ff9ce7a4af99336d09823a08cb2>:0
at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary`2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x0021f] in <0dff4ff9ce7a4af99336d09823a08cb2>:0
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <0dff4ff9ce7a4af99336d09823a08cb2>:0
at HarmonyLib.PatchProcessor.Patch () [0x000fc] in <0dff4ff9ce7a4af99336d09823a08cb2>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x00028] in <0dff4ff9ce7a4af99336d09823a08cb2>:0

iRebbok commented 3 years ago

Hey. Could you attach the whole log with that error?

LegendaryRyan commented 3 years ago

LocalAdmin Log 2021-03-19 10.12.55.txt

iRebbok commented 3 years ago

Not clear to me but will take a closer look.

LegendaryRyan commented 3 years ago

I reinstalled the server, plugin seems to work fine now. dunno what that was all about.

iRebbok commented 3 years ago

Aight.

Zenlet commented 3 years ago

This issue still exists for me - using latest remotekeycard-release.