Vanish

Moved

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

5/5, 75 likes
  1. Code:
    (23:25:39) | [Oxide] 23:25 [Stacktrace] ExType: TargetInvocationException
    (23:25:39) | [Oxide] 23:25 [Error] Failed to call hook 'OnPlayerInit' on plugin 'Vanish v0.4.0' (ArgumentException: An element with the same key already exists in the dictionary.)
    (23:25:39) | [Oxide] 23:25 [Stacktrace]   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
     
  2. Yup, same console spam here every single time someones enter the game.
     
  3. Same for me
     
  4. can confirm^
     
  5. with the newest update
    Code:
    Failed to call hook 'OnPlayerInit' on plugin 'Vanish v0.4.0' (ArgumentException: An element with the same key already exists in the dictionary.)
    (22:44:58) | 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
     
    Last edited by a moderator: Oct 5, 2017
  6. For me, also!
    Code:
    Failed to call hook 'OnPlayerInit' on plugin 'Vanish v0.4.0' (ArgumentException: An element with the same key already exists in the dictionary.)  at System.Collections.Generic.Dictionary`2[BasePlayer,Oxide.Plugins.Vanish+OnlinePlayer].Add (.BasePlayer key, Oxide.Plugins.OnlinePlayer value) [0x00000] in :0
      at Oxide.Plugins.Hash`2[BasePlayer,Oxide.Plugins.Vanish+OnlinePlayer].Add (.BasePlayer key, Oxide.Plugins.OnlinePlayer value) [0x00000] in :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 :0 
     
  7. same here
     
  8. Wulf

    Wulf Community Admin

    Edit: Misread the above post. See last reply.
     
    Last edited: Oct 5, 2017
  9. @Wulf What do you mean about using an old version? Is there a new version available that we can download?
     
  10. @Wulf we're using 0.4.0 on the Rust Hangout (creative server), still getting this message.
     
  11. Wulf

    Wulf Community Admin

    Ignore the previous message, misread his post. There seems to be a bug with the [OnlinePlayers] attribute due to recent changes, so I'd suggest adding what @Mr_Jeff mentioned for now to stop the error spam until we resolve it.
     
  12. Edit: Fixed it.
     
    Last edited by a moderator: Oct 6, 2017
  13. Well done Jeff!
     
  14. Vanish | Page 57 | Oxide

    That fixes it.

    Thanks @Mr_Jeff
     
  15. sorry but where in the cs file do i put:
    void OnPlayerInit(){

    }

    ????
    particular line or?
     
  16. Wulf

    Wulf Community Admin

    Wulf updated Vanish with a new update entry:

    0.4.1

     
  17. thanks guys :) appreciate the help :)
     
  18. ho sorry for dumb question been afk from rust for a week and i cnnot get vanish to work with new update ?
     
  19. Wulf

    Wulf Community Admin

    Which update? Which plugin version? Details. :p