Vanish

Allows players with permission to become truly invisible

Total Downloads: 22,657 - First Release: Nov 3, 2015 - Last Update: Jan 9, 2018

5/5, 75 likes
  1. Wulf

    Wulf Community Admin

    I messaged you a bit ago, but no reply @ Slack. ;)
     
  2. haha! im useless! Just pinged ya back!
     
  3. Code:
    [Oxide] 1:56 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)
    [Oxide] 1:56 PM [Debug]   at Oxide.Plugins.Vanish.IsInvisible (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Vanish.CanNetworkTo (.BaseNetworkable entity, .BasePlayer target) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Vanish.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
     
  4. It spams my console after update:
    Code:
    (12:40:43) | [Oxide] 12:40 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)(12:40:43) | [Oxide] 12:40 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)(12:40:43) | [Oxide] 12:40 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)(12:40:43) | [Oxide] 12:40 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)(12:40:43) | [Oxide] 12:40 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)(12:40:43) | [Oxide] 12:40 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)(12:40:44) | [Oxide] 12:40 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)(12:40:45) | [Oxide] 12:40 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)(12:40:49) | [Oxide] 12:40 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)(12:40:50) | [Oxide] 12:40 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)(12:40:50) | [Oxide] 12:40 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)(12:40:50) | [Oxide] 12:40 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)(12:40:57) | [Oxide] 12:40 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)(12:41:08) | [Oxide] 12:41 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)(12:41:09) | [Oxide] 12:41 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)(12:41:09) | [Oxide] 12:41 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)(12:41:13) | [Oxide] 12:41 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)(12:41:13) | [Oxide] 12:41 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)(12:41:14) | [Oxide] 12:41 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)(12:41:19) | [Oxide] 12:41 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)(12:41:20) | [Oxide] 12:41 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)(12:41:24) | [Oxide] 12:41 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)
     
    Last edited by a moderator: Nov 15, 2015
  5. Code:
    [Oxide] 2:28 PM [Debug]  at Oxide.Plugins.Vanish.IsInvisible (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Vanish.CanNetworkTo (.BaseNetworkable entity, .BasePlayer target) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Vanish.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
    Keeps spamming this and blocks console , i had to delete the file to stop it .
     
    Last edited by a moderator: Nov 15, 2015
  6. Code:
            object CanNetworkTo(BaseNetworkable entity, BasePlayer target)
            {
                var player = entity as BasePlayer ?? (entity as HeldEntity)?.ownerPlayer;
                if (player == null || target == null || VisibleToAdmin && IsAdmin(target)) return null;
                if (player != target && player.displayName != null && target.displayName != null && player.IsConnected() && target.IsConnected() && IsInvisible(player)) return false;            return null;
            }
    I tried this and so far no errors, but before it would go awhile with none either, so who knows. Love the plugin :)
     
  7. sadly did not fix it for me either still console spam :
    Code:
    7:09 PM [Debug]   at Oxide.Plugins.Vanish.IsInvisible (.BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Vanish.CanNetworkTo (.BaseNetworkable entity, .BasePlayer target) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Vanish.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
     
    Last edited by a moderator: Nov 15, 2015
  8. Same for me. The error is repeating every 5 sec
    Code:
    (22:42:32) | [Oxide] 10:42 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)
    (22:42:32) | [Oxide] 10:42 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)
    (22:42:32) | [Oxide] 10:42 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)
    (22:42:32) | [Oxide] 10:42 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)
    (22:42:32) | [Oxide] 10:42 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)
    (22:42:32) | [Oxide] 10:42 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)
    (22:42:32) | [Oxide] 10:42 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)
    (22:42:32) | [Oxide] 10:42 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)
    (22:42:32) | [Oxide] 10:42 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)
    (22:42:33) | [Oxide] 10:42 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)
    (22:42:33) | [Oxide] 10:42 PM [Error] Failed to call hook 'CanNetworkTo' on plugin 'Vanish v0.1.7' (NullReferenceException: Object reference not set to an instance of an object)
     
    Last edited by a moderator: Nov 16, 2015
  9. Gameservers is telling me that this plugin may be the cause of my server crashing many times during the day. I removed it just now and I'll let you know if my server is ok now..... I'm also getting errors every five seconds.
     
  10. Wulf

    Wulf Community Admin

    It's quite possible, as it can spam quite a bit if it is erroring for you. I'm hoping to find a solid fix soon, but it's been challenging to work around the Rust connection bug.
     
  11. Soon as it's fixed, I will add it back on. I love this plugin :)
     
  12. Just as a heads up I have been using either 0.1.5 or 0.1.6 on my server and have not had any issues, I do get that connection error every now and then but very rare, I would recommend that people roll back to the 0.1.5 version if they are getting error spams.
    Before you do that though Please delete the current mod files located in Plugin, config and possibly data. this will make sure you do a clean install of that mod.
     
  13. Wulf

    Wulf Community Admin

    I've never had errors, but the problem is when bugged users are on the server. I have a few testers that encounter issues with thing I've tried so far, even with checking if the displayName is null.
     
  14. That is something very interesting, Maybe my server just doesnt have many bugged players.
    My question now is how do these useres get bugged hmmm, Must google this, If I find anything I will let you know.
    Also if you make a debug mod that sends all info to a text file I would be happy to test this for you, to help gather more information, including information about players.
     
  15. Wulf

    Wulf Community Admin

    It's a connection bug where a player tries connecting and them fails to connect for some reason, but the server still thinks they are connected in some way.
     
  16. the errors only happen when you go invis and even if you remove the invis it keeps going but if you dont use it then no errors
     
  17. Wulf

    Wulf Community Admin

    That may be part of it, but without being able to reproduce it, it's a bit challenging.
     
  18. You are welcome to login to my server and also with rustadmin and see the errors I will even give you FTP access if you need to
     
  19. Well....reporting in...... After removing Vanish, my server has not crashed once. Right before I removed it, the server was crashing constantly.
     
  20. Wulf

    Wulf Community Admin

    Please see Vanish | Page 8 | Oxide.