I'm not sure what you are referring to.

Vanish
Allows players with permission to become truly invisible
Total Downloads: 22,660 - First Release: Nov 3, 2015 - Last Update: Jan 9, 2018
- 5/5, 75 likes
-
Wulf Community Admin
-
-
(21:03:06) | [Oxide] 10:03 PM [Error] Failed to call hook 'VanishChatCmd' on plugin 'Vanish v0.2.4' (NullReferenceException: Object reference not set to an instance of an object)
try/catch the error on lines 147 - 153
visual effect plays when set to false in config also -
Wulf Community Admin
The 'VisualEffect' setting no longer exists, see the Update notes. -
Code:
6:11 PM [Error] Failed to call hook 'VanishChatCmd' on plugin 'Vanish v0.2.4' (NullReferenceException: Object reference not set to an instance of an object) 6:11 PM [Debug] at Network.Implementation.Raknet.RaknetWrite.Send (SendInfo info) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Vanish.Disappear (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Vanish.VanishChatCmd (.BasePlayer player) [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
[DOUBLEPOST=1448289155][/DOUBLEPOST]Would this have anything to do with players being bugged?
For instance when using the AdminRadar plugin I notice that it sometimes draws boxes around players who are offline, and dead. The box stays there until the server restarts.
Vanish works properly again after a server restart for awhile.Last edited by a moderator: Nov 23, 2015 -
Wulf Community Admin
-
Ah ;( Is there a solution to this bug or must we wait for Rust to fix it?
-
Wulf Community Admin
-
So for bugged players I have noticed (hopefully accurately) that...
They have a position, so we can't skip if player.transform == null
They have a name, so can't skip if player.displayName == null
If we skip on player.IsDead() then we're visible once they respawn
Pinging their connection wouldn't help...
When they're offline they appear in activePlayerList... the core of the bug
What about IsConnected?
Code:if (!player.IsConnected()) continue; // don't add to active connections
Code:removed
Last edited by a moderator: Nov 23, 2015 -
Wulf Community Admin
-
Don't use that code, it seems unsafe
Last edited by a moderator: Nov 24, 2015 -
Code:
4:15 PM [Error] Failed to call hook 'OnPlayerInit' on plugin 'Vanish v0.2.2' (ArgumentException: An element with the same key already exists in the dictionary.) 4:15 PM [Debug] at System.Collections.Generic.Dictionary`2[BasePlayer,Oxide.Plugins.Vanish+OnlinePlayer].Add (.BasePlayer key, Oxide.Plugins.OnlinePlayer value) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Hash`2[BasePlayer,Oxide.Plugins.Vanish+OnlinePlayer].Add (.BasePlayer key, Oxide.Plugins.OnlinePlayer value) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
Code:4:14 PM [Error] Failed to call hook 'VanishChatCmd' on plugin 'Vanish v0.2.2' (NullReferenceException: Object reference not set to an instance of an object) 4:14 PM [Debug] at Network.Implementation.Raknet.RaknetWrite.Send (SendInfo info) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Vanish.Disappear (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Vanish.VanishChatCmd (.BasePlayer player) [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
-
-
Is there something makeing it to were when i am flying and have vanish on i can go through the rocks or the ground anymore. Or is this just a bug?
-
Wulf Community Admin
-
I've updated with the latest Rust, Oxide and Vanish. When I tried to use it I get this error message:
Code:[Oxide] 8:49 PM [Error] Failed to call hook 'VanishChatCmd' on plugin 'Vanish v0.2.4' (NullReferenceException: Object reference not set to an instance of an object)
-
CanTeleport doesn't appear to work, . No other installed plugin has CanTeleport() (except m-teleportation). Using canTeleport doesn't appear to matter either.
Code:object CanTeleport(BasePlayer player) { if (onlinePlayers[player].IsInvisible && !CanUseTeleport) return CantUseTeleport; return null; }
Last edited by a moderator: Nov 27, 2015 -
Wulf Community Admin
-
m-Teleportation.