Failed to call hook

I know this was supposedly fixed but I'm seeing it in the latest version:

Failed to call hook 'OnCardSwipe' on plugin 'PuzzlePoints v1.4.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.PuzzlePoints.OnCardSwipe (CardReader cardReader, Keycard card, BasePlayer player) [0x000ad] in <16fd014a510e41cbbad69f20ae4aad6b>:0
at Oxide.Plugins.PuzzlePoints.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001a1] in <16fd014a510e41cbbad69f20ae4aad6b>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <87ce9ac9776a48658bc55eae6debe38b>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b6d06fce9e044af4a6ddc8d724bd3b0b>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b6d06fce9e044af4a6ddc8d724bd3b0b>:0

Im Getting the same thing. If this Plugin is broken it should be removed or prevented from downloading from Umod if the author is no longer supporting it.

Error Message:

04/14 08:29:04 | Failed to call hook 'OnCardSwipe' on plugin 'PuzzlePoints v1.4.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.PuzzlePoints.OnCardSwipe (CardReader cardReader, Keycard card, BasePlayer player) [0x000ad] in <b23f728bb71045c58399d86d42a2f058>:0
at Oxide.Plugins.PuzzlePoints.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001a1] in <b23f728bb71045c58399d86d42a2f058>:0
at Oxide.Plugins.CSharpPlugin.InvokeMeth
Line too long, truncated. Click to show the full text.

Thanks BDTZ.    Thanks for using this plugin for so long!

I'm troubleshooting several issues that have been impacted by the updates.  What I know so far is that the console does not like the way I'm referencing MonumentFinder.  The error I'm getting is MonumentFinder is inaccessible due to its protection level [CS0122].

No timeline yet, and I'm hoping to get it working again soon.  I'll upate here as soon as I figure it out. 

rustonauts @

Thanks BDTZ.    Thanks for using this plugin for so long!

I'm troubleshooting several issues that have been impacted by the updates.  What I know so far is that the console does not like the way I'm referencing MonumentFinder.  The error I'm getting is MonumentFinder is inaccessible due to its protection level [CS0122].

No timeline yet, and I'm hoping to get it working again soon.  I'll upate here as soon as I figure it out. 

Have you reached out to Whitethunder? He's the dev for MonumentFinder and very helpful.

I did, moments ago.  In the meantime, I may just make MonumentFinder optional, and only display the monument details after I figure out this issue.  I'll wait a bit before I rush into that project.

Merged post

Just sent you a working version via discord.  It's not a solution, as the pretty names revert back to shortnames, but it should at least do until I figure it out.

Yes, I received it and put it on my server. I'll keep an eye on the console.

This is complete with version 1.4.6, just updated for download.  Thanks for your patience!

@rustonauts  looks like this came back with the recent FP update

 

Failed to call hook 'OnCardSwipe' on plugin 'PuzzlePoints v1.4.6' (InvalidOperationException: Collection was modified; enumeration operation may not execute.)

at System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () [0x00013] in <b11ba2a8fbf24f219f7cc98532a11304>:0

at System.Collections.Generic.List`1+Enumerator[T].MoveNext () [0x0004a] in <b11ba2a8fbf24f219f7cc98532a11304>:0

at Oxide.Plugins.PuzzlePoints.OnCardSwipe (CardReader cardReader, Keycard card, BasePlayer player) [0x00076] in <ed2fd50c7403433ba850e51351ea8b4d>:0

at Oxide.Plugins.PuzzlePoints.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001a9] in <ed2fd50c7403433ba850e51351ea8b4d>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0