EntityOwner

Moved

Total Downloads: 7,291 - First Release: Jul 23, 2015 - Last Update: Dec 8, 2017

5/5, 25 likes
  1. yeah seems /prod is broken
    Failed to call hook 'cmdProd' on plugin 'EntityOwner v3.1.3' (NullReferenceException: Object reference not set to an instance of an object)
    at Oxide.Plugins.EntityOwner.cmdProd (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.EntityOwner.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
  2. Doesn't work too, Failed to call hook 'cmdProd'
     
  3. Maybe someone can do an update for this plugin ? :(
     
  4. I wish they would............
     
  5. Well, it does seem to work, but not for doors. Think it has something to do with getting the code of a lock or something ?
     
  6. Yes... when I remark out the code below it works but no code.

    Code:
                        //    if (prodKeyCode) {
                        //        if (target is Door) {
                        //            Door door = (Door)target;
                        //            BaseLock baseLock = door.GetSlot(BaseEntity.Slot.Lock) as BaseLock;
                        //            if (baseLock is CodeLock) {
                        //                CodeLock codeLock = (CodeLock)baseLock;
                        //                string keyCode = keyCodeField.GetValue(codeLock).ToString();
                        //                msg += "\n" + string.Format(messages["Code: {0}"], keyCode);
                        //            }
                        //        }
                        //    }
    
    After some simple elimination it seems to be this line causing the issue:

    Code:
    string keyCode = keyCodeField.GetValue(codeLock).ToString();
    I have been trying to figure out why.... maybe the new coding system (public and private codes) has changed the way this works and now it is broke.
     
    Last edited by a moderator: Aug 17, 2017

  7. How to fix this plugin so ?
    It was really complete :/
     
  8. Code:
    [Oxide] 21:46 [Error] Failed to call hook 'cmdProd' on plugin 'EntityOwner v3.1.3' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 21:46 [Stacktrace] at Oxide.Plugins.EntityOwner.cmdProd (.BasePlayer player, System.String command, System.String[] args) [0x00000] in :0 at Oxide.Plugins.EntityOwner.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in :0
     
  9. @Wulf I think this developer @Calytic seems to be missing in action. How long before the mod is declared abandoned and someone else can develop it???

    @Wulf , do you know how to fix this??
     
  10. Wulf

    Wulf Community Admin

    Wulf updated EntityOwner with a new update entry:

    3.1.4

     
  11. Big thanks to @k1lly0u

    This plugin is amazing, big thanks
     
  12. Is there a way we can find out who owns a sleeping bag? I know with the current system we can find out who placed it, but can we find out who has ownership of it?
     
  13. It’d be nice if you’d add the Steam ID’s of the players to the /prod and /prod2 command outputs.
     
  14. Im getting this.

    Code:
    (22:39:35) | Failed to call hook 'ccAuthClean' on plugin 'EntityOwner v3.1.4' (NullReferenceException: Object reference not set to an instance of an object)
    (22:39:35) | at Oxide.Plugins.EntityOwner.SetValue (System.Object inputObject, System.String propertyName, System.Object propertyVal) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EntityOwner.ccAuthClean (.Arg arg) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EntityOwner.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod 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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
    (22:39:40) | Corbae[340064/76561197983952246] has entered the game
     

  15. I also am getting this error. I manually re-upload the cs file, and it works until the server restarts. Then I have to do it each time.
     
  16. Anything about this yet?
     
  17. Still not working after every time my server restarts. Any information about this?
     
  18. Calytic

    Calytic Community Admin Community Mod

    Calytic updated EntityOwner with a new update entry:

    3.1.5

     
  19. This is broken in todays update.
     
  20. Wulf

    Wulf Community Admin

    Errors, details, logs, etc. please.