Friends

Moved

Total Downloads: 7,097 - First Release: Sep 7, 2016 - Last Update: Nov 19, 2017

5/5, 6 likes
  1. Same here with everything updated.

    Code:
    Failed to call hook 'cmdAddFriend' on plugin 'Friends v2.5.5' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)
      at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at System.String.Format (System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Game.Rust.Libraries.Player.Message (.BasePlayer player, System.String message, System.String prefix, UInt64 userId, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Message (System.String message, System.String prefix, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Reply (System.String message) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Friends.cmdAddFriend (IPlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Friends.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 
     
  2. same here

    Code:
    (19:38:52) | Failed to call hook 'AddFriend' on plugin 'Friends v2.5.5' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)
    (19:38:52) | at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at System.String.Format (System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Game.Rust.Libraries.Player.Message (.BasePlayer player, System.String message, System.String prefix, UInt64 userId, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Message (System.String message, System.String prefix, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Friends.AddFriendInternal (System.String playerId, System.String friendId) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Friends.AddFriend (System.Object playerId, System.Object friendId) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Friends.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
    Commando: /addfriend *Narf*Crank
     
  3. Wulf

    Wulf Community Admin

    Wulf updated Friends with a new update entry:

    2.5.6

     
  4. am i missing another plugin for this one.
    I added a player as a friend and typed /ff off yet i could still kill my friends and they can do the same.
    And yes they show on my friends list.
     
  5. Wulf

    Wulf Community Admin

    This plugin has nothing to do with the FriendlyFire plugin, perhaps you meant to use the other Friends plugin?
     
  6. Weird i have friendly fire installed anyway
    kk off to post in the other post thanks wulf
     
  7. private chat and friend chat not working.
    Code:
    (14:22:13) | Failed to call hook 'IOnServerCommand' on plugin 'RustCore v2.0.3734' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)
    (14:22:13) | at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at System.String.Format (System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Game.Rust.Libraries.Player.Message (.BasePlayer player, System.String message, System.String prefix, UInt64 userId, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Message (System.String message, System.String prefix, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Reply (System.String message, System.String prefix, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Friends.cmdFriendChat (IPlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Friends+<registerCommand>c__AnonStorey0.<>m__0 (IPlayer caller, System.String cmd_, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Game.Rust.Libraries.Covalence.RustCommandSystem.CommandCallback (IPlayer caller, System.String cmd, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Covalence.CommandHandler.HandleCommand (IPlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Covalence.CommandHandler.HandleChatMessage (IPlayer player, System.String message) [0x00000] in <filename unknown>:0
      at Oxide.Game.Rust.Libraries.Covalence.RustCommandSystem.HandleChatMessage (IPlayer player, System.String message) [0x00000] in <filename unknown>:0
      at Oxide.Game.Rust.RustCore.IOnServerCommand (.Arg arg) [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: Nov 14, 2017
  8. I also have the problem from time to time. Have this problem already written in the forum but we could not find the error.
    Restarting the server helps
     
  9. Same issue. I'll restart later to check but reloading plugin doesn't help.
     
  10. config/Friends.json:
    "EnableFriendChat": true,

    I successfully added a friend with /addfriend,
    and then tried to use /f or /fm commands to chat to all friends and got this error in RCON:

    Code:
    Failed to call hook 'IOnServerCommand' on plugin 'RustCore v2.0.3748' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)
      at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in :0
      at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in :0
      at System.String.Format (System.String format, System.Object[] args) [0x00000] in :0
      at Oxide.Game.Rust.Libraries.Player.Message (.BasePlayer player, System.String message, System.String prefix, UInt64 userId, System.Object[] args) [0x00000] in :0
      at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Message (System.String message, System.String prefix, System.Object[] args) [0x00000] in :0
      at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Reply (System.String message, System.String prefix, System.Object[] args) [0x00000] in :0
      at Oxide.Plugins.Friends.cmdFriendChat (IPlayer player, System.String command, System.String[] args) [0x00000] in :0
      at Oxide.Plugins.Friends+c__AnonStorey0.<>m__0 (IPlayer caller, System.String cmd_, System.String[] args) [0x00000] in :0
      at Oxide.Game.Rust.Libraries.Covalence.RustCommandSystem.CommandCallback (IPlayer caller, System.String cmd, System.String[] args) [0x00000] in :0
      at Oxide.Core.Libraries.Covalence.CommandHandler.HandleCommand (IPlayer player, System.String command, System.String[] args) [0x00000] in :0
      at Oxide.Core.Libraries.Covalence.CommandHandler.HandleChatMessage (IPlayer player, System.String message) [0x00000] in :0
      at Oxide.Game.Rust.Libraries.Covalence.RustCommandSystem.HandleChatMessage (IPlayer player, System.String message) [0x00000] in :0
      at Oxide.Game.Rust.RustCore.IOnServerCommand (.Arg arg) [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 
    Related? ---> Solved - Failed to call hook 'IOnServerCommand' (lang issue with plugin) | Oxide
     
    Last edited by a moderator: Nov 19, 2017
  11. Wulf

    Wulf Community Admin

    It's the same. Did you read the last post in the thread?
     
  12. Yes and I checked oxide/lang folder
    en/Friends.json had what you stated already in it:

    Code:
      "ChatSent": "To [b]{0}[/b]: {1}",
      "ChatReceived": "[b]{0}[/b]: {1}",
    The /de folder had it wrong in Friends.json and I changed it
    The /es /fr and /ru folders did not have a Friends.json file

    Reloaded plugin, still had same error
     
  13. Wulf

    Wulf Community Admin

    Wulf updated Friends with a new update entry:

    2.5.7

     
  14. To follow up. After a restart it seems to work now without issue.
    [DOUBLEPOST=1511587127][/DOUBLEPOST]I'd love to see a couple additions.
    • the ability to automatically authorize cabinets
    • the ability to change, per friend, what is authorized automatically
    Players love to add people so they can see them on the map and have friendly fire off, but they don't trust the people more than that. A few players have asked me for these items.
     
  15. I would like to request the ability to see private messages in the console and then in turn in the logs.

    I recognize they are meant to be private, but as an admin, nothing should be private from me.

    Thanks!
     
  16. Аgree with a colleague
    I would very much like to see these functions in the plugin, many players really want to see it in your plugin.

    there is also a problem with adding friends, sometimes can not add referring to the fact that there are the same nicknames on the server, although they are not.

    dear dcode, add these functions please.
     
  17. I agree they are good ideas!

    Also, when you get this bug try putting quotation marks around just the name and see if that fixes it.
     
  18. the problem does not resolve the example of "Core" of this player can not add to friends ...
     
  19. Hmmm... maybe try adding via steam 64 ID? Either way hopefully that gets fixed.
     
  20. Friends has polluted the global namespace by defining IBattleLinkFriends