Jump to content

Error, Failed to call hook.

Closed 1.4.0 1.4.6

Gt403cyl2
Gt403cyl2

Posted

Been getting this error, haven't seen it happen, but it's in logs.

Failed to call hook 'OnCardSwipe' on plugin 'PuzzlePoints v1.4.0' (InvalidOperationException: Collection was modified; enumeration operation may not execute.)
  at System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () [0x00013] in <47fc8c70fa834cbf8141d7c1a7589125>:0 
  at System.Collections.Generic.List`1+Enumerator[T].MoveNext () [0x0004a] in <47fc8c70fa834cbf8141d7c1a7589125>:0 
  at Oxide.Plugins.PuzzlePoints.OnCardSwipe (CardReader cardReader, Keycard card, BasePlayer player) [0x00066] in <4066498ce6c54db7b44caa4264b8f03f>:0 
  at Oxide.Plugins.PuzzlePoints.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001a1] in <4066498ce6c54db7b44caa4264b8f03f>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e3740cd7ab6f40909737d74eeeaf1a8a>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <032ab7611607468ebf42c14e3cf9df20>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <032ab7611607468ebf42c14e3cf9df20>:0 
20:36

Rustonauts

Posted

working on this now.  update broke it

Rustonauts

Posted

would you mind deleting any data files for puzzlepoints and then reloading it?

Gt403cyl2

Posted

I just deleted the data file and reloaded it.
It's a rare error so will check logs for if it happens again later.

Gt403cyl2

Posted

Still found the error in my logs:

Failed to call hook 'OnCardSwipe' on plugin 'PuzzlePoints v1.4.0' (InvalidOperationException: Collection was modified; enumeration operation may not execute.)
  at System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () [0x00013] in <47fc8c70fa834cbf8141d7c1a7589125>:0 
  at System.Collections.Generic.List`1+Enumerator[T].MoveNext () [0x0004a] in <47fc8c70fa834cbf8141d7c1a7589125>:0 
  at Oxide.Plugins.PuzzlePoints.OnCardSwipe (CardReader cardReader, Keycard card, BasePlayer player) [0x00066] in <ce792f647be648c380f31b4b697800f7>:0 
  at Oxide.Plugins.PuzzlePoints.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x001a1] in <ce792f647be648c380f31b4b697800f7>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cd9a02fd331347bd82d550bb1a9c8e9f>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b76ec77c47d1449e92b2baab8603843d>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b76ec77c47d1449e92b2baab8603843d>:0 

  • Like 1
Rustonauts

Posted

Changed Status from Pending to Closed

Changed Fixed In to 1.4.6

KingSizeKevin

Posted

Can we get this finally resolved once and for all?  Its been an issue for a long time.

 

I deleted the data file , and it worked fine initially, but it seems like it is keeping players session data in the data file waaay too long.  And that is possibly when it is erroring when they try to swipe again?

 

 

1.5m

Downloads

Total number of downloads.

7.1k

Customers

Total customers served.

105.5k

Files Sold

Total number of files sold.

2.1m

Payments Processed

Total payments processed.

×
×
  • 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.