Jump to content

Swiping a card gives an error

Work in Progress 1.4.1

Failed to call hook 'OnCardSwipe' on plugin 'MonumentOwner v1.4.1' (ArgumentException: Value does not fall within the expected range.)
  at Oxide.Plugins.MonumentOwner+ControllerMonument.CanPlayerBecomeOwner (BasePlayer possibleOwner) [0x00216] in :0 
  at Oxide.Plugins.MonumentOwner.OnCardSwipe (CardReader cardReader, Keycard card, BasePlayer player) [0x000d0] in :0 
  at Oxide.Plugins.MonumentOwner.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01271] in :0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0 

 

Edited by miniMe_rust

Share this comment


Link to comment

Thank you for your message. Please tell me if you have any ideas why this happened? As a result of what situation?

Share this comment


Link to comment

Hi jtedal. not quite sure what you're asking. The cause seems quite obvious. From user side a card was swiped, and then management console the depicted error message showed up. Overall function seemed to be unaffected at that time, as the player could continue on the monument and loot it. Tbh I don't remember whether the lock worked. I can't hint you to what in the plugin caused the problem - you're the author and should know that. Besides that I believe your plugin has more pressing problems, but for that I will make a new post. In my eyes this ticket can be closed.

Edited by miniMe_rust
edit

Share this comment


Link to comment

Thanks for the reply. In fact, this is important and I will not close the ticket yet because I am developing a new global version of this plugin. There are many flaws in it that cause similar problems, so I want to make it better and I will take into account all the requests of my clients when writing a new version

  • Like 1

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

83.6k

Files Sold

Total number of files sold.

1.6m

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.