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
Friends
Moved
Total Downloads: 7,097 - First Release: Sep 7, 2016 - Last Update: Nov 19, 2017
- 5/5, 6 likes
-
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
-
Wulf Community Admin
-
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. -
Wulf Community Admin
-
Weird i have friendly fire installed anyway
kk off to post in the other post thanks wulf -
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 -
Restarting the server helps -
-
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
Last edited by a moderator: Nov 19, 2017 -
Wulf Community Admin
-
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 /es /fr and /ru folders did not have a Friends.json file
Reloaded plugin, still had same error -
Wulf Community Admin
-
[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
-
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! -
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. -
Also, when you get this bug try putting quotation marks around just the name and see if that fixes it. -
-
-
Friends has polluted the global namespace by defining IBattleLinkFriends