Jump to content

Swiping a card gives an error

Closed 1.4.1 1.5.0

miniMe_rust
miniMe_rust

Posted (edited)

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
jtedal

Posted

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

jtedal

Posted

Changed Status from Pending to Work in Progress

miniMe_rust

Posted (edited)

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
jtedal

Posted

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
jtedal

Posted

Changed Status from Work in Progress to Closed

Changed Fixed In to 1.5.0

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.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.