1. As the developer of this plugin which I paid, has left me out to hang and dry and has not responded to any of my messages, I'm forced to put this in the forums. This plugin is supposed to open only the doors that the owner has placed which either has a keylock or codelock. However, the plugin never seems to work. This is the error that I seem to get. Does anyone know what's wrong?
    Code:
    [Oxide] 1:39 AM [Error] Failed to call hook 'CanUseDoor' on plugin 'NoShare v0.1.0' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 1:39 AM [Debug]  at Oxide.Plugins.NoShare.findDoorData (.Door door) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.NoShare.processDoor (.BasePlayer player, .Door door) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.NoShare.CanUseDoor (.BasePlayer player, .BaseLock locks) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.NoShare.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    This is the config:
    Code:
    {
      "Data - Save timer": 10, //Time between data saves, data will be automatically saved if the plugin is unloaded
      "Messages - Entry denied": "Entry Denied, This is not your lock!", //Message to send to players when they try to open a door that is not their own
      "Options - Accept unlocked doors": false, //Option to overlook unlocked doors
      "Options - Minimum auth for admin": 2, //Minimum authlevel required to use the chat command and to open any door
      "Options - Use Codelocks": true, //Will work for codelocks
      "Options - Use Keylocks": true //Will work for keylocks
      "Options - Admin exempt": true //Allows admins to open any door
    }
     
    Last edited by a moderator: Jan 24, 2016
  2. Wulf

    Wulf Community Admin

    From the looks of it, your datafile for the plugin is corrupt. You should be able to delete the file under oxide/data while the plugins is unloaded, then load the plugin again. You can also do this while the server is offline. Without seeing the plugin though, it's hard to tell for sure.
     
  3. Yes. It always comes up null. I have tried several times to do what you have mentioned but the result is always the same. Can I send you the file directly?
     
  4. Wulf

    Wulf Community Admin

    Sure, sent you a PM that you can reply to.